Model comparison

Claude Sonnet 5 vs GLM-4.7

Claude Sonnet 5 is the stronger model overall, scoring 54.6 to 42.0 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.6

Rank #29 Confirmed

GLM-4.7 Z.ai (Zhipu)

42.0

Rank #124 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; 9 gaps are clear of the uncertainty.
  • The widest gap is in math, where Claude Sonnet 5 leads 66.2 to 38.6.
  • 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.642.0
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 (#26), GLM-4.7: 44.0 (#79)

Coding benchmarks
BenchmarkClaude Sonnet 5GLM-4.7
LMArena WebDev15411435
SciCode54.3%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.8 (#18), GLM-4.7: 26.5 (#103)

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: 49.1 (#39), GLM-4.7: 24.3 (#164)

Reasoning benchmarks
BenchmarkClaude Sonnet 5GLM-4.7
SimpleBench60.6%47.7%
CritPt16.9%1.7%
Chess Puzzles35%6%
LMArena Hard Prompts14611443
Epoch Capabilities Index156.21143.51
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.2 (#27), GLM-4.7: 38.6 (#135)

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.6 (#47), GLM-4.7: 47.0 (#80)

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

Multimodal Not comparable

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

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

Multilingual Claude Sonnet 5 leads

Claude Sonnet 5: 53.8 (#55), GLM-4.7: 52.8 (#79)

Multilingual benchmarks
BenchmarkClaude Sonnet 5GLM-4.7
LMArena Non-English14311417
LMArena Chinese14771495
LMArena French14601432
LMArena German14401424
LMArena Japanese14221439
LMArena Korean14111399
LMArena Russian14511423
LMArena Spanish14371434

Instruction Following Claude Sonnet 5 leads

Claude Sonnet 5: 76.3 (#41), GLM-4.7: 74.4 (#95)

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

Long Context Claude Sonnet 5 leads

Claude Sonnet 5: 44.8 (#55), GLM-4.7: 42.8 (#116)

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

Writing & Preference Claude Sonnet 5 leads

Claude Sonnet 5: 69.2 (#25), GLM-4.7: 60.9 (#93)

Writing & Preference benchmarks
BenchmarkClaude Sonnet 5GLM-4.7
LMArena Text14421435
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.6 to 42.0 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 44.0 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