Model comparison

Claude Sonnet 5 vs GLM-4.7

Claude Sonnet 5 is the stronger model overall, scoring 54.5 to 41.7 on the Noometry Index. GLM-4.7 costs 4.0× less per token, which makes it the better buy when Claude Sonnet 5's lead doesn't matter for your workload.

Last verified . 30 shared benchmarks.

Claude Sonnet 5 Anthropic

54.5

Rank #26 Confirmed

GLM-4.7 Z.ai (Zhipu)

41.7

Rank #117 Confirmed

Summary

  • They share 30 benchmarks with published results for both. Claude Sonnet 5 scores higher in 9 categories and GLM-4.7 in 0 categories; 8 gaps are clear of the uncertainty.
  • The widest gap is in math, where Claude Sonnet 5 leads 66.1 to 37.7.
  • The biggest single-benchmark swing is ProofBench: 77% for Claude Sonnet 5 and 6% for GLM-4.7.
  • GLM-4.7 is cheaper at $0.60 / $2.20 per million input/output tokens, against $2 / $10 for Claude Sonnet 5.
  • Claude Sonnet 5 accepts more context: 1M tokens versus 205K.
  • GLM-4.7 has downloadable open weights; the other is API-only.

Side by side

Claude Sonnet 5 and GLM-4.7 specifications
Claude Sonnet 5GLM-4.7
ProviderAnthropicZ.ai (Zhipu)
Noometry Index54.541.7
Released2026-06-292025-12-22
WeightsProprietaryOpen
Context window1M205K
Max output128K131K
Input $ / M tokens$2$0.60
Output $ / M tokens$10$2.20
Results tracked5136

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

Category by category

Coding Claude Sonnet 5 leads

Claude Sonnet 5: 55.5 (#20), GLM-4.7: 43.6 (#74)

Coding benchmarks
BenchmarkClaude Sonnet 5GLM-4.7
LMArena WebDev15401435
SciCode53.6%45.1%
LMArena Coding14831454
ALE-Bench1,463399.48
DeepSWE53.8%—
FrontierCode42.7%—
CursorBench34.1%—
GSO37.3%—
WeirdML68.8%—

Agentic & Tool Use Claude Sonnet 5 leads

Claude Sonnet 5: 42.7 (#16), GLM-4.7: 26.4 (#96)

Agentic & Tool Use benchmarks
BenchmarkClaude Sonnet 5GLM-4.7
Vending-Bench 26,3782,377
Terminal-Bench—33.4%
APEX-Agents54.5%—
GBAEval65.3%—
LMArena Search1194—

Reasoning Claude Sonnet 5 leads

Claude Sonnet 5: 48.2 (#37), GLM-4.7: 23.7 (#161)

Reasoning benchmarks
BenchmarkClaude Sonnet 5GLM-4.7
SimpleBench60.6%47.7%
CritPt16.9%1.7%
Chess Puzzles35%6%
LMArena Hard Prompts14611443
Epoch Capabilities Index156.34143.53
NYT Connections (extended)75.1%—
Mystery Game Puzzles35%—
DTBench92.5%—
LMCA50%—
Surface Evolver Bench60%—
Bench to the Future 30.14—
ForecastBench61.1—

Math Claude Sonnet 5 leads

Claude Sonnet 5: 66.1 (#21), GLM-4.7: 37.7 (#92)

Math benchmarks
BenchmarkClaude Sonnet 5GLM-4.7
OTIS Mock AIME 2024-202594.7%83.3%
ProofBench77%6%
LMArena Math14671423
FrontierMath (Tiers 1-3)65.6%—
FrontierMath Tier 429.3%—
FrontierMath (Feb 2025 set)—2.4%
FrontierMath Tier 4 (v1)—0%

Knowledge Claude Sonnet 5 leads

Claude Sonnet 5: 55.7 (#42), GLM-4.7: 47.0 (#74)

Knowledge benchmarks
BenchmarkClaude Sonnet 5GLM-4.7
GPQA Diamond90.5%83.3%
SimpleQA Verified33.7%32.2%
LMArena Expert14911424
Vectara Hallucination Rate—11.7%

Multimodal Not comparable

Claude Sonnet 5: 42.4 (#26), GLM-4.7: —

Multimodal benchmarks
BenchmarkClaude Sonnet 5GLM-4.7
LMArena Vision1275—
Blueprint-Bench 224.9%—
LMArena Document1466—

Multilingual Too close to call

Claude Sonnet 5: 54.0 (#55), GLM-4.7: 53.0 (#75)

Multilingual benchmarks
BenchmarkClaude Sonnet 5GLM-4.7
LMArena Non-English14311417
LMArena Chinese14751495
LMArena French14571432
LMArena German14481426
LMArena Japanese14221439
LMArena Korean14111401
LMArena Russian14521423
LMArena Spanish14361433

Instruction Following Claude Sonnet 5 leads

Claude Sonnet 5: 76.6 (#39), GLM-4.7: 74.6 (#90)

Instruction Following benchmarks
BenchmarkClaude Sonnet 5GLM-4.7
LMArena Instruction Following14531411

Long Context Claude Sonnet 5 leads

Claude Sonnet 5: 44.8 (#53), GLM-4.7: 42.8 (#111)

Long Context benchmarks
BenchmarkClaude Sonnet 5GLM-4.7
LMArena Longer Query14641432
CL-bench—15.9%
CL-bench Life—10.9%

Writing & Preference Claude Sonnet 5 leads

Claude Sonnet 5: 69.4 (#24), GLM-4.7: 61.1 (#89)

Writing & Preference benchmarks
BenchmarkClaude Sonnet 5GLM-4.7
LMArena Text14431436
LMArena Creative Writing14161401
EQ-Bench Creative Writing17941413
LMArena Multi-Turn14541446
EQ-Bench 41236—

Frequently asked questions

Is Claude Sonnet 5 better than GLM-4.7?

Claude Sonnet 5 is the stronger model overall, scoring 54.5 to 41.7 on the Noometry Index. GLM-4.7 costs 4.0× less per token, which makes it the better buy when Claude Sonnet 5's lead doesn't matter for your workload.

Which is cheaper, Claude Sonnet 5 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 5 lists at $2 and $10.

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

Claude Sonnet 5 scores higher on coding benchmarks: 55.5 versus 43.6 in the Noometry coding category.

Which has the bigger context window?

Claude Sonnet 5 does, with 1M tokens against 205K.

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

30 benchmarks have published results for both models. Claude Sonnet 5 has 51 scored results on Noometry and GLM-4.7 has 36.

Related comparisons

Go deeper