ModelsCompareBest forBenchmarksStatusPricingAPI
Compare / head-to-head

Claude Sonnet 4vsGLM-4.7-FlashX

Claude Sonnet 4 and GLM-4.7-FlashX do not yet share a public benchmark, so quality cannot be compared apples-to-apples. GLM-4.7-FlashX is 38.3x 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
no overlap yet
Cheaper per token
GLM-4.7-FlashX
38.3x 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
text
Context
200K
Max out
131K
Input /1M
$0.07
Output /1M
$0.4
Cached /1M
$0.01
Scores
0 · 0 core
Quality

Benchmark matrix

BenchmarkClaude Sonnet 4GLM-4.7-FlashXΔEdge
Reported by both · 0
No public benchmark is reported for both models yet.
Only Claude Sonnet 4 reports · 4
SWE-bench Verified72.7% not reported
GPQA Diamond79.2% epochnot reported
AIME 2024 (no extended thinking)33.1% not reported
OTIS Mock AIME 2024-2025 (Epoch AI run)71.1% epochnot reported
Only GLM-4.7-FlashX reports · 0
GLM-4.7-FlashX reports nothing Claude Sonnet 4 does not.
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-FlashX 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.7-FlashXEdge
Context window200K tokens200K tokensTie
Max output64K tokens131K tokensGLM-4.7-FlashX
Input price / 1M$3 $0.07 GLM-4.7-FlashX
Output price / 1M$15 $0.4 GLM-4.7-FlashX
Cached input / 1M$0.3 $0.01 GLM-4.7-FlashX
Input + output / 1M
Lower is cheaper. List prices; batch, tool and regional fees excluded.
$18$0.47GLM-4.7-FlashX
Modalitiestext · visiontextClaude Sonnet 4
Released2025-05-22
Cited benchmark scores40
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-FlashX on your own prompts with Respan evals, or route to either through one gateway key with automatic failover.