Model comparison

Claude Sonnet 4 vs GLM-5.1

GLM-5.1 is the stronger model overall, scoring 47.8 to 40.8 on the Noometry Index.

Last verified . 28 shared benchmarks.

Claude Sonnet 4 Anthropic

40.8

Rank #145 Confirmed

GLM-5.1 Z.ai (Zhipu)

47.8

Rank #59 Confirmed

Summary

  • They share 28 benchmarks with published results for both. Claude Sonnet 4 scores higher in 1 category and GLM-5.1 in 8 categories; 9 gaps are clear of the uncertainty.
  • The widest gap is in reasoning, where GLM-5.1 leads 39.1 to 22.9.
  • The biggest single-benchmark swing is OTIS Mock AIME 2024-2025: 71.1% for Claude Sonnet 4 and 93.3% for GLM-5.1.
  • GLM-5.1 is cheaper at $1.40 / $4.40 per million input/output tokens, against $3 / $15 for Claude Sonnet 4.
  • GLM-5.1 has downloadable open weights; the other is API-only.

Side by side

Claude Sonnet 4 and GLM-5.1 specifications
Claude Sonnet 4GLM-5.1
ProviderAnthropicZ.ai (Zhipu)
Noometry Index40.847.8
Released2025-05-222026-04-07
WeightsProprietaryOpen
Context window200K200K
Max output64K131K
Input $ / M tokens$3$1.40
Output $ / M tokens$15$4.40
Results tracked5841

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

Category by category

Coding GLM-5.1 leads

Claude Sonnet 4: 43.5 (#88), GLM-5.1: 48.7 (#55)

Coding benchmarks
BenchmarkClaude Sonnet 4GLM-5.1
SciCode40%43.8%
WeirdML46.1%57.1%
LMArena Coding14141485
ALE-Bench655.35887.1
SWE-bench Verified—74.2%
SWE-bench Verified (bash only)64.9%—
Aider Polyglot61.3%—
LMArena WebDev—1508
GSO4.9%—

Agentic & Tool Use Claude Sonnet 4 leads

Claude Sonnet 4: 38.5 (#31), GLM-5.1: 24.9 (#113)

Agentic & Tool Use benchmarks
BenchmarkClaude Sonnet 4GLM-5.1
APEX-Agents—40.9%
TheAgentCompany33.1%—
Cybench35%—
DeepResearch Bench46.6%—
OSWorld43.9%—
ExploitBench—18.1%
GBAEval—0%
METR Time Horizons62%—
Vending-Bench 2—5,634

Reasoning GLM-5.1 leads

Claude Sonnet 4: 22.9 (#187), GLM-5.1: 39.1 (#60)

Reasoning benchmarks
BenchmarkClaude Sonnet 4GLM-5.1
SimpleBench45.5%55.1%
CritPt0.3%4.6%
LMArena Hard Prompts13721472
Epoch Capabilities Index141.69149.84
ARC-AGI-25.9%—
Kagi LLM Benchmark73%—
NYT Connections (extended)—77.7%
ARC-AGI-140%—
Chess Puzzles—19%
EnigmaEval3.1%—
Thematic Generalization—69.8%
DTBench77.1%—
LMCA29%—
ForecastBench60.2—

Math GLM-5.1 leads

Claude Sonnet 4: 43.3 (#80), GLM-5.1: 49.7 (#60)

Math benchmarks
BenchmarkClaude Sonnet 4GLM-5.1
OTIS Mock AIME 2024-202571.1%93.3%
LMArena Math13751473
FrontierMath (Feb 2025 set)4.1%33.4%
FrontierMath Tier 4 (v1)0%12.5%
FrontierMath (Tiers 1-3)—36.8%
MathArena Final-Answer Competitions—67.1%
ProofBench—22.2%
Omni-MATH60.2%—
MATH Level 584.4%—

Knowledge GLM-5.1 leads

Claude Sonnet 4: 41.8 (#108), GLM-5.1: 54.9 (#50)

Knowledge benchmarks
BenchmarkClaude Sonnet 4GLM-5.1
GPQA Diamond79.2%89.9%
LMArena Expert13721476
Humanity's Last Exam7.8%—
SimpleQA Verified—34%
MMLU-Pro84.3%—
Confabulations13.2%—
Vectara Hallucination Rate10.3%—
GPQA (HELM)70.6%—

Multimodal Not comparable

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

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

Multilingual GLM-5.1 leads

Claude Sonnet 4: 46.7 (#156), GLM-5.1: 55.0 (#36)

Multilingual benchmarks
BenchmarkClaude Sonnet 4GLM-5.1
LMArena Non-English13331447
LMArena Chinese13501515
LMArena French13631474
LMArena German13311465
LMArena Japanese13021434
LMArena Korean12911418
LMArena Russian13551454
LMArena Spanish13571469

Instruction Following GLM-5.1 leads

Claude Sonnet 4: 71.7 (#145), GLM-5.1: 76.3 (#42)

Instruction Following benchmarks
BenchmarkClaude Sonnet 4GLM-5.1
LMArena Instruction Following13761451
IFEval84%—

Long Context GLM-5.1 leads

Claude Sonnet 4: 33.7 (#259), GLM-5.1: 44.9 (#53)

Long Context benchmarks
BenchmarkClaude Sonnet 4GLM-5.1
LMArena Longer Query13981466
Fiction.LiveBench46.9%—

Writing & Preference GLM-5.1 leads

Claude Sonnet 4: 57.1 (#132), GLM-5.1: 66.9 (#31)

Writing & Preference benchmarks
BenchmarkClaude Sonnet 4GLM-5.1
LMArena Text13511461
LMArena Creative Writing13451453
EQ-Bench Creative Writing14831592
LMArena Multi-Turn13761472
Short-Story Creative Writing81.4%—
WildBench83.8%—

Frequently asked questions

Is Claude Sonnet 4 better than GLM-5.1?

GLM-5.1 is the stronger model overall, scoring 47.8 to 40.8 on the Noometry Index.

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

GLM-5.1 is cheaper. It lists at $1.40 per million input tokens and $4.40 per million output tokens; Claude Sonnet 4 lists at $3 and $15.

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

GLM-5.1 scores higher on coding benchmarks: 48.7 versus 43.5 in the Noometry coding category.

Which has the bigger context window?

Both accept 200K tokens.

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

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

Related comparisons

Go deeper