Model comparison

Claude Sonnet 4 vs GLM-5.2

GLM-5.2 is the stronger model overall, scoring 51.1 to 40.8 on the Noometry Index.

Last verified . 31 shared benchmarks.

Claude Sonnet 4 Anthropic

40.8

Rank #145 Confirmed

GLM-5.2 Z.ai (Zhipu)

51.1

Rank #44 Confirmed

Summary

  • They share 31 benchmarks with published results for both. Claude Sonnet 4 scores higher in 1 category and GLM-5.2 in 8 categories; 9 gaps are clear of the uncertainty.
  • The widest gap is in reasoning, where GLM-5.2 leads 42.3 to 22.9.
  • The biggest single-benchmark swing is ARC-AGI-1: 40% for Claude Sonnet 4 and 77% for GLM-5.2.
  • GLM-5.2 is cheaper at $1.40 / $4.40 per million input/output tokens, against $3 / $15 for Claude Sonnet 4.
  • GLM-5.2 accepts more context: 1M tokens versus 200K.
  • GLM-5.2 has downloadable open weights; the other is API-only.

Side by side

Claude Sonnet 4 and GLM-5.2 specifications
Claude Sonnet 4GLM-5.2
ProviderAnthropicZ.ai (Zhipu)
Noometry Index40.851.1
Released2025-05-222026-06-13
WeightsProprietaryOpen
Context window200K1M
Max output64K131K
Input $ / M tokens$3$1.40
Output $ / M tokens$15$4.40
Results tracked5851

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

Category by category

Coding GLM-5.2 leads

Claude Sonnet 4: 43.5 (#88), GLM-5.2: 51.3 (#41)

Coding benchmarks
BenchmarkClaude Sonnet 4GLM-5.2
SciCode40%50.5%
WeirdML46.1%70.1%
LMArena Coding14141485
ALE-Bench655.351,047
SWE-bench Verified—78.7%
DeepSWE—43.8%
FrontierCode—24.5%
SWE-bench Verified (bash only)64.9%—
Aider Polyglot61.3%—
LMArena WebDev—1603
GSO4.9%—

Agentic & Tool Use Claude Sonnet 4 leads

Claude Sonnet 4: 38.5 (#31), GLM-5.2: 32.4 (#63)

Agentic & Tool Use benchmarks
BenchmarkClaude Sonnet 4GLM-5.2
APEX-Agents—45.2%
TheAgentCompany33.1%—
τ²-bench Banking—37.1%
Cybench35%—
DeepResearch Bench46.6%—
OSWorld43.9%—
PostTrainBench—31.7%
GBAEval—0%
METR Time Horizons62%—
Vending-Bench 2—8,314

Reasoning GLM-5.2 leads

Claude Sonnet 4: 22.9 (#187), GLM-5.2: 42.3 (#52)

Reasoning benchmarks
BenchmarkClaude Sonnet 4GLM-5.2
ARC-AGI-25.9%22.8%
SimpleBench45.5%58.8%
Kagi LLM Benchmark73%62.6%
ARC-AGI-140%77%
CritPt0.3%20.9%
LMArena Hard Prompts13721480
DTBench77.1%93.6%
LMCA29%45.8%
Epoch Capabilities Index141.69151.78
NYT Connections (extended)—74.3%
Chess Puzzles—21%
EnigmaEval3.1%—
EBR-Bench—9.5%
Mystery Game Puzzles—19%
Surface Evolver Bench—55.6%
ForecastBench60.2—

Math GLM-5.2 leads

Claude Sonnet 4: 43.3 (#80), GLM-5.2: 55.7 (#43)

Knowledge GLM-5.2 leads

Claude Sonnet 4: 41.8 (#108), GLM-5.2: 57.1 (#40)

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

Multimodal Not comparable

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

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

Multilingual GLM-5.2 leads

Claude Sonnet 4: 46.7 (#156), GLM-5.2: 55.8 (#26)

Multilingual benchmarks
BenchmarkClaude Sonnet 4GLM-5.2
LMArena Non-English13331459
LMArena Chinese13501519
LMArena French13631479
LMArena German13311468
LMArena Japanese13021451
LMArena Korean12911445
LMArena Russian13551466
LMArena Spanish13571477

Instruction Following GLM-5.2 leads

Claude Sonnet 4: 71.7 (#145), GLM-5.2: 76.9 (#34)

Instruction Following benchmarks
BenchmarkClaude Sonnet 4GLM-5.2
LMArena Instruction Following13761465
IFEval84%—

Long Context GLM-5.2 leads

Claude Sonnet 4: 33.7 (#259), GLM-5.2: 45.3 (#43)

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

Writing & Preference GLM-5.2 leads

Claude Sonnet 4: 57.1 (#132), GLM-5.2: 70.4 (#21)

Writing & Preference benchmarks
BenchmarkClaude Sonnet 4GLM-5.2
LMArena Text13511470
LMArena Creative Writing13451462
EQ-Bench Creative Writing14831757
LMArena Multi-Turn13761469
Short-Story Creative Writing81.4%—
WildBench83.8%—
EQ-Bench 4—1222

Frequently asked questions

Is Claude Sonnet 4 better than GLM-5.2?

GLM-5.2 is the stronger model overall, scoring 51.1 to 40.8 on the Noometry Index.

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

GLM-5.2 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.2 better for coding?

GLM-5.2 scores higher on coding benchmarks: 51.3 versus 43.5 in the Noometry coding category.

Which has the bigger context window?

GLM-5.2 does, with 1M tokens against 200K.

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

31 benchmarks have published results for both models. Claude Sonnet 4 has 58 scored results on Noometry and GLM-5.2 has 51.

Related comparisons

Go deeper