LLMBenchmark.ai

Enter opens the highlighted result. Esc closes.

Claude Sonnet 4.6 vs GLM 5

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.

Claude Sonnet 4.6Anthropic
Coding
57.8
Overall
30.1
Output $/M
$15.00
59
GLM 5Z.ai
Coding
59.7
Overall
27.9
Output $/M
$3.20
10
vs boards won of 69 shared

Decision reading

Claude Sonnet 4.6 and GLM 5 are level for coding, 57.8 against 59.7 on the Vibe Coding Index, so price and context decide.

Pick Claude Sonnet 4.6 when the context window is larger, 1M against 205K tokens, or when what matters is LMArena WebDev or LiveCodeBench (Vals AI), where it leads. Pick GLM 5 when output tokens cost 4.7x less, or when a solved task costs $0.63 against $1.68.

Shared results
69
Claude Sonnet 4.6 only
48
GLM 5 only
6
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.6 57.8 from 2 benchmarks, GLM 5 59.7 from 2 benchmarks.
Widest category
Reasoning, 14.3 points apart on average over 9 shared benchmarks.
Widest single gap
ARC-AGI-2: Claude Sonnet 4.6 60.4% against GLM 5 4.9%, 55.6 points apart on a 0 to 100 scale.
Output price
Claude Sonnet 4.6 $15.00 against GLM 5 $3.20 per million output tokens, 4.7x apart.
Context window
Claude Sonnet 4.6 takes 1M 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 Sonnet 4.6BarsGLM 5Ties
Coding110
Intelligence20
Agentic work51
Reasoning81
Math40
Knowledge73
Web design80
General145
All shared boards5910
CodingLike-for-likeFour of these boards feed the Vibe Coding Index110
Coding benchmarks for Claude Sonnet 4.6 and GLM 5
BenchmarkClaude Sonnet 4.6GLM 5Leader
SWE-bench VerifiedNot measured72.8%Only GLM 5 measured
SWE-bench MultilingualNot measured69.7%Only GLM 5 measured
LiveBench coding66.6%Not measuredOnly Claude Sonnet 4.6 measured
LMArena WebDev15231435Claude Sonnet 4.6
AA Coding Index63.0Not measuredOnly Claude Sonnet 4.6 measured
LiveCodeBench (Vals AI)82.1%81.9%Claude Sonnet 4.6
SWE-bench Verified (Vals AI)77.4%71.4%Claude Sonnet 4.6
Vibe Code Bench (Vals AI)55.8%23.4%Claude Sonnet 4.6
Code migration (Vals AI)39.9%Not measuredOnly Claude Sonnet 4.6 measured
ProgramBench (Vals AI)0.5%Not measuredOnly Claude Sonnet 4.6 measured
Terminal-Bench 2.1 (Vals AI)57.3%Not measuredOnly Claude Sonnet 4.6 measured
SkillsBench (Vals AI)49.0%Not measuredOnly Claude Sonnet 4.6 measured
SciCode50.1%Not measuredOnly Claude Sonnet 4.6 measured
Terminal-Bench Hard (Artificial Analysis run)53.0%43.2%Claude Sonnet 4.6
Terminal-Bench53.4%52.4%Claude Sonnet 4.6
FrontierCode24.3%Not measuredOnly Claude Sonnet 4.6 measured
WeirdML66.1%48.2%Claude Sonnet 4.6
ALE-BenchNot measured765.6Only GLM 5 measured
LMArena Text: coding15031461Claude Sonnet 4.6
LMArena Text: software and IT14911460Claude Sonnet 4.6
LMArena WebDev: React15121424Claude Sonnet 4.6
LMArena WebDev: HTML15271450Claude Sonnet 4.6
LMArena WebDev: from an image1529Not measuredOnly Claude Sonnet 4.6 measured
Neither model has a result on the other 15 boards here
IntelligenceLike-for-likePublic boards, shown as published, kept out of the index20
Intelligence benchmarks for Claude Sonnet 4.6 and GLM 5
BenchmarkClaude Sonnet 4.6GLM 5Leader
AA Intelligence Index30.127.9Claude Sonnet 4.6
Epoch Capabilities Index152.8145.8Claude Sonnet 4.6
Agentic workLike-for-likePublic boards, shown as published, kept out of the index51
Agentic work benchmarks for Claude Sonnet 4.6 and GLM 5
BenchmarkClaude Sonnet 4.6GLM 5Leader
AA Agentic Index31.8Not measuredOnly Claude Sonnet 4.6 measured
Design Arena: agents building web apps1190Not measuredOnly Claude Sonnet 4.6 measured
Design Arena: agents building full-stack apps12131123Claude Sonnet 4.6
Design Arena: agents building mobile apps12121136Claude Sonnet 4.6
Design Arena: agents building Android apps12021152Claude Sonnet 4.6
Design Arena: agents building Godot games12261144Claude Sonnet 4.6
Design Arena: agents building games1177Not measuredOnly Claude Sonnet 4.6 measured
Design Arena: HTML slidesNot measured1148Only GLM 5 measured
LiveBench research63.6%Not measuredOnly Claude Sonnet 4.6 measured
LiveBench browser68.0%Not measuredOnly Claude Sonnet 4.6 measured
LiveBench long agentic23.1%Not measuredOnly Claude Sonnet 4.6 measured
Finance Agent (Vals AI)51.0%Not measuredOnly Claude Sonnet 4.6 measured
Tax Agent Bench (Vals AI)25.8%Not measuredOnly Claude Sonnet 4.6 measured
Legal Research Bench (Vals AI)38.5%Not measuredOnly Claude Sonnet 4.6 measured
Excel Modeling Benchmark (Vals AI)60.2%Not measuredOnly Claude Sonnet 4.6 measured
τ²-Bench Telecom79.5%98.2%GLM 5
APEX-Agents43.0%Not measuredOnly Claude Sonnet 4.6 measured
OSWorld 2.09.3%Not measuredOnly Claude Sonnet 4.6 measured
DeepResearch Bench54.9%Not measuredOnly Claude Sonnet 4.6 measured
OSWorld72.1%Not measuredOnly Claude Sonnet 4.6 measured
Vending-Bench 2$7,204$4,432Claude Sonnet 4.6
Neither model has a result on the other 18 boards here
ReasoningLike-for-likePublic boards, shown as published, kept out of the index81
Reasoning benchmarks for Claude Sonnet 4.6 and GLM 5
BenchmarkClaude Sonnet 4.6GLM 5Leader
GPQA Diamond85.6%83.3%Claude Sonnet 4.6
LiveBench reasoning86.4%Not measuredOnly Claude Sonnet 4.6 measured
MMMU Pro (Vals AI)83.6%Not measuredOnly Claude Sonnet 4.6 measured
GPQA Diamond (Artificial Analysis run)87.5%82.0%Claude Sonnet 4.6
Humanity's Last Exam (Artificial Analysis run)33.6%29.3%Claude Sonnet 4.6
GPQA Diamond (Epoch AI run)87.4%87.8%GLM 5
ARC-AGI86.5%44.7%Claude Sonnet 4.6
ARC-AGI-260.4%4.9%Claude Sonnet 4.6
SimpleBenchNot measured53.2%Only GLM 5 measured
Chess puzzles23.0%Not measuredOnly Claude Sonnet 4.6 measured
Mystery game puzzles16.0%Not measuredOnly Claude Sonnet 4.6 measured
LMArena Text: hard prompts14851452Claude Sonnet 4.6
LMArena Text: expert15001454Claude Sonnet 4.6
LMArena Text: hard prompts in English14931460Claude Sonnet 4.6
LMArena Vision: diagrams1306Not measuredOnly Claude Sonnet 4.6 measured
LMArena Vision: homework1311Not measuredOnly Claude Sonnet 4.6 measured
Neither model has a result on the other 5 boards here
MathLike-for-likePublic boards, shown as published, kept out of the index40
Math benchmarks for Claude Sonnet 4.6 and GLM 5
BenchmarkClaude Sonnet 4.6GLM 5Leader
AIME92.3%91.7%Claude Sonnet 4.6
OTIS Mock AIME85.8%80.0%Claude Sonnet 4.6
ProofBench45.0%Not measuredOnly Claude Sonnet 4.6 measured
LMArena Text: math14621440Claude Sonnet 4.6
LMArena Text: mathematical work14831451Claude Sonnet 4.6
Neither model has a result on the other 8 boards here
KnowledgeLike-for-likePublic boards, shown as published, kept out of the index73
Knowledge benchmarks for Claude Sonnet 4.6 and GLM 5
BenchmarkClaude Sonnet 4.6GLM 5Leader
MMLU Pro87.3%86.0%Claude Sonnet 4.6
LegalBench (Vals AI)82.1%84.1%GLM 5
CaseLaw (Vals AI)64.0%52.5%Claude Sonnet 4.6
CorpFin (Vals AI)65.3%62.9%Claude Sonnet 4.6
TaxEval (Vals AI)77.1%70.0%Claude Sonnet 4.6
MortgageTax (Vals AI)67.7%Not measuredOnly Claude Sonnet 4.6 measured
MedQA (Vals AI)92.1%94.3%GLM 5
SimpleQA Verified35.5%Not measuredOnly Claude Sonnet 4.6 measured
LMArena Text: science14741460Claude Sonnet 4.6
LMArena Text: medicine and healthcare14511455GLM 5
LMArena Text: legal and government14701453Claude Sonnet 4.6
LMArena Text: business and finance14641430Claude Sonnet 4.6
Neither model has a result on the other 5 boards here
Web designLike-for-likePublic boards, shown as published, kept out of the index80
Web design benchmarks for Claude Sonnet 4.6 and GLM 5
BenchmarkClaude Sonnet 4.6GLM 5Leader
Design Arena: websites12851247Claude Sonnet 4.6
Design Arena: UI components12711230Claude Sonnet 4.6
Design Arena: game dev12591234Claude Sonnet 4.6
Design Arena: data viz12781228Claude Sonnet 4.6
Design Arena: 3D12341229Claude Sonnet 4.6
Design Arena: all code categories12761246Claude Sonnet 4.6
Design Arena: SVG11961168Claude Sonnet 4.6
Design Arena: ASCII art12351146Claude Sonnet 4.6
LiveBench design71.8%Not measuredOnly Claude Sonnet 4.6 measured
GeneralLike-for-likePublic boards, shown as published, kept out of the index145
General benchmarks for Claude Sonnet 4.6 and GLM 5
BenchmarkClaude Sonnet 4.6GLM 5Leader
LiveBench data analysis76.1%Not measuredOnly Claude Sonnet 4.6 measured
Public Benefits Bench (Vals AI)62.5%Not measuredOnly Claude Sonnet 4.6 measured
SAGE (Vals AI)46.6%Not measuredOnly Claude Sonnet 4.6 measured
Vals Multimodal Index60.6%Not measuredOnly Claude Sonnet 4.6 measured
IFBench56.6%72.3%GLM 5
Long context reasoning (AA-LCR)80.0%75.7%Claude Sonnet 4.6
DTBench89.9%Not measuredOnly Claude Sonnet 4.6 measured
LMCA46.5%Not measuredOnly Claude Sonnet 4.6 measured
CL-benchNot measured18.7%Only GLM 5 measured
ExploitBench23.6%Not measuredOnly Claude Sonnet 4.6 measured
LMArena Text14581446Claude Sonnet 4.6
LMArena Text: instruction following14761428Claude Sonnet 4.6
LMArena Text: creative writing14351438GLM 5
LMArena Vision1283Not measuredOnly Claude Sonnet 4.6 measured
LMArena Text: English14721458Claude Sonnet 4.6
LMArena Text: non-English14401430Claude Sonnet 4.6
LMArena Text: Chinese14911511GLM 5
LMArena Text: German14281447GLM 5
LMArena Text: Japanese14201416Claude Sonnet 4.6
LMArena Text: Korean14101423GLM 5
LMArena Text: French14651456Claude Sonnet 4.6
LMArena Text: Spanish14641454Claude Sonnet 4.6
LMArena Text: Russian14401436Claude Sonnet 4.6
LMArena Text: Polish14431434Claude Sonnet 4.6
LMArena Text: multi-turn14641456Claude Sonnet 4.6
LMArena Text: longer queries14791446Claude Sonnet 4.6
LMArena Text: writing and language14441437Claude Sonnet 4.6
LMArena Text: entertainment and media14311426Claude Sonnet 4.6
LMArena Vision: English1298Not measuredOnly Claude Sonnet 4.6 measured
LMArena Vision: Chinese1307Not measuredOnly Claude Sonnet 4.6 measured
LMArena Vision: reading text1296Not measuredOnly Claude Sonnet 4.6 measured
LMArena Vision: humor1248Not measuredOnly Claude Sonnet 4.6 measured
LMArena Vision: recognizing things1195Not measuredOnly Claude Sonnet 4.6 measured
LMArena Vision: creative writing1272Not measuredOnly Claude Sonnet 4.6 measured
LMArena Document1482Not measuredOnly Claude Sonnet 4.6 measured
Neither model has a result on the other 11 boards here
Image generationNot comparablePublic boards, shown as published, kept out of the index0 boards, none shared
Image generation benchmarks for Claude Sonnet 4.6 and GLM 5
BenchmarkClaude Sonnet 4.6GLM 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 Sonnet 4.6$0.011Fits in one request
GLM 5$0.0026Fits in one request

GLM 5 costs less

Repository review

50K input + 3K output tokens

Claude Sonnet 4.6$0.195Fits in one request
GLM 5$0.060Fits in one request

GLM 5 costs less

Agent loop

200K input + 10K output tokens

Claude Sonnet 4.6$0.750Fits in one request
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 Sonnet 4.6 and GLM 5
SpecificationAnthropic Claude Sonnet 4.6Z.ai GLM 5
MakerAnthropicZ.ai
WeightsNo public weights listedOpen weights
ReleasedFebruary 17, 2026February 11, 2026
Context window1M205K
Input $/Mtok$3.00$1.00
Output $/Mtok$15.00$3.20
Coding index57.859.7
Independent measurements behind it22
Cost per solved task$1.68$0.63
SourceOpenRouter listingOpenRouter listing

Questions

Is Claude Sonnet 4.6 better than GLM 5 for coding?

Claude Sonnet 4.6 and GLM 5 are level for coding, 57.8 against 59.7 on the Vibe Coding Index, so price and context decide. Pick Claude Sonnet 4.6 when the context window is larger, 1M against 205K tokens, or when what matters is LMArena WebDev or LiveCodeBench (Vals AI), where it leads. Pick GLM 5 when output tokens cost 4.7x less, or when a solved task costs $0.63 against $1.68.

Which is cheaper, Claude Sonnet 4.6 or GLM 5?

Claude Sonnet 4.6 costs $3.00 per million input tokens and $15.00 per million output tokens; GLM 5 costs $1.00 and $3.20. Per solved SWE-bench Verified task, Claude Sonnet 4.6 costs $1.68 and GLM 5 $0.63.

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

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

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

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