GLM-5 vs GLM-5.2
GLM-5.2 wins 6 of 6 benchmarks both models report and has a higher Epoch Capabilities Index (153.1 vs 146.5). GLM-5 is about 1.7× cheaper on a blended (3:1 input:output) token price. GLM-5.2 has the larger context window (1M vs 200K).
| Spec | GLM-5 | GLM-5.2 |
|---|---|---|
| Provider | Zhipu AI (Z.ai) | Zhipu AI (Z.ai) |
| Released | Feb 12, 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.598 (better) | $1.20 |
| Output price / 1M | $2.69 (better) | $4.18 |
| Input modalities | text | text |
| Open weights | Yes | Yes |
| License | mit | mit |
| Reasoning mode | Yes | Yes |
| Tool calling | Yes | Yes |
| API providers | 41 | 95 (better) |
| Epoch Capabilities Index | 146.5 | 153.1 (better) |
| GPQA Diamond | 87.8% | 91.9% (better) |
| SWE-bench Verified | 72.1% | 78.7% (better) |
| Terminal-Bench | 52.4% | — |
| WebDev Arena | 1436 | 1593 (better) |
| OTIS Mock AIME | 80.0% | 86.4% (better) |
| FrontierMath | — | 59.2% |
| ARC-AGI-2 | 4.9% | 22.8% (better) |
| SimpleQA Verified | — | 34.2% |
Cost example
For a workload of 10M input + 2M output tokens per month: GLM-5 costs $11.35 and GLM-5.2 costs $20.32 at list price (Zhipu AI (Z.ai) / zhipuai pricing).
About GLM-5
GLM-5 is an open-weight reasoning llm from Zhipu AI (Z.ai), released Feb 12, 2026. It has 754B parameters and a 200K-token context window. API pricing starts at $0.598 per million input tokens and $2.69 per million output tokens. It is available from 41 API providers. It scores 146.5 on the Epoch Capabilities Index. Full GLM-5 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 or GLM-5.2?
GLM-5.2 wins 6 of 6 benchmarks both models report and has a higher Epoch Capabilities Index (153.1 vs 146.5). GLM-5 is about 1.7× cheaper on a blended (3:1 input:output) token price. GLM-5.2 has the larger context window (1M vs 200K).
Is GLM-5 cheaper than GLM-5.2?
GLM-5 costs $0.598 input / $2.69 output per 1M tokens; GLM-5.2 costs $1.20 / $4.18. GLM-5 is cheaper overall.
Which has a bigger context window?
GLM-5: 204,800 tokens. GLM-5.2: 1,000,000 tokens.
Are GLM-5 and GLM-5.2 open source?
GLM-5 is open-weight; GLM-5.2 is open-weight.