GLM-5.1 vs Grok 4.5
GLM-5.1 (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 150).
- GLM-5.1 is cheaper on input tokens — $0.98 vs $2.00 per 1M.
- Grok 4.5 has a larger context window (500K vs 205K tokens).
- Grok 4.5 ranks higher for coding (91th vs 61th percentile).
| Attribute | GLM-5.1 | Grok 4.5 |
|---|---|---|
| Scores | ||
| Intelligence (ECI) | 150 | 154 |
| Coding | 61 | 91 |
| Math | 63 | 85 |
| Reasoning & Knowledge | 50 | 70 |
| Agentic & Tools | 94 | 75 |
| Specifications | ||
| Developer | Z.ai (Zhipu AI) | xAI |
| Family | — | Grok |
| Released | Apr 7, 2026 | Jul 8, 2026 |
| Parameters | 754B | — |
| Availability | — | API access |
| Context window | 205K | 500K |
| Price — $/M input | $0.98 | $2.00 |
| Price — $/M output | $4.30 | $6.00 |
| Inputs | text | text, image, file |
| Outputs | text | text |
| Benchmarks | ||
| AIME 2024/2025 | 92% | 98% |
| FrontierMath | 33% | — |
| FrontierMath Tier 4 | 13% | — |
| GPQA Diamond | 85% | 93% |
| Humanity's Last Exam | 28% | 40% |
| SciCode | 44% | 54% |
| SimpleBench | 55% | 70% |
| SimpleQA Verified | 37% | 54% |
| SWE-bench Verified | 74% | — |
| WebDev Arena | 1534 | 1551 |
| WeirdML | 57% | 46% |
| τ²-bench | 98% | — |
| APEX | — | 34% |
| ARC-AGI | — | 87% |
| ARC-AGI-2 | — | 53% |
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.1 better than Grok 4.5?
On Epoch AI's Capabilities Index, Grok 4.5 scores higher (154) than GLM-5.1 (150). The right pick depends on your task — compare their coding, math, and reasoning scores in the table above.
Which is cheaper, GLM-5.1 or Grok 4.5?
GLM-5.1 is cheaper on input tokens at $0.98 per million, versus $2.00 (representative OpenRouter pricing).
Which has a larger context window, GLM-5.1 or Grok 4.5?
Grok 4.5 supports up to 500K tokens, compared with 205K for the other.
Which is better for coding, GLM-5.1 or Grok 4.5?
Across coding benchmarks like SWE-bench Verified and Terminal-Bench, Grok 4.5 ranks higher — 91th vs 61th 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.