Head to head
Z.ai: GLM 5.2 vs SpaceXAI: Grok 4.5
Live prices, context windows, capabilities, and measured quality — updated continuously.
Side by side
| Metric | Z.ai: GLM 5.2 Z Ai | SpaceXAI: Grok 4.5 Xai |
|---|---|---|
| Input $/M tokens | $0.500 | $2.00 |
| Output $/M tokens | $3.15 | $6.00 |
| Context window | 1.0M | 500K |
| Max output | 131K | — |
| WM Score | 85 | 84 |
| Benchmark quality | 82.5 | 86.1 |
| Hosts serving it | 27 | 1 |
| Throughput (tok/s) | 128 | 45 |
| Latency (ms) | 317 | 1206 |
| Vision | ||
| Tools | ||
| Reasoning | ||
| JSON mode |
Which should you pick?
Z.ai: GLM 5.2 costs less per million input tokens — about 4.0× cheaper than SpaceXAI: Grok 4.5. SpaceXAI: Grok 4.5 scores higher on measured quality. Z.ai: GLM 5.2 takes a larger context window, which matters for long documents or big codebases. Prices here are live list prices; the same model can cost less on a different host, so check the model page for the cheapest offering.
