Enter opens the highlighted result. Esc closes.

Claude Sonnet 5 vs Qwen3.8 Max (0902)

Qwen3.8 Max (0902) leads Claude Sonnet 5 on coding, 62.4 to 57.7 on the Vibe Coding Index, and Qwen3.8 Max (0902) costs 1.7x less per output token ($6.00 vs $10.00 per million). Updated October 22, 2026; 108 benchmarks have a result for both.

Claude Sonnet 5Anthropic
Coding
57.7
Overall
63.2
Output $/M
$10.00
27
Qwen3.8 Max (0902)Qwen
Coding
62.4
Overall
68.9
Output $/M
$6.00
80
vs boards won of 108 shared, 1 tied

Claude Sonnet 5 or Qwen3.8 Max (0902): which to pick

Pick Qwen3.8 Max (0902) for coding: it scores 62.4 on the Vibe Coding Index against 57.7 for Claude Sonnet 5, though on 5 benchmarks against 6.

Pick Claude Sonnet 5 for work measured by LiveBench coding or Vibe Code Bench (Vals AI), where it leads.

Shared results
108
Claude Sonnet 5 only
13
Qwen3.8 Max (0902) 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, Qwen3.8 Max (0902) 62.4 from 5 benchmarks.
Widest category
Coding, 11.8 points apart on average over 20 shared benchmarks.
Widest single gap
CyberBench (Vals AI): Claude Sonnet 5 70.3% against Qwen3.8 Max (0902) 28.6%, 41.7 points apart on a 0 to 100 scale.
Output price
Claude Sonnet 5 $10.00 against Qwen3.8 Max (0902) $6.00 per million output tokens, 1.7x apart.
Context window
Both take 1M tokens.

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 5BarsQwen3.8 Max (0902)Ties
Coding8111 tie
Intelligence02
Agentic work611
Reasoning112
Math15
Knowledge56
Web design26
General427
All shared boards27801 tie
CodingLike-for-likeSix of these boards feed the Vibe Coding Index811
Coding benchmarks for Claude Sonnet 5 and Qwen3.8 Max (0902)
BenchmarkClaude Sonnet 5Qwen3.8 Max (0902)Leader
LiveBench coding74.7%60.3%Claude Sonnet 5
LMArena WebDev15401674Qwen3.8 Max (0902)
AA Coding Index71.576.2Qwen3.8 Max (0902)
LiveCodeBench (Vals AI)82.4%87.8%Qwen3.8 Max (0902)
SWE-bench Verified (Vals AI)79.6%85.6%Qwen3.8 Max (0902)
Terminal-Bench 4 (Vals AI)10.6%34.3%Qwen3.8 Max (0902)
Vibe Code Bench (Vals AI)81.3%64.7%Claude Sonnet 5
Code migration (Vals AI)44.4%24.0%Claude Sonnet 5
ProgramBench (Vals AI)0.0%0.0%Tie
IOI (Vals AI)45.0%68.9%Qwen3.8 Max (0902)
Terminal-Bench 2.1 (Vals AI)74.5%67.4%Claude Sonnet 5
SWE-bench Multimodal (Vals AI)Not measured42.5%Only Qwen3.8 Max (0902) measured
Vibe Code Bench 1-100 (Vals AI)13.8%12.8%Claude Sonnet 5
SkillsBench (Vals AI)46.5%42.0%Claude Sonnet 5
CyberBench (Vals AI)70.3%28.6%Claude Sonnet 5
SciCode54.3%53.2%Claude Sonnet 5
FrontierCode42.7%Not measuredOnly Claude Sonnet 5 measured
FrontierSWENot measured17.8%Only Qwen3.8 Max (0902) measured
GSO-Bench37.3%Not measuredOnly Claude Sonnet 5 measured
WeirdML68.8%Not measuredOnly Claude Sonnet 5 measured
ALE-Bench1463.1Not measuredOnly Claude Sonnet 5 measured
LMArena Text: coding14831502Qwen3.8 Max (0902)
LMArena Text: software and IT14741498Qwen3.8 Max (0902)
LMArena WebDev: React15411692Qwen3.8 Max (0902)
LMArena WebDev: HTML15271649Qwen3.8 Max (0902)
LMArena WebDev: from an image15401637Qwen3.8 Max (0902)
SciCode10.7%Not measuredOnly Claude Sonnet 5 measured
Neither model has a result on the other 12 boards here
IntelligenceLike-for-likePublic boards, shown as published, kept out of the index02
Intelligence benchmarks for Claude Sonnet 5 and Qwen3.8 Max (0902)
BenchmarkClaude Sonnet 5Qwen3.8 Max (0902)Leader
AA Intelligence Index38.245.4Qwen3.8 Max (0902)
Epoch Capabilities Index156.9157.4Qwen3.8 Max (0902)
Agentic workLike-for-likePublic boards, shown as published, kept out of the index611
Agentic work benchmarks for Claude Sonnet 5 and Qwen3.8 Max (0902)
BenchmarkClaude Sonnet 5Qwen3.8 Max (0902)Leader
AA Agentic Index43.656.0Qwen3.8 Max (0902)
Design Arena: agents building web apps12451300Qwen3.8 Max (0902)
Design Arena: agents building full-stack apps12491305Qwen3.8 Max (0902)
Design Arena: agents building mobile apps12151224Qwen3.8 Max (0902)
Design Arena: agents building Android apps12271196Claude Sonnet 5
Design Arena: agents building Godot games12251234Qwen3.8 Max (0902)
Design Arena: agents building games1227Not measuredOnly Claude Sonnet 5 measured
Design Arena: HTML slides1168Not measuredOnly Claude Sonnet 5 measured
Design Arena: PowerPoint slides11911233Qwen3.8 Max (0902)
Design Arena: spreadsheets1035967Claude Sonnet 5
LiveBench research82.8%69.9%Claude Sonnet 5
LiveBench browser72.0%32.0%Claude Sonnet 5
LiveBench long agentic39.0%42.3%Qwen3.8 Max (0902)
SREBench (Vals AI)0.4%Not measuredOnly Claude Sonnet 5 measured
Finance Agent (Vals AI)53.9%50.6%Claude Sonnet 5
Tax Agent Bench (Vals AI)29.4%32.1%Qwen3.8 Max (0902)
Legal Research Bench (Vals AI)41.8%47.6%Qwen3.8 Max (0902)
Excel Modeling Benchmark (Vals AI)66.3%60.1%Claude Sonnet 5
Terminal-Bench-Science (Vals AI)5.7%12.9%Qwen3.8 Max (0902)
APEX-Agents54.5%63.3%Qwen3.8 Max (0902)
Vending-Bench 2$6,378Not measuredOnly Claude Sonnet 5 measured
LMArena SearchNot measured1261Only Qwen3.8 Max (0902) measured
Neither model has a result on the other 19 boards here
ReasoningLike-for-likePublic boards, shown as published, kept out of the index112
Reasoning benchmarks for Claude Sonnet 5 and Qwen3.8 Max (0902)
BenchmarkClaude Sonnet 5Qwen3.8 Max (0902)Leader
GPQA Diamond88.9%93.7%Qwen3.8 Max (0902)
LiveBench reasoning88.7%88.2%Claude Sonnet 5
MysteryMechanism (Vals AI)Not measured23.9%Only Qwen3.8 Max (0902) measured
MMMU Pro (Vals AI)83.0%88.0%Qwen3.8 Max (0902)
GPQA Diamond (Artificial Analysis run)91.1%92.8%Qwen3.8 Max (0902)
Humanity's Last Exam (Artificial Analysis run)41.3%43.1%Qwen3.8 Max (0902)
GPQA Diamond (Epoch AI run)90.5%92.7%Qwen3.8 Max (0902)
SimpleBench60.6%Not measuredOnly Claude Sonnet 5 measured
Chess puzzles45.0%46.0%Qwen3.8 Max (0902)
Mystery game puzzles35.0%38.0%Qwen3.8 Max (0902)
LMArena Text: hard prompts14611496Qwen3.8 Max (0902)
LMArena Text: expert14891507Qwen3.8 Max (0902)
LMArena Text: hard prompts in English14641503Qwen3.8 Max (0902)
LMArena Vision: diagrams12931323Qwen3.8 Max (0902)
LMArena Vision: homework13111336Qwen3.8 Max (0902)
Neither model has a result on the other 7 boards here
MathLike-for-likePublic boards, shown as published, kept out of the index15
Math benchmarks for Claude Sonnet 5 and Qwen3.8 Max (0902)
BenchmarkClaude Sonnet 5Qwen3.8 Max (0902)Leader
OTIS Mock AIME94.7%100.0%Qwen3.8 Max (0902)
FrontierMath, tiers 1 to 365.6%74.7%Qwen3.8 Max (0902)
FrontierMath, tier 429.3%46.3%Qwen3.8 Max (0902)
ProofBench77.0%58.0%Claude Sonnet 5
LMArena Text: math14671501Qwen3.8 Max (0902)
LMArena Text: mathematical work14811491Qwen3.8 Max (0902)
Neither model has a result on the other 7 boards here
KnowledgeLike-for-likePublic boards, shown as published, kept out of the index56
Knowledge benchmarks for Claude Sonnet 5 and Qwen3.8 Max (0902)
BenchmarkClaude Sonnet 5Qwen3.8 Max (0902)Leader
MMLU Pro87.5%88.6%Qwen3.8 Max (0902)
LegalBench (Vals AI)83.9%83.6%Claude Sonnet 5
CorpFin (Vals AI)67.0%65.8%Claude Sonnet 5
TaxEval (Vals AI)75.6%75.5%Claude Sonnet 5
MortgageTax (Vals AI)70.0%64.0%Claude Sonnet 5
MedCode (Vals AI)47.5%40.7%Claude Sonnet 5
SimpleQA Verified33.7%47.3%Qwen3.8 Max (0902)
LMArena Text: science14601512Qwen3.8 Max (0902)
LMArena Text: medicine and healthcare14421503Qwen3.8 Max (0902)
LMArena Text: legal and government14541492Qwen3.8 Max (0902)
LMArena Text: business and finance14361480Qwen3.8 Max (0902)
Neither model has a result on the other 7 boards here
Web designLike-for-likePublic boards, shown as published, kept out of the index26
Web design benchmarks for Claude Sonnet 5 and Qwen3.8 Max (0902)
BenchmarkClaude Sonnet 5Qwen3.8 Max (0902)Leader
Design Arena: websites12741275Qwen3.8 Max (0902)
Design Arena: UI components12771338Qwen3.8 Max (0902)
Design Arena: game dev12771312Qwen3.8 Max (0902)
Design Arena: data viz12511281Qwen3.8 Max (0902)
Design Arena: 3D12611336Qwen3.8 Max (0902)
Design Arena: all code categories12751293Qwen3.8 Max (0902)
Design Arena: SVG1192Not measuredOnly Claude Sonnet 5 measured
Design Arena: ASCII art12071200Claude Sonnet 5
LiveBench design82.0%78.6%Claude Sonnet 5
GeneralLike-for-likePublic boards, shown as published, kept out of the index427
General benchmarks for Claude Sonnet 5 and Qwen3.8 Max (0902)
BenchmarkClaude Sonnet 5Qwen3.8 Max (0902)Leader
LiveBench data analysis71.7%78.4%Qwen3.8 Max (0902)
Public Benefits Bench (Vals AI)66.0%67.1%Qwen3.8 Max (0902)
SAGE (Vals AI)48.9%51.2%Qwen3.8 Max (0902)
MedScribe (Vals AI)76.0%85.0%Qwen3.8 Max (0902)
Vals Multimodal Index68.8%65.4%Claude Sonnet 5
Long context reasoning (AA-LCR)82.0%80.3%Claude Sonnet 5
DTBench92.5%92.0%Claude Sonnet 5
LMCA50.0%46.2%Claude Sonnet 5
Surface Evolver Bench60.0%Not measuredOnly Claude Sonnet 5 measured
Furniture assemblyNot measured20.0%Only Qwen3.8 Max (0902) measured
LMArena Text14421483Qwen3.8 Max (0902)
LMArena Text: instruction following14521481Qwen3.8 Max (0902)
LMArena Text: creative writing14161477Qwen3.8 Max (0902)
LMArena Vision12731313Qwen3.8 Max (0902)
LMArena Text: English14501491Qwen3.8 Max (0902)
LMArena Text: non-English14311473Qwen3.8 Max (0902)
LMArena Text: Chinese14781539Qwen3.8 Max (0902)
LMArena Text: German14421478Qwen3.8 Max (0902)
LMArena Text: Japanese14221473Qwen3.8 Max (0902)
LMArena Text: Korean14121460Qwen3.8 Max (0902)
LMArena Text: French14631498Qwen3.8 Max (0902)
LMArena Text: Spanish14381489Qwen3.8 Max (0902)
LMArena Text: Russian14501482Qwen3.8 Max (0902)
LMArena Text: Polish14251471Qwen3.8 Max (0902)
LMArena Text: multi-turn14531489Qwen3.8 Max (0902)
LMArena Text: longer queries14621488Qwen3.8 Max (0902)
LMArena Text: writing and language14361477Qwen3.8 Max (0902)
LMArena Text: entertainment and media14111464Qwen3.8 Max (0902)
LMArena Vision: English12751311Qwen3.8 Max (0902)
LMArena Vision: Chinese13311358Qwen3.8 Max (0902)
LMArena Vision: reading text12881322Qwen3.8 Max (0902)
LMArena Vision: humor12611304Qwen3.8 Max (0902)
LMArena Vision: creative writing12461312Qwen3.8 Max (0902)
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 Qwen3.8 Max (0902)
BenchmarkClaude Sonnet 5Qwen3.8 Max (0902)Leader
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
Qwen3.8 Max (0902)$0.0050Fits in one request

Qwen3.8 Max (0902) costs less

Repository review

50K input + 3K output tokens

Claude Sonnet 5$0.130Fits in one request
Qwen3.8 Max (0902)$0.118Fits in one request

Qwen3.8 Max (0902) costs less

Agent loop

200K input + 10K output tokens

Claude Sonnet 5$0.500Fits in one request
Qwen3.8 Max (0902)$0.460Fits in one request

Qwen3.8 Max (0902) 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 Qwen3.8 Max (0902)
SpecificationAnthropic Claude Sonnet 5Qwen3.8 Max (0902)
MakerAnthropicQwen
WeightsNo public weights listedNo public weights listed
ReleasedJune 30, 2026September 3, 2026
Context window1M1M
Input $/Mtok$2.00$2.00
Output $/Mtok$10.00$6.00
Coding index57.762.4
Independent measurements behind it65
Cost per solved task$1.87$1.32
SourceOpenRouter listingOpenRouter listing

Questions

Is Claude Sonnet 5 better than Qwen3.8 Max (0902) for coding?

Pick Qwen3.8 Max (0902) for coding: it scores 62.4 on the Vibe Coding Index against 57.7 for Claude Sonnet 5, though on 5 benchmarks against 6. Pick Claude Sonnet 5 for work measured by LiveBench coding or Vibe Code Bench (Vals AI), where it leads.

Which is cheaper, Claude Sonnet 5 or Qwen3.8 Max (0902)?

Claude Sonnet 5 costs $2.00 per million input tokens and $10.00 per million output tokens; Qwen3.8 Max (0902) costs $2.00 and $6.00. Per solved SWE-bench Verified task, Claude Sonnet 5 costs $1.87 and Qwen3.8 Max (0902) $1.32.

Which has the bigger context window, Claude Sonnet 5 or Qwen3.8 Max (0902)?

Neither: both take 1M tokens.

How many benchmarks is the Claude Sonnet 5 vs Qwen3.8 Max (0902) comparison based on?

108 benchmarks have a result for both models as of October 22, 2026. Claude Sonnet 5's coding index rests on 6 independent benchmarks and Qwen3.8 Max (0902)'s on 5. 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-qwen3-8-max-0902" title="Claude Sonnet 5 vs Qwen3.8 Max (0902), 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-qwen3-8-max-0902">LLMBenchmark.ai, Claude Sonnet 5 vs Qwen3.8 Max (0902)</a></p>