Compare / head-to-head
GLM-5vsSonar
GLM-5 and Sonar do not yet share a public benchmark, so quality cannot be compared apples-to-apples. Sonar is 2.1x cheaper per token. GLM-5 has the larger context window (200K tokens).
Benchmarks from cited public sources; pricing from official pages; status from official provider feeds.
Shared benchmarks
0
no overlap yet
Cheaper per token
Sonar
2.1x cheaper, input + output
Larger context
GLM-5
200K tokens
Provider uptime (30d)
— · 100%
Z.ai · Perplexity
Quality
Benchmark matrix
0 shared · 8 only GLM-5 · 1 only Sonar| Benchmark | GLM-5 | Sonar | Δ | Edge |
|---|---|---|---|---|
| Reported by both · 0 | ||||
| No public benchmark is reported for both models yet. | ||||
| Only GLM-5 reports · 8 | ||||
| SWE-bench Verified | 77.8% ↗ | not reported | — | — |
| GPQA Diamond | 87.8% ↗epoch | not reported | — | — |
| AIME 2025 | 96.7% ↗matharena ⚠ | not reported | — | — |
| AIME 2026 | 96.7% ↗matharena ⚠ | not reported | — | — |
| LMArena Elo | 1446.3 ↗ | not reported | — | — |
| OTIS Mock AIME 2024-2025 (Epoch AI run) | 80% ↗epoch | not reported | — | — |
| SWE-bench Verified (Epoch AI run) | 72.1% ↗epoch | not reported | — | — |
| Terminal-Bench 2.0 | 56.2% ↗ | not reported | — | — |
| Only Sonar reports · 1 | ||||
| SimpleQA F-score | not reported | 77.3% ↗ | — | — |
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 minus Sonar 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 | Sonar | Edge |
|---|---|---|---|
| Context window | 200K tokens | 128K tokens | GLM-5 |
| Max output | 131K tokens | — | — |
| Input price / 1M | $1 ↗ | $1 ↗ | Tie |
| Output price / 1M | $3.2 ↗ | $1 ↗ | Sonar |
| Cached input / 1M | $0.2 ↗ | — | — |
| Input + output / 1M Lower is cheaper. List prices; batch, tool and regional fees excluded. | $4.2 | $2 | Sonar |
| Modalities | text | text | Tie |
| Released | — | 2025-01-21 | — |
| Cited benchmark scores | 8 | 1 | — |
Reliability
Provider status
Last 60 days · refreshed daily on this page · live on /statusMore matchups
GLM-5 vs …
Models sharing the most benchmarksMore matchups
Sonar vs …
Models sharing the most benchmarksBuilt by Respan
Which one wins on your data?
Public benchmarks are a starting point. Run GLM-5 and Sonar on your own prompts with Respan evals, or route to either through one gateway key with automatic failover.