Model comparison

Claude Sonnet 4 vs GLM-4.7

GLM-4.7 is the stronger model overall, scoring 42.0 to 40.8 on the Noometry Index.

Last verified . 28 shared benchmarks.

Claude Sonnet 4 Anthropic

40.8

Rank #145 Confirmed

GLM-4.7 Z.ai (Zhipu)

42.0

Rank #124 Confirmed

Summary

  • They share 28 benchmarks with published results for both. Claude Sonnet 4 scores higher in 2 categories and GLM-4.7 in 7 categories; 8 gaps are clear of the uncertainty.
  • The widest gap is in agentic & tool use, where Claude Sonnet 4 leads 38.5 to 26.5.
  • The biggest single-benchmark swing is OTIS Mock AIME 2024-2025: 71.1% for Claude Sonnet 4 and 83.3% for GLM-4.7.
  • GLM-4.7 is cheaper at $0.60 / $2.20 per million input/output tokens, against $3 / $15 for Claude Sonnet 4.
  • GLM-4.7 accepts more context: 205K tokens versus 200K.
  • GLM-4.7 has downloadable open weights; the other is API-only.

Side by side

Claude Sonnet 4 and GLM-4.7 specifications
Claude Sonnet 4GLM-4.7
ProviderAnthropicZ.ai (Zhipu)
Noometry Index40.842.0
Released2025-05-222025-12-22
WeightsProprietaryOpen
Context window200K205K
Max output64K131K
Input $ / M tokens$3$0.60
Output $ / M tokens$15$2.20
Results tracked5836

Sponsored placements are available on pages like this one. Advertise on Noometry

Category by category

Coding Too close to call

Claude Sonnet 4: 43.5 (#88), GLM-4.7: 44.0 (#79)

Coding benchmarks
BenchmarkClaude Sonnet 4GLM-4.7
SciCode40%45.1%
LMArena Coding14141454
ALE-Bench655.35399.48
SWE-bench Verified (bash only)64.9%—
Aider Polyglot61.3%—
LMArena WebDev—1435
GSO4.9%—
WeirdML46.1%—

Agentic & Tool Use Claude Sonnet 4 leads

Claude Sonnet 4: 38.5 (#31), GLM-4.7: 26.5 (#103)

Agentic & Tool Use benchmarks
BenchmarkClaude Sonnet 4GLM-4.7
Terminal-Bench—33.4%
TheAgentCompany33.1%—
Cybench35%—
DeepResearch Bench46.6%—
OSWorld43.9%—
METR Time Horizons62%—
Vending-Bench 2—2,377

Reasoning GLM-4.7 leads

Claude Sonnet 4: 22.9 (#187), GLM-4.7: 24.3 (#164)

Reasoning benchmarks
BenchmarkClaude Sonnet 4GLM-4.7
SimpleBench45.5%47.7%
CritPt0.3%1.7%
LMArena Hard Prompts13721443
Epoch Capabilities Index141.69143.51
ARC-AGI-25.9%—
Kagi LLM Benchmark73%—
ARC-AGI-140%—
Chess Puzzles—6%
EnigmaEval3.1%—
DTBench77.1%—
LMCA29%—
ForecastBench60.2—

Math Claude Sonnet 4 leads

Claude Sonnet 4: 43.3 (#80), GLM-4.7: 38.6 (#135)

Math benchmarks
BenchmarkClaude Sonnet 4GLM-4.7
OTIS Mock AIME 2024-202571.1%83.3%
LMArena Math13751423
FrontierMath (Feb 2025 set)4.1%2.4%
FrontierMath Tier 4 (v1)0%0%
ProofBench—6%
Omni-MATH60.2%—
MATH Level 584.4%—

Knowledge GLM-4.7 leads

Claude Sonnet 4: 41.8 (#108), GLM-4.7: 47.0 (#80)

Knowledge benchmarks
BenchmarkClaude Sonnet 4GLM-4.7
GPQA Diamond79.2%83.3%
Vectara Hallucination Rate10.3%11.7%
LMArena Expert13721424
Humanity's Last Exam7.8%—
SimpleQA Verified—32.2%
MMLU-Pro84.3%—
Confabulations13.2%—
GPQA (HELM)70.6%—

Multimodal Not comparable

Claude Sonnet 4: 26.2 (#121), GLM-4.7: —

Multimodal benchmarks
BenchmarkClaude Sonnet 4GLM-4.7
LMArena Vision1191—
GeoBench37%—
VPCT34%—
MindCube44.8%—

Multilingual GLM-4.7 leads

Claude Sonnet 4: 46.7 (#156), GLM-4.7: 52.8 (#79)

Multilingual benchmarks
BenchmarkClaude Sonnet 4GLM-4.7
LMArena Non-English13331417
LMArena Chinese13501495
LMArena French13631432
LMArena German13311424
LMArena Japanese13021439
LMArena Korean12911399
LMArena Russian13551423
LMArena Spanish13571434

Instruction Following GLM-4.7 leads

Claude Sonnet 4: 71.7 (#145), GLM-4.7: 74.4 (#95)

Instruction Following benchmarks
BenchmarkClaude Sonnet 4GLM-4.7
LMArena Instruction Following13761411
IFEval84%—

Long Context GLM-4.7 leads

Claude Sonnet 4: 33.7 (#259), GLM-4.7: 42.8 (#116)

Long Context benchmarks
BenchmarkClaude Sonnet 4GLM-4.7
LMArena Longer Query13981432
Fiction.LiveBench46.9%—
CL-bench—15.9%
CL-bench Life—10.9%

Writing & Preference GLM-4.7 leads

Claude Sonnet 4: 57.1 (#132), GLM-4.7: 60.9 (#93)

Writing & Preference benchmarks
BenchmarkClaude Sonnet 4GLM-4.7
LMArena Text13511435
LMArena Creative Writing13451401
EQ-Bench Creative Writing14831413
LMArena Multi-Turn13761446
Short-Story Creative Writing81.4%—
WildBench83.8%—

Frequently asked questions

Is Claude Sonnet 4 better than GLM-4.7?

GLM-4.7 is the stronger model overall, scoring 42.0 to 40.8 on the Noometry Index.

Which is cheaper, Claude Sonnet 4 or GLM-4.7?

GLM-4.7 is cheaper. It lists at $0.60 per million input tokens and $2.20 per million output tokens; Claude Sonnet 4 lists at $3 and $15.

Is Claude Sonnet 4 or GLM-4.7 better for coding?

They score almost the same on coding (43.5 vs 44.0); test both on your own repository before choosing.

Which has the bigger context window?

GLM-4.7 does, with 205K tokens against 200K.

How many benchmarks do Claude Sonnet 4 and GLM-4.7 share?

28 benchmarks have published results for both models. Claude Sonnet 4 has 58 scored results on Noometry and GLM-4.7 has 36.

Related comparisons

Go deeper