Model comparison

Claude Sonnet 4 vs GLM-5

GLM-5 is the stronger model overall, scoring 46.1 to 40.8 on the Noometry Index.

Last verified . 32 shared benchmarks.

Claude Sonnet 4 Anthropic

40.8

Rank #145 Confirmed

GLM-5 Z.ai (Zhipu)

46.1

Rank #66 Confirmed

Summary

  • They share 32 benchmarks with published results for both. Claude Sonnet 4 scores higher in 1 category and GLM-5 in 8 categories; 9 gaps are clear of the uncertainty.
  • The widest gap is in long context, where GLM-5 leads 44.7 to 33.7.
  • The biggest single-benchmark swing is OTIS Mock AIME 2024-2025: 71.1% for Claude Sonnet 4 and 80% for GLM-5.
  • GLM-5 is cheaper at $1 / $3.20 per million input/output tokens, against $3 / $15 for Claude Sonnet 4.
  • GLM-5 accepts more context: 205K tokens versus 200K.
  • GLM-5 has downloadable open weights; the other is API-only.

Side by side

Claude Sonnet 4 and GLM-5 specifications
Claude Sonnet 4GLM-5
ProviderAnthropicZ.ai (Zhipu)
Noometry Index40.846.1
Released2025-05-222026-02-11
WeightsProprietaryOpen
Context window200K205K
Max output64K131K
Input $ / M tokens$3$1
Output $ / M tokens$15$3.20
Results tracked5845

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

Category by category

Coding GLM-5 leads

Claude Sonnet 4: 43.5 (#88), GLM-5: 49.0 (#52)

Coding benchmarks
BenchmarkClaude Sonnet 4GLM-5
SWE-bench Verified (bash only)64.9%72.8%
WeirdML46.1%48.2%
LMArena Coding14141461
ALE-Bench655.35765.62
SWE-bench Verified—72.1%
Aider Polyglot61.3%—
LMArena WebDev—1434
SWE-bench Multilingual—69.7%
SciCode40%—
GSO4.9%—

Agentic & Tool Use Claude Sonnet 4 leads

Claude Sonnet 4: 38.5 (#31), GLM-5: 31.1 (#71)

Agentic & Tool Use benchmarks
BenchmarkClaude Sonnet 4GLM-5
Terminal-Bench—52.4%
TheAgentCompany33.1%—
τ²-bench Airline—82.5%
τ²-bench Banking—9.8%
τ²-bench Retail—73.7%
τ²-bench Telecom—86.8%
Cybench35%—
DeepResearch Bench46.6%—
OSWorld43.9%—
METR Time Horizons62%—
Vending-Bench 2—4,432

Reasoning GLM-5 leads

Claude Sonnet 4: 22.9 (#187), GLM-5: 27.6 (#116)

Reasoning benchmarks
BenchmarkClaude Sonnet 4GLM-5
ARC-AGI-25.9%4.9%
SimpleBench45.5%53.2%
Kagi LLM Benchmark73%75%
ARC-AGI-140%44.7%
LMArena Hard Prompts13721452
Epoch Capabilities Index141.69145.83
ForecastBench60.261
NYT Connections (extended)—74.8%
CritPt0.3%—
Chess Puzzles—10%
EnigmaEval3.1%—
DTBench77.1%—
LMCA29%—

Math GLM-5 leads

Claude Sonnet 4: 43.3 (#80), GLM-5: 46.4 (#71)

Math benchmarks
BenchmarkClaude Sonnet 4GLM-5
OTIS Mock AIME 2024-202571.1%80%
LMArena Math13751440
FrontierMath (Feb 2025 set)4.1%16.4%
FrontierMath Tier 4 (v1)0%2.1%
MathArena Final-Answer Competitions—65.7%
Omni-MATH60.2%—
MATH Level 584.4%—

Knowledge GLM-5 leads

Claude Sonnet 4: 41.8 (#108), GLM-5: 52.3 (#64)

Knowledge benchmarks
BenchmarkClaude Sonnet 4GLM-5
GPQA Diamond79.2%87.8%
Vectara Hallucination Rate10.3%10.1%
LMArena Expert13721454
Humanity's Last Exam7.8%—
MMLU-Pro84.3%—
Confabulations13.2%—
GPQA (HELM)70.6%—

Multimodal Not comparable

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

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

Multilingual GLM-5 leads

Claude Sonnet 4: 46.7 (#156), GLM-5: 53.7 (#58)

Multilingual benchmarks
BenchmarkClaude Sonnet 4GLM-5
LMArena Non-English13331430
LMArena Chinese13501511
LMArena French13631455
LMArena German13311445
LMArena Japanese13021416
LMArena Korean12911423
LMArena Russian13551436
LMArena Spanish13571454

Instruction Following GLM-5 leads

Claude Sonnet 4: 71.7 (#145), GLM-5: 75.2 (#67)

Instruction Following benchmarks
BenchmarkClaude Sonnet 4GLM-5
LMArena Instruction Following13761428
IFEval84%—

Long Context GLM-5 leads

Claude Sonnet 4: 33.7 (#259), GLM-5: 44.7 (#60)

Long Context benchmarks
BenchmarkClaude Sonnet 4GLM-5
LMArena Longer Query13981446
Fiction.LiveBench46.9%—
CL-bench—18.7%

Writing & Preference GLM-5 leads

Claude Sonnet 4: 57.1 (#132), GLM-5: 66.0 (#38)

Writing & Preference benchmarks
BenchmarkClaude Sonnet 4GLM-5
LMArena Text13511446
LMArena Creative Writing13451439
EQ-Bench Creative Writing14831601
LMArena Multi-Turn13761456
Short-Story Creative Writing81.4%—
WildBench83.8%—

Frequently asked questions

Is Claude Sonnet 4 better than GLM-5?

GLM-5 is the stronger model overall, scoring 46.1 to 40.8 on the Noometry Index.

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

GLM-5 is cheaper. It lists at $1 per million input tokens and $3.20 per million output tokens; Claude Sonnet 4 lists at $3 and $15.

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

GLM-5 scores higher on coding benchmarks: 49.0 versus 43.5 in the Noometry coding category.

Which has the bigger context window?

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

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

32 benchmarks have published results for both models. Claude Sonnet 4 has 58 scored results on Noometry and GLM-5 has 45.

Related comparisons

Go deeper