Skip to main content

Claude Sonnet 5vs.Qwen 3.8 27B

Which one is better?

Claude Sonnet 5 is clearly ahead in the overall index, but costs 50 times (input) and 4 times (output) as much per token.

IntelligenceOverall index, 0 to 100 · higher is better
29

Claude Sonnet 5

Rank 35 to 43

11

Qwen 3.8 27B

Rank 44 to 57

SpeedTokens per second · higher is better
86

Claude Sonnet 5

fairly slow

40

Qwen 3.8 27B

slow

PriceDollars per 1M tokens · lower is better
$4

Claude Sonnet 5

fairly expensive

$0.66

Qwen 3.8 27B

fairly cheap

Claude Sonnet 5

Subscription

At Anthropic from €21.42 a month (Claude Pro). Through other providers from ≈ €6.36 a month (ElevenLabs Starter, with limited credits). 57 plans in Germany.

Via API

$2 input, $10 output per 1M tokens according to the provider; the price index has listed it at $2.20 and $11 since Oct 15, 2026.

Note
There is a successor: Claude Sonnet 5.5 (rank 2 to 6, same price).

Qwen 3.8 27B

Subscription

No Alibaba subscription includes this model. Through other providers from ≈ €1.06 a month (Command Code Go, with limited credits). 10 plans in Germany.

Via API

$0.04 input, $2.50 output per 1M tokens according to the provider; the price index has listed it at $0.42 and $3 since Oct 27, 2026.

Overall index with data through Oct 29, 2026 · Prices from Oct 29, 2026 · Speed: measured by Artificial Analysis · Subscriptions as of Oct 24, 2026 · Subscription prices incl. VAT

Where is the difference?

Values from 0 to 100 per task area. We only name a winner when the gap is large enough and there are enough tests.

Sonnet 5 ahead: 6Qwen 3.8 27B ahead: 0level: 3too little data: 1of 10 areas

Sonnet 5Qwen 3.8 27B0 to 100, higher is better
Areas in the overall index
CodingSonnet 5 aheadSonnet 5: 34Qwen 3.8 27B: 13
ReasoninglevelSonnet 5: 27Qwen 3.8 27B: 6
MathematicsSonnet 5 aheadSonnet 5: 32Qwen 3.8 27B: 8
KnowledgeSonnet 5 aheadSonnet 5: 15Qwen 3.8 27B: 5
AgentslevelSonnet 5: 36Qwen 3.8 27B: 21
Generalonly Sonnet 5 has a scoreSonnet 5: 20Qwen 3.8 27B: not enough data
MultimodalSonnet 5 aheadSonnet 5: 23Qwen 3.8 27B: 13
Specialist fields
FinanceSonnet 5 aheadSonnet 5: 55Qwen 3.8 27B: 34
LegalSonnet 5 aheadSonnet 5: 42Qwen 3.8 27B: 23
HealthlevelSonnet 5: 24Qwen 3.8 27B: 3
Show 2 more areas that do not count toward the overall index
Sonnet 5Qwen 3.8 27B0 to 100, higher is better
Cybersecuritytoo little dataSonnet 5: 28Qwen 3.8 27B: 19
Productivityonly Sonnet 5 has a scoreSonnet 5: 48Qwen 3.8 27B: not enough data

See for yourself: same task, one attempt

The same prompt for both models. We show the latest attempt without fixes; it does not count toward the overall index.

Pelican on a bicycle

A community classic for free-form SVG drawing.

Claude Sonnet 5

Claude Sonnet 5: Pelican on a bicycle
A community classic for free-form SVG drawing.

Reasoning (requested): high

Current attempt
Run date
Sep 7, 2026
API provider
openrouter
Requested API model
anthropic/claude-sonnet-5
API model reported in response
anthropic/claude-sonnet-5
Reasoning setting
high
Pinned endpoint
Anthropic | anthropic/claude-sonnet-5-20260630
Temperature
Provider default
Token limit including reasoning
8,192 tokens
Test protocol
community-visual-tests-v1
Technical checks
Passed, not a quality rating
Response time
47.9 s

Visually reviewed. This individual test does not establish overall model quality.

Qwen 3.8 27B

Not tested yet

Prompt and test conditions

Generate an SVG of a pelican riding a bicycle

Token limit including reasoning: 8,192 tokens

Task origin (Simon Willison)
SVG short test

SVG short test

One SVG task with the same fixed settings for every model, without hidden thinking.

Shared test round: 43b8c5c46830

Claude Sonnet 5

Unavailable in this round

Qwen 3.8 27B

Qwen 3.8 27B: SVG short test
Test run: Oct 14, 2026 · alibaba
Test detailsAPI reports 0 reasoning tokensAPI model: qwen/qwen3.8-27b865 output tokens

All data side by side

The better value is bold. For the overall index only when the gap is clear.

MetricClaude Sonnet 5Qwen 3.8 27B
Intelligence
Overall index0 to 100, higher is better2911
RankRank 35 to 43 of 95Rank 44 to 57 of 95
Price per 1M tokens
Inputwhat you send$2$0.04
Outputwhat the model writes$10$2.50
Speed
Tokens per second8640
Technical
Context windowhow much text the model reads at once1 M tokens≈ 1,500 A4 pages262,144 tokens≈ 390 A4 pages
Knowledge cutoffJanuary 2026n/a
ReleasedJun 30, 2026Aug 14, 2026
AvailabilityActiveActive
Open weightsnoyes

Prices without caching or batch discounts · Page count as a rule of thumb from Artificial Analysis

Shared benchmarks

Single results from the same benchmark version, task and metric. A value is bold only with the same test setup and a clear gap.

A: Claude Sonnet 5B: Qwen 3.8 27B

Code MigrationOverall · higher is betterTest setup not documented as identicalClaude Sonnet 5: 44.4%Qwen 3.8 27B: 14.2%Vals AIAs of 10/18/2026
CritPt v2Overall · higher is betterClaude Sonnet 5: 4.6%Qwen 3.8 27B: 0.0%Artificial AnalysisAs of 10/29/2026
CyberBench v1.1Overall · higher is betterTest setup not documented as identicalClaude Sonnet 5: 61.9%Qwen 3.8 27B: 67.8%Vals AIAs of 10/20/2026
EMBOverall · higher is betterTest setup not documented as identicalClaude Sonnet 5: 66.3%Qwen 3.8 27B: 59.7%Vals AIAs of 10/20/2026
Finance Agent (v2)Overall · higher is betterTest setup not documented as identicalClaude Sonnet 5: 53.9%Qwen 3.8 27B: 48.6%Vals AIAs of 10/20/2026
GDPval-AAOverall · higher is betterClaude Sonnet 5: 1,076.24 eloQwen 3.8 27B: 1,370.88 eloArtificial AnalysisAs of 10/29/2026
GPQA DiamondOverall · higher is betterTest setup not documented as identicalClaude Sonnet 5: 88.9%Qwen 3.8 27B: 88.9%Vals AIAs of 09/01/2026
IOIOverall · higher is betterTest setup not documented as identicalClaude Sonnet 5: 45%Qwen 3.8 27B: 39.1%Vals AIAs of 10/24/2026
Legal Research BenchOverall · All-pass · higher is betterTest setup not documented as identicalClaude Sonnet 5: 41.8%Qwen 3.8 27B: 36.1%Vals AIAs of 10/26/2026
LegalBenchOverall · higher is betterTest setup not documented as identicalClaude Sonnet 5: 83.9%Qwen 3.8 27B: 82.4%Vals AIAs of 10/13/2026
Show 54 more benchmarks
LiveCodeBenchOverall · higher is betterTest setup not documented as identicalClaude Sonnet 5: 82.4%Qwen 3.8 27B: 84%Vals AIAs of 09/01/2026
MedCodeOverall · higher is betterTest setup not documented as identicalClaude Sonnet 5: 47.5%Qwen 3.8 27B: 28.7%Vals AIAs of 10/13/2026
MedScribeOverall · higher is betterTest setup not documented as identicalClaude Sonnet 5: 76.1%Qwen 3.8 27B: 83.8%Vals AIAs of 10/13/2026
MMLU ProOverall · higher is betterTest setup not documented as identicalClaude Sonnet 5: 87.5%Qwen 3.8 27B: 84.3%Vals AIAs of 09/01/2026
MMMU ProOverall · higher is betterTest setup not documented as identicalClaude Sonnet 5: 83%Qwen 3.8 27B: 83.9%Vals AIAs of 09/01/2026
MortgageTaxOverall · higher is betterTest setup not documented as identicalClaude Sonnet 5: 70%Qwen 3.8 27B: 64.9%Vals AIAs of 09/01/2026
ProgramBenchOverall · higher is betterTest setup not documented as identicalClaude Sonnet 5: 0%Qwen 3.8 27B: 0%Vals AIAs of 10/20/2026
ProofBench v1.1Overall · higher is betterTest setup not documented as identicalClaude Sonnet 5: 77%Qwen 3.8 27B: 16%Vals AIAs of 10/24/2026
SkillsBenchOverall · higher is betterTest setup not documented as identicalClaude Sonnet 5: 46.5%Qwen 3.8 27B: 38.1%Vals AIAs of 09/27/2026
SWE-bench VerifiedOverall · higher is betterTest setup not documented as identicalClaude Sonnet 5: 79.6%Qwen 3.8 27B: 86%Vals AIAs of 09/01/2026
Tax Agent BenchOverall · higher is betterTest setup not documented as identicalClaude Sonnet 5: 29.4%Qwen 3.8 27B: 30.9%Vals AIAs of 10/26/2026
TaxEval v2Overall · higher is betterTest setup not documented as identicalClaude Sonnet 5: 75.6%Qwen 3.8 27B: 70.9%Vals AIAs of 09/01/2026
Terminal-Bench 2.1Overall · higher is betterTest setup not documented as identicalClaude Sonnet 5: 74.5%Qwen 3.8 27B: 58.4%Vals AIAs of 10/01/2026
Terminal-Bench-ScienceOverall · higher is betterTest setup not documented as identicalClaude Sonnet 5: 5.7%Qwen 3.8 27B: 0%Vals AIAs of 10/25/2026
Vibe Code Bench v1.1Overall · higher is betterTest setup not documented as identicalClaude Sonnet 5: 81.3%Qwen 3.8 27B: 64.9%Vals AIAs of 10/26/2026
Code MigrationCLI · higher is betterTest setup not documented as identicalClaude Sonnet 5: 36.3%Qwen 3.8 27B: 2.2%Vals AIAs of 10/18/2026
CritPt v2Overall · higher is betterClaude Sonnet 5: 15.4%Qwen 3.8 27B: 5.4%Artificial AnalysisAs of 10/29/2026
CyberBench v1.1Patch · higher is betterTest setup not documented as identicalClaude Sonnet 5: 82.1%Qwen 3.8 27B: 83.9%Vals AIAs of 10/20/2026
EMBComps · higher is betterTest setup not documented as identicalClaude Sonnet 5: 69.4%Qwen 3.8 27B: 53.3%Vals AIAs of 10/20/2026
Finance Agent (v2)Adjustments · higher is betterTest setup not documented as identicalClaude Sonnet 5: 48.7%Qwen 3.8 27B: 47.3%Vals AIAs of 10/20/2026
GDPval-AAOverall · higher is betterClaude Sonnet 5: 1,366.65 eloQwen 3.8 27B: 1,427.26 eloArtificial AnalysisAs of 10/29/2026
GPQA DiamondFew-Shot CoT · higher is betterTest setup not documented as identicalClaude Sonnet 5: 87.4%Qwen 3.8 27B: 88.9%Vals AIAs of 09/01/2026
IOIIOI 2024 · higher is betterTest setup not documented as identicalClaude Sonnet 5: 50.5%Qwen 3.8 27B: 31.8%Vals AIAs of 10/24/2026
Legal Research BenchAdministrative / Regulatory · All-pass · higher is betterTest setup not documented as identicalClaude Sonnet 5: 54.5%Qwen 3.8 27B: 45.5%Vals AIAs of 10/26/2026
LegalBenchConclusion Tasks · higher is betterTest setup not documented as identicalClaude Sonnet 5: 89.6%Qwen 3.8 27B: 88.4%Vals AIAs of 10/13/2026
LiveCodeBenchEasy · higher is betterTest setup not documented as identicalClaude Sonnet 5: 98.4%Qwen 3.8 27B: 99.1%Vals AIAs of 09/01/2026
MMLU ProBiology · higher is betterTest setup not documented as identicalClaude Sonnet 5: 93.6%Qwen 3.8 27B: 91.5%Vals AIAs of 09/01/2026
MortgageTaxNumerical Extraction · higher is betterTest setup not documented as identicalClaude Sonnet 5: 78.7%Qwen 3.8 27B: 69.4%Vals AIAs of 09/01/2026
ProgramBenchAlmost Resolved · higher is betterTest setup not documented as identicalClaude Sonnet 5: 13.5%Qwen 3.8 27B: 1%Vals AIAs of 10/20/2026
SkillsBenchNo Skills · higher is betterTest setup not documented as identicalClaude Sonnet 5: 35.1%Qwen 3.8 27B: 19.1%Vals AIAs of 09/27/2026
SWE-bench Verified<15 min fix · higher is betterTest setup not documented as identicalClaude Sonnet 5: 83.5%Qwen 3.8 27B: 90.2%Vals AIAs of 09/01/2026
Tax Agent BenchControversy & Precedence Analysis · higher is betterTest setup not documented as identicalClaude Sonnet 5: 10%Qwen 3.8 27B: 6.7%Vals AIAs of 10/26/2026
TaxEval v2Correctness · higher is betterTest setup not documented as identicalClaude Sonnet 5: 64%Qwen 3.8 27B: 60.1%Vals AIAs of 09/01/2026
Terminal-Bench 2.1Easy · higher is betterTest setup not documented as identicalClaude Sonnet 5: 100%Qwen 3.8 27B: 50%Vals AIAs of 10/01/2026
Terminal-Bench-ScienceEarth Sciences · higher is betterTest setup not documented as identicalClaude Sonnet 5: 0%Qwen 3.8 27B: 0%Vals AIAs of 10/25/2026
Code MigrationCOBOL · higher is betterTest setup not documented as identicalClaude Sonnet 5: 68.6%Qwen 3.8 27B: 50%Vals AIAs of 10/18/2026
CritPt v2Overall · higher is betterClaude Sonnet 5: 8.6%Qwen 3.8 27B: 0.0%Artificial AnalysisAs of 10/29/2026
CyberBench v1.1PoC · higher is betterTest setup not documented as identicalClaude Sonnet 5: 41.7%Qwen 3.8 27B: 51.7%Vals AIAs of 10/20/2026
EMBDataroom · higher is betterTest setup not documented as identicalClaude Sonnet 5: 84.9%Qwen 3.8 27B: 79.7%Vals AIAs of 10/20/2026
Finance Agent (v2)All-Pass · higher is betterTest setup not documented as identicalClaude Sonnet 5: 42.1%Qwen 3.8 27B: 36.8%Vals AIAs of 10/20/2026
GDPval-AAOverall · higher is betterClaude Sonnet 5: 1,167.05 eloQwen 3.8 27B: 1,389.29 eloArtificial AnalysisAs of 10/29/2026
GPQA DiamondZero-Shot CoT · higher is betterTest setup not documented as identicalClaude Sonnet 5: 90.4%Qwen 3.8 27B: 88.9%Vals AIAs of 09/01/2026
IOIIOI 2025 · higher is betterTest setup not documented as identicalClaude Sonnet 5: 42%Qwen 3.8 27B: 48.5%Vals AIAs of 10/24/2026
Legal Research BenchAdministrative / Regulatory · Weighted partial credit · higher is betterTest setup not documented as identicalClaude Sonnet 5: 87.8%Qwen 3.8 27B: 88.5%Vals AIAs of 10/26/2026
LegalBenchInterpretation Tasks · higher is betterTest setup not documented as identicalClaude Sonnet 5: 81.4%Qwen 3.8 27B: 82%Vals AIAs of 10/13/2026
LiveCodeBenchHard · higher is betterTest setup not documented as identicalClaude Sonnet 5: 66.9%Qwen 3.8 27B: 65.7%Vals AIAs of 09/01/2026
MMLU ProBusiness · higher is betterTest setup not documented as identicalClaude Sonnet 5: 91.6%Qwen 3.8 27B: 90.2%Vals AIAs of 09/01/2026
MortgageTaxSemantic Extraction · higher is betterTest setup not documented as identicalClaude Sonnet 5: 61.4%Qwen 3.8 27B: 60.5%Vals AIAs of 09/01/2026
ProgramBenchFully Resolved · higher is betterTest setup not documented as identicalClaude Sonnet 5: 0%Qwen 3.8 27B: 0%Vals AIAs of 10/20/2026
SkillsBenchWith Skills · higher is betterTest setup not documented as identicalClaude Sonnet 5: 46.5%Qwen 3.8 27B: 38.1%Vals AIAs of 09/27/2026
SWE-bench Verified>4 hours · higher is betterTest setup not documented as identicalClaude Sonnet 5: 66.7%Qwen 3.8 27B: 66.7%Vals AIAs of 09/01/2026
Tax Agent BenchControversy & Precedence Analysis · higher is betterTest setup not documented as identicalClaude Sonnet 5: 57.4%Qwen 3.8 27B: 48.3%Vals AIAs of 10/26/2026
TaxEval v2Stepwise Reasoning · higher is betterTest setup not documented as identicalClaude Sonnet 5: 87.2%Qwen 3.8 27B: 81.6%Vals AIAs of 09/01/2026
Terminal-Bench 2.1Hard · higher is betterTest setup not documented as identicalClaude Sonnet 5: 57.8%Qwen 3.8 27B: 43.3%Vals AIAs of 10/01/2026

Compare another matchup