GLM 5.2 vs Grok 4.5
Price, context and benchmark scores side by side — every number from the live model catalogue.
| GLM 5.2z-ai | Grok 4.5x-ai | |
|---|---|---|
| Input / 1M tokens | $0.741 | $2.00 |
| Output / 1M tokens | $2.33 | $6.00 |
| 1M in + 300K out | $1.44 | $3.80 |
| Context window | 1.0M | 500K |
| Intelligence index | 51.1 | 53.8 |
| Coding index | 68.8 | 72.4 |
| Agentic index | 43.1 | 45.7 |
| Cheapest provider | StreamLake | xAI |
| Providers serving it | 29 | 1 |
| Weights | Open | Closed |
| Image input | No | Yes |
| Tool calling | Yes | Yes |
| Reasoning mode | Yes | Yes |
| Released | Jun 16, 2026 | Jul 8, 2026 |
Which one to pick
Pick GLM 5.2 if…
- Token cost matters: $2.33 per 1M output vs $6.00.
- You need the bigger context window (1.0M).
- You want the option to self-host — weights are public.
- You want provider redundancy: 29 providers serve it.
Pick Grok 4.5 if…
- You want the higher general-intelligence score (53.8).
- Code quality is the priority — it leads on the coding index (72.4).
- You are running agent loops — higher agentic index (45.7).
FAQ
Is GLM 5.2 better than Grok 4.5?
Grok 4.5 scores higher on general intelligence (51.1 vs 53.8), while GLM 5.2 is 2.6× cheaper per output token ($2.33 vs $6.00). For code, Grok 4.5 leads (72.4 coding index). GLM 5.2 takes the larger context at 1.0M.
Which is cheaper, GLM 5.2 or Grok 4.5?
GLM 5.2, at $2.33 per 1M output tokens versus $6.00. On a 1M input + 300K output workload that is $1.44 against $3.80.
Can I self-host GLM 5.2 or Grok 4.5?
GLM 5.2: open weights (zai-org/GLM-5.2). Grok 4.5: closed weights, API only.