GLM-5 vs GLM-5.1
GLM-5 (Zhipu AI (Z.ai)) and GLM-5.1 (Zhipu AI (Z.ai)) compared point by point: measured performance, pricing, context and capabilities.
Data as of October 22, 2026
Side-by-side comparison
| Criterion | GLM-5 | GLM-5.1 |
|---|---|---|
| Developer | Zhipu AI (Z.ai) | Zhipu AI (Z.ai) |
| Released | February 12, 2026 | April 7, 2026 |
| Capability index | 77.2 / 100 | 70.9 / 100 |
| Input price | $0.60 | $0.90 |
| Output price | $2.69 | $3.59 |
| Cost of a typical task | $0.017 | $0.025 |
| Context window | 204,800 tokens | 200,000 tokens |
| Maximum output | 131,072 tokens | 131,072 tokens |
| Reasoning mode | Yes | Yes |
| Tool calling | Yes | Yes |
| Accepted inputs | text | text |
| Open weights | Yes | Yes |
| Knowledge cutoff | Not disclosed | Not disclosed |
Two models head to head
GLM-5 and GLM-5.1 are two open-weight models that you can install on your own servers, both built by Zhipu AI (Z.ai). GLM-5 was released on February 12, 2026, GLM-5.1 on April 7, 2026.
All figures below come from public sources checked on October 22, 2026: models.dev and OpenRouter for prices and capabilities, Epoch AI for scores.
What the benchmarks say
On our capability index, GLM-5 scores 77.2 out of 100 and GLM-5.1 70.9. GLM-5 leads by 6.3 points.
On the 3 benchmarks reported for both, GLM-5 wins 0 times and GLM-5.1 3:
- GPQA Diamond (PhD-level science questions): GLM-5 87.8%, GLM-5.1 89.9%
- OTIS Mock AIME (competition mathematics problems): GLM-5 80%, GLM-5.1 93.3%
- SWE-bench Verified (fixing real software bugs): GLM-5 72.1%, GLM-5.1 74.2%
Budget
GLM-5 costs $0.60 per million input tokens and $2.69 per million output tokens; GLM-5.1 costs $0.90 and $3.59.
For a typical agent task (read 20,000 tokens, write 2,000), expect $0.017 with GLM-5 versus $0.025 with GLM-5.1. GLM-5 is 1.4 times cheaper, a gap that adds up quickly over 1,000 tasks: $7.77 difference.
Run the numbers with your own volumes in the agent cost calculator.
Features and limits
GLM-5 reads more in one go: 204,800 tokens of context (roughly 307 pages), versus 200,000 for GLM-5.1.
Reasoning mode: GLM-5 yes, GLM-5.1 yes. Tool calling: GLM-5 yes, GLM-5.1 yes. Image input: GLM-5 no, GLM-5.1 no.
Both publish their weights: you can host them yourself.
In short
Our reading of the data:
- Choose GLM-5 for a higher capability index and a lower cost.
- Choose GLM-5.1 for a more recent release.
This verdict relies on public figures; it does not replace a trial on your own tasks.
Other comparisons
Frequently asked questions
GLM-5 or GLM-5.1: which is better?
On our index (Epoch AI data), GLM-5 scores 77.2 and GLM-5.1 70.9 out of 100. The best choice also depends on price and on your use case.
Which one is cheaper?
GLM-5. To read 20,000 tokens and write 2,000, expect $0.017 with GLM-5 and $0.025 with GLM-5.1 (prices as of October 22, 2026).
Which one has the larger context window?
GLM-5, with 204,800 tokens versus 200,000.
Can I run GLM-5 or GLM-5.1 on my own servers?
Yes, both publish their weights. Check each license before commercial use.
Data sources
- Models.dev — Model data: models.dev (open-source project)
- OpenRouter — Market prices cross-checked with OpenRouter
- Epoch AI — AI Benchmarking Hub — Epoch AI, “AI Benchmarking Hub”, epoch.ai, CC BY 4.0
Data as of October 22, 2026
Report an error
Does a figure, a date or a fact look wrong? Tell us: every report is checked.