Compare / head-to-head
GLM-5.1vsGPT-5
GLM-5.1 leads 3 of 5 shared benchmarks. GLM-5.1 is 1.9x cheaper per token. GPT-5 has the larger context window (400K tokens).
Benchmarks from cited public sources; pricing from official pages; status from official provider feeds.
Shared benchmarks
3 – 2
GLM-5.1 leads
Cheaper per token
GLM-5.1
1.9x cheaper, input + output
Larger context
GPT-5
400K tokens
Provider uptime (30d)
— · 94.9045%
Z.ai · OpenAI
GLM-5.1
Z.ai · released 2026-04-07
text
Quality
Benchmark matrix
5 shared · 2 only GLM-5.1 · 3 only GPT-5| Benchmark | GLM-5.1 | GPT-5 | Δ | Edge |
|---|---|---|---|---|
| Reported by both · 5 | ||||
| GPQA Diamond | 89.9% ↗epoch | 86.2% ↗epoch | +3.7 pt | GLM-5.1 |
| FrontierMath Tiers 1-3 v2 (Epoch AI run) | 36.8% ↗epoch | 55.4% ↗epoch | -18.6 pt | GPT-5 |
| OTIS Mock AIME 2024-2025 (Epoch AI run) | 93.3% ↗epoch | 91.4% ↗epoch | +1.9 pt | GLM-5.1 |
| SimpleQA Verified | 34% ↗epoch | 50.1% ↗epoch | -16.1 pt | GPT-5 |
| SWE-bench Verified (Epoch AI run) | 74.2% ↗epoch | 73.6% ↗epoch | +0.6 pt | GLM-5.1 |
| Only GLM-5.1 reports · 2 | ||||
| AIME 2026 | 95.8% ↗matharena ⚠ | not reported | — | — |
| LMArena Elo | 1462.4 ↗ | not reported | — | — |
| Only GPT-5 reports · 3 | ||||
| SWE-bench Verified | not reported | 74.9% ↗ | — | — |
| AIME 2025 | not reported | 94.6% ↗ | — | — |
| FrontierMath Tier 4 v2 (Epoch AI run) | not reported | 22% ↗epoch | — | — |
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-5.1 minus GPT-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-5.1 | GPT-5 | Edge |
|---|---|---|---|
| Context window | 200K tokens | 400K tokens | GPT-5 |
| Max output | 131K tokens | 128K tokens | GLM-5.1 |
| Input price / 1M | $1.4 ↗ | $1.25 ↗ | GPT-5 |
| Output price / 1M | $4.4 ↗ | $10 ↗ | GLM-5.1 |
| Cached input / 1M | $0.26 ↗ | $0.125 ↗ | GPT-5 |
| Input + output / 1M Lower is cheaper. List prices; batch, tool and regional fees excluded. | $5.8 | $11.25 | GLM-5.1 |
| Modalities | text | text · vision | GPT-5 |
| Released | 2026-04-07 | 2025-08-07 | — |
| Cited benchmark scores | 7 | 9 | — |
Reliability
Provider status
Last 60 days · refreshed daily on this page · live on /statusMore matchups
GLM-5.1 vs …
Models sharing the most benchmarksMore matchups
GPT-5 vs …
Models sharing the most benchmarksBuilt by Respan
Which one wins on your data?
Public benchmarks are a starting point. Run GLM-5.1 and GPT-5 on your own prompts with Respan evals, or route to either through one gateway key with automatic failover.