LLMBenchmark.ai

Enter opens the highlighted result. Esc closes.

Claude Haiku 4.5 vs GLM 4.7

Updated October 21, 2026. 61 benchmarks have a result for both. Coding is ranked on the Vibe Coding Index; every other board is shown as published.

Claude Haiku 4.5Anthropic
Coding
49.8
Overall
16.9
Output $/M
$5.00
8
GLM 4.7Z.ai
Coding
33.6
Overall
22.2
Output $/M
$1.98
53
vs boards won of 61 shared

Decision reading

Pick Claude Haiku 4.5 for coding: it scores 49.8 on the Vibe Coding Index against 33.6 for GLM 4.7.

Pick GLM 4.7 when output tokens cost 2.5x less, or when a solved task costs $0.29 against $0.56.

Shared results
61
Claude Haiku 4.5 only
33
GLM 4.7 only
19
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.

At a glance

Coding index
Claude Haiku 4.5 49.8 from 3 benchmarks, GLM 4.7 33.6 from 1 benchmark.
Widest category
Agentic work, 12.0 points apart on average over 1 shared benchmark.
Widest single gap
LiveCodeBench (Vals AI): Claude Haiku 4.5 41.2% against GLM 4.7 82.2%, 41.1 points apart on a 0 to 100 scale.
Output price
Claude Haiku 4.5 $5.00 against GLM 4.7 $1.98 per million output tokens, 2.5x apart.
Context window
Claude Haiku 4.5 takes 200K tokens, GLM 4.7 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 4.7Ties
Coding18
Intelligence02
Agentic work01
Reasoning15
Math23
Knowledge210
Web design08
General216
All shared boards853
CodingLike-for-likeFour of these boards feed the Vibe Coding Index18
Coding benchmarks for Claude Haiku 4.5 and GLM 4.7
BenchmarkClaude Haiku 4.5GLM 4.7Leader
SWE-bench Verified66.6%Not measuredOnly Claude Haiku 4.5 measured
SWE-bench Multilingual64.7%Not measuredOnly Claude Haiku 4.5 measured
LiveBench coding48.1%Not measuredOnly Claude Haiku 4.5 measured
LMArena WebDev13301435GLM 4.7
AA Coding Index43.945.3GLM 4.7
LiveCodeBench (Vals AI)41.2%82.2%GLM 4.7
SWE-bench Verified (Vals AI)66.6%69.4%GLM 4.7
Vibe Code Bench (Vals AI)11.4%Not measuredOnly Claude Haiku 4.5 measured
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
LiveCodeBench (Artificial Analysis run)Not measured89.4%Only GLM 4.7 measured
Terminal-Bench Hard (Artificial Analysis run)Not measured31.8%Only GLM 4.7 measured
Terminal-Bench35.5%33.4%Claude Haiku 4.5
WeirdML45.4%Not measuredOnly Claude Haiku 4.5 measured
ALE-BenchNot measured399.5Only GLM 4.7 measured
LMArena Text: coding14541454GLM 4.7
LMArena Text: software and IT14391453GLM 4.7
LMArena WebDev: React13261420GLM 4.7
LMArena WebDev: HTML13181447GLM 4.7
Neither model has a result on the other 18 boards here
IntelligenceLike-for-likePublic boards, shown as published, kept out of the index02
Intelligence benchmarks for Claude Haiku 4.5 and GLM 4.7
BenchmarkClaude Haiku 4.5GLM 4.7Leader
AA Intelligence Index16.922.2GLM 4.7
Epoch Capabilities Index142.2143.6GLM 4.7
Agentic workLike-for-likePublic boards, shown as published, kept out of the index01
Agentic work benchmarks for Claude Haiku 4.5 and GLM 4.7
BenchmarkClaude Haiku 4.5GLM 4.7Leader
AA Agentic Index8.0Not measuredOnly Claude Haiku 4.5 measured
Design Arena: agents building full-stack appsNot measured1050Only GLM 4.7 measured
Design Arena: agents building mobile appsNot measured1105Only GLM 4.7 measured
Design Arena: agents building Android appsNot measured1118Only GLM 4.7 measured
Design Arena: agents building Godot gamesNot measured1058Only GLM 4.7 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 measured95.9%Only GLM 4.7 measured
BALROG31.2%Not measuredOnly Claude Haiku 4.5 measured
DeepResearch Bench45.5%Not measuredOnly Claude Haiku 4.5 measured
Vending-Bench 2$459$2,377GLM 4.7
Neither model has a result on the other 23 boards here
ReasoningLike-for-likePublic boards, shown as published, kept out of the index15
Reasoning benchmarks for Claude Haiku 4.5 and GLM 4.7
BenchmarkClaude Haiku 4.5GLM 4.7Leader
GPQA Diamond72.2%80.0%GLM 4.7
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 measured85.9%Only GLM 4.7 measured
Humanity's Last Exam (Artificial Analysis run)Not measured27.4%Only GLM 4.7 measured
GPQA Diamond (Epoch AI run)71.2%83.3%GLM 4.7
ARC-AGI47.7%Not measuredOnly Claude Haiku 4.5 measured
ARC-AGI-24.0%Not measuredOnly Claude Haiku 4.5 measured
SimpleBenchNot measured47.7%Only GLM 4.7 measured
Chess puzzles8.0%21.0%GLM 4.7
LMArena Text: hard prompts14211443GLM 4.7
LMArena Text: expert14431424Claude Haiku 4.5
LMArena Text: hard prompts in English14351452GLM 4.7
Neither model has a result on the other 8 boards here
MathLike-for-likePublic boards, shown as published, kept out of the index23
Math benchmarks for Claude Haiku 4.5 and GLM 4.7
BenchmarkClaude Haiku 4.5GLM 4.7Leader
AIME82.7%93.3%GLM 4.7
MGSM (Vals AI)92.2%88.2%Claude Haiku 4.5
AA Math IndexNot measured95.0Only GLM 4.7 measured
AIME 2025 (Artificial Analysis run)Not measured95.0%Only GLM 4.7 measured
OTIS Mock AIME66.7%83.3%GLM 4.7
ProofBenchNot measured6.0%Only GLM 4.7 measured
MATH level 596.4%Not measuredOnly Claude Haiku 4.5 measured
LMArena Text: math13981424GLM 4.7
LMArena Text: mathematical work14301411Claude Haiku 4.5
Neither model has a result on the other 4 boards here
KnowledgeLike-for-likePublic boards, shown as published, kept out of the index210
Knowledge benchmarks for Claude Haiku 4.5 and GLM 4.7
BenchmarkClaude Haiku 4.5GLM 4.7Leader
MMLU Pro78.7%82.7%GLM 4.7
LegalBench (Vals AI)81.2%83.4%GLM 4.7
CaseLaw (Vals AI)56.5%54.9%Claude Haiku 4.5
CorpFin (Vals AI)60.6%46.4%Claude Haiku 4.5
TaxEval (Vals AI)67.5%68.8%GLM 4.7
MortgageTax (Vals AI)62.2%Not measuredOnly Claude Haiku 4.5 measured
MedQA (Vals AI)79.6%93.7%GLM 4.7
MedCode (Vals AI)32.7%32.8%GLM 4.7
MMLU Pro (Artificial Analysis run)Not measured85.6%Only GLM 4.7 measured
SimpleQA Verified13.2%32.2%GLM 4.7
LMArena Text: science14061457GLM 4.7
LMArena Text: medicine and healthcare13941469GLM 4.7
LMArena Text: legal and government14001444GLM 4.7
LMArena Text: business and finance14001429GLM 4.7
Neither model has a result on the other 3 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 4.7
BenchmarkClaude Haiku 4.5GLM 4.7Leader
Design Arena: websites11221226GLM 4.7
Design Arena: UI components11001199GLM 4.7
Design Arena: game dev10971189GLM 4.7
Design Arena: data viz11241195GLM 4.7
Design Arena: 3D10721191GLM 4.7
Design Arena: all code categories11151217GLM 4.7
Design Arena: SVG10251142GLM 4.7
Design Arena: ASCII art11391165GLM 4.7
LiveBench design59.9%Not measuredOnly Claude Haiku 4.5 measured
GeneralLike-for-likePublic boards, shown as published, kept out of the index216
General benchmarks for Claude Haiku 4.5 and GLM 4.7
BenchmarkClaude Haiku 4.5GLM 4.7Leader
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%68.6%Claude Haiku 4.5
Vals Multimodal Index42.9%Not measuredOnly Claude Haiku 4.5 measured
IFBenchNot measured67.9%Only GLM 4.7 measured
Long context reasoning (AA-LCR)Not measured71.0%Only GLM 4.7 measured
DTBench73.6%Not measuredOnly Claude Haiku 4.5 measured
LMCA30.9%Not measuredOnly Claude Haiku 4.5 measured
CL-benchNot measured15.9%Only GLM 4.7 measured
ExploitBench13.7%Not measuredOnly Claude Haiku 4.5 measured
CL-bench LifeNot measured10.9%Only GLM 4.7 measured
LMArena Text13971435GLM 4.7
LMArena Text: instruction following14141412Claude Haiku 4.5
LMArena Text: creative writing13711401GLM 4.7
LMArena Text: English14141453GLM 4.7
LMArena Text: non-English13771417GLM 4.7
LMArena Text: Chinese14181495GLM 4.7
LMArena Text: German13741426GLM 4.7
LMArena Text: Japanese13381439GLM 4.7
LMArena Text: Korean13461399GLM 4.7
LMArena Text: French14111432GLM 4.7
LMArena Text: Spanish14211434GLM 4.7
LMArena Text: Russian13811423GLM 4.7
LMArena Text: Polish13431435GLM 4.7
LMArena Text: multi-turn14091446GLM 4.7
LMArena Text: longer queries14271432GLM 4.7
LMArena Text: writing and language13861411GLM 4.7
LMArena Text: entertainment and media13691400GLM 4.7
LMArena Document1420Not measuredOnly Claude Haiku 4.5 measured
Neither model has a result on the other 16 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 4.7
BenchmarkClaude Haiku 4.5GLM 4.7Leader
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 4.7$0.0015Fits in one request

GLM 4.7 costs less

Repository review

50K input + 3K output tokens

Claude Haiku 4.5$0.065Fits in one request
GLM 4.7$0.033Fits in one request

GLM 4.7 costs less

Agent loop

200K input + 10K output tokens

Claude Haiku 4.5$0.250Exceeds the context window
GLM 4.7$0.128Exceeds the context window

GLM 4.7 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 4.7
SpecificationAnthropic Claude Haiku 4.5Z.ai GLM 4.7
MakerAnthropicZ.ai
WeightsNo public weights listedOpen weights
ReleasedOctober 15, 2025December 22, 2025
Context window200K205K
Input $/Mtok$1.00$0.54
Output $/Mtok$5.00$1.98
Coding index49.833.6
Independent measurements behind it31
Cost per solved task$0.56$0.29
SourceOpenRouter listingOpenRouter listing

Questions

Is Claude Haiku 4.5 better than GLM 4.7 for coding?

Pick Claude Haiku 4.5 for coding: it scores 49.8 on the Vibe Coding Index against 33.6 for GLM 4.7. Pick GLM 4.7 when output tokens cost 2.5x less, or when a solved task costs $0.29 against $0.56.

Which is cheaper, Claude Haiku 4.5 or GLM 4.7?

Claude Haiku 4.5 costs $1.00 per million input tokens and $5.00 per million output tokens; GLM 4.7 costs $0.54 and $1.98. Per solved SWE-bench Verified task, Claude Haiku 4.5 costs $0.56 and GLM 4.7 $0.29.

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

GLM 4.7, with 205K tokens against 200K.

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

61 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 4.7's on 1. Where only one model has a result, the page says so instead of naming a winner.

Compare next