LLMBenchmark.ai

Enter opens the highlighted result. Esc closes.

Claude Sonnet 4.5 vs GLM 4.6

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

Claude Sonnet 4.5Anthropic
Coding
59.1
Overall
20.7
Output $/M
$15.00
42
GLM 4.6Z.ai
Coding
52.2
Overall
18.5
Output $/M
$2.20
11
vs boards won of 53 shared

Decision reading

Pick Claude Sonnet 4.5 for coding: it scores 59.1 on the Vibe Coding Index against 52.2 for GLM 4.6.

Pick GLM 4.6 when output tokens cost 6.8x less, or when what matters is LiveCodeBench (Vals AI) or AIME, where it leads.

Shared results
53
Claude Sonnet 4.5 only
39
GLM 4.6 only
13
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 Sonnet 4.5 59.1 from 2 benchmarks, GLM 4.6 52.2 from 2 benchmarks.
Widest category
Coding, 9.7 points apart on average over 9 shared benchmarks.
Widest single gap
Terminal-Bench: Claude Sonnet 4.5 46.5% against GLM 4.6 24.5%, 22.0 points apart on a 0 to 100 scale.
Output price
Claude Sonnet 4.5 $15.00 against GLM 4.6 $2.20 per million output tokens, 6.8x apart.
Context window
Claude Sonnet 4.5 takes 1M tokens, GLM 4.6 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 Sonnet 4.5BarsGLM 4.6Ties
Coding81
Intelligence10
Agentic work20
Reasoning40
Math31
Knowledge72
Web design70
General107
All shared boards4211
CodingLike-for-likeFour of these boards feed the Vibe Coding Index81
Coding benchmarks for Claude Sonnet 4.5 and GLM 4.6
BenchmarkClaude Sonnet 4.5GLM 4.6Leader
SWE-bench Verified74.8%68.2%Claude Sonnet 4.5
SWE-bench Multilingual67.0%Not measuredOnly Claude Sonnet 4.5 measured
LMArena WebDev13941341Claude Sonnet 4.5
AA Coding Index52.145.8Claude Sonnet 4.5
LiveCodeBench (Vals AI)73.0%81.0%GLM 4.6
SWE-bench Verified (Vals AI)70.0%Not measuredOnly Claude Sonnet 4.5 measured
Vibe Code Bench (Vals AI)22.6%3.1%Claude Sonnet 4.5
LiveCodeBench (Artificial Analysis run)Not measured69.5%Only GLM 4.6 measured
Terminal-Bench Hard (Artificial Analysis run)Not measured28.8%Only GLM 4.6 measured
Terminal-Bench46.5%24.5%Claude Sonnet 4.5
GSO-Bench14.7%Not measuredOnly Claude Sonnet 4.5 measured
WeirdML47.7%Not measuredOnly Claude Sonnet 4.5 measured
Cybench60.0%Not measuredOnly Claude Sonnet 4.5 measured
ALE-BenchNot measured340.8Only GLM 4.6 measured
LMArena Text: coding14881449Claude Sonnet 4.5
LMArena Text: software and IT14731455Claude Sonnet 4.5
LMArena WebDev: React1386Not measuredOnly Claude Sonnet 4.5 measured
LMArena WebDev: HTML13991350Claude Sonnet 4.5
Neither model has a result on the other 20 boards here
IntelligenceLike-for-likePublic boards, shown as published, kept out of the index10
Intelligence benchmarks for Claude Sonnet 4.5 and GLM 4.6
BenchmarkClaude Sonnet 4.5GLM 4.6Leader
AA Intelligence Index20.718.5Claude Sonnet 4.5
Epoch Capabilities Index146.7Not measuredOnly Claude Sonnet 4.5 measured
Agentic workLike-for-likePublic boards, shown as published, kept out of the index20
Agentic work benchmarks for Claude Sonnet 4.5 and GLM 4.6
BenchmarkClaude Sonnet 4.5GLM 4.6Leader
AA Agentic Index15.8Not measuredOnly Claude Sonnet 4.5 measured
Design Arena: agents building web apps1060Not measuredOnly Claude Sonnet 4.5 measured
Design Arena: agents building full-stack apps10501029Claude Sonnet 4.5
Design Arena: agents building mobile apps11371096Claude Sonnet 4.5
Design Arena: agents building Android appsNot measured1090Only GLM 4.6 measured
Design Arena: agents building Godot gamesNot measured1180Only GLM 4.6 measured
τ²-Bench TelecomNot measured76.9%Only GLM 4.6 measured
METR time horizons67.4%Not measuredOnly Claude Sonnet 4.5 measured
Remote Labor Index2.1%Not measuredOnly Claude Sonnet 4.5 measured
GDPval42.5%Not measuredOnly Claude Sonnet 4.5 measured
DeepResearch Bench52.6%Not measuredOnly Claude Sonnet 4.5 measured
OSWorld62.9%Not measuredOnly Claude Sonnet 4.5 measured
Vending-Bench 2$3,839Not measuredOnly Claude Sonnet 4.5 measured
Neither model has a result on the other 26 boards here
ReasoningLike-for-likePublic boards, shown as published, kept out of the index40
Reasoning benchmarks for Claude Sonnet 4.5 and GLM 4.6
BenchmarkClaude Sonnet 4.5GLM 4.6Leader
GPQA Diamond81.6%74.5%Claude Sonnet 4.5
MMMU Pro (Vals AI)79.3%Not measuredOnly Claude Sonnet 4.5 measured
GPQA Diamond (Artificial Analysis run)Not measured78.0%Only GLM 4.6 measured
Humanity's Last Exam (Artificial Analysis run)Not measured14.5%Only GLM 4.6 measured
GPQA Diamond (Epoch AI run)82.3%Not measuredOnly Claude Sonnet 4.5 measured
ARC-AGI63.7%Not measuredOnly Claude Sonnet 4.5 measured
ARC-AGI-213.6%Not measuredOnly Claude Sonnet 4.5 measured
SimpleBench54.3%Not measuredOnly Claude Sonnet 4.5 measured
Chess puzzles10.0%Not measuredOnly Claude Sonnet 4.5 measured
Mystery game puzzles17.0%Not measuredOnly Claude Sonnet 4.5 measured
EBR-bench2.4%Not measuredOnly Claude Sonnet 4.5 measured
VPCT39.8%Not measuredOnly Claude Sonnet 4.5 measured
LMArena Text: hard prompts14621440Claude Sonnet 4.5
LMArena Text: expert14831432Claude Sonnet 4.5
LMArena Text: hard prompts in English14711445Claude Sonnet 4.5
Neither model has a result on the other 6 boards here
MathLike-for-likePublic boards, shown as published, kept out of the index31
Math benchmarks for Claude Sonnet 4.5 and GLM 4.6
BenchmarkClaude Sonnet 4.5GLM 4.6Leader
AIME88.2%92.7%GLM 4.6
MGSM (Vals AI)94.3%89.8%Claude Sonnet 4.5
AA Math IndexNot measured86.0Only GLM 4.6 measured
AIME 2025 (Artificial Analysis run)Not measured86.0%Only GLM 4.6 measured
OTIS Mock AIME77.8%Not measuredOnly Claude Sonnet 4.5 measured
FrontierMath, tiers 1 to 323.9%Not measuredOnly Claude Sonnet 4.5 measured
FrontierMath, tier 42.4%Not measuredOnly Claude Sonnet 4.5 measured
ProofBench19.0%Not measuredOnly Claude Sonnet 4.5 measured
MATH level 597.7%Not measuredOnly Claude Sonnet 4.5 measured
LMArena Text: math14491432Claude Sonnet 4.5
LMArena Text: mathematical work14621447Claude Sonnet 4.5
Neither model has a result on the other 2 boards here
KnowledgeLike-for-likePublic boards, shown as published, kept out of the index72
Knowledge benchmarks for Claude Sonnet 4.5 and GLM 4.6
BenchmarkClaude Sonnet 4.5GLM 4.6Leader
MMLU Pro87.4%82.2%Claude Sonnet 4.5
LegalBench (Vals AI)84.1%79.6%Claude Sonnet 4.5
CaseLaw (Vals AI)62.2%Not measuredOnly Claude Sonnet 4.5 measured
CorpFin (Vals AI)62.0%56.8%Claude Sonnet 4.5
TaxEval (Vals AI)73.3%66.2%Claude Sonnet 4.5
MortgageTax (Vals AI)64.0%Not measuredOnly Claude Sonnet 4.5 measured
MedQA (Vals AI)94.7%92.2%Claude Sonnet 4.5
MedCode (Vals AI)44.1%Not measuredOnly Claude Sonnet 4.5 measured
MMLU Pro (Artificial Analysis run)Not measured82.9%Only GLM 4.6 measured
SimpleQA Verified30.7%Not measuredOnly Claude Sonnet 4.5 measured
LMArena Text: science14481456GLM 4.6
LMArena Text: medicine and healthcare14441455GLM 4.6
LMArena Text: legal and government14511448Claude Sonnet 4.5
LMArena Text: business and finance14401416Claude Sonnet 4.5
Neither model has a result on the other 3 boards here
Web designLike-for-likePublic boards, shown as published, kept out of the index70
Web design benchmarks for Claude Sonnet 4.5 and GLM 4.6
BenchmarkClaude Sonnet 4.5GLM 4.6Leader
Design Arena: websites11901174Claude Sonnet 4.5
Design Arena: UI components11731147Claude Sonnet 4.5
Design Arena: game dev11661151Claude Sonnet 4.5
Design Arena: data viz11671161Claude Sonnet 4.5
Design Arena: 3D11581129Claude Sonnet 4.5
Design Arena: all code categories11831166Claude Sonnet 4.5
Design Arena: SVG11141108Claude Sonnet 4.5
Design Arena: ASCII art1204Not measuredOnly Claude Sonnet 4.5 measured
Neither model has a result on the other 1 board here
GeneralLike-for-likePublic boards, shown as published, kept out of the index107
General benchmarks for Claude Sonnet 4.5 and GLM 4.6
BenchmarkClaude Sonnet 4.5GLM 4.6Leader
SAGE (Vals AI)36.1%Not measuredOnly Claude Sonnet 4.5 measured
MedScribe (Vals AI)84.5%Not measuredOnly Claude Sonnet 4.5 measured
IFBenchNot measured43.4%Only GLM 4.6 measured
Long context reasoning (AA-LCR)Not measured54.0%Only GLM 4.6 measured
DTBench83.2%Not measuredOnly Claude Sonnet 4.5 measured
LMCA38.8%Not measuredOnly Claude Sonnet 4.5 measured
LMArena Text14381440GLM 4.6
LMArena Text: instruction following14591410Claude Sonnet 4.5
LMArena Text: creative writing14421412Claude Sonnet 4.5
LMArena Text: English14501449Claude Sonnet 4.5
LMArena Text: non-English14251426GLM 4.6
LMArena Text: Chinese14601499GLM 4.6
LMArena Text: German14271447GLM 4.6
LMArena Text: Japanese13901393GLM 4.6
LMArena Text: Korean14021400Claude Sonnet 4.5
LMArena Text: French14591459GLM 4.6
LMArena Text: Spanish14581436Claude Sonnet 4.5
LMArena Text: Russian14371418Claude Sonnet 4.5
LMArena Text: Polish14231447GLM 4.6
LMArena Text: multi-turn14651427Claude Sonnet 4.5
LMArena Text: longer queries14751422Claude Sonnet 4.5
LMArena Text: writing and language14421415Claude Sonnet 4.5
LMArena Text: entertainment and media14281409Claude Sonnet 4.5
LMArena Document1450Not measuredOnly Claude Sonnet 4.5 measured
Neither model has a result on the other 22 boards here
Image generationNot comparablePublic boards, shown as published, kept out of the index0 boards, none shared
Image generation benchmarks for Claude Sonnet 4.5 and GLM 4.6
BenchmarkClaude Sonnet 4.5GLM 4.6Leader
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 Sonnet 4.5$0.011Fits in one request
GLM 4.6$0.0016Fits in one request

GLM 4.6 costs less

Repository review

50K input + 3K output tokens

Claude Sonnet 4.5$0.195Fits in one request
GLM 4.6$0.034Fits in one request

GLM 4.6 costs less

Agent loop

200K input + 10K output tokens

Claude Sonnet 4.5$0.750Fits in one request
GLM 4.6$0.132Exceeds the context window

GLM 4.6 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 Sonnet 4.5 and GLM 4.6
SpecificationAnthropic Claude Sonnet 4.5Z.ai GLM 4.6
MakerAnthropicZ.ai
WeightsNo public weights listedOpen weights
ReleasedSeptember 29, 2025September 30, 2025
Context window1M205K
Input $/Mtok$3.00$0.55
Output $/Mtok$15.00$2.20
Coding index59.152.2
Independent measurements behind it22
Cost per solved task$1.16Not computable
SourceOpenRouter listingOpenRouter listing

Questions

Is Claude Sonnet 4.5 better than GLM 4.6 for coding?

Pick Claude Sonnet 4.5 for coding: it scores 59.1 on the Vibe Coding Index against 52.2 for GLM 4.6. Pick GLM 4.6 when output tokens cost 6.8x less, or when what matters is LiveCodeBench (Vals AI) or AIME, where it leads.

Which is cheaper, Claude Sonnet 4.5 or GLM 4.6?

Claude Sonnet 4.5 costs $3.00 per million input tokens and $15.00 per million output tokens; GLM 4.6 costs $0.55 and $2.20. Cost per solved task is known for Claude Sonnet 4.5 only.

Which has the bigger context window, Claude Sonnet 4.5 or GLM 4.6?

Claude Sonnet 4.5, with 1M tokens against 205K.

How many benchmarks is the Claude Sonnet 4.5 vs GLM 4.6 comparison based on?

53 benchmarks have a result for both models as of October 21, 2026. Claude Sonnet 4.5's coding index rests on 2 independent benchmarks and GLM 4.6's on 2. 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-sonnet-4-5-vs-glm-4-6" title="Claude Sonnet 4.5 vs GLM 4.6, 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-sonnet-4-5-vs-glm-4-6">LLMBenchmark.ai, Claude Sonnet 4.5 vs GLM 4.6</a></p>