GLM-5.1 vs GLM-5.2
GLM-5.2 wins 6 of 7 benchmarks both models report and has a higher Epoch Capabilities Index (153.1 vs 150.7). GLM-5.1 is about 1.2× cheaper on a blended (3:1 input:output) token price. GLM-5.2 has the larger context window (1M vs 200K).
| Spec | GLM-5.1 | GLM-5.2 |
|---|---|---|
| Provider | Zhipu AI (Z.ai) | Zhipu AI (Z.ai) |
| Released | Apr 7, 2026 | Jun 13, 2026 (better) |
| Type | Reasoning LLM | Reasoning LLM |
| Parameters | 754B | 753B |
| Context window | 200K | 1M (better) |
| Max output | 128K | 128K |
| Input price / 1M | $0.896 (better) | $1.20 |
| Output price / 1M | $3.59 (better) | $4.18 |
| Input modalities | text | text |
| Open weights | Yes | Yes |
| License | mit | mit |
| Reasoning mode | Yes | Yes |
| Tool calling | Yes | Yes |
| API providers | 48 | 95 (better) |
| Epoch Capabilities Index | 150.7 | 153.1 (better) |
| GPQA Diamond | 89.9% | 91.9% (better) |
| SWE-bench Verified | 74.2% | 78.7% (better) |
| WebDev Arena | 1508 | 1593 (better) |
| OTIS Mock AIME | 93.3% (better) | 86.4% |
| FrontierMath | 36.8% | 59.2% (better) |
| ARC-AGI-2 | — | 22.8% |
| SimpleQA Verified | 34.0% | 34.2% (better) |
Cost example
For a workload of 10M input + 2M output tokens per month: GLM-5.1 costs $16.13 and GLM-5.2 costs $20.32 at list price (Zhipu AI (Z.ai) / zhipuai pricing).
About GLM-5.1
GLM-5.1 is an open-weight reasoning llm from Zhipu AI (Z.ai), released Apr 7, 2026. It has 754B parameters and a 200K-token context window. API pricing starts at $0.896 per million input tokens and $3.59 per million output tokens. It is available from 48 API providers. It scores 150.7 on the Epoch Capabilities Index. Full GLM-5.1 specs →
About GLM-5.2
GLM-5.2 is an open-weight reasoning llm from Zhipu AI (Z.ai), released Jun 13, 2026. It has 753B parameters and a 1M-token context window. API pricing starts at $1.20 per million input tokens and $4.18 per million output tokens. It is available from 95 API providers. It scores 153.1 on the Epoch Capabilities Index. Full GLM-5.2 specs →
Compare other models
FAQ
Which is better, GLM-5.1 or GLM-5.2?
GLM-5.2 wins 6 of 7 benchmarks both models report and has a higher Epoch Capabilities Index (153.1 vs 150.7). GLM-5.1 is about 1.2× cheaper on a blended (3:1 input:output) token price. GLM-5.2 has the larger context window (1M vs 200K).
Is GLM-5.1 cheaper than GLM-5.2?
GLM-5.1 costs $0.896 input / $3.59 output per 1M tokens; GLM-5.2 costs $1.20 / $4.18. GLM-5.1 is cheaper overall.
Which has a bigger context window?
GLM-5.1: 200,000 tokens. GLM-5.2: 1,000,000 tokens.
Are GLM-5.1 and GLM-5.2 open source?
GLM-5.1 is open-weight; GLM-5.2 is open-weight.