Model comparison

Claude Sonnet 4 vs GLM-5.2

GLM-5.2 is the stronger model overall, scoring 50.9 to 40.6 on the Noometry Index.

Last verified . 31 shared benchmarks.

Claude Sonnet 4 Anthropic

40.6

Rank #139 Confirmed

GLM-5.2 Z.ai (Zhipu)

50.9

Rank #38 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.1 to 23.0.
  • 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.650.9
Released2025-05-222026-06-13
WeightsProprietaryOpen
Context window200K1M
Max output64K131K
Input $ / M tokens$3$1.40
Output $ / M tokens$15$4.40
Results tracked5850

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

Category by category

Coding GLM-5.2 leads

Claude Sonnet 4: 44.0 (#70), GLM-5.2: 50.9 (#37)

Coding benchmarks
BenchmarkClaude Sonnet 4GLM-5.2
SciCode40%50.5%
WeirdML46.1%70.1%
LMArena Coding14141484
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—1604
GSO4.9%—

Agentic & Tool Use Claude Sonnet 4 leads

Claude Sonnet 4: 38.3 (#29), GLM-5.2: 31.6 (#63)

Agentic & Tool Use benchmarks
BenchmarkClaude Sonnet 4GLM-5.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: 23.0 (#169), GLM-5.2: 42.1 (#46)

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.76
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: 41.5 (#71), GLM-5.2: 55.4 (#35)

Knowledge GLM-5.2 leads

Claude Sonnet 4: 41.6 (#99), GLM-5.2: 57.1 (#36)

Knowledge benchmarks
BenchmarkClaude Sonnet 4GLM-5.2
GPQA Diamond79.2%91.9%
LMArena Expert13711484
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: 25.6 (#116), 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.9 (#151), GLM-5.2: 56.0 (#25)

Multilingual benchmarks
BenchmarkClaude Sonnet 4GLM-5.2
LMArena Non-English13331459
LMArena Chinese13511518
LMArena French13641476
LMArena German13311470
LMArena Japanese13011451
LMArena Korean12931445
LMArena Russian13551467
LMArena Spanish13561477

Instruction Following GLM-5.2 leads

Claude Sonnet 4: 71.8 (#141), GLM-5.2: 77.1 (#32)

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

Long Context GLM-5.2 leads

Claude Sonnet 4: 33.6 (#254), 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.3 (#127), GLM-5.2: 70.7 (#20)

Writing & Preference benchmarks
BenchmarkClaude Sonnet 4GLM-5.2
LMArena Text13511470
LMArena Creative Writing13451465
EQ-Bench Creative Writing14831757
LMArena Multi-Turn13761468
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 50.9 to 40.6 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: 50.9 versus 44.0 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 50.

Related comparisons

Go deeper