Claude Haiku 4.5 vs GLM 5.2
Updated October 21, 2026. 69 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.2 for coding: it scores 57.7 on the Vibe Coding Index against 49.8 for Claude Haiku 4.5, though on 1 benchmark against 3.
Pick Claude Haiku 4.5 when output tokens cost 1.4x less, or when a solved task costs $0.56 against $0.86.
- Shared results
- 69
- Claude Haiku 4.5 only
- 25
- GLM 5.2 only
- 28
- 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.2
GLM 5.2 scores 57.7 against 49.8.
3 and 1 benchmarks behind the scores
Intelligence
AA Intelligence Index
GLM 5.2
GLM 5.2 leads, 33.7 against 16.9.
Same board, both measured
Agentic work
AA Agentic Index
GLM 5.2
GLM 5.2 leads, 38.4 against 8.0.
Same board, both measured
Reasoning
GPQA Diamond
GLM 5.2
GLM 5.2 leads, 85.6% against 72.2%.
Same board, both measured
Math
AIME
No call
Only Claude Haiku 4.5 has a AIME result, 82.7%.
Directional only
Knowledge
MMLU Pro
GLM 5.2
GLM 5.2 leads, 86.7% against 78.7%.
Same board, both measured
Web design
Design Arena: websites
GLM 5.2
GLM 5.2 leads, 1285 against 1122.
Same board, both measured
Long documents
Listed context window
GLM 5.2
GLM 5.2 takes 1.05M tokens against 200K.
Listed by OpenRouter
Everyday cost
1K input + 500 output tokens
Claude Haiku 4.5
Claude Haiku 4.5 $0.0035, GLM 5.2 $0.0035 per turn.
List prices
Cost per solved task
One SWE-bench Verified task, solved
Claude Haiku 4.5
Claude Haiku 4.5 $0.56, GLM 5.2 $0.86.
Published attempt cost and pass rate
At a glance
- Coding index
- Claude Haiku 4.5 49.8 from 3 benchmarks, GLM 5.2 57.7 from 1 benchmark.
- Widest category
- Agentic work, 31.5 points apart on average over 5 shared benchmarks.
- Widest single gap
- Vibe Code Bench (Vals AI): Claude Haiku 4.5 11.4% against GLM 5.2 64.0%, 52.6 points apart on a 0 to 100 scale.
- Output price
- Claude Haiku 4.5 $5.00 against GLM 5.2 $7.00 per million output tokens, 1.4x apart.
- Context window
- Claude Haiku 4.5 takes 200K tokens, GLM 5.2 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 Haiku 4.5 | Bars | GLM 5.2 | Ties |
|---|---|---|---|---|
| Coding | 0 | 13 | ||
| Intelligence | 0 | 2 | ||
| Agentic work | 0 | 5 | ||
| Reasoning | 0 | 8 | ||
| Math | 0 | 3 | ||
| Knowledge | 0 | 10 | ||
| Web design | 0 | 8 | ||
| General | 1 | 19 | ||
| All shared boards | 1 | 68 |
CodingLike-for-likeFour of these boards feed the Vibe Coding Index013
| Benchmark | Claude Haiku 4.5 | GLM 5.2 | Leader |
|---|---|---|---|
| SWE-bench Verified | 66.6% | Not measured | Only Claude Haiku 4.5 measured |
| SWE-bench Multilingual | 64.7% | Not measured | Only Claude Haiku 4.5 measured |
| LiveBench coding | 48.1% | Not measured | Only Claude Haiku 4.5 measured |
| LMArena WebDev | 1330 | 1604 | GLM 5.2 |
| AA Coding Index | 43.9 | 68.8 | GLM 5.2 |
| LiveCodeBench (Vals AI) | 41.2% | 69.5% | GLM 5.2 |
| SWE-bench Verified (Vals AI) | 66.6% | 82.8% | GLM 5.2 |
| Vibe Code Bench (Vals AI) | 11.4% | 64.0% | GLM 5.2 |
| Code migration (Vals AI) | 7.5% | 37.9% | GLM 5.2 |
| ProgramBench (Vals AI) | 0.0% | 0.5% | GLM 5.2 |
| Terminal-Bench 2.1 (Vals AI) | 43.8% | 67.8% | GLM 5.2 |
| SkillsBench (Vals AI) | Not measured | 45.1% | Only GLM 5.2 measured |
| SciCode | Not measured | 51.2% | Only GLM 5.2 measured |
| Terminal-Bench Hard (Artificial Analysis run) | Not measured | 50.8% | Only GLM 5.2 measured |
| Terminal-Bench | 35.5% | Not measured | Only Claude Haiku 4.5 measured |
| FrontierCode | Not measured | 24.5% | Only GLM 5.2 measured |
| WeirdML | 45.4% | 70.1% | GLM 5.2 |
| ALE-Bench | Not measured | 1047.0 | Only GLM 5.2 measured |
| LMArena Text: coding | 1454 | 1487 | GLM 5.2 |
| LMArena Text: software and IT | 1439 | 1486 | GLM 5.2 |
| LMArena WebDev: React | 1326 | 1617 | GLM 5.2 |
| LMArena WebDev: HTML | 1318 | 1565 | GLM 5.2 |
| Neither model has a result on the other 16 boards here | |||
IntelligenceLike-for-likePublic boards, shown as published, kept out of the index02
| Benchmark | Claude Haiku 4.5 | GLM 5.2 | Leader |
|---|---|---|---|
| AA Intelligence Index | 16.9 | 33.7 | GLM 5.2 |
| Epoch Capabilities Index | 142.2 | 151.9 | GLM 5.2 |
Agentic workLike-for-likePublic boards, shown as published, kept out of the index05
| Benchmark | Claude Haiku 4.5 | GLM 5.2 | Leader |
|---|---|---|---|
| AA Agentic Index | 8.0 | 38.4 | GLM 5.2 |
| Design Arena: agents building web apps | Not measured | 1222 | Only GLM 5.2 measured |
| Design Arena: agents building full-stack apps | Not measured | 1241 | Only GLM 5.2 measured |
| Design Arena: agents building mobile apps | Not measured | 1160 | Only GLM 5.2 measured |
| Design Arena: agents building Android apps | Not measured | 1184 | Only GLM 5.2 measured |
| Design Arena: agents building Godot games | Not measured | 1142 | Only GLM 5.2 measured |
| Design Arena: agents building games | Not measured | 1206 | Only GLM 5.2 measured |
| Design Arena: HTML slides | Not measured | 1175 | Only GLM 5.2 measured |
| Design Arena: PowerPoint slides | Not measured | 1195 | Only GLM 5.2 measured |
| LiveBench research | 42.2% | Not measured | Only Claude Haiku 4.5 measured |
| LiveBench browser | 40.0% | Not measured | Only Claude Haiku 4.5 measured |
| LiveBench long agentic | 11.1% | Not measured | Only Claude Haiku 4.5 measured |
| SREBench (Vals AI) | Not measured | 0.0% | Only GLM 5.2 measured |
| Finance Agent (Vals AI) | 31.0% | 49.7% | GLM 5.2 |
| Tax Agent Bench (Vals AI) | 5.9% | Not measured | Only Claude Haiku 4.5 measured |
| Legal Research Bench (Vals AI) | 10.6% | 31.3% | GLM 5.2 |
| Excel Modeling Benchmark (Vals AI) | 22.7% | 61.5% | GLM 5.2 |
| τ²-Bench Telecom | Not measured | 99.1% | Only GLM 5.2 measured |
| APEX-Agents | Not measured | 45.2% | Only GLM 5.2 measured |
| BALROG | 31.2% | Not measured | Only Claude Haiku 4.5 measured |
| DeepResearch Bench | 45.5% | Not measured | Only Claude Haiku 4.5 measured |
| PostTrainBench | Not measured | 31.7% | Only GLM 5.2 measured |
| Vending-Bench 2 | $459 | $8,314 | GLM 5.2 |
| Neither model has a result on the other 16 boards here | |||
ReasoningLike-for-likePublic boards, shown as published, kept out of the index08
| Benchmark | Claude Haiku 4.5 | GLM 5.2 | Leader |
|---|---|---|---|
| GPQA Diamond | 72.2% | 85.6% | GLM 5.2 |
| LiveBench reasoning | 61.7% | Not measured | Only Claude Haiku 4.5 measured |
| MMMU Pro (Vals AI) | 46.1% | Not measured | Only Claude Haiku 4.5 measured |
| GPQA Diamond (Artificial Analysis run) | Not measured | 89.5% | Only GLM 5.2 measured |
| Humanity's Last Exam (Artificial Analysis run) | Not measured | 41.1% | Only GLM 5.2 measured |
| GPQA Diamond (Epoch AI run) | 71.2% | 91.9% | GLM 5.2 |
| ARC-AGI | 47.7% | 77.0% | GLM 5.2 |
| ARC-AGI-2 | 4.0% | 22.8% | GLM 5.2 |
| SimpleBench | Not measured | 58.8% | Only GLM 5.2 measured |
| Chess puzzles | 8.0% | 22.0% | GLM 5.2 |
| Mystery game puzzles | Not measured | 19.0% | Only GLM 5.2 measured |
| EBR-bench | Not measured | 9.5% | Only GLM 5.2 measured |
| LMArena Text: hard prompts | 1421 | 1481 | GLM 5.2 |
| LMArena Text: expert | 1443 | 1487 | GLM 5.2 |
| LMArena Text: hard prompts in English | 1435 | 1481 | GLM 5.2 |
| Neither model has a result on the other 6 boards here | |||
MathLike-for-likePublic boards, shown as published, kept out of the index03
| Benchmark | Claude Haiku 4.5 | GLM 5.2 | Leader |
|---|---|---|---|
| AIME | 82.7% | Not measured | Only Claude Haiku 4.5 measured |
| MGSM (Vals AI) | 92.2% | Not measured | Only Claude Haiku 4.5 measured |
| OTIS Mock AIME | 66.7% | 86.4% | GLM 5.2 |
| FrontierMath, tiers 1 to 3 | Not measured | 59.2% | Only GLM 5.2 measured |
| FrontierMath, tier 4 | Not measured | 29.3% | Only GLM 5.2 measured |
| ProofBench | Not measured | 35.0% | Only GLM 5.2 measured |
| MATH level 5 | 96.4% | Not measured | Only Claude Haiku 4.5 measured |
| LMArena Text: math | 1398 | 1483 | GLM 5.2 |
| LMArena Text: mathematical work | 1430 | 1489 | GLM 5.2 |
| Neither model has a result on the other 4 boards here | |||
KnowledgeLike-for-likePublic boards, shown as published, kept out of the index010
| Benchmark | Claude Haiku 4.5 | GLM 5.2 | Leader |
|---|---|---|---|
| MMLU Pro | 78.7% | 86.7% | GLM 5.2 |
| LegalBench (Vals AI) | 81.2% | 84.1% | GLM 5.2 |
| CaseLaw (Vals AI) | 56.5% | Not measured | Only Claude Haiku 4.5 measured |
| CorpFin (Vals AI) | 60.6% | 66.1% | GLM 5.2 |
| TaxEval (Vals AI) | 67.5% | 73.3% | GLM 5.2 |
| MortgageTax (Vals AI) | 62.2% | Not measured | Only Claude Haiku 4.5 measured |
| MedQA (Vals AI) | 79.6% | Not measured | Only Claude Haiku 4.5 measured |
| MedCode (Vals AI) | 32.7% | 40.8% | GLM 5.2 |
| SimpleQA Verified | 13.2% | 34.2% | GLM 5.2 |
| LMArena Text: science | 1406 | 1489 | GLM 5.2 |
| LMArena Text: medicine and healthcare | 1394 | 1475 | GLM 5.2 |
| LMArena Text: legal and government | 1400 | 1486 | GLM 5.2 |
| LMArena Text: business and finance | 1400 | 1451 | GLM 5.2 |
| Neither model has a result on the other 4 boards here | |||
Web designLike-for-likePublic boards, shown as published, kept out of the index08
| Benchmark | Claude Haiku 4.5 | GLM 5.2 | Leader |
|---|---|---|---|
| Design Arena: websites | 1122 | 1285 | GLM 5.2 |
| Design Arena: UI components | 1100 | 1296 | GLM 5.2 |
| Design Arena: game dev | 1097 | 1268 | GLM 5.2 |
| Design Arena: data viz | 1124 | 1285 | GLM 5.2 |
| Design Arena: 3D | 1072 | 1288 | GLM 5.2 |
| Design Arena: all code categories | 1115 | 1288 | GLM 5.2 |
| Design Arena: SVG | 1025 | 1214 | GLM 5.2 |
| Design Arena: ASCII art | 1139 | 1190 | GLM 5.2 |
| LiveBench design | 59.9% | Not measured | Only Claude Haiku 4.5 measured |
GeneralLike-for-likePublic boards, shown as published, kept out of the index119
| Benchmark | Claude Haiku 4.5 | GLM 5.2 | Leader |
|---|---|---|---|
| LiveBench data analysis | 59.3% | Not measured | Only Claude Haiku 4.5 measured |
| Public Benefits Bench (Vals AI) | 54.3% | Not measured | Only Claude Haiku 4.5 measured |
| SAGE (Vals AI) | 31.8% | Not measured | Only Claude Haiku 4.5 measured |
| MedScribe (Vals AI) | 85.2% | 83.5% | Claude Haiku 4.5 |
| Vals Multimodal Index | 42.9% | Not measured | Only Claude Haiku 4.5 measured |
| IFBench | Not measured | 73.3% | Only GLM 5.2 measured |
| Long context reasoning (AA-LCR) | Not measured | 78.3% | Only GLM 5.2 measured |
| DTBench | 73.6% | 93.6% | GLM 5.2 |
| LMCA | 30.9% | 45.8% | GLM 5.2 |
| Surface Evolver Bench | Not measured | 55.6% | Only GLM 5.2 measured |
| ExploitBench | 13.7% | Not measured | Only Claude Haiku 4.5 measured |
| LMArena Text | 1397 | 1470 | GLM 5.2 |
| LMArena Text: instruction following | 1414 | 1466 | GLM 5.2 |
| LMArena Text: creative writing | 1371 | 1463 | GLM 5.2 |
| LMArena Text: English | 1414 | 1475 | GLM 5.2 |
| LMArena Text: non-English | 1377 | 1459 | GLM 5.2 |
| LMArena Text: Chinese | 1418 | 1522 | GLM 5.2 |
| LMArena Text: German | 1374 | 1470 | GLM 5.2 |
| LMArena Text: Japanese | 1338 | 1450 | GLM 5.2 |
| LMArena Text: Korean | 1346 | 1440 | GLM 5.2 |
| LMArena Text: French | 1411 | 1479 | GLM 5.2 |
| LMArena Text: Spanish | 1421 | 1478 | GLM 5.2 |
| LMArena Text: Russian | 1381 | 1468 | GLM 5.2 |
| LMArena Text: Polish | 1343 | 1456 | GLM 5.2 |
| LMArena Text: multi-turn | 1409 | 1469 | GLM 5.2 |
| LMArena Text: longer queries | 1427 | 1480 | GLM 5.2 |
| LMArena Text: writing and language | 1386 | 1463 | GLM 5.2 |
| LMArena Text: entertainment and media | 1369 | 1450 | GLM 5.2 |
| LMArena Document | 1420 | Not measured | Only Claude Haiku 4.5 measured |
| Neither model has a result on the other 17 boards here | |||
Image generationNot comparablePublic boards, shown as published, kept out of the index0 boards, none shared
| Benchmark | Claude Haiku 4.5 | GLM 5.2 | 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
Claude Haiku 4.5 costs less
Repository review
50K input + 3K output tokens
GLM 5.2 costs less
Agent loop
200K input + 10K output tokens
GLM 5.2 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 Haiku 4.5 | Z.ai GLM 5.2 |
|---|---|---|
| Maker | Anthropic | Z.ai |
| Weights | No public weights listed | Open weights |
| Released | October 15, 2025 | June 16, 2026 |
| Context window | 200K | 1.05M |
| Input $/Mtok | $1.00 | $0.0341 |
| Output $/Mtok | $5.00 | $7.00 |
| Coding index | 49.8 | 57.7 |
| Independent measurements behind it | 3 | 1 |
| Cost per solved task | $0.56 | $0.86 |
| Source | OpenRouter listing | OpenRouter listing |
Questions
Is Claude Haiku 4.5 better than GLM 5.2 for coding?
Pick GLM 5.2 for coding: it scores 57.7 on the Vibe Coding Index against 49.8 for Claude Haiku 4.5, though on 1 benchmark against 3. Pick Claude Haiku 4.5 when output tokens cost 1.4x less, or when a solved task costs $0.56 against $0.86.
Which is cheaper, Claude Haiku 4.5 or GLM 5.2?
Claude Haiku 4.5 costs $1.00 per million input tokens and $5.00 per million output tokens; GLM 5.2 costs $0.0341 and $7.00. Per solved SWE-bench Verified task, Claude Haiku 4.5 costs $0.56 and GLM 5.2 $0.86.
Which has the bigger context window, Claude Haiku 4.5 or GLM 5.2?
GLM 5.2, with 1.05M tokens against 200K.
How many benchmarks is the Claude Haiku 4.5 vs GLM 5.2 comparison based on?
69 benchmarks have a result for both models as of October 21, 2026. Claude Haiku 4.5's coding index rests on 3 independent benchmarks and GLM 5.2's on 1. Where only one model has a result, the page says so instead of naming a winner.