Enter opens the highlighted result. Esc closes.

Claude Sonnet 5 vs GLM 5.3 Flash

Claude Sonnet 5 and GLM 5.3 Flash tie on coding at 57.7 on the Vibe Coding Index, and GLM 5.3 Flash costs 20.0x less per output token ($0.50 vs $10.00 per million). Updated October 22, 2026; 97 benchmarks have a result for both.

Claude Sonnet 5Anthropic
Coding
57.7
Overall
63.2
Output $/M
$10.00
31
GLM 5.3 FlashZ.ai
Coding
57.7
Overall
66.0
Output $/M
$0.50
64
vs boards won of 97 shared, 2 tied

Claude Sonnet 5 or GLM 5.3 Flash: which to pick

Claude Sonnet 5 and GLM 5.3 Flash are level for coding, 57.7 against 57.7 on the Vibe Coding Index, so price and context decide.

Pick GLM 5.3 Flash for output tokens 20.0x cheaper ($0.50 vs $10.00 per million) and a lower cost per solved task ($0.02 against $1.87). Pick Claude Sonnet 5 for work measured by LiveCodeBench (Vals AI) or Vibe Code Bench (Vals AI), where it leads.

Shared results
97
Claude Sonnet 5 only
24
GLM 5.3 Flash only
5
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 Sonnet 5 57.7 from 6 benchmarks, GLM 5.3 Flash 57.7 from 6 benchmarks.
Widest category
Math, 14.6 points apart on average over 6 shared benchmarks.
Widest single gap
ProofBench: Claude Sonnet 5 77.0% against GLM 5.3 Flash 21.0%, 56.0 points apart on a 0 to 100 scale.
Output price
Claude Sonnet 5 $10.00 against GLM 5.3 Flash $0.50 per million output tokens, 20.0x apart.
Context window
Claude Sonnet 5 takes 1M tokens, GLM 5.3 Flash 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.

Boards won, where both have a result
CategoryClaude Sonnet 5BarsGLM 5.3 FlashTies
Coding9112 ties
Intelligence11
Agentic work56
Reasoning67
Math42
Knowledge25
Web design27
General225
All shared boards31642 ties
CodingLike-for-likeSix of these boards feed the Vibe Coding Index911
Coding benchmarks for Claude Sonnet 5 and GLM 5.3 Flash
BenchmarkClaude Sonnet 5GLM 5.3 FlashLeader
LiveBench coding74.7%80.6%GLM 5.3 Flash
LMArena WebDev15401607GLM 5.3 Flash
AA Coding Index71.571.5Tie
LiveCodeBench (Vals AI)82.4%80.5%Claude Sonnet 5
SWE-bench Verified (Vals AI)79.6%92.0%GLM 5.3 Flash
Terminal-Bench 4 (Vals AI)10.6%37.4%GLM 5.3 Flash
Vibe Code Bench (Vals AI)81.3%30.8%Claude Sonnet 5
Code migration (Vals AI)44.4%20.5%Claude Sonnet 5
ProgramBench (Vals AI)0.0%0.0%Tie
IOI (Vals AI)45.0%52.5%GLM 5.3 Flash
Terminal-Bench 2.1 (Vals AI)74.5%62.9%Claude Sonnet 5
Vibe Code Bench 1-100 (Vals AI)13.8%16.0%GLM 5.3 Flash
SkillsBench (Vals AI)46.5%40.2%Claude Sonnet 5
CyberBench (Vals AI)70.3%67.9%Claude Sonnet 5
SciCode54.3%51.6%Claude Sonnet 5
FrontierCode42.7%31.8%Claude Sonnet 5
FrontierSWENot measured18.1%Only GLM 5.3 Flash measured
GSO-Bench37.3%Not measuredOnly Claude Sonnet 5 measured
WeirdML68.8%Not measuredOnly Claude Sonnet 5 measured
ALE-Bench1463.1303.6Claude Sonnet 5
LMArena Text: coding14831507GLM 5.3 Flash
LMArena Text: software and IT14741500GLM 5.3 Flash
LMArena WebDev: React15411624GLM 5.3 Flash
LMArena WebDev: HTML15271577GLM 5.3 Flash
LMArena WebDev: from an image15401578GLM 5.3 Flash
SciCode10.7%Not measuredOnly Claude Sonnet 5 measured
Neither model has a result on the other 13 boards here
IntelligenceLike-for-likePublic boards, shown as published, kept out of the index11
Intelligence benchmarks for Claude Sonnet 5 and GLM 5.3 Flash
BenchmarkClaude Sonnet 5GLM 5.3 FlashLeader
AA Intelligence Index38.241.8GLM 5.3 Flash
Epoch Capabilities Index156.9153.1Claude Sonnet 5
Agentic workLike-for-likePublic boards, shown as published, kept out of the index56
Agentic work benchmarks for Claude Sonnet 5 and GLM 5.3 Flash
BenchmarkClaude Sonnet 5GLM 5.3 FlashLeader
AA Agentic Index43.650.9GLM 5.3 Flash
Design Arena: agents building web apps1245Not measuredOnly Claude Sonnet 5 measured
Design Arena: agents building full-stack apps1249Not measuredOnly Claude Sonnet 5 measured
Design Arena: agents building mobile apps1215Not measuredOnly Claude Sonnet 5 measured
Design Arena: agents building Android apps1227Not measuredOnly Claude Sonnet 5 measured
Design Arena: agents building Godot games1225Not measuredOnly Claude Sonnet 5 measured
Design Arena: agents building games1227Not measuredOnly Claude Sonnet 5 measured
Design Arena: HTML slides1168Not measuredOnly Claude Sonnet 5 measured
Design Arena: PowerPoint slides1191Not measuredOnly Claude Sonnet 5 measured
Design Arena: spreadsheets1035Not measuredOnly Claude Sonnet 5 measured
LiveBench research82.8%70.1%Claude Sonnet 5
LiveBench browser72.0%84.0%GLM 5.3 Flash
LiveBench long agentic39.0%28.4%Claude Sonnet 5
SREBench (Vals AI)0.4%0.8%GLM 5.3 Flash
Finance Agent (Vals AI)53.9%57.9%GLM 5.3 Flash
Tax Agent Bench (Vals AI)29.4%31.6%GLM 5.3 Flash
Legal Research Bench (Vals AI)41.8%45.2%GLM 5.3 Flash
Harvey's Legal Agent Benchmark (Vals AI)Not measured10.4%Only GLM 5.3 Flash measured
Excel Modeling Benchmark (Vals AI)66.3%55.9%Claude Sonnet 5
Terminal-Bench-Science (Vals AI)5.7%2.9%Claude Sonnet 5
APEX-Agents54.5%52.8%Claude Sonnet 5
Vending-Bench 2$6,378Not measuredOnly Claude Sonnet 5 measured
Neither model has a result on the other 19 boards here
ReasoningLike-for-likePublic boards, shown as published, kept out of the index67
Reasoning benchmarks for Claude Sonnet 5 and GLM 5.3 Flash
BenchmarkClaude Sonnet 5GLM 5.3 FlashLeader
GPQA Diamond88.9%86.4%Claude Sonnet 5
LiveBench reasoning88.7%77.6%Claude Sonnet 5
MMMU Pro (Vals AI)83.0%86.0%GLM 5.3 Flash
GPQA Diamond (Artificial Analysis run)91.1%91.2%GLM 5.3 Flash
Humanity's Last Exam (Artificial Analysis run)41.3%39.9%Claude Sonnet 5
GPQA Diamond (Epoch AI run)90.5%90.2%Claude Sonnet 5
ARC-AGINot measured91.0%Only GLM 5.3 Flash measured
ARC-AGI-2Not measured65.8%Only GLM 5.3 Flash measured
SimpleBench60.6%Not measuredOnly Claude Sonnet 5 measured
Chess puzzles45.0%21.0%Claude Sonnet 5
Mystery game puzzles35.0%8.0%Claude Sonnet 5
LMArena Text: hard prompts14611490GLM 5.3 Flash
LMArena Text: expert14891511GLM 5.3 Flash
LMArena Text: hard prompts in English14641488GLM 5.3 Flash
LMArena Vision: diagrams12931317GLM 5.3 Flash
LMArena Vision: homework13111318GLM 5.3 Flash
Neither model has a result on the other 6 boards here
MathLike-for-likePublic boards, shown as published, kept out of the index42
Math benchmarks for Claude Sonnet 5 and GLM 5.3 Flash
BenchmarkClaude Sonnet 5GLM 5.3 FlashLeader
OTIS Mock AIME94.7%93.9%Claude Sonnet 5
FrontierMath, tiers 1 to 365.6%55.8%Claude Sonnet 5
FrontierMath, tier 429.3%17.1%Claude Sonnet 5
ProofBench77.0%21.0%Claude Sonnet 5
LMArena Text: math14671503GLM 5.3 Flash
LMArena Text: mathematical work14811497GLM 5.3 Flash
Neither model has a result on the other 7 boards here
KnowledgeLike-for-likePublic boards, shown as published, kept out of the index25
Knowledge benchmarks for Claude Sonnet 5 and GLM 5.3 Flash
BenchmarkClaude Sonnet 5GLM 5.3 FlashLeader
MMLU Pro87.5%86.1%Claude Sonnet 5
LegalBench (Vals AI)83.9%83.9%GLM 5.3 Flash
CorpFin (Vals AI)67.0%Not measuredOnly Claude Sonnet 5 measured
TaxEval (Vals AI)75.6%75.6%Claude Sonnet 5
MortgageTax (Vals AI)70.0%Not measuredOnly Claude Sonnet 5 measured
MedCode (Vals AI)47.5%Not measuredOnly Claude Sonnet 5 measured
SimpleQA Verified33.7%Not measuredOnly Claude Sonnet 5 measured
LMArena Text: science14601484GLM 5.3 Flash
LMArena Text: medicine and healthcare14421475GLM 5.3 Flash
LMArena Text: legal and government14541473GLM 5.3 Flash
LMArena Text: business and finance14361460GLM 5.3 Flash
Neither model has a result on the other 7 boards here
Web designLike-for-likePublic boards, shown as published, kept out of the index27
Web design benchmarks for Claude Sonnet 5 and GLM 5.3 Flash
BenchmarkClaude Sonnet 5GLM 5.3 FlashLeader
Design Arena: websites12741272Claude Sonnet 5
Design Arena: UI components12771316GLM 5.3 Flash
Design Arena: game dev12771278GLM 5.3 Flash
Design Arena: data viz12511262GLM 5.3 Flash
Design Arena: 3D12611316GLM 5.3 Flash
Design Arena: all code categories12751282GLM 5.3 Flash
Design Arena: SVG11921285GLM 5.3 Flash
Design Arena: ASCII art12071267GLM 5.3 Flash
LiveBench design82.0%77.2%Claude Sonnet 5
GeneralLike-for-likePublic boards, shown as published, kept out of the index225
General benchmarks for Claude Sonnet 5 and GLM 5.3 Flash
BenchmarkClaude Sonnet 5GLM 5.3 FlashLeader
Vals IndexNot measured50.9%Only GLM 5.3 Flash measured
LiveBench data analysis71.7%76.4%GLM 5.3 Flash
Public Benefits Bench (Vals AI)66.0%Not measuredOnly Claude Sonnet 5 measured
SAGE (Vals AI)48.9%Not measuredOnly Claude Sonnet 5 measured
MedScribe (Vals AI)76.0%88.9%GLM 5.3 Flash
Vals Multimodal Index68.8%Not measuredOnly Claude Sonnet 5 measured
Long context reasoning (AA-LCR)82.0%80.0%Claude Sonnet 5
DTBench92.5%Not measuredOnly Claude Sonnet 5 measured
LMCA50.0%Not measuredOnly Claude Sonnet 5 measured
Surface Evolver Bench60.0%52.5%Claude Sonnet 5
LMArena Text14421471GLM 5.3 Flash
LMArena Text: instruction following14521478GLM 5.3 Flash
LMArena Text: creative writing14161441GLM 5.3 Flash
LMArena Vision12731294GLM 5.3 Flash
LMArena Text: English14501474GLM 5.3 Flash
LMArena Text: non-English14311462GLM 5.3 Flash
LMArena Text: Chinese14781531GLM 5.3 Flash
LMArena Text: German14421462GLM 5.3 Flash
LMArena Text: Japanese14221444GLM 5.3 Flash
LMArena Text: Korean14121436GLM 5.3 Flash
LMArena Text: French14631491GLM 5.3 Flash
LMArena Text: Spanish14381475GLM 5.3 Flash
LMArena Text: Russian14501465GLM 5.3 Flash
LMArena Text: Polish14251450GLM 5.3 Flash
LMArena Text: multi-turn14531469GLM 5.3 Flash
LMArena Text: longer queries14621481GLM 5.3 Flash
LMArena Text: writing and language14361455GLM 5.3 Flash
LMArena Text: entertainment and media14111440GLM 5.3 Flash
LMArena Vision: English12751295GLM 5.3 Flash
LMArena Vision: Chinese13311363GLM 5.3 Flash
LMArena Vision: reading text12881299GLM 5.3 Flash
LMArena Vision: humor12611279GLM 5.3 Flash
LMArena Vision: creative writing12461270GLM 5.3 Flash
LMArena Document1466Not measuredOnly Claude Sonnet 5 measured
Neither model has a result on the other 12 boards here
Image generationNot comparablePublic boards, shown as published, kept out of the index0 boards, none shared
Image generation benchmarks for Claude Sonnet 5 and GLM 5.3 Flash
BenchmarkClaude Sonnet 5GLM 5.3 FlashLeader
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 5$0.0070Fits in one request
GLM 5.3 Flash$0.0004Fits in one request

GLM 5.3 Flash costs less

Repository review

50K input + 3K output tokens

Claude Sonnet 5$0.130Fits in one request
GLM 5.3 Flash$0.0090Fits in one request

GLM 5.3 Flash costs less

Agent loop

200K input + 10K output tokens

Claude Sonnet 5$0.500Fits in one request
GLM 5.3 Flash$0.035Fits in one request

GLM 5.3 Flash 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 5 and GLM 5.3 Flash
SpecificationAnthropic Claude Sonnet 5Z.ai GLM 5.3 Flash
MakerAnthropicZ.ai
WeightsNo public weights listedOpen weights
ReleasedJune 30, 2026August 26, 2026
Context window1M1.05M
Input $/Mtok$2.00$0.15
Output $/Mtok$10.00$0.50
Coding index57.757.7
Independent measurements behind it66
Cost per solved task$1.87$0.02
SourceOpenRouter listingOpenRouter listing

Questions

Is Claude Sonnet 5 better than GLM 5.3 Flash for coding?

Claude Sonnet 5 and GLM 5.3 Flash are level for coding, 57.7 against 57.7 on the Vibe Coding Index, so price and context decide. Pick GLM 5.3 Flash for output tokens 20.0x cheaper ($0.50 vs $10.00 per million) and a lower cost per solved task ($0.02 against $1.87). Pick Claude Sonnet 5 for work measured by LiveCodeBench (Vals AI) or Vibe Code Bench (Vals AI), where it leads.

Which is cheaper, Claude Sonnet 5 or GLM 5.3 Flash?

Claude Sonnet 5 costs $2.00 per million input tokens and $10.00 per million output tokens; GLM 5.3 Flash costs $0.15 and $0.50. Per solved SWE-bench Verified task, Claude Sonnet 5 costs $1.87 and GLM 5.3 Flash $0.02.

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

GLM 5.3 Flash, with 1.05M tokens against 1M.

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

97 benchmarks have a result for both models as of October 22, 2026. Claude Sonnet 5's coding index rests on 6 independent benchmarks and GLM 5.3 Flash's on 6. 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-5-vs-glm-5-3-flash" title="Claude Sonnet 5 vs GLM 5.3 Flash, 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-5-vs-glm-5-3-flash">LLMBenchmark.ai, Claude Sonnet 5 vs GLM 5.3 Flash</a></p>