GLM 4.7 vs GLM 5
GLM 4.7 is cheaper on output tokens. Choose GLM 4.7 or GLM 5 based on the trade-off between cost, context, and the benchmarks that matter for your use case.
| Spec | GLM 4.7 | GLM 5 |
|---|---|---|
| Provider | Z.ai | Z.ai |
| Input / 1M tokens | $0.54 | $1.00 |
| Output / 1M tokens | $1.98 | $3.20 |
| Context window | 205K | 205K |
| Parameters | 358B | 744B |
| Open weights | Yes | Yes |
| Released | Dec 2025 | Feb 2026 |
| LiveBench score | 57.3 | 68.7 |
| LMArena (Chatbot Arena) Elo score | 1435 | 1446 |
| GPQA Diamond score | 83.3 | 87.8 |
| FrontierMath score | 2.4 | 16.4 |
| LMArena WebDev Elo score | 1435 | 1435 |
| Epoch Capabilities Index score | 144 | 146 |
| SWE-bench Verified score | — | 72.8 |
| SWE-bench Multilingual score | — | 69.7 |
FAQ
Is GLM 4.7 or GLM 5 cheaper?
GLM 4.7 is cheaper on output tokens ($1.98 vs $3.20 per 1M).
Which has the larger context window, GLM 4.7 or GLM 5?
Both models offer a similar context window.
Pricing is indicative — confirm with the provider before production use. Highlighted values indicate the better figure for that row.