Enter opens the highlighted result. Esc closes.

Claude Sonnet 4.5 vs DeepSeek V4 Flash 0731

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

Claude Sonnet 4.5Anthropic
Coding
39.5
Overall
49.5
Output $/M
$15.00
7
DeepSeek V4 Flash 0731DeepSeek
Coding
51.8
Overall
55.2
Output $/M
$0.396
29
vs boards won of 36 shared

Claude Sonnet 4.5 or DeepSeek V4 Flash 0731: which to pick

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

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

Shared results
36
Claude Sonnet 4.5 only
59
DeepSeek V4 Flash 0731 only
19
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.5 39.5 from 3 benchmarks, DeepSeek V4 Flash 0731 51.8 from 4 benchmarks.
Widest category
Math, 27.3 points apart on average over 4 shared benchmarks.
Widest single gap
Vibe Code Bench (Vals AI): Claude Sonnet 4.5 22.6% against DeepSeek V4 Flash 0731 74.7%, 52.1 points apart on a 0 to 100 scale.
Output price
Claude Sonnet 4.5 $15.00 against DeepSeek V4 Flash 0731 $0.396 per million output tokens, 37.9x apart.
Context window
Claude Sonnet 4.5 takes 1M tokens, DeepSeek V4 Flash 0731 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 Flash 0731Ties
Coding05
Intelligence02
Agentic work01
Reasoning07
Math04
Knowledge51
Web design17
General12
All shared boards729
CodingLike-for-likeSix of these boards feed the Vibe Coding Index05
Coding benchmarks for Claude Sonnet 4.5 and DeepSeek V4 Flash 0731
BenchmarkClaude Sonnet 4.5DeepSeek V4 Flash 0731Leader
SWE-bench Verified74.8%Not measuredOnly Claude Sonnet 4.5 measured
SWE-bench Multilingual67.0%Not measuredOnly Claude Sonnet 4.5 measured
LMArena WebDev1394Not measuredOnly Claude Sonnet 4.5 measured
AA Coding Index52.169.1DeepSeek V4 Flash 0731
LiveCodeBench (Vals AI)73.0%87.3%DeepSeek V4 Flash 0731
SWE-bench Verified (Vals AI)70.0%88.8%DeepSeek V4 Flash 0731
Terminal-Bench 4 (Vals AI)Not measured18.7%Only DeepSeek V4 Flash 0731 measured
Vibe Code Bench (Vals AI)22.6%74.7%DeepSeek V4 Flash 0731
Code migration (Vals AI)Not measured38.6%Only DeepSeek V4 Flash 0731 measured
ProgramBench (Vals AI)Not measured0.0%Only DeepSeek V4 Flash 0731 measured
IOI (Vals AI)Not measured32.7%Only DeepSeek V4 Flash 0731 measured
Terminal-Bench 2.1 (Vals AI)Not measured67.0%Only DeepSeek V4 Flash 0731 measured
SkillsBench (Vals AI)Not measured50.7%Only DeepSeek V4 Flash 0731 measured
CyberBench (Vals AI)Not measured72.1%Only DeepSeek V4 Flash 0731 measured
SciCodeNot measured50.3%Only DeepSeek V4 Flash 0731 measured
Terminal-Bench46.5%Not measuredOnly Claude Sonnet 4.5 measured
FrontierCodeNot measured18.8%Only DeepSeek V4 Flash 0731 measured
GSO-Bench14.7%Not measuredOnly Claude Sonnet 4.5 measured
WeirdML47.7%63.0%DeepSeek V4 Flash 0731
Cybench60.0%Not measuredOnly Claude Sonnet 4.5 measured
ALE-BenchNot measured1306.1Only DeepSeek V4 Flash 0731 measured
LMArena Text: coding1488Not measuredOnly Claude Sonnet 4.5 measured
LMArena Text: software and IT1473Not measuredOnly Claude Sonnet 4.5 measured
LMArena WebDev: React1386Not measuredOnly Claude Sonnet 4.5 measured
LMArena WebDev: HTML1399Not measuredOnly Claude Sonnet 4.5 measured
Neither model has a result on the other 14 boards here
IntelligenceLike-for-likePublic boards, shown as published, kept out of the index02
Intelligence benchmarks for Claude Sonnet 4.5 and DeepSeek V4 Flash 0731
BenchmarkClaude Sonnet 4.5DeepSeek V4 Flash 0731Leader
AA Intelligence Index20.734.3DeepSeek V4 Flash 0731
Epoch Capabilities Index146.7154.8DeepSeek V4 Flash 0731
Agentic workLike-for-likePublic boards, shown as published, kept out of the index01
Agentic work benchmarks for Claude Sonnet 4.5 and DeepSeek V4 Flash 0731
BenchmarkClaude Sonnet 4.5DeepSeek V4 Flash 0731Leader
AA Agentic Index15.841.0DeepSeek V4 Flash 0731
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
Finance Agent (Vals AI)Not measured49.5%Only DeepSeek V4 Flash 0731 measured
Tax Agent Bench (Vals AI)Not measured28.1%Only DeepSeek V4 Flash 0731 measured
Legal Research Bench (Vals AI)Not measured30.3%Only DeepSeek V4 Flash 0731 measured
Excel Modeling Benchmark (Vals AI)Not measured57.0%Only DeepSeek V4 Flash 0731 measured
BioMysteryBench (Vals AI)Not measured64.4%Only DeepSeek V4 Flash 0731 measured
Terminal-Bench-Science (Vals AI)Not measured4.3%Only DeepSeek V4 Flash 0731 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 24 boards here
ReasoningLike-for-likePublic boards, shown as published, kept out of the index07
Reasoning benchmarks for Claude Sonnet 4.5 and DeepSeek V4 Flash 0731
BenchmarkClaude Sonnet 4.5DeepSeek V4 Flash 0731Leader
GPQA Diamond81.6%89.9%DeepSeek V4 Flash 0731
MMMU Pro (Vals AI)79.3%Not measuredOnly Claude Sonnet 4.5 measured
GPQA Diamond (Artificial Analysis run)Not measured90.8%Only DeepSeek V4 Flash 0731 measured
Humanity's Last Exam (Artificial Analysis run)Not measured38.6%Only DeepSeek V4 Flash 0731 measured
GPQA Diamond (Epoch AI run)82.3%91.0%DeepSeek V4 Flash 0731
ARC-AGI63.7%89.0%DeepSeek V4 Flash 0731
ARC-AGI-213.6%61.4%DeepSeek V4 Flash 0731
SimpleBench54.3%61.1%DeepSeek V4 Flash 0731
Chess puzzles10.0%32.0%DeepSeek V4 Flash 0731
Mystery game puzzles17.0%34.0%DeepSeek V4 Flash 0731
EBR-bench2.4%Not measuredOnly Claude Sonnet 4.5 measured
VPCT39.8%Not measuredOnly Claude Sonnet 4.5 measured
LMArena Text: hard prompts1462Not measuredOnly Claude Sonnet 4.5 measured
LMArena Text: expert1483Not measuredOnly Claude Sonnet 4.5 measured
LMArena Text: hard prompts in English1471Not measuredOnly Claude Sonnet 4.5 measured
Kagi LLM Benchmark57.9%Not measuredOnly Claude Sonnet 4.5 measured
Neither model has a result on the other 6 boards here
MathLike-for-likePublic boards, shown as published, kept out of the index04
Math benchmarks for Claude Sonnet 4.5 and DeepSeek V4 Flash 0731
BenchmarkClaude Sonnet 4.5DeepSeek V4 Flash 0731Leader
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%94.4%DeepSeek V4 Flash 0731
FrontierMath, tiers 1 to 323.9%57.5%DeepSeek V4 Flash 0731
FrontierMath, tier 42.4%24.4%DeepSeek V4 Flash 0731
ProofBench19.0%56.0%DeepSeek V4 Flash 0731
MATH level 597.7%Not measuredOnly Claude Sonnet 4.5 measured
LMArena Text: math1449Not measuredOnly Claude Sonnet 4.5 measured
LMArena Text: mathematical work1462Not measuredOnly Claude Sonnet 4.5 measured
Neither model has a result on the other 4 boards here
KnowledgeLike-for-likePublic boards, shown as published, kept out of the index51
Knowledge benchmarks for Claude Sonnet 4.5 and DeepSeek V4 Flash 0731
BenchmarkClaude Sonnet 4.5DeepSeek V4 Flash 0731Leader
MMLU Pro87.4%86.2%Claude Sonnet 4.5
LegalBench (Vals AI)84.1%77.7%Claude Sonnet 4.5
CaseLaw (Vals AI)62.2%Not measuredOnly Claude Sonnet 4.5 measured
CorpFin (Vals AI)62.0%61.9%Claude Sonnet 4.5
TaxEval (Vals AI)73.3%70.7%Claude Sonnet 4.5
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.4%Claude Sonnet 4.5
SimpleQA Verified30.7%33.6%DeepSeek V4 Flash 0731
LMArena Text: science1448Not measuredOnly Claude Sonnet 4.5 measured
LMArena Text: medicine and healthcare1444Not measuredOnly Claude Sonnet 4.5 measured
LMArena Text: legal and government1451Not measuredOnly Claude Sonnet 4.5 measured
LMArena Text: business and finance1440Not measuredOnly Claude Sonnet 4.5 measured
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 index17
Web design benchmarks for Claude Sonnet 4.5 and DeepSeek V4 Flash 0731
BenchmarkClaude Sonnet 4.5DeepSeek V4 Flash 0731Leader
Design Arena: websites11891237DeepSeek V4 Flash 0731
Design Arena: UI components11701233DeepSeek V4 Flash 0731
Design Arena: game dev11661207DeepSeek V4 Flash 0731
Design Arena: data viz11671180DeepSeek V4 Flash 0731
Design Arena: 3D11571208DeepSeek V4 Flash 0731
Design Arena: all code categories11821229DeepSeek V4 Flash 0731
Design Arena: SVG11151184DeepSeek V4 Flash 0731
Design Arena: ASCII art12051090Claude Sonnet 4.5
Neither model has a result on the other 1 board here
GeneralLike-for-likePublic boards, shown as published, kept out of the index12
General benchmarks for Claude Sonnet 4.5 and DeepSeek V4 Flash 0731
BenchmarkClaude Sonnet 4.5DeepSeek V4 Flash 0731Leader
SAGE (Vals AI)36.1%Not measuredOnly Claude Sonnet 4.5 measured
MedScribe (Vals AI)84.5%80.4%Claude Sonnet 4.5
Long context reasoning (AA-LCR)Not measured79.7%Only DeepSeek V4 Flash 0731 measured
DTBench83.2%90.9%DeepSeek V4 Flash 0731
LMCA38.8%41.7%DeepSeek V4 Flash 0731
LMArena Text1438Not measuredOnly Claude Sonnet 4.5 measured
LMArena Text: instruction following1459Not measuredOnly Claude Sonnet 4.5 measured
LMArena Text: creative writing1442Not measuredOnly Claude Sonnet 4.5 measured
LMArena Text: English1450Not measuredOnly Claude Sonnet 4.5 measured
LMArena Text: non-English1425Not measuredOnly Claude Sonnet 4.5 measured
LMArena Text: Chinese1460Not measuredOnly Claude Sonnet 4.5 measured
LMArena Text: German1427Not measuredOnly Claude Sonnet 4.5 measured
LMArena Text: Japanese1390Not measuredOnly Claude Sonnet 4.5 measured
LMArena Text: Korean1402Not measuredOnly Claude Sonnet 4.5 measured
LMArena Text: French1459Not measuredOnly Claude Sonnet 4.5 measured
LMArena Text: Spanish1458Not measuredOnly Claude Sonnet 4.5 measured
LMArena Text: Russian1437Not measuredOnly Claude Sonnet 4.5 measured
LMArena Text: Polish1423Not measuredOnly Claude Sonnet 4.5 measured
LMArena Text: multi-turn1465Not measuredOnly Claude Sonnet 4.5 measured
LMArena Text: longer queries1475Not measuredOnly Claude Sonnet 4.5 measured
LMArena Text: writing and language1442Not measuredOnly Claude Sonnet 4.5 measured
LMArena Text: entertainment and media1428Not measuredOnly Claude Sonnet 4.5 measured
LMArena Document1450Not measuredOnly Claude Sonnet 4.5 measured
Neither model has a result on the other 23 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 Flash 0731
BenchmarkClaude Sonnet 4.5DeepSeek V4 Flash 0731Leader
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 Flash 0731$0.0003Fits in one request

DeepSeek V4 Flash 0731 costs less

Repository review

50K input + 3K output tokens

Claude Sonnet 4.5$0.195Fits in one request
DeepSeek V4 Flash 0731$0.0082Fits in one request

DeepSeek V4 Flash 0731 costs less

Agent loop

200K input + 10K output tokens

Claude Sonnet 4.5$0.750Fits in one request
DeepSeek V4 Flash 0731$0.032Fits in one request

DeepSeek V4 Flash 0731 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 Flash 0731
SpecificationAnthropic Claude Sonnet 4.5DeepSeek V4 Flash 0731
MakerAnthropicDeepSeek
WeightsNo public weights listedOpen weights
ReleasedSeptember 29, 2025July 31, 2026
Context window1M1.05M
Input $/Mtok$3.00$0.14
Output $/Mtok$15.00$0.396
Coding index39.551.8
Independent measurements behind it34
Cost per solved task$1.16$0.01
SourceOpenRouter listingOpenRouter listing

Questions

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

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

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

Claude Sonnet 4.5 costs $3.00 per million input tokens and $15.00 per million output tokens; DeepSeek V4 Flash 0731 costs $0.14 and $0.396. Per solved SWE-bench Verified task, Claude Sonnet 4.5 costs $1.16 and DeepSeek V4 Flash 0731 $0.01.

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

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

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

36 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 Flash 0731'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-5-vs-deepseek-v4-flash-0731" title="Claude Sonnet 4.5 vs DeepSeek V4 Flash 0731, 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-flash-0731">LLMBenchmark.ai, Claude Sonnet 4.5 vs DeepSeek V4 Flash 0731</a></p>