Compare / head-to-head
GLM-4.7vsGLM-5
GLM-5 leads 2 of 3 shared benchmarks. GLM-4.7 is 1.5x cheaper per token. Both offer a 200K-token context window.
Benchmarks from cited public sources; pricing from official pages; status from official provider feeds.
Shared benchmarks
1 – 2
GLM-5 leads
Cheaper per token
GLM-4.7
1.5x cheaper, input + output
Larger context
Tie
both 200K tokens
Provider uptime (30d)
—
Z.ai
GLM-4.7
Z.ai · released 2025-12-22
text
Quality
Benchmark matrix
3 shared · 1 only GLM-4.7 · 5 only GLM-5| Benchmark | GLM-4.7 | GLM-5 | Δ | Edge |
|---|---|---|---|---|
| Reported by both · 3 | ||||
| GPQA Diamond | 83.3% ↗epoch | 87.8% ↗epoch | -4.5 pt | GLM-5 |
| LMArena Elo | 1435.9 ↗ | 1446.3 ↗ | -10.4 | GLM-5 |
| OTIS Mock AIME 2024-2025 (Epoch AI run) | 83.3% ↗epoch | 80% ↗epoch | +3.3 pt | GLM-4.7 |
| Only GLM-4.7 reports · 1 | ||||
| SimpleQA Verified | 32.2% ↗epoch | not reported | — | — |
| Only GLM-5 reports · 5 | ||||
| SWE-bench Verified | not reported | 77.8% ↗ | — | — |
| AIME 2025 | not reported | 96.7% ↗matharena ⚠ | — | — |
| AIME 2026 | not reported | 96.7% ↗matharena ⚠ | — | — |
| SWE-bench Verified (Epoch AI run) | not reported | 72.1% ↗epoch | — | — |
| Terminal-Bench 2.0 | not reported | 56.2% ↗ | — | — |
Scores tagged "epoch" or "matharena" are independent runs, used only where the lab has not published its own; ⚠ marks rows MathArena flags as released after the competition. Higher is better on every row. Δ is GLM-4.7 minus GLM-5 in the benchmark's own unit. "Not reported" means the lab has not published that figure; it is not a zero. ↗ opens the source.
Specs & pricing
Side by side
Official pricing pages and model cards| Spec | GLM-4.7 | GLM-5 | Edge |
|---|---|---|---|
| Context window | 200K tokens | 200K tokens | Tie |
| Max output | 131K tokens | 131K tokens | Tie |
| Input price / 1M | $0.6 ↗ | $1 ↗ | GLM-4.7 |
| Output price / 1M | $2.2 ↗ | $3.2 ↗ | GLM-4.7 |
| Cached input / 1M | $0.11 ↗ | $0.2 ↗ | GLM-4.7 |
| Input + output / 1M Lower is cheaper. List prices; batch, tool and regional fees excluded. | $2.8 | $4.2 | GLM-4.7 |
| Modalities | text | text | Tie |
| Released | 2025-12-22 | — | — |
| Cited benchmark scores | 4 | 8 | — |
Reliability
Z.ai status
Last 60 days · refreshed daily on this page · live on /statusMore matchups
GLM-4.7 vs …
Models sharing the most benchmarksMore matchups
GLM-5 vs …
Models sharing the most benchmarksBuilt by Respan
Which one wins on your data?
Public benchmarks are a starting point. Run GLM-4.7 and GLM-5 on your own prompts with Respan evals, or route to either through one gateway key with automatic failover.