Head to head
Z.ai: GLM 5.2 vs Anthropic: Claude Sonnet 5
Live prices, context windows, capabilities, and measured quality — updated continuously.
Side by side
| Metric | Z.ai: GLM 5.2 Z Ai | Anthropic: Claude Sonnet 5 Anthropic |
|---|---|---|
| Input $/M tokens | $1.40 | $2.00 |
| Output $/M tokens | $4.40 | $10.00 |
| Context window | 1.0M | 1.0M |
| Max output | 131K | 128K |
| WM Score | 82 | 82 |
| Benchmark quality | 77.7 | 78.1 |
| Hosts serving it | 24 | 5 |
| Throughput (tok/s) | 167 | 73 |
| Latency (ms) | 340 | 677 |
| Vision | ||
| Tools | ||
| Reasoning | ||
| JSON mode |
Which should you pick?
Z.ai: GLM 5.2 costs less per million input tokens — about 1.4× cheaper than Anthropic: Claude Sonnet 5. Anthropic: Claude Sonnet 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.
