GLM-5.2 vs Grok 4.5
GLM-5.2 (Z.ai (Zhipu AI)) and Grok 4.5 (xAI) compared on benchmarks, pricing, context window, and use-case rankings.
- Grok 4.5 leads on overall intelligence (ECI 154 vs 151).
- GLM-5.2 is cheaper on input tokens — $1.10 vs $2.00 per 1M.
- GLM-5.2 has a larger context window (1M vs 500K tokens).
- Grok 4.5 ranks higher for coding (91th vs 86th percentile).
| Attribute | GLM-5.2 | Grok 4.5 |
|---|---|---|
| Scores | ||
| Intelligence (ECI) | 151 | 154 |
| Coding | 86 | 91 |
| Math | 37 | 85 |
| Reasoning & Knowledge | 64 | 70 |
| Agentic & Tools | 91 | 76 |
| Specifications | ||
| Developer | Z.ai (Zhipu AI) | xAI |
| Family | — | Grok |
| Released | Jun 16, 2026 | Jul 8, 2026 |
| Parameters | — | — |
| Availability | Open weights (unrestricted) | API access |
| Context window | 1M | 500K |
| Price — $/M input | $1.10 | $2.00 |
| Price — $/M output | $4.10 | $6.00 |
| Inputs | text | text, image, file |
| Outputs | text | text |
| Benchmarks | ||
| AIME 2024/2025 | 86% | 98% |
| APEX | 36% | 34% |
| ARC-AGI | 77% | 87% |
| ARC-AGI-2 | 23% | 53% |
| GPQA Diamond | 92% | 93% |
| Humanity's Last Exam | 40% | 40% |
| SciCode | 51% | 54% |
| SimpleQA Verified | 38% | 54% |
| SWE-bench Verified | 79% | — |
| WebDev Arena | 1593 | 1551 |
| WeirdML | 70% | 46% |
| τ²-bench | 99% | — |
| SimpleBench | — | 70% |
Use-case scores are 0–100 percentile composites across each area’s benchmarks, ranked against every model from the past year. Highlighted cells lead each row. Open a model for the full picture.
Frequently asked questions
Is GLM-5.2 better than Grok 4.5?
On Epoch AI's Capabilities Index, Grok 4.5 scores higher (154) than GLM-5.2 (151). The right pick depends on your task — compare their coding, math, and reasoning scores in the table above.
Which is cheaper, GLM-5.2 or Grok 4.5?
GLM-5.2 is cheaper on input tokens at $1.10 per million, versus $2.00 (representative OpenRouter pricing).
Which has a larger context window, GLM-5.2 or Grok 4.5?
GLM-5.2 supports up to 1M tokens, compared with 500K for the other.
Which is better for coding, GLM-5.2 or Grok 4.5?
Across coding benchmarks like SWE-bench Verified and Terminal-Bench, Grok 4.5 ranks higher — 91th vs 86th percentile among the models tracked on Model Beat.
Want a different match-up? Open the compare tool to add or swap models.
More comparisons
Benchmarks & model data from Epoch AI (CC BY); pricing & specs from OpenRouter. ECI = Epoch Capabilities Index.