Compare / head-to-head
Claude Sonnet 4.5vsGLM-5.2
GLM-5.2 leads 6 of 6 shared benchmarks. GLM-5.2 is 3.1x cheaper per token. GLM-5.2 has the larger context window (1M tokens).
Benchmarks from cited public sources; pricing from official pages; status from official provider feeds.
Shared benchmarks
0 – 6
GLM-5.2 leads
Cheaper per token
GLM-5.2
3.1x cheaper, input + output
Larger context
GLM-5.2
1M tokens
Provider uptime (30d)
100% · —
Anthropic · Z.ai
Claude Sonnet 4.5
Anthropic · released 2025-09-29
textvision
Quality
Benchmark matrix
6 shared · 14 only Claude Sonnet 4.5 · 19 only GLM-5.2| Benchmark | Claude Sonnet 4.5 | GLM-5.2 | Δ | Edge |
|---|---|---|---|---|
| Reported by both · 6 | ||||
| GPQA Diamond | 83.4% ↗ | 91.9% ↗epoch | -8.5 pt | GLM-5.2 |
| FrontierMath Tier 4 v2 (Epoch AI run) | 2.4% ↗epoch | 29.3% ↗epoch | -26.9 pt | GLM-5.2 |
| FrontierMath Tiers 1-3 v2 (Epoch AI run) | 23.9% ↗epoch | 59.2% ↗epoch | -35.3 pt | GLM-5.2 |
| OTIS Mock AIME 2024-2025 (Epoch AI run) | 77.8% ↗epoch | 86.4% ↗epoch | -8.6 pt | GLM-5.2 |
| SimpleQA Verified | 30.7% ↗epoch | 34.2% ↗epoch | -3.5 pt | GLM-5.2 |
| SWE-bench Verified (Epoch AI run) | 71.3% ↗epoch | 78.7% ↗epoch | -7.4 pt | GLM-5.2 |
| Only Claude Sonnet 4.5 reports · 14 | ||||
| SWE-bench Verified | 77.2% ↗ | not reported | — | — |
| AIME 2025 | 84.2% ↗matharena ⚠ | not reported | — | — |
| Humanity's Last Exam (no tools) | 17.7% ↗ | not reported | — | — |
| ARC-AGI-2 (Verified) | 13.6% ↗ | not reported | — | — |
| GDPval-AA | 1276 ↗ | not reported | — | — |
| Humanity's Last Exam (with tools) | 33.6% ↗ | not reported | — | — |
| MCP Atlas | 43.8% ↗ | not reported | — | — |
| MMMLU | 89.5% ↗ | not reported | — | — |
| MMMU-Pro (no tools) | 63.4% ↗ | not reported | — | — |
| MMMU-Pro (with tools) | 68.9% ↗ | not reported | — | — |
| OSWorld-Verified | 61.4% ↗ | not reported | — | — |
| Tau2-bench Retail | 86.2% ↗ | not reported | — | — |
| Tau2-bench Telecom | 98% ↗ | not reported | — | — |
| Terminal-Bench 2.0 | 51% ↗ | not reported | — | — |
| Only GLM-5.2 reports · 19 | ||||
| AIME 2026 | not reported | 90% ↗matharena ⚠ | — | — |
| Agents' Last Exam (ALE-CLI) | not reported | 23.8% ↗ | — | — |
| AutomationBench v1.0.6 | not reported | 26.2% ↗ | — | — |
| CyberGym | not reported | 77.2% ↗ | — | — |
| DeepSWE v1.1 | not reported | 46.2% ↗ | — | — |
| ExploitBench | not reported | 24.4% ↗ | — | — |
| ExploitGym 2h | not reported | 29 ↗ | — | — |
| ExploitGym 6h | not reported | 39 ↗ | — | — |
| FrontierSWE | not reported | 67.5% ↗ | — | — |
| GDPval-AA v2 | not reported | 1508 ↗ | — | — |
| HLE (with tools) | not reported | 54.7% ↗ | — | — |
| NL2Repo | not reported | 48.9% ↗ | — | — |
| PostTrainBench | not reported | 31.7% ↗ | — | — |
| ProgramBench (Almost Solved) | not reported | 9.5% ↗ | — | — |
| SWE-Bench Pro | not reported | 62.1% ↗ | — | — |
| SWE-Marathon v1.1 | not reported | 19.4% ↗ | — | — |
| Terminal-Bench 2.1 | not reported | 81% ↗ | — | — |
| Terminal-Bench 3.0 | not reported | 4.6% ↗ | — | — |
| Toolathlon Verified | not reported | 59.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 Claude Sonnet 4.5 minus GLM-5.2 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 | Claude Sonnet 4.5 | GLM-5.2 | Edge |
|---|---|---|---|
| Context window | 200K tokens | 1M tokens | GLM-5.2 |
| Max output | 64K tokens | 131K tokens | GLM-5.2 |
| Input price / 1M | $3 ↗ | $1.4 ↗ | GLM-5.2 |
| Output price / 1M | $15 ↗ | $4.4 ↗ | GLM-5.2 |
| Cached input / 1M | $0.3 ↗ | $0.26 ↗ | GLM-5.2 |
| Input + output / 1M Lower is cheaper. List prices; batch, tool and regional fees excluded. | $18 | $5.8 | GLM-5.2 |
| Modalities | text · vision | text | Claude Sonnet 4.5 |
| Released | 2025-09-29 | 2026-06-24 | — |
| Cited benchmark scores | 21 | 26 | — |
Reliability
Provider status
Last 60 days · refreshed daily on this page · live on /statusMore matchups
Claude Sonnet 4.5 vs …
Models sharing the most benchmarksMore matchups
GLM-5.2 vs …
Models sharing the most benchmarksBuilt by Respan
Which one wins on your data?
Public benchmarks are a starting point. Run Claude Sonnet 4.5 and GLM-5.2 on your own prompts with Respan evals, or route to either through one gateway key with automatic failover.