GLM-5.2 vs Grok 4.5
Grok 4.5 wins 5 of 7 benchmarks both models report and has a higher Epoch Capabilities Index (155.0 vs 153.1). GLM-5.2 is about 1.5× cheaper on a blended (3:1 input:output) token price. GLM-5.2 has the larger context window (1M vs 500K). GLM-5.2 has open weights, so you can self-host and fine-tune it; Grok 4.5 is API-only.
| Spec | GLM-5.2 | Grok 4.5 |
|---|---|---|
| Provider | Zhipu AI (Z.ai) | xAI |
| Released | Jun 13, 2026 | Jul 8, 2026 (better) |
| Type | Reasoning LLM | Reasoning LLM |
| Parameters | 753B | 1.5T |
| Context window | 1M (better) | 500K |
| Max output | 128K | 500K (better) |
| Input price / 1M | $1.20 (better) | $2 |
| Output price / 1M | $4.18 (better) | $6 |
| Input modalities | text | text, image, pdf, file (better) |
| Open weights | Yes | No |
| License | mit | Proprietary |
| Reasoning mode | Yes | Yes |
| Tool calling | Yes | Yes |
| API providers | 95 (better) | 28 |
| Epoch Capabilities Index | 153.1 | 155.0 (better) |
| GPQA Diamond | 91.9% | 93.4% (better) |
| SWE-bench Verified | 78.7% | — |
| WebDev Arena | 1593 (better) | 1555 |
| OTIS Mock AIME | 86.4% | 97.8% (better) |
| FrontierMath | 59.2% (better) | 57.2% |
| ARC-AGI-2 | 22.8% | 52.6% (better) |
| SimpleQA Verified | 34.2% | 48.3% (better) |
Cost example
For a workload of 10M input + 2M output tokens per month: GLM-5.2 costs $20.32 and Grok 4.5 costs $32.00 at list price (Zhipu AI (Z.ai) / xai pricing).
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 →
About Grok 4.5
Grok 4.5 is a proprietary reasoning llm from xAI, released Jul 8, 2026. It has 1.5T parameters, a 500K-token context window and accepts text, image, pdf, file input. API pricing starts at $2 per million input tokens and $6 per million output tokens. It is available from 28 API providers. It scores 155.0 on the Epoch Capabilities Index. Full Grok 4.5 specs →
Compare other models
FAQ
Which is better, GLM-5.2 or Grok 4.5?
Grok 4.5 wins 5 of 7 benchmarks both models report and has a higher Epoch Capabilities Index (155.0 vs 153.1). GLM-5.2 is about 1.5× cheaper on a blended (3:1 input:output) token price. GLM-5.2 has the larger context window (1M vs 500K). GLM-5.2 has open weights, so you can self-host and fine-tune it; Grok 4.5 is API-only.
Is GLM-5.2 cheaper than Grok 4.5?
GLM-5.2 costs $1.20 input / $4.18 output per 1M tokens; Grok 4.5 costs $2 / $6. GLM-5.2 is cheaper overall.
Which has a bigger context window?
GLM-5.2: 1,000,000 tokens. Grok 4.5: 500,000 tokens.
Are GLM-5.2 and Grok 4.5 open source?
GLM-5.2 is open-weight; Grok 4.5 is proprietary.