Comparing 2 models

Claude Sonnet 5.5 vs GLM 5.2

Benchmarks through

Verdict

Claude Sonnet 5.5 places higher on 2 of the 2 tasks where both are ranked. GLM 5.2 costs 58.7x less per input token. GLM 5.2 accepts 1.0x more context. Only GLM 5.2 has open weights for self-hosting.

  • Choose Claude Sonnet 5.5 for Code Completion (#1), AI Agents (#2).
  • Choose GLM 5.2 for you need to self-host.

Built from the published task rankings below; ranks come from each task's own weighted benchmarks, so a win on one task says nothing about another.

metric
Model 1Claude Sonnet 5.5
Model 2GLM 5.2
Best for
Code Completion (#1)
Best Cheap LLM for High Volume (#2)
Provider
anthropic
z-ai
Context
1M
1.0MBest
Input / 1M
$2
$0.034Best
Output / 1M
$10
$7Best
Tool use
yesBest
yesBest
Vision
yesBest
—
Reasoning
yesBest
yesBest
Open-weight
—
yesBest
Released
Sep 28, 2026
Jun 13, 2026

Measured head to head

Benchmarks both models were run on

EvaluationClaude Sonnet 5.5GLM 5.2Source
Design Arena Coding1365 Elo1287 Elosource · 2026-10-23
Design Arena UI1369 Elo1294 Elosource · 2026-10-23
Design Arena Web-app Agent1306 Elo1222 Elosource · 2026-10-23
Design Arena Website1327 Elo1285 Elosource · 2026-10-23
FrontierMath Tiers 1-3 (Epoch AI)88.8% ± 1.959.2% ± 3source · 2026-09-29
GPQA Diamond (Epoch AI)95.6% ± 1.491.9% ± 1.6source · 2026-09-29
LiveBench Agentic Coding56.3%51.8%source · 2026-10-18
LiveBench Coding91.4%79.7%source · 2026-10-18
LiveBench Data Analysis59.5%73.7%source · 2026-10-18
LiveBench Instruction Following56.8%62.3%source · 2026-10-18
LiveBench Language78.0%76.2%source · 2026-10-18
LiveBench Math96.1%89.8%source · 2026-10-18
LiveBench Reasoning91.6%78.6%source · 2026-10-18
LMArena Agent12.72.1source · 2026-10-20
LMArena Agent Bash Recovery150.7source · 2026-10-08
LMArena Agent Steerability10.91.3source · 2026-10-20
LMArena Agent Task Outcome20.63.8source · 2026-10-20
LMArena Agent Tool Hallucination0.60.7source · 2026-10-20
LMArena Creative Writing1468 Elo1462 Elosource · 2026-10-22
LMArena Instruction Following1491 Elo1466 Elosource · 2026-10-22
LMArena Long Query1495 Elo1479 Elosource · 2026-10-22
LMArena Math1498 Elo1484 Elosource · 2026-10-22
LMArena Text1478 Elo1475 Elosource · 2026-10-22
LMArena Text Factuality1476 Elo1463 Elosource · 2026-10-22
LMArena WebDev1767 Elo1604 Elosource · 2026-10-22
OTIS Mock AIME (Epoch AI)100% ± 086.4% ± 4.2source · 2026-09-29
SimpleQA Verified (Epoch AI)46.5% ± 1.634.2% ± 1.5source · 2026-09-29

Values are as published by each evaluator, in its own units; rows from different evaluators are not on a common scale.