Enter opens the highlighted result. Esc closes.

Claude Sonnet 4.5 vs DeepSeek V4.1 Flash

DeepSeek V4.1 Flash leads Claude Sonnet 4.5 on coding, 62.5 to 39.5 on the Vibe Coding Index, and DeepSeek V4.1 Flash costs 17.9x less per output token ($0.84 vs $15.00 per million). Updated October 22, 2026; 58 benchmarks have a result for both.

Claude Sonnet 4.5Anthropic
Coding
39.5
Overall
49.5
Output $/M
$15.00
6
DeepSeek V4.1 FlashDeepSeek
Coding
62.5
Overall
62.4
Output $/M
$0.84
52
vs boards won of 58 shared

Claude Sonnet 4.5 or DeepSeek V4.1 Flash: which to pick

Pick DeepSeek V4.1 Flash for coding: it scores 62.5 on the Vibe Coding Index against 39.5 for Claude Sonnet 4.5.

Pick Claude Sonnet 4.5 for work measured by LegalBench (Vals AI) or MedCode (Vals AI), where it leads.

Shared results
58
Claude Sonnet 4.5 only
37
DeepSeek V4.1 Flash only
43
Like-for-like categories
7 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.5 39.5 from 3 benchmarks, DeepSeek V4.1 Flash 62.5 from 5 benchmarks.
Widest category
Coding, 28.3 points apart on average over 6 shared benchmarks.
Widest single gap
Vibe Code Bench (Vals AI): Claude Sonnet 4.5 22.6% against DeepSeek V4.1 Flash 84.7%, 62.1 points apart on a 0 to 100 scale.
Output price
Claude Sonnet 4.5 $15.00 against DeepSeek V4.1 Flash $0.84 per million output tokens, 17.9x apart.
Context window
Claude Sonnet 4.5 takes 1M tokens, DeepSeek V4.1 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 4.5BarsDeepSeek V4.1 FlashTies
Coding06
Intelligence02
Reasoning08
Math06
Knowledge34
Web design08
General318
All shared boards652
CodingLike-for-likeSix of these boards feed the Vibe Coding Index06
Coding benchmarks for Claude Sonnet 4.5 and DeepSeek V4.1 Flash
BenchmarkClaude Sonnet 4.5DeepSeek V4.1 FlashLeader
SWE-bench Verified74.8%Not measuredOnly Claude Sonnet 4.5 measured
SWE-bench Multilingual67.0%Not measuredOnly Claude Sonnet 4.5 measured
LiveBench codingNot measured90.2%Only DeepSeek V4.1 Flash measured
LMArena WebDev13941618DeepSeek V4.1 Flash
AA Coding Index52.1Not measuredOnly Claude Sonnet 4.5 measured
LiveCodeBench (Vals AI)73.0%Not measuredOnly Claude Sonnet 4.5 measured
SWE-bench Verified (Vals AI)70.0%Not measuredOnly Claude Sonnet 4.5 measured
Terminal-Bench 4 (Vals AI)Not measured19.7%Only DeepSeek V4.1 Flash measured
Vibe Code Bench (Vals AI)22.6%84.7%DeepSeek V4.1 Flash
Code migration (Vals AI)Not measured45.6%Only DeepSeek V4.1 Flash measured
ProgramBench (Vals AI)Not measured0.5%Only DeepSeek V4.1 Flash measured
IOI (Vals AI)Not measured40.3%Only DeepSeek V4.1 Flash measured
Terminal-Bench 2.1 (Vals AI)Not measured74.5%Only DeepSeek V4.1 Flash measured
SWE-bench Multimodal (Vals AI)Not measured46.5%Only DeepSeek V4.1 Flash measured
Vibe Code Bench 1-100 (Vals AI)Not measured16.4%Only DeepSeek V4.1 Flash measured
SkillsBench (Vals AI)Not measured69.8%Only DeepSeek V4.1 Flash measured
CyberBench (Vals AI)Not measured73.7%Only DeepSeek V4.1 Flash measured
SciCodeNot measured51.9%Only DeepSeek V4.1 Flash measured
Terminal-Bench46.5%Not measuredOnly Claude Sonnet 4.5 measured
FrontierCodeNot measured43.9%Only DeepSeek V4.1 Flash measured
GSO-Bench14.7%Not measuredOnly Claude Sonnet 4.5 measured
WeirdML47.7%Not measuredOnly Claude Sonnet 4.5 measured
Cybench60.0%Not measuredOnly Claude Sonnet 4.5 measured
ALE-BenchNot measured1092.3Only DeepSeek V4.1 Flash measured
LMArena Text: coding14881502DeepSeek V4.1 Flash
LMArena Text: software and IT14731496DeepSeek V4.1 Flash
LMArena WebDev: React13861628DeepSeek V4.1 Flash
LMArena WebDev: HTML13991612DeepSeek V4.1 Flash
LMArena WebDev: from an imageNot measured1606Only DeepSeek V4.1 Flash measured
Neither model has a result on the other 10 boards here
IntelligenceLike-for-likePublic boards, shown as published, kept out of the index02
Intelligence benchmarks for Claude Sonnet 4.5 and DeepSeek V4.1 Flash
BenchmarkClaude Sonnet 4.5DeepSeek V4.1 FlashLeader
AA Intelligence Index20.724.7DeepSeek V4.1 Flash
Epoch Capabilities Index146.7155.9DeepSeek V4.1 Flash
Agentic workDirectional onlyPublic boards, shown as published, kept out of the index23 boards, none shared
Agentic work benchmarks for Claude Sonnet 4.5 and DeepSeek V4.1 Flash
BenchmarkClaude Sonnet 4.5DeepSeek V4.1 FlashLeader
AA Agentic Index15.8Not measuredOnly Claude Sonnet 4.5 measured
Design Arena: agents building web apps1060Not measuredOnly Claude Sonnet 4.5 measured
Design Arena: agents building full-stack apps1050Not measuredOnly Claude Sonnet 4.5 measured
Design Arena: agents building mobile apps1137Not measuredOnly Claude Sonnet 4.5 measured
LiveBench researchNot measured86.8%Only DeepSeek V4.1 Flash measured
LiveBench browserNot measured84.0%Only DeepSeek V4.1 Flash measured
LiveBench long agenticNot measured40.1%Only DeepSeek V4.1 Flash measured
SREBench (Vals AI)Not measured0.8%Only DeepSeek V4.1 Flash measured
Finance Agent (Vals AI)Not measured53.5%Only DeepSeek V4.1 Flash measured
Tax Agent Bench (Vals AI)Not measured26.6%Only DeepSeek V4.1 Flash measured
Legal Research Bench (Vals AI)Not measured41.4%Only DeepSeek V4.1 Flash measured
Excel Modeling Benchmark (Vals AI)Not measured57.2%Only DeepSeek V4.1 Flash measured
BioMysteryBench (Vals AI)Not measured67.8%Only DeepSeek V4.1 Flash measured
Terminal-Bench-Science (Vals AI)Not measured0.0%Only DeepSeek V4.1 Flash measured
Vals Science IndexNot measured29.6%Only DeepSeek V4.1 Flash measured
APEX-AgentsNot measured39.5%Only DeepSeek V4.1 Flash measured
METR time horizons67.4%Not measuredOnly Claude Sonnet 4.5 measured
Remote Labor Index2.1%Not measuredOnly Claude Sonnet 4.5 measured
GDPval42.5%Not measuredOnly Claude Sonnet 4.5 measured
DeepResearch Bench52.6%Not measuredOnly Claude Sonnet 4.5 measured
OSWorld62.9%Not measuredOnly Claude Sonnet 4.5 measured
Vending-Bench 2$3,839Not measuredOnly Claude Sonnet 4.5 measured
Berkeley Function Calling Leaderboard (BFCL)73.2%Not measuredOnly Claude Sonnet 4.5 measured
Neither model has a result on the other 18 boards here
ReasoningLike-for-likePublic boards, shown as published, kept out of the index08
Reasoning benchmarks for Claude Sonnet 4.5 and DeepSeek V4.1 Flash
BenchmarkClaude Sonnet 4.5DeepSeek V4.1 FlashLeader
GPQA Diamond81.6%Not measuredOnly Claude Sonnet 4.5 measured
LiveBench reasoningNot measured86.7%Only DeepSeek V4.1 Flash measured
MysteryMechanism (Vals AI)Not measured21.2%Only DeepSeek V4.1 Flash measured
MMMU Pro (Vals AI)79.3%Not measuredOnly Claude Sonnet 4.5 measured
Humanity's Last Exam (Artificial Analysis run)Not measured39.2%Only DeepSeek V4.1 Flash measured
GPQA Diamond (Epoch AI run)82.3%89.8%DeepSeek V4.1 Flash
ARC-AGI63.7%94.5%DeepSeek V4.1 Flash
ARC-AGI-213.6%72.9%DeepSeek V4.1 Flash
SimpleBench54.3%Not measuredOnly Claude Sonnet 4.5 measured
Chess puzzles10.0%48.0%DeepSeek V4.1 Flash
Mystery game puzzles17.0%43.0%DeepSeek V4.1 Flash
EBR-bench2.4%Not measuredOnly Claude Sonnet 4.5 measured
VPCT39.8%Not measuredOnly Claude Sonnet 4.5 measured
LMArena Text: hard prompts14621483DeepSeek V4.1 Flash
LMArena Text: expert14831501DeepSeek V4.1 Flash
LMArena Text: hard prompts in English14711488DeepSeek V4.1 Flash
LMArena Vision: diagramsNot measured1297Only DeepSeek V4.1 Flash measured
LMArena Vision: homeworkNot measured1307Only DeepSeek V4.1 Flash measured
Kagi LLM Benchmark57.9%Not measuredOnly Claude Sonnet 4.5 measured
Neither model has a result on the other 3 boards here
MathLike-for-likePublic boards, shown as published, kept out of the index06
Math benchmarks for Claude Sonnet 4.5 and DeepSeek V4.1 Flash
BenchmarkClaude Sonnet 4.5DeepSeek V4.1 FlashLeader
AIME88.2%Not measuredOnly Claude Sonnet 4.5 measured
MGSM (Vals AI)94.3%Not measuredOnly Claude Sonnet 4.5 measured
OTIS Mock AIME77.8%98.3%DeepSeek V4.1 Flash
FrontierMath, tiers 1 to 323.9%67.4%DeepSeek V4.1 Flash
FrontierMath, tier 42.4%26.8%DeepSeek V4.1 Flash
ProofBench19.0%54.0%DeepSeek V4.1 Flash
MATH level 597.7%Not measuredOnly Claude Sonnet 4.5 measured
LMArena Text: math14491478DeepSeek V4.1 Flash
LMArena Text: mathematical work14621485DeepSeek V4.1 Flash
Neither model has a result on the other 4 boards here
KnowledgeLike-for-likePublic boards, shown as published, kept out of the index34
Knowledge benchmarks for Claude Sonnet 4.5 and DeepSeek V4.1 Flash
BenchmarkClaude Sonnet 4.5DeepSeek V4.1 FlashLeader
MMLU Pro87.4%Not measuredOnly Claude Sonnet 4.5 measured
LegalBench (Vals AI)84.1%83.3%Claude Sonnet 4.5
CaseLaw (Vals AI)62.2%Not measuredOnly Claude Sonnet 4.5 measured
CorpFin (Vals AI)62.0%Not measuredOnly Claude Sonnet 4.5 measured
TaxEval (Vals AI)73.3%Not measuredOnly Claude Sonnet 4.5 measured
MortgageTax (Vals AI)64.0%Not measuredOnly Claude Sonnet 4.5 measured
MedQA (Vals AI)94.7%Not measuredOnly Claude Sonnet 4.5 measured
MedCode (Vals AI)44.1%41.2%Claude Sonnet 4.5
SimpleQA Verified30.7%42.9%DeepSeek V4.1 Flash
LMArena Text: science14481469DeepSeek V4.1 Flash
LMArena Text: medicine and healthcare14441484DeepSeek V4.1 Flash
LMArena Text: legal and government14511443Claude Sonnet 4.5
LMArena Text: business and finance14401461DeepSeek V4.1 Flash
FACTS Benchmark Suite40.6%Not measuredOnly Claude Sonnet 4.5 measured
Neither model has a result on the other 4 boards here
Web designLike-for-likePublic boards, shown as published, kept out of the index08
Web design benchmarks for Claude Sonnet 4.5 and DeepSeek V4.1 Flash
BenchmarkClaude Sonnet 4.5DeepSeek V4.1 FlashLeader
Design Arena: websites11891308DeepSeek V4.1 Flash
Design Arena: UI components11701312DeepSeek V4.1 Flash
Design Arena: game dev11661330DeepSeek V4.1 Flash
Design Arena: data viz11671291DeepSeek V4.1 Flash
Design Arena: 3D11571355DeepSeek V4.1 Flash
Design Arena: all code categories11821320DeepSeek V4.1 Flash
Design Arena: SVG11151245DeepSeek V4.1 Flash
Design Arena: ASCII art12051265DeepSeek V4.1 Flash
LiveBench designNot measured79.2%Only DeepSeek V4.1 Flash measured
GeneralLike-for-likePublic boards, shown as published, kept out of the index318
General benchmarks for Claude Sonnet 4.5 and DeepSeek V4.1 Flash
BenchmarkClaude Sonnet 4.5DeepSeek V4.1 FlashLeader
LiveBench data analysisNot measured79.3%Only DeepSeek V4.1 Flash measured
Public Benefits Bench (Vals AI)Not measured64.3%Only DeepSeek V4.1 Flash measured
SAGE (Vals AI)36.1%47.9%DeepSeek V4.1 Flash
MedScribe (Vals AI)84.5%85.5%DeepSeek V4.1 Flash
Long context reasoning (AA-LCR)Not measured84.0%Only DeepSeek V4.1 Flash measured
DTBench83.2%89.9%DeepSeek V4.1 Flash
LMCA38.8%47.0%DeepSeek V4.1 Flash
Surface Evolver BenchNot measured46.3%Only DeepSeek V4.1 Flash measured
Furniture assemblyNot measured34.2%Only DeepSeek V4.1 Flash measured
LMArena Text14381464DeepSeek V4.1 Flash
LMArena Text: instruction following14591473DeepSeek V4.1 Flash
LMArena Text: creative writing14421437Claude Sonnet 4.5
LMArena VisionNot measured1278Only DeepSeek V4.1 Flash measured
LMArena Text: English14501473DeepSeek V4.1 Flash
LMArena Text: non-English14251449DeepSeek V4.1 Flash
LMArena Text: Chinese14601501DeepSeek V4.1 Flash
LMArena Text: German14271470DeepSeek V4.1 Flash
LMArena Text: Japanese13901432DeepSeek V4.1 Flash
LMArena Text: Korean14021436DeepSeek V4.1 Flash
LMArena Text: French14591465DeepSeek V4.1 Flash
LMArena Text: Spanish14581459DeepSeek V4.1 Flash
LMArena Text: Russian14371467DeepSeek V4.1 Flash
LMArena Text: Polish14231457DeepSeek V4.1 Flash
LMArena Text: multi-turn14651461Claude Sonnet 4.5
LMArena Text: longer queries14751473Claude Sonnet 4.5
LMArena Text: writing and language14421450DeepSeek V4.1 Flash
LMArena Text: entertainment and media14281445DeepSeek V4.1 Flash
LMArena Vision: EnglishNot measured1288Only DeepSeek V4.1 Flash measured
LMArena Vision: ChineseNot measured1327Only DeepSeek V4.1 Flash measured
LMArena Vision: reading textNot measured1282Only DeepSeek V4.1 Flash measured
LMArena Vision: humorNot measured1260Only DeepSeek V4.1 Flash measured
LMArena Vision: creative writingNot measured1275Only DeepSeek V4.1 Flash measured
LMArena Document1450Not measuredOnly Claude Sonnet 4.5 measured
Neither model has a result on the other 13 boards here
Image generationNot comparablePublic boards, shown as published, kept out of the index0 boards, none shared
Image generation benchmarks for Claude Sonnet 4.5 and DeepSeek V4.1 Flash
BenchmarkClaude Sonnet 4.5DeepSeek V4.1 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 4.5$0.011Fits in one request
DeepSeek V4.1 Flash$0.0006Fits in one request

DeepSeek V4.1 Flash costs less

Repository review

50K input + 3K output tokens

Claude Sonnet 4.5$0.195Fits in one request
DeepSeek V4.1 Flash$0.014Fits in one request

DeepSeek V4.1 Flash costs less

Agent loop

200K input + 10K output tokens

Claude Sonnet 4.5$0.750Fits in one request
DeepSeek V4.1 Flash$0.053Fits in one request

DeepSeek V4.1 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 4.5 and DeepSeek V4.1 Flash
SpecificationAnthropic Claude Sonnet 4.5DeepSeek V4.1 Flash
MakerAnthropicDeepSeek
WeightsNo public weights listedOpen weights
ReleasedSeptember 29, 2025September 10, 2026
Context window1M1.05M
Input $/Mtok$3.00$0.2225
Output $/Mtok$15.00$0.84
Coding index39.562.5
Independent measurements behind it35
Cost per solved task$1.16Not computable
SourceOpenRouter listingOpenRouter listing

Questions

Is Claude Sonnet 4.5 better than DeepSeek V4.1 Flash for coding?

Pick DeepSeek V4.1 Flash for coding: it scores 62.5 on the Vibe Coding Index against 39.5 for Claude Sonnet 4.5. Pick Claude Sonnet 4.5 for work measured by LegalBench (Vals AI) or MedCode (Vals AI), where it leads.

Which is cheaper, Claude Sonnet 4.5 or DeepSeek V4.1 Flash?

Claude Sonnet 4.5 costs $3.00 per million input tokens and $15.00 per million output tokens; DeepSeek V4.1 Flash costs $0.2225 and $0.84. Cost per solved task is known for Claude Sonnet 4.5 only.

Which has the bigger context window, Claude Sonnet 4.5 or DeepSeek V4.1 Flash?

DeepSeek V4.1 Flash, with 1.05M tokens against 1M.

How many benchmarks is the Claude Sonnet 4.5 vs DeepSeek V4.1 Flash comparison based on?

58 benchmarks have a result for both models as of October 22, 2026. Claude Sonnet 4.5's coding index rests on 3 independent benchmarks and DeepSeek V4.1 Flash'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-4-5-vs-deepseek-v4-1-flash" title="Claude Sonnet 4.5 vs DeepSeek V4.1 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-4-5-vs-deepseek-v4-1-flash">LLMBenchmark.ai, Claude Sonnet 4.5 vs DeepSeek V4.1 Flash</a></p>