Compare / head-to-head

Claude Sonnet 5vsDeepSeek V4 Flash

Claude Sonnet 5 leads 14 of 21 shared benchmarks. Both offer a 1M-token context window.

Benchmarks from cited public sources; pricing from official pages; status from official provider feeds.

Shared benchmarks
14 – 7
Claude Sonnet 5 leads
Cheaper per token
—
list price, input + output
Larger context
Tie
both 1M tokens
Providers
2 providers
Anthropic · DeepSeek
Claude Sonnet 5
Anthropic · released 2026-06-30
textvision
Context
1M
Max out
128K
Input /1M
$2 ↗
Output /1M
$10 ↗
Cached /1M
$0.2
Scores
36 · 12 core
DeepSeek V4 Flash
DeepSeek · released 2026-07-31
text
Context
1M
Max out
—
Input /1M
—
Output /1M
—
Cached /1M
—
Scores
28 · 7 core
Quality

Benchmark matrix

BenchmarkClaude Sonnet 5DeepSeek V4 FlashΔEdge
Reported by both · 21
GPQA Diamond90.5% ↗epoch run91% ↗epoch run-0.5 ptDeepSeek V4 Flash
LMArena Elo1461.8 ↗1436 ↗+25.8Claude Sonnet 5
Chess Puzzles (Epoch AI run)35% ↗epoch run33% ↗epoch run+2 ptClaude Sonnet 5
DeepSWE v1.1 (Datacurve)53.8% ↗53.3% ↗+0.5 ptClaude Sonnet 5
FrontierMath Tier 4 v2 (Epoch AI run)29.3% ↗epoch run24.4% ↗epoch run+4.9 ptClaude Sonnet 5
FrontierMath Tiers 1-3 v2 (Epoch AI run)65.6% ↗epoch run57.5% ↗epoch run+8.1 ptClaude Sonnet 5
LiveBench Agentic Coding (LiveBench)59.4% ↗46.8% ↗+12.6 ptClaude Sonnet 5
LiveBench Coding (LiveBench)80.7% ↗75% ↗+5.7 ptClaude Sonnet 5
LiveBench Data Analysis (LiveBench)71.7% ↗79.3% ↗-7.6 ptDeepSeek V4 Flash
LiveBench Instruction Following (LiveBench)63.9% ↗65.5% ↗-1.6 ptDeepSeek V4 Flash
LiveBench Language (LiveBench)75% ↗79.2% ↗-4.2 ptDeepSeek V4 Flash
LiveBench Mathematics (LiveBench)92.9% ↗86.8% ↗+6.1 ptClaude Sonnet 5
LiveBench Reasoning (LiveBench)88.7% ↗86.6% ↗+2.1 ptClaude Sonnet 5
LMArena WebDev (LMArena)1539.4 ↗1581 ↗-41.6DeepSeek V4 Flash
Mystery Game Puzzles (Epoch AI run)35% ↗epoch run34% ↗epoch run+1 ptClaude Sonnet 5
OTIS Mock AIME 2024-2025 (Epoch AI run)94.7% ↗epoch run94.4% ↗epoch run+0.3 ptClaude Sonnet 5
SimpleBench (SimpleBench)60.6% ↗61.1% ↗-0.5 ptDeepSeek V4 Flash
SimpleQA Verified33.7% ↗epoch run33.6% ↗epoch run+0.1 ptClaude Sonnet 5
Terminal-Bench 4.0 (Vals AI)9.6% ↗18.7% ↗-9.1 ptDeepSeek V4 Flash
Toolathlon-Verified (HKUST)71.6% ↗70.7% ↗+0.9 ptClaude Sonnet 5
WeirdML (Håvard Tveit Ihle)68.8% ↗63% ↗+5.8 ptClaude Sonnet 5
Only Claude Sonnet 5 reports · 10
SWE-bench Verified85.2% ↗not reported——
Humanity's Last Exam (no tools)43.2% ↗not reported——
APEX-Agents (Mercor)54.5% ↗not reported——
GSO Opt@1 (GSO)36.3% ↗not reported——
Humanity's Last Exam (with tools)57.4% ↗not reported——
LMArena Agent (LMArena)0.044 ↗not reported——
LMArena Vision (LMArena)1264.5 ↗not reported——
SAGE (Vals AI)48.9% ↗not reported——
SWE-rebench 2026-05-15 to 2026-07-01 (Nebius)56.8% ↗not reported——
Vending-Bench 2 (Andon Labs)6377.7 ↗not reported——
Only DeepSeek V4 Flash reports · 7
Agents' Last Examnot reported25.2% ↗——
AutomationBench Publicnot reported25.1% ↗——
Cybergymnot reported76.7% ↗——
DeepSWEnot reported54.4% ↗——
NL2Reponot reported54.2% ↗——
Terminal Bench 2.1not reported82.7% ↗——
Toolathlon-Verifiednot reported70.3% ↗——
Scores tagged "epoch" or "matharena" are independent runs, used only where the lab has not published its own; ⚠ marks rows MathArena flags as released after the competition. Higher is better on every row. Δ is Claude Sonnet 5 minus DeepSeek V4 Flash in the benchmark's own unit. "Not reported" means the lab has not published that figure; it is not a zero. ↗ opens the source.
Specs & pricing

Side by side

SpecClaude Sonnet 5DeepSeek V4 FlashEdge
Context window1M tokens1M tokensTie
Max output128K tokens——
Input price / 1M$2 ↗——
Output price / 1M$10 ↗——
Cached input / 1M$0.2 ↗——
Input + output / 1M
Lower is cheaper. List prices; batch, tool and regional fees excluded.
$12——
Modalitiestext · visiontextClaude Sonnet 5
Released2026-06-302026-07-31—
Cited benchmark scores3628—
Reliability

Provider status

All providers →
More matchups

Claude Sonnet 5 vs …

More matchups

DeepSeek V4 Flash vs …

Built by Respan
Which one wins on your data?

Public benchmarks are a starting point. Run Claude Sonnet 5 and DeepSeek V4 Flash on your own prompts with Respan evals, or route to either through one gateway key with automatic failover.