Claude Sonnet 5 vs GLM 5.3
Updated October 21, 2026. 96 benchmarks have a result for both. Coding is ranked on the Vibe Coding Index; every other board is shown as published.
Decision reading
Pick GLM 5.3 for coding: it scores 73.1 on the Vibe Coding Index against 63.5 for Claude Sonnet 5.
Pick Claude Sonnet 5 when what matters is LiveCodeBench (Vals AI) or Vibe Code Bench (Vals AI), where it leads.
- Shared results
- 96
- Claude Sonnet 5 only
- 24
- GLM 5.3 only
- 4
- Like-for-like categories
- 8 of 9
Shared results can support a head-to-head reading. Results only one model has describe coverage, not superiority.
Which one for your work
Each card is decided by one number both models carry. Where only one has it, the card says so and makes no call.
Coding
Vibe Coding Index, four public coding benchmarks
GLM 5.3
GLM 5.3 scores 73.1 against 63.5.
2 benchmarks behind each score
Intelligence
AA Intelligence Index
GLM 5.3
GLM 5.3 leads, 44.8 against 38.2.
Same board, both measured
Agentic work
AA Agentic Index
GLM 5.3
GLM 5.3 leads, 53.1 against 43.6.
Same board, both measured
Reasoning
GPQA Diamond
Claude Sonnet 5
Claude Sonnet 5 leads, 88.9% against 88.1%.
Same board, both measured
Knowledge
MMLU Pro
Claude Sonnet 5
Claude Sonnet 5 leads, 87.5% against 86.8%.
Same board, both measured
Web design
Design Arena: websites
GLM 5.3
GLM 5.3 leads, 1295 against 1274.
Same board, both measured
General
Vals Index
No call
Only GLM 5.3 has a Vals Index result, 59.7%.
Directional only
Long documents
Listed context window
GLM 5.3
GLM 5.3 takes 1.05M tokens against 1M.
Listed by OpenRouter
Everyday cost
1K input + 500 output tokens
GLM 5.3
Claude Sonnet 5 $0.0070, GLM 5.3 $0.0008 per turn.
List prices
Cost per solved task
One SWE-bench Verified task, solved
GLM 5.3
Claude Sonnet 5 $1.87, GLM 5.3 $0.36.
Published attempt cost and pass rate
At a glance
- Coding index
- Claude Sonnet 5 63.5 from 2 benchmarks, GLM 5.3 73.1 from 2 benchmarks.
- Widest category
- Agentic work, 10.5 points apart on average over 15 shared benchmarks.
- Widest single gap
- LiveBench browser: Claude Sonnet 5 72.0% against GLM 5.3 0.0%, 72.0 points apart on a 0 to 100 scale.
- Output price
- Claude Sonnet 5 $10.00 against GLM 5.3 $1.40 per million output tokens, 7.1x apart.
- Context window
- Claude Sonnet 5 takes 1M tokens, GLM 5.3 1.05M.
Benchmark by benchmark
First the score: boards each model leads, per category, where both have a result. Then every board, a category to a fold; bars are each result on a 0 to 100 scale, so compare the two in a row, not one row with another.
| Category | Claude Sonnet 5 | Bars | GLM 5.3 | Ties |
|---|---|---|---|---|
| Coding | 6 | 16 | ||
| Intelligence | 1 | 1 | ||
| Agentic work | 6 | 8 | 1 tie | |
| Reasoning | 4 | 6 | ||
| Math | 2 | 3 | 1 tie | |
| Knowledge | 3 | 6 | ||
| Web design | 1 | 8 | ||
| General | 3 | 20 | ||
| All shared boards | 26 | 68 | 2 ties |
CodingLike-for-likeFour of these boards feed the Vibe Coding Index616
| Benchmark | Claude Sonnet 5 | GLM 5.3 | Leader |
|---|---|---|---|
| LiveBench coding | 74.7% | 82.8% | GLM 5.3 |
| LMArena WebDev | 1540 | 1621 | GLM 5.3 |
| AA Coding Index | 71.5 | 74.8 | GLM 5.3 |
| LiveCodeBench (Vals AI) | 82.4% | 80.5% | Claude Sonnet 5 |
| SWE-bench Verified (Vals AI) | 79.6% | 95.4% | GLM 5.3 |
| Terminal-Bench 4 (Vals AI) | 10.6% | 38.9% | GLM 5.3 |
| Vibe Code Bench (Vals AI) | 81.3% | 78.1% | Claude Sonnet 5 |
| Code migration (Vals AI) | 44.4% | 44.2% | Claude Sonnet 5 |
| ProgramBench (Vals AI) | 0.0% | 1.5% | GLM 5.3 |
| IOI (Vals AI) | 45.0% | 68.4% | GLM 5.3 |
| Terminal-Bench 2.1 (Vals AI) | 74.5% | 71.5% | Claude Sonnet 5 |
| Vibe Code Bench 1-100 (Vals AI) | 13.8% | 20.0% | GLM 5.3 |
| SkillsBench (Vals AI) | 46.5% | 47.5% | GLM 5.3 |
| CyberBench (Vals AI) | 70.3% | 72.1% | GLM 5.3 |
| SciCode | 54.3% | 59.0% | GLM 5.3 |
| FrontierCode | 42.7% | 40.1% | Claude Sonnet 5 |
| FrontierSWE | Not measured | 30.2% | Only GLM 5.3 measured |
| GSO-Bench | 37.3% | Not measured | Only Claude Sonnet 5 measured |
| WeirdML | 68.8% | 75.4% | GLM 5.3 |
| ALE-Bench | 1463.1 | 1317.4 | Claude Sonnet 5 |
| LMArena Text: coding | 1483 | 1497 | GLM 5.3 |
| LMArena Text: software and IT | 1474 | 1493 | GLM 5.3 |
| LMArena WebDev: React | 1541 | 1641 | GLM 5.3 |
| LMArena WebDev: HTML | 1527 | 1595 | GLM 5.3 |
| LMArena WebDev: from an image | 1540 | Not measured | Only Claude Sonnet 5 measured |
| Neither model has a result on the other 13 boards here | |||
IntelligenceLike-for-likePublic boards, shown as published, kept out of the index11
| Benchmark | Claude Sonnet 5 | GLM 5.3 | Leader |
|---|---|---|---|
| AA Intelligence Index | 38.2 | 44.8 | GLM 5.3 |
| Epoch Capabilities Index | 156.9 | 156.0 | Claude Sonnet 5 |
Agentic workLike-for-likePublic boards, shown as published, kept out of the index68
| Benchmark | Claude Sonnet 5 | GLM 5.3 | Leader |
|---|---|---|---|
| AA Agentic Index | 43.6 | 53.1 | GLM 5.3 |
| Design Arena: agents building web apps | 1245 | Not measured | Only Claude Sonnet 5 measured |
| Design Arena: agents building full-stack apps | 1249 | Not measured | Only Claude Sonnet 5 measured |
| Design Arena: agents building mobile apps | 1215 | 1194 | Claude Sonnet 5 |
| Design Arena: agents building Android apps | 1231 | Not measured | Only Claude Sonnet 5 measured |
| Design Arena: agents building Godot games | 1225 | Not measured | Only Claude Sonnet 5 measured |
| Design Arena: agents building games | 1227 | Not measured | Only Claude Sonnet 5 measured |
| Design Arena: HTML slides | 1218 | 1189 | Claude Sonnet 5 |
| Design Arena: PowerPoint slides | 1216 | 1255 | GLM 5.3 |
| Design Arena: spreadsheets | 1004 | Not measured | Only Claude Sonnet 5 measured |
| LiveBench research | 82.8% | 73.2% | Claude Sonnet 5 |
| LiveBench browser | 72.0% | 0.0% | Claude Sonnet 5 |
| LiveBench long agentic | 39.0% | 35.9% | Claude Sonnet 5 |
| SREBench (Vals AI) | 0.4% | 9.2% | GLM 5.3 |
| Finance Agent (Vals AI) | 53.9% | 55.8% | GLM 5.3 |
| Tax Agent Bench (Vals AI) | 29.4% | 39.7% | GLM 5.3 |
| Legal Research Bench (Vals AI) | 41.8% | 49.0% | GLM 5.3 |
| Harvey's Legal Agent Benchmark (Vals AI) | Not measured | 14.6% | Only GLM 5.3 measured |
| Excel Modeling Benchmark (Vals AI) | 66.3% | 56.3% | Claude Sonnet 5 |
| Terminal-Bench-Science (Vals AI) | 5.7% | 5.7% | Tie |
| APEX-Agents | 54.5% | 56.6% | GLM 5.3 |
| Vending-Bench 2 | $6,378 | $8,164 | GLM 5.3 |
| Neither model has a result on the other 17 boards here | |||
ReasoningLike-for-likePublic boards, shown as published, kept out of the index46
| Benchmark | Claude Sonnet 5 | GLM 5.3 | Leader |
|---|---|---|---|
| GPQA Diamond | 88.9% | 88.1% | Claude Sonnet 5 |
| LiveBench reasoning | 88.7% | 85.8% | Claude Sonnet 5 |
| MysteryMechanism (Vals AI) | Not measured | 23.0% | Only GLM 5.3 measured |
| MMMU Pro (Vals AI) | 83.0% | Not measured | Only Claude Sonnet 5 measured |
| GPQA Diamond (Artificial Analysis run) | 91.1% | 91.7% | GLM 5.3 |
| Humanity's Last Exam (Artificial Analysis run) | 41.3% | 42.3% | GLM 5.3 |
| GPQA Diamond (Epoch AI run) | 90.5% | 90.9% | GLM 5.3 |
| SimpleBench | 60.6% | Not measured | Only Claude Sonnet 5 measured |
| Chess puzzles | 45.0% | 37.0% | Claude Sonnet 5 |
| Mystery game puzzles | 35.0% | 33.0% | Claude Sonnet 5 |
| LMArena Text: hard prompts | 1461 | 1490 | GLM 5.3 |
| LMArena Text: expert | 1489 | 1514 | GLM 5.3 |
| LMArena Text: hard prompts in English | 1464 | 1496 | GLM 5.3 |
| LMArena Vision: diagrams | 1293 | Not measured | Only Claude Sonnet 5 measured |
| LMArena Vision: homework | 1311 | Not measured | Only Claude Sonnet 5 measured |
| Neither model has a result on the other 6 boards here | |||
MathLike-for-likePublic boards, shown as published, kept out of the index23
| Benchmark | Claude Sonnet 5 | GLM 5.3 | Leader |
|---|---|---|---|
| OTIS Mock AIME | 94.7% | 91.1% | Claude Sonnet 5 |
| FrontierMath, tiers 1 to 3 | 65.6% | 68.8% | GLM 5.3 |
| FrontierMath, tier 4 | 29.3% | 29.3% | Tie |
| ProofBench | 77.0% | 49.0% | Claude Sonnet 5 |
| LMArena Text: math | 1467 | 1495 | GLM 5.3 |
| LMArena Text: mathematical work | 1481 | 1497 | GLM 5.3 |
| Neither model has a result on the other 7 boards here | |||
KnowledgeLike-for-likePublic boards, shown as published, kept out of the index36
| Benchmark | Claude Sonnet 5 | GLM 5.3 | Leader |
|---|---|---|---|
| MMLU Pro | 87.5% | 86.8% | Claude Sonnet 5 |
| LegalBench (Vals AI) | 83.9% | 84.8% | GLM 5.3 |
| CorpFin (Vals AI) | 67.0% | Not measured | Only Claude Sonnet 5 measured |
| TaxEval (Vals AI) | 75.6% | 72.4% | Claude Sonnet 5 |
| MortgageTax (Vals AI) | 70.0% | Not measured | Only Claude Sonnet 5 measured |
| MedCode (Vals AI) | 47.5% | 42.9% | Claude Sonnet 5 |
| SimpleQA Verified | 33.7% | 41.0% | GLM 5.3 |
| LMArena Text: science | 1460 | 1498 | GLM 5.3 |
| LMArena Text: medicine and healthcare | 1442 | 1481 | GLM 5.3 |
| LMArena Text: legal and government | 1454 | 1473 | GLM 5.3 |
| LMArena Text: business and finance | 1436 | 1459 | GLM 5.3 |
| Neither model has a result on the other 6 boards here | |||
Web designLike-for-likePublic boards, shown as published, kept out of the index18
| Benchmark | Claude Sonnet 5 | GLM 5.3 | Leader |
|---|---|---|---|
| Design Arena: websites | 1274 | 1295 | GLM 5.3 |
| Design Arena: UI components | 1279 | 1314 | GLM 5.3 |
| Design Arena: game dev | 1278 | 1311 | GLM 5.3 |
| Design Arena: data viz | 1251 | 1260 | GLM 5.3 |
| Design Arena: 3D | 1261 | 1332 | GLM 5.3 |
| Design Arena: all code categories | 1276 | 1304 | GLM 5.3 |
| Design Arena: SVG | 1193 | 1292 | GLM 5.3 |
| Design Arena: ASCII art | 1207 | 1213 | GLM 5.3 |
| LiveBench design | 82.0% | 77.3% | Claude Sonnet 5 |
GeneralLike-for-likePublic boards, shown as published, kept out of the index320
| Benchmark | Claude Sonnet 5 | GLM 5.3 | Leader |
|---|---|---|---|
| Vals Index | Not measured | 59.7% | Only GLM 5.3 measured |
| LiveBench data analysis | 71.7% | 70.2% | Claude Sonnet 5 |
| Public Benefits Bench (Vals AI) | 66.0% | 68.5% | GLM 5.3 |
| SAGE (Vals AI) | 48.9% | Not measured | Only Claude Sonnet 5 measured |
| MedScribe (Vals AI) | 76.0% | 88.8% | GLM 5.3 |
| Vals Multimodal Index | 68.8% | Not measured | Only Claude Sonnet 5 measured |
| Long context reasoning (AA-LCR) | 82.0% | 79.7% | Claude Sonnet 5 |
| DTBench | 92.5% | 87.7% | Claude Sonnet 5 |
| LMCA | 50.0% | 55.5% | GLM 5.3 |
| Surface Evolver Bench | 60.0% | Not measured | Only Claude Sonnet 5 measured |
| LMArena Text | 1442 | 1474 | GLM 5.3 |
| LMArena Text: instruction following | 1452 | 1479 | GLM 5.3 |
| LMArena Text: creative writing | 1416 | 1458 | GLM 5.3 |
| LMArena Vision | 1273 | Not measured | Only Claude Sonnet 5 measured |
| LMArena Text: English | 1450 | 1482 | GLM 5.3 |
| LMArena Text: non-English | 1431 | 1459 | GLM 5.3 |
| LMArena Text: Chinese | 1478 | 1532 | GLM 5.3 |
| LMArena Text: German | 1442 | 1488 | GLM 5.3 |
| LMArena Text: Japanese | 1422 | 1460 | GLM 5.3 |
| LMArena Text: Korean | 1412 | 1460 | GLM 5.3 |
| LMArena Text: French | 1463 | 1503 | GLM 5.3 |
| LMArena Text: Spanish | 1438 | 1462 | GLM 5.3 |
| LMArena Text: Russian | 1450 | 1469 | GLM 5.3 |
| LMArena Text: Polish | 1425 | 1466 | GLM 5.3 |
| LMArena Text: multi-turn | 1453 | 1472 | GLM 5.3 |
| LMArena Text: longer queries | 1462 | 1483 | GLM 5.3 |
| LMArena Text: writing and language | 1436 | 1469 | GLM 5.3 |
| LMArena Text: entertainment and media | 1411 | 1447 | GLM 5.3 |
| LMArena Vision: English | 1275 | Not measured | Only Claude Sonnet 5 measured |
| LMArena Vision: Chinese | 1331 | Not measured | Only Claude Sonnet 5 measured |
| LMArena Vision: reading text | 1288 | Not measured | Only Claude Sonnet 5 measured |
| LMArena Vision: humor | 1261 | Not measured | Only Claude Sonnet 5 measured |
| LMArena Vision: creative writing | 1246 | Not measured | Only Claude Sonnet 5 measured |
| LMArena Document | 1466 | Not measured | Only Claude Sonnet 5 measured |
| Neither model has a result on the other 12 boards here | |||
Image generationNot comparablePublic boards, shown as published, kept out of the index0 boards, none shared
| Benchmark | Claude Sonnet 5 | GLM 5.3 | Leader |
|---|---|---|---|
| Neither model has a result on 5 boards here | |||
What each workload costs
Three fixed token mixes at each model's listed price, so per-token rates become a bill.
Chat turn
1K input + 500 output tokens
GLM 5.3 costs less
Repository review
50K input + 3K output tokens
GLM 5.3 costs less
Agent loop
200K input + 10K output tokens
GLM 5.3 costs less
Listed OpenRouter rates, without cache or batch discounts. A workload that does not fit a model's context window would need splitting.
Specification differences
The leading value in a row is marked; a row with a missing value names no leader. Our two rows are marked in red.
| Specification | Anthropic Claude Sonnet 5 | Z.ai GLM 5.3 |
|---|---|---|
| Maker | Anthropic | Z.ai |
| Weights | No public weights listed | Open weights |
| Released | June 30, 2026 | August 18, 2026 |
| Context window | 1M | 1.05M |
| Input $/Mtok | $2.00 | $0.079 |
| Output $/Mtok | $10.00 | $1.40 |
| Coding index | 63.5 | 73.1 |
| Independent measurements behind it | 2 | 2 |
| Cost per solved task | $1.87 | $0.36 |
| Source | OpenRouter listing | OpenRouter listing |
Questions
Is Claude Sonnet 5 better than GLM 5.3 for coding?
Pick GLM 5.3 for coding: it scores 73.1 on the Vibe Coding Index against 63.5 for Claude Sonnet 5. Pick Claude Sonnet 5 when what matters is LiveCodeBench (Vals AI) or Vibe Code Bench (Vals AI), where it leads.
Which is cheaper, Claude Sonnet 5 or GLM 5.3?
Claude Sonnet 5 costs $2.00 per million input tokens and $10.00 per million output tokens; GLM 5.3 costs $0.079 and $1.40. Per solved SWE-bench Verified task, Claude Sonnet 5 costs $1.87 and GLM 5.3 $0.36.
Which has the bigger context window, Claude Sonnet 5 or GLM 5.3?
GLM 5.3, with 1.05M tokens against 1M.
How many benchmarks is the Claude Sonnet 5 vs GLM 5.3 comparison based on?
96 benchmarks have a result for both models as of October 21, 2026. Claude Sonnet 5's coding index rests on 2 independent benchmarks and GLM 5.3's on 2. Where only one model has a result, the page says so instead of naming a winner.