Enter opens the highlighted result. Esc closes.

Claude Sonnet 4.6 vs Qwen3.8 27B

Qwen3.8 27B leads Claude Sonnet 4.6 on coding, 74.2 to 57.3 on the Vibe Coding Index, and Qwen3.8 27B costs 5.9x less per output token ($2.55 vs $15.00 per million). Updated October 22, 2026; 79 benchmarks have a result for both.

Claude Sonnet 4.6Anthropic
Coding
57.3
Overall
60.3
Output $/M
$15.00
50
Qwen3.8 27BQwen
Coding
74.2
Overall
59.6
Output $/M
$2.55
29
vs boards won of 79 shared

Claude Sonnet 4.6 or Qwen3.8 27B: which to pick

Pick Qwen3.8 27B for coding: it scores 74.2 on the Vibe Coding Index against 57.3 for Claude Sonnet 4.6, though on 4 benchmarks against 5.

Pick Claude Sonnet 4.6 for work measured by Code migration (Vals AI) or ProgramBench (Vals AI), where it leads.

Shared results
79
Claude Sonnet 4.6 only
39
Qwen3.8 27B only
6
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 4.6 57.3 from 5 benchmarks, Qwen3.8 27B 74.2 from 4 benchmarks.
Widest category
Math, 11.5 points apart on average over 3 shared benchmarks.
Widest single gap
LiveBench browser: Claude Sonnet 4.6 68.0% against Qwen3.8 27B 32.0%, 36.0 points apart on a 0 to 100 scale.
Output price
Claude Sonnet 4.6 $15.00 against Qwen3.8 27B $2.55 per million output tokens, 5.9x 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 4.6BarsQwen3.8 27BTies
Coding610
Intelligence11
Agentic work54
Reasoning75
Math30
Knowledge71
Web design01
General217
All shared boards5029
CodingLike-for-likeSix of these boards feed the Vibe Coding Index610
Coding benchmarks for Claude Sonnet 4.6 and Qwen3.8 27B
BenchmarkClaude Sonnet 4.6Qwen3.8 27BLeader
LiveBench coding66.6%86.8%Qwen3.8 27B
LMArena WebDev15231593Qwen3.8 27B
AA Coding Index63.068.1Qwen3.8 27B
LiveCodeBench (Vals AI)82.1%84.0%Qwen3.8 27B
SWE-bench Verified (Vals AI)77.4%86.0%Qwen3.8 27B
Vibe Code Bench (Vals AI)55.8%64.8%Qwen3.8 27B
Code migration (Vals AI)39.9%14.2%Claude Sonnet 4.6
ProgramBench (Vals AI)0.5%0.0%Claude Sonnet 4.6
IOI (Vals AI)Not measured39.1%Only Qwen3.8 27B measured
Terminal-Bench 2.1 (Vals AI)57.3%58.4%Qwen3.8 27B
SkillsBench (Vals AI)49.0%38.1%Claude Sonnet 4.6
CyberBench (Vals AI)Not measured67.8%Only Qwen3.8 27B measured
SciCode50.1%46.6%Claude Sonnet 4.6
Terminal-Bench Hard (Artificial Analysis run)53.0%Not measuredOnly Claude Sonnet 4.6 measured
Terminal-Bench53.4%Not measuredOnly Claude Sonnet 4.6 measured
FrontierCode24.3%Not measuredOnly Claude Sonnet 4.6 measured
WeirdML66.1%Not measuredOnly Claude Sonnet 4.6 measured
LMArena Text: coding15031483Claude Sonnet 4.6
LMArena Text: software and IT14911478Claude Sonnet 4.6
LMArena WebDev: React15121602Qwen3.8 27B
LMArena WebDev: HTML15271570Qwen3.8 27B
LMArena WebDev: from an image15291577Qwen3.8 27B
Neither model has a result on the other 17 boards here
IntelligenceLike-for-likePublic boards, shown as published, kept out of the index11
Intelligence benchmarks for Claude Sonnet 4.6 and Qwen3.8 27B
BenchmarkClaude Sonnet 4.6Qwen3.8 27BLeader
AA Intelligence Index30.133.7Qwen3.8 27B
Epoch Capabilities Index152.8151.7Claude Sonnet 4.6
Agentic workLike-for-likePublic boards, shown as published, kept out of the index54
Agentic work benchmarks for Claude Sonnet 4.6 and Qwen3.8 27B
BenchmarkClaude Sonnet 4.6Qwen3.8 27BLeader
AA Agentic Index31.845.8Qwen3.8 27B
Design Arena: agents building web apps1190Not measuredOnly Claude Sonnet 4.6 measured
Design Arena: agents building full-stack apps1213Not measuredOnly Claude Sonnet 4.6 measured
Design Arena: agents building mobile apps1212Not measuredOnly Claude Sonnet 4.6 measured
Design Arena: agents building Android apps1197Not measuredOnly Claude Sonnet 4.6 measured
Design Arena: agents building Godot games1226Not measuredOnly Claude Sonnet 4.6 measured
Design Arena: agents building games1177Not measuredOnly Claude Sonnet 4.6 measured
LiveBench research63.6%59.4%Claude Sonnet 4.6
LiveBench browser68.0%32.0%Claude Sonnet 4.6
LiveBench long agentic23.1%27.9%Qwen3.8 27B
Finance Agent (Vals AI)51.0%48.5%Claude Sonnet 4.6
Tax Agent Bench (Vals AI)25.8%30.9%Qwen3.8 27B
Legal Research Bench (Vals AI)38.5%36.1%Claude Sonnet 4.6
Excel Modeling Benchmark (Vals AI)60.2%59.7%Claude Sonnet 4.6
Terminal-Bench-Science (Vals AI)Not measured0.0%Only Qwen3.8 27B measured
τ²-Bench Telecom79.5%Not measuredOnly Claude Sonnet 4.6 measured
APEX-Agents43.0%47.5%Qwen3.8 27B
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,204Not measuredOnly Claude Sonnet 4.6 measured
Neither model has a result on the other 20 boards here
ReasoningLike-for-likePublic boards, shown as published, kept out of the index75
Reasoning benchmarks for Claude Sonnet 4.6 and Qwen3.8 27B
BenchmarkClaude Sonnet 4.6Qwen3.8 27BLeader
GPQA Diamond85.6%88.9%Qwen3.8 27B
LiveBench reasoning86.4%80.0%Claude Sonnet 4.6
MMMU Pro (Vals AI)83.6%83.9%Qwen3.8 27B
GPQA Diamond (Artificial Analysis run)87.5%90.5%Qwen3.8 27B
Humanity's Last Exam (Artificial Analysis run)33.6%33.9%Qwen3.8 27B
GPQA Diamond (Epoch AI run)87.4%Not measuredOnly Claude Sonnet 4.6 measured
ARC-AGI86.5%87.5%Qwen3.8 27B
ARC-AGI-260.4%42.4%Claude Sonnet 4.6
Chess puzzles23.0%Not measuredOnly Claude Sonnet 4.6 measured
Mystery game puzzles16.0%Not measuredOnly Claude Sonnet 4.6 measured
LMArena Text: hard prompts14851459Claude Sonnet 4.6
LMArena Text: expert15001479Claude Sonnet 4.6
LMArena Text: hard prompts in English14931461Claude Sonnet 4.6
LMArena Vision: diagrams13061285Claude Sonnet 4.6
LMArena Vision: homework13111295Claude Sonnet 4.6
Neither model has a result on the other 7 boards here
MathLike-for-likePublic boards, shown as published, kept out of the index30
Math benchmarks for Claude Sonnet 4.6 and Qwen3.8 27B
BenchmarkClaude Sonnet 4.6Qwen3.8 27BLeader
AIME92.3%Not measuredOnly Claude Sonnet 4.6 measured
OTIS Mock AIME85.8%Not measuredOnly Claude Sonnet 4.6 measured
ProofBench45.0%16.0%Claude Sonnet 4.6
LMArena Text: math14621455Claude Sonnet 4.6
LMArena Text: mathematical work14831458Claude 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 index71
Knowledge benchmarks for Claude Sonnet 4.6 and Qwen3.8 27B
BenchmarkClaude Sonnet 4.6Qwen3.8 27BLeader
MMLU Pro87.3%84.3%Claude Sonnet 4.6
LegalBench (Vals AI)82.1%82.4%Qwen3.8 27B
CaseLaw (Vals AI)64.0%Not measuredOnly Claude Sonnet 4.6 measured
CorpFin (Vals AI)65.3%Not measuredOnly Claude Sonnet 4.6 measured
TaxEval (Vals AI)77.1%70.8%Claude Sonnet 4.6
MortgageTax (Vals AI)67.7%64.9%Claude Sonnet 4.6
MedQA (Vals AI)92.1%Not measuredOnly Claude Sonnet 4.6 measured
MedCode (Vals AI)Not measured28.7%Only Qwen3.8 27B measured
SimpleQA Verified35.5%Not measuredOnly Claude Sonnet 4.6 measured
LMArena Text: science14741467Claude Sonnet 4.6
LMArena Text: medicine and healthcare14511437Claude Sonnet 4.6
LMArena Text: legal and government14701447Claude Sonnet 4.6
LMArena Text: business and finance14641438Claude Sonnet 4.6
FACTS Benchmark Suite37.0%Not measuredOnly Claude Sonnet 4.6 measured
Neither model has a result on the other 4 boards here
Web designLike-for-likePublic boards, shown as published, kept out of the index01
Web design benchmarks for Claude Sonnet 4.6 and Qwen3.8 27B
BenchmarkClaude Sonnet 4.6Qwen3.8 27BLeader
Design Arena: websites1284Not measuredOnly Claude Sonnet 4.6 measured
Design Arena: UI components1269Not measuredOnly Claude Sonnet 4.6 measured
Design Arena: game dev1258Not measuredOnly Claude Sonnet 4.6 measured
Design Arena: data viz1278Not measuredOnly Claude Sonnet 4.6 measured
Design Arena: 3D1234Not measuredOnly Claude Sonnet 4.6 measured
Design Arena: all code categories1275Not measuredOnly Claude Sonnet 4.6 measured
Design Arena: SVG1196Not measuredOnly Claude Sonnet 4.6 measured
Design Arena: ASCII art1235Not measuredOnly Claude Sonnet 4.6 measured
LiveBench design71.8%75.9%Qwen3.8 27B
GeneralLike-for-likePublic boards, shown as published, kept out of the index217
General benchmarks for Claude Sonnet 4.6 and Qwen3.8 27B
BenchmarkClaude Sonnet 4.6Qwen3.8 27BLeader
LiveBench data analysis76.1%76.6%Qwen3.8 27B
Public Benefits Bench (Vals AI)62.5%Not measuredOnly Claude Sonnet 4.6 measured
SAGE (Vals AI)46.6%52.4%Qwen3.8 27B
MedScribe (Vals AI)Not measured83.8%Only Qwen3.8 27B measured
Vals Multimodal Index60.6%Not measuredOnly Claude Sonnet 4.6 measured
IFBench56.6%Not measuredOnly Claude Sonnet 4.6 measured
Long context reasoning (AA-LCR)80.0%82.0%Qwen3.8 27B
DTBench89.9%88.0%Claude Sonnet 4.6
LMCA46.5%41.4%Claude Sonnet 4.6
Surface Evolver BenchNot measured45.0%Only Qwen3.8 27B measured
ExploitBench23.6%Not measuredOnly Claude Sonnet 4.6 measured
LMArena Text14581440Claude Sonnet 4.6
LMArena Text: instruction following14761436Claude Sonnet 4.6
LMArena Text: creative writing14351383Claude Sonnet 4.6
LMArena Vision12831269Claude Sonnet 4.6
LMArena Text: English14721448Claude Sonnet 4.6
LMArena Text: non-English14401428Claude Sonnet 4.6
LMArena Text: Chinese14911501Qwen3.8 27B
LMArena Text: German14281443Qwen3.8 27B
LMArena Text: Japanese14201387Claude Sonnet 4.6
LMArena Text: Korean14101384Claude Sonnet 4.6
LMArena Text: French14651465Qwen3.8 27B
LMArena Text: Spanish14641449Claude Sonnet 4.6
LMArena Text: Russian14401415Claude Sonnet 4.6
LMArena Text: Polish14431439Claude Sonnet 4.6
LMArena Text: multi-turn14641440Claude Sonnet 4.6
LMArena Text: longer queries14791448Claude Sonnet 4.6
LMArena Text: writing and language14441405Claude Sonnet 4.6
LMArena Text: entertainment and media14311393Claude Sonnet 4.6
LMArena Vision: English12981267Claude Sonnet 4.6
LMArena Vision: Chinese13071326Qwen3.8 27B
LMArena Vision: reading text12961281Claude Sonnet 4.6
LMArena Vision: humor12481235Claude Sonnet 4.6
LMArena Vision: recognizing things1195Not measuredOnly Claude Sonnet 4.6 measured
LMArena Vision: creative writing12721237Claude Sonnet 4.6
LMArena Document1482Not measuredOnly Claude Sonnet 4.6 measured
Neither model has a result on the other 10 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 Qwen3.8 27B
BenchmarkClaude Sonnet 4.6Qwen3.8 27BLeader
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
Qwen3.8 27B$0.0017Fits in one request

Qwen3.8 27B costs less

Repository review

50K input + 3K output tokens

Claude Sonnet 4.6$0.195Fits in one request
Qwen3.8 27B$0.029Fits in one request

Qwen3.8 27B costs less

Agent loop

200K input + 10K output tokens

Claude Sonnet 4.6$0.750Fits in one request
Qwen3.8 27B$0.111Fits in one request

Qwen3.8 27B 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 Qwen3.8 27B
SpecificationAnthropic Claude Sonnet 4.6Qwen3.8 27B
MakerAnthropicQwen
WeightsNo public weights listedOpen weights
ReleasedFebruary 17, 2026August 14, 2026
Context window1M1M
Input $/Mtok$3.00$0.425
Output $/Mtok$15.00$2.55
Coding index57.374.2
Independent measurements behind it54
Cost per solved task$1.68$1.26
SourceOpenRouter listingOpenRouter listing

Questions

Is Claude Sonnet 4.6 better than Qwen3.8 27B for coding?

Pick Qwen3.8 27B for coding: it scores 74.2 on the Vibe Coding Index against 57.3 for Claude Sonnet 4.6, though on 4 benchmarks against 5. Pick Claude Sonnet 4.6 for work measured by Code migration (Vals AI) or ProgramBench (Vals AI), where it leads.

Which is cheaper, Claude Sonnet 4.6 or Qwen3.8 27B?

Claude Sonnet 4.6 costs $3.00 per million input tokens and $15.00 per million output tokens; Qwen3.8 27B costs $0.425 and $2.55. Per solved SWE-bench Verified task, Claude Sonnet 4.6 costs $1.68 and Qwen3.8 27B $1.26.

Which has the bigger context window, Claude Sonnet 4.6 or Qwen3.8 27B?

Neither: both take 1M tokens.

How many benchmarks is the Claude Sonnet 4.6 vs Qwen3.8 27B comparison based on?

79 benchmarks have a result for both models as of October 22, 2026. Claude Sonnet 4.6's coding index rests on 5 independent benchmarks and Qwen3.8 27B's on 4. 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-qwen3-8-27b" title="Claude Sonnet 4.6 vs Qwen3.8 27B, 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-qwen3-8-27b">LLMBenchmark.ai, Claude Sonnet 4.6 vs Qwen3.8 27B</a></p>