GLM-5 vs GLM-5.1

Benchmarks, API pricing and specs, head to head. Data updated 2026-06-10.

GLM-5

Z.ai (Zhipu) · Feb 2026

Z.ai's 744B open-weights MoE — within ~4 points of Opus 4.6 on SWE-bench Verified at $1/$3.20 per million tokens.

GLM-5.1

Z.ai (Zhipu) · Apr 2026

The April 2026 GLM refresh — the first open-weights model to take #1 on SWE-bench Pro, edging out Claude Opus 4.6.

The verdict

These two models don't yet share verified results on the benchmarks we track, so judge them on specs, pricing and intended use. GLM-5 is about 1.4x cheaper per blended million tokens (3:1 input:output mix).

Specs & pricing

GLM-5GLM-5.1
modhub Index
Input price / 1M$1$1.4
Output price / 1M$3.2$4.4
Context window200K200K
Max output128K128K
Open weightsyes (MIT)yes (MIT)
Reasoning modelyesyes
Multimodal inputtexttext
Knowledge cutoffDec 2025Feb 2026
ReleasedFeb 2026Apr 2026
Example monthly cost*$14.80$20.60

* 10M input + 1.5M output tokens per month at list prices, no caching. Green = better value on that row.

Frequently asked questions

Which is better, GLM-5 or GLM-5.1?
These two models don't yet share verified results on the benchmarks we track, so judge them on specs, pricing and intended use. GLM-5 is about 1.4x cheaper per blended million tokens (3:1 input:output mix).
Which is cheaper, GLM-5 or GLM-5.1?
GLM-5 costs $1/$3.2 per million input/output tokens, while GLM-5.1 costs $1.4/$4.4. For a typical workload of 10M input and 1.5M output tokens per month, that's $14.80 versus $20.60.
Which model is better for coding, GLM-5 or GLM-5.1?
We don't yet track SWE-bench Verified results for both models; check their individual pages for coding-related scores.

More comparisons