ModelsCompareBest forBenchmarksStatusPricingAPI
Compare / head-to-head

Claude Sonnet 4vsGLM-4.7

GLM-4.7 leads 2 of 2 shared benchmarks. GLM-4.7 is 6.4x cheaper per token. Both offer a 200K-token context window.

Benchmarks from cited public sources; pricing from official pages; status from official provider feeds.

Shared benchmarks
0 – 2
GLM-4.7 leads
Cheaper per token
GLM-4.7
6.4x cheaper, input + output
Larger context
Tie
both 200K tokens
Provider uptime (30d)
100% · —
Anthropic · Z.ai
Claude Sonnet 4
Anthropic · released 2025-05-22
textvision
Context
200K
Max out
64K
Input /1M
$3
Output /1M
$15
Cached /1M
$0.3
Scores
4 · 4 core
GLM-4.7
Z.ai · released 2025-12-22
text
Context
200K
Max out
131K
Input /1M
$0.6
Output /1M
$2.2
Cached /1M
$0.11
Scores
4 · 4 core
Quality

Benchmark matrix

BenchmarkClaude Sonnet 4GLM-4.7ΔEdge
Reported by both · 2
GPQA Diamond79.2% epoch83.3% epoch-4.1 ptGLM-4.7
OTIS Mock AIME 2024-2025 (Epoch AI run)71.1% epoch83.3% epoch-12.2 ptGLM-4.7
Only Claude Sonnet 4 reports · 2
SWE-bench Verified72.7% not reported
AIME 2024 (no extended thinking)33.1% not reported
Only GLM-4.7 reports · 2
LMArena Elonot reported1435.9
SimpleQA Verifiednot reported32.2% 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 Claude Sonnet 4 minus GLM-4.7 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

SpecClaude Sonnet 4GLM-4.7Edge
Context window200K tokens200K tokensTie
Max output64K tokens131K tokensGLM-4.7
Input price / 1M$3 $0.6 GLM-4.7
Output price / 1M$15 $2.2 GLM-4.7
Cached input / 1M$0.3 $0.11 GLM-4.7
Input + output / 1M
Lower is cheaper. List prices; batch, tool and regional fees excluded.
$18$2.8GLM-4.7
Modalitiestext · visiontextClaude Sonnet 4
Released2025-05-222025-12-22
Cited benchmark scores44
Reliability

Provider status

All providers
More matchups

Claude Sonnet 4 vs …

Built by Respan
Which one wins on your data?

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