GLM 5.1 vs GLM 5.2
API pricing, monthly cost and benchmark scores for GLM 5.1 (Z.AI) and GLM 5.2 (Z.AI), side by side.
The short answer
GLM 5.1 and GLM 5.2 cost about the same on the default workload (2,000 input and 500 output tokens a request, 10,000 requests a day, 40% cached): $1,226 and $1,226 a month. GLM 5.2 scores higher on the Epoch Capabilities Index, 153.1 against 150.7 for GLM 5.1, but the confidence intervals overlap, so the gap may not be real.
GLM 5.2 has the larger context window, 1,000,000 tokens against 205,000. Across the 5 benchmarks both have results for, GLM 5.1 leads on 0 and GLM 5.2 on 5.
Side by side
| Specification | ||
|---|---|---|
| Input price per 1M tokens | $1.40 | $1.40 |
| Cached input per 1M tokens | $0.260 | $0.260 |
| Output price per 1M tokens | $4.40 | $4.40 |
| Batch input / cached / output per 1M | Not listed | $0.322 / $0.109 / $0.989 |
| Context window | 205K tokens | 1M tokens |
| Epoch Capabilities Index | 150.7 | 153.1 |
| GPQA | 90.1% | 92.9% |
| Release date | Apr 7, 2026 | Jun 16, 2026 |
| Open weights | Yes | Yes |
| Capabilities | tools, reasoning, json | tools, reasoning, json |
Monthly cost for three workloads
Each row prices 30 days of traffic at standard rates. Cached input is billed at the cached rate for the share shown.
| Workload | Difference | ||
|---|---|---|---|
| Default workload2,000 input and 500 output tokens a request, 10,000 requests a day, 40% cached | $1,226.40 | $1,226.40 | About the same |
| Input-heavy10,000 input and 300 output tokens a request, 10,000 requests a day, 40% cached | $3,228.00 | $3,228.00 | About the same |
| Output-heavy500 input and 2,000 output tokens a request, 10,000 requests a day, 0% cached | $2,850.00 | $2,850.00 | About the same |
Benchmark by benchmark
Only benchmarks where both models have a score. Scores are as published on each benchmark; higher is better unless the benchmark page says otherwise.
| Benchmark | ||
|---|---|---|
| Epoch Capabilities IndexECI | 150.7 | 153.1 |
| FrontierMath Tiers 1-3% solved | 38.78 | 62.32 |
| APEX-Agents% pass@1 | 40.9 | 45.2 |
| SimpleQA Verified% correct | 34 | 34.2 |
| GPQA Diamond% accuracy | 90.14 | 92.86 |
Go further
Full pages: GLM 5.1 and GLM 5.2. Or use the interactive comparison to pick any models.