Model comparison
GLM-5 vs GLM-4.7
- Input
- $1.00 / 1M tokens
- Output
- $3.20 / 1M tokens
- Context
- 200K
- Released
- 2026-02-11
- Input
- $1.40 / 1M tokens
- Output
- $2.20 / 1M tokens
- Context
- 200K
- Released
- 2025-12-22
GLM-5 scores higher on 1 of the 1 benchmarks both models report; GLM-5 is cheaper on input tokens ($1 vs $1.4 per 1M, 1.4×).
Specs and pricing side by side
| Spec | GLM-5 | GLM-4.7 |
|---|---|---|
| Maker | Z.ai (Zhipu / GLM) | Z.ai (Zhipu / GLM)same |
| Released | 2026-02-11 | 2025-12-22 |
| Context window | 200K | 200Ksame |
| Max output | 128K | 128Ksame |
| Input price | $1.00 / 1M tokens | $1.40 / 1M tokens |
| Output price | $3.20 / 1M tokens | $2.20 / 1M tokens |
| Parameters | 744B total / 40B active (MoE) | 355B total / 32B active (MoE) |
| License | MIT | MITsame |
| Weights | Open weights | Open weightssame |
| Modalities | Text | Textsame |
Not published by either maker: knowledge cutoff.
Benchmarks both models report
| Benchmark | GLM-5 | GLM-4.7 |
|---|---|---|
| SWE-bench Verified | 77.8% | 73.8% |
Scores are as published by each maker or its cited source; harness, reasoning effort and date can differ between rows, so treat small gaps as ties. Sources are listed on each model page.
Which one should you pick?
Pick GLM-5 if…
- You care about SWE-bench Verified (it scores higher on 1 shared benchmark).
- Cost matters: input tokens cost 1.4× less ($1 vs $1.4 per 1M).
- Your use case is: autonomous coding agents that plan, edit across many files, run tests and iterate on fixes.
Pick GLM-4.7 if…
- Your use case is: autonomous and semi-autonomous coding agents that resolve real GitHub issues across multiple files.
FAQ
Which is better, GLM-5 or GLM-4.7?
GLM-5 scores higher on 1 of the 1 benchmarks both models report; GLM-5 is cheaper on input tokens ($1 vs $1.4 per 1M, 1.4×). The better pick depends on whether you value benchmark scores, price per token, context length or openness for your workload.
How much cheaper is GLM-5?
GLM-5: $1.00 / 1M tokens input, $3.20 / 1M tokens output. GLM-4.7: $1.40 / 1M tokens input, $2.20 / 1M tokens output (list API prices as published by each maker).
What are the context windows of GLM-5 and GLM-4.7?
GLM-5 offers 200K with up to 128K output; GLM-4.7 offers 200K with up to 128K output.
Is GLM-5 newer than GLM-4.7?
GLM-5 was released 2026-02-11; GLM-4.7 was released 2025-12-22.
