Compare / head-to-head
GLM-5.1vsGPT-5.4 mini
GLM-5.1 leads 3 of 4 shared benchmarks. GPT-5.4 mini is 1.1x cheaper per token. GPT-5.4 mini has the larger context window (400K tokens).
Benchmarks from cited public sources; pricing from official pages; status from official provider feeds.
Shared benchmarks
3 – 1
GLM-5.1 leads
Cheaper per token
GPT-5.4 mini
1.1x cheaper, input + output
Larger context
GPT-5.4 mini
400K tokens
Provider uptime (30d)
— · 94.2446%
Z.ai · OpenAI
GLM-5.1
Z.ai · released 2026-04-07
text
GPT-5.4 mini
OpenAI · released 2026-03-17
textvision
Quality
Benchmark matrix
4 shared · 3 only GLM-5.1 · 5 only GPT-5.4 mini| Benchmark | GLM-5.1 | GPT-5.4 mini | Δ | Edge |
|---|---|---|---|---|
| Reported by both · 4 | ||||
| GPQA Diamond | 89.9% ↗epoch | 88% ↗ | +1.9 pt | GLM-5.1 |
| FrontierMath Tiers 1-3 v2 (Epoch AI run) | 36.8% ↗epoch | 51.2% ↗epoch | -14.4 pt | GPT-5.4 mini |
| OTIS Mock AIME 2024-2025 (Epoch AI run) | 93.3% ↗epoch | 88.9% ↗epoch | +4.4 pt | GLM-5.1 |
| SimpleQA Verified | 34% ↗epoch | 29.4% ↗epoch | +4.6 pt | GLM-5.1 |
| Only GLM-5.1 reports · 3 | ||||
| AIME 2026 | 95.8% ↗matharena ⚠ | not reported | — | — |
| LMArena Elo | 1462.4 ↗ | not reported | — | — |
| SWE-bench Verified (Epoch AI run) | 74.2% ↗epoch | not reported | — | — |
| Only GPT-5.4 mini reports · 5 | ||||
| FrontierMath Tier 4 v2 (Epoch AI run) | not reported | 9.8% ↗epoch | — | — |
| OSWorld-Verified | not reported | 72.1% ↗ | — | — |
| SWE-Bench Pro | not reported | 54.4% ↗ | — | — |
| Terminal-Bench 2.0 | not reported | 60% ↗ | — | — |
| Toolathlon | not reported | 42.9% ↗ | — | — |
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.4 mini 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.4 mini | Edge |
|---|---|---|---|
| Context window | 200K tokens | 400K tokens | GPT-5.4 mini |
| Max output | 131K tokens | 128K tokens | GLM-5.1 |
| Input price / 1M | $1.4 ↗ | $0.75 ↗ | GPT-5.4 mini |
| Output price / 1M | $4.4 ↗ | $4.5 ↗ | GLM-5.1 |
| Cached input / 1M | $0.26 ↗ | $0.075 ↗ | GPT-5.4 mini |
| Input + output / 1M Lower is cheaper. List prices; batch, tool and regional fees excluded. | $5.8 | $5.25 | GPT-5.4 mini |
| Modalities | text | text · vision | GPT-5.4 mini |
| Released | 2026-04-07 | 2026-03-17 | — |
| Cited benchmark scores | 7 | 10 | — |
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.4 mini 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.4 mini on your own prompts with Respan evals, or route to either through one gateway key with automatic failover.