Enter opens the highlighted result. Esc closes.

Claude Haiku 4.5 vs GLM 5

GLM 5 leads Claude Haiku 4.5 on coding, 41.7 to 35.6 on the Vibe Coding Index, and GLM 5 costs 1.6x less per output token ($3.20 vs $5.00 per million). Updated October 22, 2026; 61 benchmarks have a result for both.

Claude Haiku 4.5Anthropic
Coding
35.6
Overall
41.0
Output $/M
$5.00
2
GLM 5Z.ai
Coding
41.7
Overall
54.3
Output $/M
$3.20
59
vs boards won of 61 shared

Claude Haiku 4.5 or GLM 5: which to pick

Pick GLM 5 for coding: it scores 41.7 on the Vibe Coding Index against 35.6 for Claude Haiku 4.5, though on 3 benchmarks against 4.

Pick Claude Haiku 4.5 for a lower cost per solved task ($0.56 against $0.63) and work measured by ARC-AGI or CaseLaw (Vals AI), where it leads.

Shared results
61
Claude Haiku 4.5 only
34
GLM 5 only
15
Like-for-like categories
8 of 9

Only benchmarks that tested both models count toward a pick; a result only one model has is shown but not compared.

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.

At a glance

Coding index
Claude Haiku 4.5 35.6 from 4 benchmarks, GLM 5 41.7 from 3 benchmarks.
Widest category
Agentic work, 24.8 points apart on average over 1 shared benchmark.
Widest single gap
LiveCodeBench (Vals AI): Claude Haiku 4.5 41.2% against GLM 5 81.9%, 40.7 points apart on a 0 to 100 scale.
Output price
Claude Haiku 4.5 $5.00 against GLM 5 $3.20 per million output tokens, 1.6x apart.
Context window
Claude Haiku 4.5 takes 200K tokens, GLM 5 205K.

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.

Boards won, where both have a result
CategoryClaude Haiku 4.5BarsGLM 5Ties
Coding012
Intelligence02
Agentic work01
Reasoning16
Math04
Knowledge19
Web design08
General017
All shared boards259
CodingLike-for-likeSix of these boards feed the Vibe Coding Index012
Coding benchmarks for Claude Haiku 4.5 and GLM 5
BenchmarkClaude Haiku 4.5GLM 5Leader
SWE-bench Verified66.6%72.8%GLM 5
SWE-bench Multilingual64.7%69.7%GLM 5
LiveBench coding48.1%Not measuredOnly Claude Haiku 4.5 measured
LMArena WebDev13301435GLM 5
AA Coding Index43.9Not measuredOnly Claude Haiku 4.5 measured
LiveCodeBench (Vals AI)41.2%81.9%GLM 5
SWE-bench Verified (Vals AI)66.6%71.4%GLM 5
Vibe Code Bench (Vals AI)11.4%23.4%GLM 5
Code migration (Vals AI)7.5%Not measuredOnly Claude Haiku 4.5 measured
ProgramBench (Vals AI)0.0%Not measuredOnly Claude Haiku 4.5 measured
Terminal-Bench 2.1 (Vals AI)43.8%Not measuredOnly Claude Haiku 4.5 measured
Terminal-Bench Hard (Artificial Analysis run)Not measured43.2%Only GLM 5 measured
Terminal-Bench35.5%52.4%GLM 5
WeirdML45.4%48.2%GLM 5
ALE-BenchNot measured765.6Only GLM 5 measured
LMArena Text: coding14541461GLM 5
LMArena Text: software and IT14391460GLM 5
LMArena WebDev: React13261424GLM 5
LMArena WebDev: HTML13181450GLM 5
Neither model has a result on the other 20 boards here
IntelligenceLike-for-likePublic boards, shown as published, kept out of the index02
Intelligence benchmarks for Claude Haiku 4.5 and GLM 5
BenchmarkClaude Haiku 4.5GLM 5Leader
AA Intelligence Index16.927.9GLM 5
Epoch Capabilities Index142.2145.8GLM 5
Agentic workLike-for-likePublic boards, shown as published, kept out of the index01
Agentic work benchmarks for Claude Haiku 4.5 and GLM 5
BenchmarkClaude Haiku 4.5GLM 5Leader
AA Agentic Index8.0Not measuredOnly Claude Haiku 4.5 measured
Design Arena: agents building full-stack appsNot measured1123Only GLM 5 measured
Design Arena: agents building mobile appsNot measured1136Only GLM 5 measured
Design Arena: agents building Android appsNot measured1147Only GLM 5 measured
Design Arena: agents building Godot gamesNot measured1144Only GLM 5 measured
Design Arena: HTML slidesNot measured1098Only GLM 5 measured
LiveBench research42.2%Not measuredOnly Claude Haiku 4.5 measured
LiveBench browser40.0%Not measuredOnly Claude Haiku 4.5 measured
LiveBench long agentic11.1%Not measuredOnly Claude Haiku 4.5 measured
Finance Agent (Vals AI)31.0%Not measuredOnly Claude Haiku 4.5 measured
Tax Agent Bench (Vals AI)5.9%Not measuredOnly Claude Haiku 4.5 measured
Legal Research Bench (Vals AI)10.6%Not measuredOnly Claude Haiku 4.5 measured
Excel Modeling Benchmark (Vals AI)22.7%Not measuredOnly Claude Haiku 4.5 measured
τ²-Bench TelecomNot measured98.2%Only GLM 5 measured
BALROG31.2%Not measuredOnly Claude Haiku 4.5 measured
DeepResearch Bench45.5%Not measuredOnly Claude Haiku 4.5 measured
Vending-Bench 2$459$4,432GLM 5
Berkeley Function Calling Leaderboard (BFCL)68.7%Not measuredOnly Claude Haiku 4.5 measured
Neither model has a result on the other 23 boards here
ReasoningLike-for-likePublic boards, shown as published, kept out of the index16
Reasoning benchmarks for Claude Haiku 4.5 and GLM 5
BenchmarkClaude Haiku 4.5GLM 5Leader
GPQA Diamond72.2%83.3%GLM 5
LiveBench reasoning61.7%Not measuredOnly Claude Haiku 4.5 measured
MMMU Pro (Vals AI)46.1%Not measuredOnly Claude Haiku 4.5 measured
GPQA Diamond (Artificial Analysis run)Not measured82.0%Only GLM 5 measured
Humanity's Last Exam (Artificial Analysis run)Not measured29.3%Only GLM 5 measured
GPQA Diamond (Epoch AI run)71.2%87.8%GLM 5
ARC-AGI47.7%44.7%Claude Haiku 4.5
ARC-AGI-24.0%4.9%GLM 5
SimpleBenchNot measured53.2%Only GLM 5 measured
Chess puzzles8.0%Not measuredOnly Claude Haiku 4.5 measured
LMArena Text: hard prompts14211452GLM 5
LMArena Text: expert14431454GLM 5
LMArena Text: hard prompts in English14351460GLM 5
Kagi LLM BenchmarkNot measured75.0%Only GLM 5 measured
Neither model has a result on the other 8 boards here
MathLike-for-likePublic boards, shown as published, kept out of the index04
Math benchmarks for Claude Haiku 4.5 and GLM 5
BenchmarkClaude Haiku 4.5GLM 5Leader
AIME82.7%91.7%GLM 5
MGSM (Vals AI)92.2%Not measuredOnly Claude Haiku 4.5 measured
OTIS Mock AIME66.7%80.0%GLM 5
MATH level 596.4%Not measuredOnly Claude Haiku 4.5 measured
LMArena Text: math13981440GLM 5
LMArena Text: mathematical work14301451GLM 5
Neither model has a result on the other 7 boards here
KnowledgeLike-for-likePublic boards, shown as published, kept out of the index19
Knowledge benchmarks for Claude Haiku 4.5 and GLM 5
BenchmarkClaude Haiku 4.5GLM 5Leader
MMLU Pro78.7%86.0%GLM 5
LegalBench (Vals AI)81.2%84.1%GLM 5
CaseLaw (Vals AI)56.5%52.5%Claude Haiku 4.5
CorpFin (Vals AI)60.6%62.9%GLM 5
TaxEval (Vals AI)67.5%70.0%GLM 5
MortgageTax (Vals AI)62.2%Not measuredOnly Claude Haiku 4.5 measured
MedQA (Vals AI)79.6%94.3%GLM 5
MedCode (Vals AI)32.7%Not measuredOnly Claude Haiku 4.5 measured
SimpleQA Verified13.2%Not measuredOnly Claude Haiku 4.5 measured
LMArena Text: science14061460GLM 5
LMArena Text: medicine and healthcare13941455GLM 5
LMArena Text: legal and government14001453GLM 5
LMArena Text: business and finance14001430GLM 5
Neither model has a result on the other 5 boards here
Web designLike-for-likePublic boards, shown as published, kept out of the index08
Web design benchmarks for Claude Haiku 4.5 and GLM 5
BenchmarkClaude Haiku 4.5GLM 5Leader
Design Arena: websites11221247GLM 5
Design Arena: UI components10971227GLM 5
Design Arena: game dev10971234GLM 5
Design Arena: data viz11241228GLM 5
Design Arena: 3D10711228GLM 5
Design Arena: all code categories11141246GLM 5
Design Arena: SVG10251168GLM 5
Design Arena: ASCII art11401147GLM 5
LiveBench design59.9%Not measuredOnly Claude Haiku 4.5 measured
GeneralLike-for-likePublic boards, shown as published, kept out of the index017
General benchmarks for Claude Haiku 4.5 and GLM 5
BenchmarkClaude Haiku 4.5GLM 5Leader
LiveBench data analysis59.3%Not measuredOnly Claude Haiku 4.5 measured
Public Benefits Bench (Vals AI)54.3%Not measuredOnly Claude Haiku 4.5 measured
SAGE (Vals AI)31.8%Not measuredOnly Claude Haiku 4.5 measured
MedScribe (Vals AI)85.2%Not measuredOnly Claude Haiku 4.5 measured
Vals Multimodal Index42.9%Not measuredOnly Claude Haiku 4.5 measured
IFBenchNot measured72.3%Only GLM 5 measured
Long context reasoning (AA-LCR)Not measured75.7%Only GLM 5 measured
DTBench73.6%Not measuredOnly Claude Haiku 4.5 measured
LMCA30.9%Not measuredOnly Claude Haiku 4.5 measured
CL-benchNot measured18.7%Only GLM 5 measured
ExploitBench13.7%Not measuredOnly Claude Haiku 4.5 measured
LMArena Text13971446GLM 5
LMArena Text: instruction following14141428GLM 5
LMArena Text: creative writing13711438GLM 5
LMArena Text: English14141458GLM 5
LMArena Text: non-English13771430GLM 5
LMArena Text: Chinese14181511GLM 5
LMArena Text: German13741447GLM 5
LMArena Text: Japanese13381416GLM 5
LMArena Text: Korean13461423GLM 5
LMArena Text: French14111456GLM 5
LMArena Text: Spanish14211454GLM 5
LMArena Text: Russian13811436GLM 5
LMArena Text: Polish13431434GLM 5
LMArena Text: multi-turn14091456GLM 5
LMArena Text: longer queries14271446GLM 5
LMArena Text: writing and language13861437GLM 5
LMArena Text: entertainment and media13691426GLM 5
LMArena Document1420Not measuredOnly 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
Image generation benchmarks for Claude Haiku 4.5 and GLM 5
BenchmarkClaude Haiku 4.5GLM 5Leader
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$0.0035Fits in one request
GLM 5$0.0026Fits in one request

GLM 5 costs less

Repository review

50K input + 3K output tokens

Claude Haiku 4.5$0.065Fits in one request
GLM 5$0.060Fits in one request

GLM 5 costs less

Agent loop

200K input + 10K output tokens

Claude Haiku 4.5$0.250Exceeds the context window
GLM 5$0.232Exceeds the context window

GLM 5 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.

Specifications of Claude Haiku 4.5 and GLM 5
SpecificationAnthropic Claude Haiku 4.5Z.ai GLM 5
MakerAnthropicZ.ai
WeightsNo public weights listedOpen weights
ReleasedOctober 15, 2025February 11, 2026
Context window200K205K
Input $/Mtok$1.00$1.00
Output $/Mtok$5.00$3.20
Coding index35.641.7
Independent measurements behind it43
Cost per solved task$0.56$0.63
SourceOpenRouter listingOpenRouter listing

Questions

Is Claude Haiku 4.5 better than GLM 5 for coding?

Pick GLM 5 for coding: it scores 41.7 on the Vibe Coding Index against 35.6 for Claude Haiku 4.5, though on 3 benchmarks against 4. Pick Claude Haiku 4.5 for a lower cost per solved task ($0.56 against $0.63) and work measured by ARC-AGI or CaseLaw (Vals AI), where it leads.

Which is cheaper, Claude Haiku 4.5 or GLM 5?

Claude Haiku 4.5 costs $1.00 per million input tokens and $5.00 per million output tokens; GLM 5 costs $1.00 and $3.20. Per solved SWE-bench Verified task, Claude Haiku 4.5 costs $0.56 and GLM 5 $0.63.

Which has the bigger context window, Claude Haiku 4.5 or GLM 5?

GLM 5, with 205K tokens against 200K.

How many benchmarks is the Claude Haiku 4.5 vs GLM 5 comparison based on?

61 benchmarks have a result for both models as of October 22, 2026. Claude Haiku 4.5's coding index rests on 4 independent benchmarks and GLM 5's on 3. Where only one model has a result, the page says so instead of naming a winner.

Compare next

Embed this comparison on your site

Free under CC BY 4.0, while the source link stays visible. Preview the frame · Terms and other embeds

<iframe src="https://llmbenchmark.ai/embed/compare/claude-haiku-4-5-vs-glm-5" title="Claude Haiku 4.5 vs GLM 5, LLMBenchmark.ai" width="100%" height="360" style="border:0;max-width:100%" loading="lazy"></iframe>
<p style="font:13px/1.4 sans-serif;margin:6px 0 0">Source: <a href="https://llmbenchmark.ai/compare/claude-haiku-4-5-vs-glm-5">LLMBenchmark.ai, Claude Haiku 4.5 vs GLM 5</a></p>