Skip to main content

Claude Sonnet 5vs.DeepSeek V4.1 Flash 1017

Which one is better?

DeepSeek V4.1 Flash 1017 is clearly ahead in the overall index and is cheaper too: Claude Sonnet 5 costs 13.3 times (input) and 16.7 times (output) as much per token.

IntelligenceOverall index, 0 to 100 · higher is better
29

Claude Sonnet 5

Rank 35 to 43

64

DeepSeek V4.1 Flash 1017

Rank 14 to 22

SpeedTokens per second · higher is better
86

Claude Sonnet 5

fairly slow

178

DeepSeek V4.1 Flash 1017

fast

PriceDollars per 1M tokens · lower is better
$4

Claude Sonnet 5

fairly expensive

$0.26

DeepSeek V4.1 Flash 1017

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).

DeepSeek V4.1 Flash 1017

Subscription

No DeepSeek subscription includes this model. Through other providers from ≈ €6.36 a month (Token Plan Individual Lite, with limited credits). 7 plans in Germany.

Via API

$0.15 input, $0.60 output per 1M tokens according to the provider; the price index has listed it at $0.30 and $1 since Oct 26, 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: 0DeepSeek V4.1 Flash 1017 ahead: 5level: 1too little data: 4of 10 areas

Sonnet 5DeepSeek V4.1 Flash 10170 to 100, higher is better
Areas in the overall index
CodingDeepSeek V4.1 Flash 1017 aheadSonnet 5: 34DeepSeek V4.1 Flash 1017: 72
ReasoninglevelSonnet 5: 27DeepSeek V4.1 Flash 1017: 45
Mathematicsonly Sonnet 5 has a scoreSonnet 5: 32DeepSeek V4.1 Flash 1017: not enough data
Knowledgetoo little dataSonnet 5: 15DeepSeek V4.1 Flash 1017: 33
AgentsDeepSeek V4.1 Flash 1017 aheadSonnet 5: 36DeepSeek V4.1 Flash 1017: 75
Generalonly Sonnet 5 has a scoreSonnet 5: 20DeepSeek V4.1 Flash 1017: not enough data
MultimodalDeepSeek V4.1 Flash 1017 aheadSonnet 5: 23DeepSeek V4.1 Flash 1017: 55
Specialist fields
FinanceDeepSeek V4.1 Flash 1017 aheadSonnet 5: 55DeepSeek V4.1 Flash 1017: 69
LegalDeepSeek V4.1 Flash 1017 aheadSonnet 5: 42DeepSeek V4.1 Flash 1017: 76
Healthonly Sonnet 5 has a scoreSonnet 5: 24DeepSeek V4.1 Flash 1017: not enough data
Show 2 more areas that do not count toward the overall index
Sonnet 5DeepSeek V4.1 Flash 10170 to 100, higher is better
Cybersecurityonly Sonnet 5 has a scoreSonnet 5: 28DeepSeek V4.1 Flash 1017: not enough data
Productivityonly Sonnet 5 has a scoreSonnet 5: 48DeepSeek V4.1 Flash 1017: 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.

DeepSeek V4.1 Flash 1017

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

There is no shared test round for this selection. Results from different rounds are not mixed.

All data side by side

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

MetricClaude Sonnet 5DeepSeek V4.1 Flash 1017
Intelligence
Overall index0 to 100, higher is better2964
RankRank 35 to 43 of 95Rank 14 to 22 of 95
Price per 1M tokens
Inputwhat you send$2$0.15
Outputwhat the model writes$10$0.60
Speed
Tokens per second86178
Technical
Context windowhow much text the model reads at once1 M tokens≈ 1,500 A4 pages1.05 M tokens≈ 1,570 A4 pages
Knowledge cutoffJanuary 2026n/a
ReleasedJun 30, 2026Oct 17, 2026
AvailabilityActiveOpen Source
Open weightsnoyes
  • DeepSeek V4.1 Flash 1017: At peak times (Mon, Tue, Wed, Thu, Fri, 01:00-04:00 UTC; Mon, Tue, Wed, Thu, Fri, 06:00-10:00 UTC) the price is $0.30 input and $1.20 output per 1M tokens. The table shows the off-peak price.
  • DeepSeek V4.1 Flash 1017, Time-based API pricing: Off peak: $0.15 input, $0.60 output, and $0.003 cached input. Weekdays UTC 01:00-04:00 and 06:00-10:00: $0.30, $1.20, and $0.006. Chinese public holidays are excluded. Source

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: DeepSeek V4.1 Flash 1017

Code MigrationOverall · higher is betterTest setup not documented as identicalClaude Sonnet 5: 44.4%DeepSeek V4.1 Flash 1017: 44.2%Vals AIAs of 10/18/2026
CritPt v2Overall · higher is betterClaude Sonnet 5: 16.9%DeepSeek V4.1 Flash 1017: 24.0%Artificial AnalysisAs of 10/29/2026
EMBOverall · higher is betterTest setup not documented as identicalClaude Sonnet 5: 66.3%DeepSeek V4.1 Flash 1017: 61.8%Vals AIAs of 10/20/2026
Finance Agent (v2)Overall · higher is betterTest setup not documented as identicalClaude Sonnet 5: 53.9%DeepSeek V4.1 Flash 1017: 57%Vals AIAs of 10/20/2026
GDPval-AAOverall · higher is betterClaude Sonnet 5: 1,471.16 eloDeepSeek V4.1 Flash 1017: 1,745.77 eloArtificial AnalysisAs of 10/29/2026
Legal Research BenchOverall · All-pass · higher is betterTest setup not documented as identicalClaude Sonnet 5: 41.8%DeepSeek V4.1 Flash 1017: 45.2%Vals AIAs of 10/26/2026
LMArena Code Arena WebDevOverall · higher is betterTest setup not documented as identicalClaude Sonnet 5: 1,540DeepSeek V4.1 Flash 1017: 1,666LMArenaAs of 10/27/2026
MMMU-ProOverall · higher is betterClaude Sonnet 5: 77.3%DeepSeek V4.1 Flash 1017: 80.6%Artificial AnalysisAs of 10/29/2026
Tax Agent BenchOverall · higher is betterTest setup not documented as identicalClaude Sonnet 5: 29.4%DeepSeek V4.1 Flash 1017: 44.4%Vals AIAs of 10/26/2026
Terminal-Bench 4.0Overall · higher is betterTest setup not documented as identicalClaude Sonnet 5: 10.6%DeepSeek V4.1 Flash 1017: 31.8%Vals AIAs of 10/26/2026
Show 54 more benchmarks
Vibe Code Bench v1.1Overall · higher is betterTest setup not documented as identicalClaude Sonnet 5: 81.3%DeepSeek V4.1 Flash 1017: 87.7%Vals AIAs of 10/26/2026
Code MigrationCLI · higher is betterTest setup not documented as identicalClaude Sonnet 5: 36.3%DeepSeek V4.1 Flash 1017: 35.6%Vals AIAs of 10/18/2026
EMBComps · higher is betterTest setup not documented as identicalClaude Sonnet 5: 69.4%DeepSeek V4.1 Flash 1017: 49.8%Vals AIAs of 10/20/2026
Finance Agent (v2)Adjustments · higher is betterTest setup not documented as identicalClaude Sonnet 5: 48.7%DeepSeek V4.1 Flash 1017: 58.4%Vals AIAs of 10/20/2026
Legal Research BenchAdministrative / Regulatory · All-pass · higher is betterTest setup not documented as identicalClaude Sonnet 5: 54.5%DeepSeek V4.1 Flash 1017: 59.1%Vals AIAs of 10/26/2026
LMArena Code Arena WebDevHTML development · higher is betterTest setup not documented as identicalClaude Sonnet 5: 1,527DeepSeek V4.1 Flash 1017: 1,705LMArenaAs of 10/27/2026
Tax Agent BenchControversy & Precedence Analysis · higher is betterTest setup not documented as identicalClaude Sonnet 5: 10%DeepSeek V4.1 Flash 1017: 23.3%Vals AIAs of 10/26/2026
Terminal-Bench 4.0Hardware · higher is betterTest setup not documented as identicalClaude Sonnet 5: 0%DeepSeek V4.1 Flash 1017: 6.7%Vals AIAs of 10/26/2026
Code MigrationCOBOL · higher is betterTest setup not documented as identicalClaude Sonnet 5: 68.6%DeepSeek V4.1 Flash 1017: 70%Vals AIAs of 10/18/2026
EMBDataroom · higher is betterTest setup not documented as identicalClaude Sonnet 5: 84.9%DeepSeek V4.1 Flash 1017: 82.8%Vals AIAs of 10/20/2026
Finance Agent (v2)All-Pass · higher is betterTest setup not documented as identicalClaude Sonnet 5: 42.1%DeepSeek V4.1 Flash 1017: 45.2%Vals AIAs of 10/20/2026
Legal Research BenchAdministrative / Regulatory · Weighted partial credit · higher is betterTest setup not documented as identicalClaude Sonnet 5: 87.8%DeepSeek V4.1 Flash 1017: 91.3%Vals AIAs of 10/26/2026
LMArena Code Arena WebDevReact development · higher is betterTest setup not documented as identicalClaude Sonnet 5: 1,541DeepSeek V4.1 Flash 1017: 1,672LMArenaAs of 10/27/2026
Tax Agent BenchControversy & Precedence Analysis · higher is betterTest setup not documented as identicalClaude Sonnet 5: 57.4%DeepSeek V4.1 Flash 1017: 73.2%Vals AIAs of 10/26/2026
Terminal-Bench 4.0Media · higher is betterTest setup not documented as identicalClaude Sonnet 5: 8.3%DeepSeek V4.1 Flash 1017: 25%Vals AIAs of 10/26/2026
Code MigrationCode Quality · higher is betterTest setup not documented as identicalClaude Sonnet 5: 4.898 / 5DeepSeek V4.1 Flash 1017: 3.992 / 5Vals AIAs of 10/18/2026
EMBDCF · higher is betterTest setup not documented as identicalClaude Sonnet 5: 56.4%DeepSeek V4.1 Flash 1017: 53%Vals AIAs of 10/20/2026
Finance Agent (v2)Comparables · higher is betterTest setup not documented as identicalClaude Sonnet 5: 45.8%DeepSeek V4.1 Flash 1017: 47.5%Vals AIAs of 10/20/2026
Legal Research BenchBusiness & Commercial · All-pass · higher is betterTest setup not documented as identicalClaude Sonnet 5: 32.6%DeepSeek V4.1 Flash 1017: 44.2%Vals AIAs of 10/26/2026
LMArena Code Arena WebDevWeb development · higher is betterTest setup not documented as identicalClaude Sonnet 5: 1,540DeepSeek V4.1 Flash 1017: 1,666LMArenaAs of 10/27/2026
Tax Agent BenchCurrent & Temporal Analysis · higher is betterTest setup not documented as identicalClaude Sonnet 5: 30%DeepSeek V4.1 Flash 1017: 56.4%Vals AIAs of 10/26/2026
Terminal-Bench 4.0ML · higher is betterTest setup not documented as identicalClaude Sonnet 5: 18.2%DeepSeek V4.1 Flash 1017: 42.4%Vals AIAs of 10/26/2026
EMBLBO · higher is betterTest setup not documented as identicalClaude Sonnet 5: 60%DeepSeek V4.1 Flash 1017: 57.8%Vals AIAs of 10/20/2026
Finance Agent (v2)Disclosure Analysis · higher is betterTest setup not documented as identicalClaude Sonnet 5: 62.1%DeepSeek V4.1 Flash 1017: 66.3%Vals AIAs of 10/20/2026
Legal Research BenchBusiness & Commercial · Weighted partial credit · higher is betterTest setup not documented as identicalClaude Sonnet 5: 86.8%DeepSeek V4.1 Flash 1017: 87.8%Vals AIAs of 10/26/2026
Tax Agent BenchCurrent & Temporal Analysis · higher is betterTest setup not documented as identicalClaude Sonnet 5: 60%DeepSeek V4.1 Flash 1017: 75%Vals AIAs of 10/26/2026
Terminal-Bench 4.0Operations · higher is betterTest setup not documented as identicalClaude Sonnet 5: 11.1%DeepSeek V4.1 Flash 1017: 18.5%Vals AIAs of 10/26/2026
EMBM&A · higher is betterTest setup not documented as identicalClaude Sonnet 5: 75.8%DeepSeek V4.1 Flash 1017: 62.3%Vals AIAs of 10/20/2026
Finance Agent (v2)Earnings Analysis · higher is betterTest setup not documented as identicalClaude Sonnet 5: 72.6%DeepSeek V4.1 Flash 1017: 75.3%Vals AIAs of 10/20/2026
Legal Research BenchCivil Litigation · All-pass · higher is betterTest setup not documented as identicalClaude Sonnet 5: 44.4%DeepSeek V4.1 Flash 1017: 37%Vals AIAs of 10/26/2026
Tax Agent BenchFact-Pattern Analysis · higher is betterTest setup not documented as identicalClaude Sonnet 5: 27.1%DeepSeek V4.1 Flash 1017: 55.8%Vals AIAs of 10/26/2026
Terminal-Bench 4.0Science · higher is betterTest setup not documented as identicalClaude Sonnet 5: 11.9%DeepSeek V4.1 Flash 1017: 38.1%Vals AIAs of 10/26/2026
EMBMisc · higher is betterTest setup not documented as identicalClaude Sonnet 5: 52.3%DeepSeek V4.1 Flash 1017: 60.9%Vals AIAs of 10/20/2026
Finance Agent (v2)Financial Modeling · higher is betterTest setup not documented as identicalClaude Sonnet 5: 24.2%DeepSeek V4.1 Flash 1017: 22.8%Vals AIAs of 10/20/2026
Legal Research BenchCivil Litigation · Weighted partial credit · higher is betterTest setup not documented as identicalClaude Sonnet 5: 88.7%DeepSeek V4.1 Flash 1017: 84.9%Vals AIAs of 10/26/2026
Tax Agent BenchFact-Pattern Analysis · higher is betterTest setup not documented as identicalClaude Sonnet 5: 59.9%DeepSeek V4.1 Flash 1017: 72.5%Vals AIAs of 10/26/2026
Terminal-Bench 4.0Security · higher is betterTest setup not documented as identicalClaude Sonnet 5: 0%DeepSeek V4.1 Flash 1017: 26.7%Vals AIAs of 10/26/2026
EMBOperating · higher is betterTest setup not documented as identicalClaude Sonnet 5: 65.5%DeepSeek V4.1 Flash 1017: 66.1%Vals AIAs of 10/20/2026
Finance Agent (v2)General Qualitative Analysis · higher is betterTest setup not documented as identicalClaude Sonnet 5: 64.7%DeepSeek V4.1 Flash 1017: 74.1%Vals AIAs of 10/20/2026
Legal Research BenchConstitutional / Civil Rights · All-pass · higher is betterTest setup not documented as identicalClaude Sonnet 5: 44.7%DeepSeek V4.1 Flash 1017: 42.1%Vals AIAs of 10/26/2026
Tax Agent BenchForms & Filings · higher is betterTest setup not documented as identicalClaude Sonnet 5: 19.9%DeepSeek V4.1 Flash 1017: 33.3%Vals AIAs of 10/26/2026
Terminal-Bench 4.0Software · higher is betterTest setup not documented as identicalClaude Sonnet 5: 11.1%DeepSeek V4.1 Flash 1017: 37%Vals AIAs of 10/26/2026
EMBScratch · higher is betterTest setup not documented as identicalClaude Sonnet 5: 65%DeepSeek V4.1 Flash 1017: 68.5%Vals AIAs of 10/20/2026
Finance Agent (v2)General Quantitative Analysis · higher is betterTest setup not documented as identicalClaude Sonnet 5: 74.3%DeepSeek V4.1 Flash 1017: 79.2%Vals AIAs of 10/20/2026
Legal Research BenchConstitutional / Civil Rights · Weighted partial credit · higher is betterTest setup not documented as identicalClaude Sonnet 5: 87%DeepSeek V4.1 Flash 1017: 86.6%Vals AIAs of 10/26/2026
Tax Agent BenchForms & Filings · higher is betterTest setup not documented as identicalClaude Sonnet 5: 65.2%DeepSeek V4.1 Flash 1017: 79.4%Vals AIAs of 10/26/2026
EMBTemplate · higher is betterTest setup not documented as identicalClaude Sonnet 5: 68%DeepSeek V4.1 Flash 1017: 54.7%Vals AIAs of 10/20/2026
Finance Agent (v2)Market Analysis · higher is betterTest setup not documented as identicalClaude Sonnet 5: 64.1%DeepSeek V4.1 Flash 1017: 62.7%Vals AIAs of 10/20/2026
Legal Research BenchCriminal · All-pass · higher is betterTest setup not documented as identicalClaude Sonnet 5: 40.4%DeepSeek V4.1 Flash 1017: 35.1%Vals AIAs of 10/26/2026
Tax Agent BenchNumbers & Calculations · higher is betterTest setup not documented as identicalClaude Sonnet 5: 47%DeepSeek V4.1 Flash 1017: 45.7%Vals AIAs of 10/26/2026
Finance Agent (v2)Precedents · higher is betterTest setup not documented as identicalClaude Sonnet 5: 28.8%DeepSeek V4.1 Flash 1017: 26.5%Vals AIAs of 10/20/2026
Legal Research BenchCriminal · Weighted partial credit · higher is betterTest setup not documented as identicalClaude Sonnet 5: 84.1%DeepSeek V4.1 Flash 1017: 83.2%Vals AIAs of 10/26/2026
Tax Agent BenchNumbers & Calculations · higher is betterTest setup not documented as identicalClaude Sonnet 5: 70.6%DeepSeek V4.1 Flash 1017: 79.5%Vals AIAs of 10/26/2026
Legal Research BenchFamily · All-pass · higher is betterTest setup not documented as identicalClaude Sonnet 5: 18.2%DeepSeek V4.1 Flash 1017: 27.3%Vals AIAs of 10/26/2026

Compare another matchup