Model comparison
GLM-5.2 vs GLM-5.1
- Input
- $1.40
- Output
- $4.40
- Context
- 1M
- Released
- 2026-06-16
- Input
- $1.40 / 1M tokens
- Output
- $4.40 / 1M tokens
- Context
- 200K
- Released
- 2026-04-07
GLM-5.2 scores higher on 4 of the 4 benchmarks both models report; both charge the same $1.4 per 1M input tokens; GLM-5.2 has the larger context window (1M vs 200K).
Specs and pricing side by side
| Spec | GLM-5.2 | GLM-5.1 |
|---|---|---|
| Maker | Z.ai (Zhipu / GLM) | Z.ai (Zhipu / GLM)same |
| Released | 2026-06-16 | 2026-04-07 |
| Context window | 1M | 200K |
| Max output | 128K | 128Ksame |
| Input price | $1.40 | $1.40 / 1M tokens |
| Output price | $4.40 | $4.40 / 1M tokens |
| Parameters | 744B total · 40B active | ~754B total, 40B active (MoE) |
| License | MIT | MITsame |
| Weights | Open weights | Open weightssame |
| Modalities | Text | Textsame |
Not published by either maker: knowledge cutoff.
Benchmarks both models report
| Benchmark | GLM-5.2 | GLM-5.1 |
|---|---|---|
| AIME 2026 | 99.2% | 95.3% |
| GPQA-Diamond | 91.2% | 86.2% |
| SWE-bench Pro | 62.1% | 58.4% |
| MCP-Atlas | 76.8% | 71.8% |
Scores are as published by each maker or its cited source; harness, reasoning effort and date can differ between rows, so treat small gaps as ties. Sources are listed on each model page.
Which one should you pick?
Pick GLM-5.2 if…
- You care about AIME 2026, GPQA-Diamond, SWE-bench Pro (it scores higher on 4 shared benchmarks).
- You need the longer context (1M vs 200K).
- Your use case is: long-horizon, project-scale coding agents over large repositories.
Pick GLM-5.1 if…
- Your use case is: long-running autonomous coding agents that plan, execute and self-correct over many iterations.
FAQ
Which is better, GLM-5.2 or GLM-5.1?
GLM-5.2 scores higher on 4 of the 4 benchmarks both models report; both charge the same $1.4 per 1M input tokens; GLM-5.2 has the larger context window (1M vs 200K). The better pick depends on whether you value benchmark scores, price per token, context length or openness for your workload.
How do GLM-5.2 and GLM-5.1 pricing compare?
GLM-5.2: $1.40 input, $4.40 output. GLM-5.1: $1.40 / 1M tokens input, $4.40 / 1M tokens output (list API prices as published by each maker).
What are the context windows of GLM-5.2 and GLM-5.1?
GLM-5.2 offers 1M with up to 128K output; GLM-5.1 offers 200K with up to 128K output.
Is GLM-5.2 newer than GLM-5.1?
GLM-5.2 was released 2026-06-16; GLM-5.1 was released 2026-04-07.
