ModelsCompareBest forBenchmarksStatusPricingAPI
Compare / head-to-head

GLM-5vsGLM-5.2

GLM-5.2 leads 3 of 4 shared benchmarks. GLM-5 is 1.4x 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
1 – 3
GLM-5.2 leads
Cheaper per token
GLM-5
1.4x cheaper, input + output
Larger context
GLM-5.2
1M tokens
Provider uptime (30d)
Z.ai
GLM-5
Z.ai
text
Context
200K
Max out
131K
Input /1M
$1
Output /1M
$3.2
Cached /1M
$0.2
Scores
8 · 7 core
GLM-5.2
Z.ai · released 2026-06-24
text
Context
1M
Max out
131K
Input /1M
$1.4
Output /1M
$4.4
Cached /1M
$0.26
Scores
26 · 9 core
Quality

Benchmark matrix

BenchmarkGLM-5GLM-5.2ΔEdge
Reported by both · 4
GPQA Diamond87.8% epoch91.9% epoch-4.1 ptGLM-5.2
AIME 202696.7% matharena90% matharena+6.7 ptGLM-5
OTIS Mock AIME 2024-2025 (Epoch AI run)80% epoch86.4% epoch-6.4 ptGLM-5.2
SWE-bench Verified (Epoch AI run)72.1% epoch78.7% epoch-6.6 ptGLM-5.2
Only GLM-5 reports · 4
SWE-bench Verified77.8% not reported
AIME 202596.7% matharenanot reported
LMArena Elo1446.3 not reported
Terminal-Bench 2.056.2% not reported
Only GLM-5.2 reports · 21
Agents' Last Exam (ALE-CLI)not reported23.8%
AutomationBench v1.0.6not reported26.2%
CyberGymnot reported77.2%
DeepSWE v1.1not reported46.2%
ExploitBenchnot reported24.4%
ExploitGym 2hnot reported29
ExploitGym 6hnot reported39
FrontierMath Tier 4 v2 (Epoch AI run)not reported29.3% epoch
FrontierMath Tiers 1-3 v2 (Epoch AI run)not reported59.2% epoch
FrontierSWEnot reported67.5%
GDPval-AA v2not reported1508
HLE (with tools)not reported54.7%
NL2Reponot reported48.9%
PostTrainBenchnot reported31.7%
ProgramBench (Almost Solved)not reported9.5%
SimpleQA Verifiednot reported34.2% epoch
SWE-Bench Pronot reported62.1%
SWE-Marathon v1.1not reported19.4%
Terminal-Bench 2.1not reported81%
Terminal-Bench 3.0not reported4.6%
Toolathlon Verifiednot reported59.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 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

SpecGLM-5GLM-5.2Edge
Context window200K tokens1M tokensGLM-5.2
Max output131K tokens131K tokensTie
Input price / 1M$1 $1.4 GLM-5
Output price / 1M$3.2 $4.4 GLM-5
Cached input / 1M$0.2 $0.26 GLM-5
Input + output / 1M
Lower is cheaper. List prices; batch, tool and regional fees excluded.
$4.2$5.8GLM-5
ModalitiestexttextTie
Released2026-06-24
Cited benchmark scores826
Reliability

Z.ai status

All providers
More matchups

GLM-5.2 vs …

Built by Respan
Which one wins on your data?

Public benchmarks are a starting point. Run GLM-5 and GLM-5.2 on your own prompts with Respan evals, or route to either through one gateway key with automatic failover.