GLM-5.2 vs Grok 4.5
Side-by-side comparison of API pricing, specs, benchmarks, and capabilities
GLM-5.2 is 27.5% cheaper on blended cost ($2.90 vs $4.00/Mtok)
|
Zby Z.AI
2 providers:
Together $1.40/$4.40
Z.AI $1.40/$4.40
|
Xby xAI
|
|
|---|---|---|
| Overview | ||
| Status | Current flagship Open weights | Current flagship |
| Released | Jun 13, 2026 | Jul 8, 2026 |
| Pricing per million tokens | ||
| Input | $1.40/Mtok | $2.00/Mtok |
| Output | $4.40/Mtok | $6.00/Mtok |
| Blended avg | $2.90/Mtok | $4.00/Mtok |
| Cached input | $0.260/Mtok | — |
| Specifications | ||
| Context window | 1M tokens | 500K tokens |
| Parameters | Proprietary | Proprietary |
| Speed (TPS) | — | — |
| Modalities | ||
| Input |
text
|
textimage
|
| Providers | ||
| Available from |
Together — $1.40/$4.40/Mtok
Z.AI — $1.40/$4.40/Mtok
|
xAI — $2.00/$6.00/Mtok
|
Cost at scale — 1M tokens (50/50 input/output)
| Volume | GLM-5.2 | Grok 4.5 | Savings |
|---|---|---|---|
| 1M tokens | $2.9 | $4 | $1.1 (27.5%) |
| 10M tokens | $29 | $40 | $11 (27.5%) |
| 100M tokens | $290 | $400 | $110 (27.5%) |
| 1000M tokens | $2900 | $4000 | $1100 (27.5%) |
Try GLM-5.2 on Z.AI
The cheaper option here — GLM-5.2 costs $2.90/Mtok blended on Z.AI.
Summary
GLM-5.2 by Z.AI costs $1.40/Mtok input and $4.40/Mtok output, with a 1M-token context window. It supports text input and is available from 2 providers.
Grok 4.5 by xAI costs $2.00/Mtok input and $6.00/Mtok output, with a 500K-token context window. It supports text, image input.
On a blended cost basis, GLM-5.2 is 27.5% cheaper than Grok 4.5. It also has a larger context window.
Note: Pricing is per million tokens. Actual costs vary with usage patterns, prompt caching, and batch discounts. Always verify against official provider pricing pages.