Claude Sonnet 4 vs DeepSeek-V3.1
Wins 3 of 6 areas
Coding · Long documents · Following instructions
Wins 2 of 6 areas
Reasoning · Facts
Claude Sonnet 4 wins more areas, narrowly.DeepSeek-V3.1 is cheaper and better at reasoning.
Scores updated · 35 tests both models report · How we compare
Where each one wins
Tests won in each of the six areas where both have results. Each piece is one test, so a longer bar means more evidence; grey means the two scored within a point of each other.
- CodingWriting and fixing software30Claude Sonnet 43 of 4 tests · 1 tie
- Following instructionsDoing exactly what it is asked20Claude Sonnet 42 of 2 tests
- Long documentsFinding answers in very long texts10Claude Sonnet 41 of 1 test
- ReasoningHard problems that need careful thinking12DeepSeek-V3.12 of 4 tests · 1 tie
- FactsGetting facts right instead of making them up12DeepSeek-V3.12 of 3 tests
- AgentsCarrying out multi-step tasks on its own11Even1 each
Long documents rests on a single test.
What it costs
Prices per million tokens, roughly 750,000 words. The bars show the cost of a million tokens read plus a million written.
DeepSeek-V3.1 costs 88% less for the same work.
The biggest differences
The three tests each model wins by the widest margin. Scores are out of 100.
Where Claude Sonnet 4 pulls ahead
- Avoids making up answers it doesn't knowAA-Omniscience · Non-hallucination+53.4points ahead
- Reasons across sets of long documentsAA-LCR+13.6points ahead
- Follows unfamiliar, precisely checkable instructionsIFBench+13.2points ahead
Where DeepSeek-V3.1 pulls ahead
- Finds hard-to-locate facts by browsing the webBrowseComp+17.8points ahead
- Answers hard knowledge questions correctlyAA-Omniscience · Accuracy+6.3points ahead
- Very hard expert questions across many subjectsHumanity's Last Exam+3.6points ahead
Every test, side by side
All 35 tests both models report. The winning score is in its model's colour; marks a score checked independently.
CodingClaude Sonnet 4
- SWE-bench VerifiedClaude Sonnet 4 by 6.772.766+6.7
- Terminal-Bench HardClaude Sonnet 4 by 6.131.125+6.1
- SWE-bench MultilingualClaude Sonnet 4 by 2.456.954.5+2.4
- SciCodetie4039.1tie
AgentsEven
- BrowseCompDeepSeek-V3.1 by 17.812.230+17.8
- GDPValClaude Sonnet 4 by 4.19.75.6+4.1
ReasoningDeepSeek-V3.1
- SimpleBenchClaude Sonnet 4 by 5.545.540+5.5
- Humanity's Last ExamDeepSeek-V3.1 by 3.610.714.3+3.6
- CritPtDeepSeek-V3.1 by 1.70.32+1.7
- GPQA Diamondtie77.777.9tie
FactsDeepSeek-V3.1
- AA-Omniscience · Non-hallucinationClaude Sonnet 4 by 53.470.917.5+53.4
- AA-Omniscience · AccuracyDeepSeek-V3.1 by 6.322.729+6.3
- Vectara HHEM hallucination ratelower is betterDeepSeek-V3.1 by 4.810.35.5+4.8
Following instructionsClaude Sonnet 4
- IFBenchClaude Sonnet 4 by 13.254.741.5+13.2
- Multi-ChallengeClaude Sonnet 4 by 1157.146.1+11
Other results19 tests, not counted
Tests outside the eight areas. They are not counted above: several are summary scores built from other tests, or the same test under another name.
- SimpleQADeepSeek-V3.1 by 77.515.993.4+77.5
- AIME 2024DeepSeek-V3.1 by 49.743.493.1+49.7
- AA-OmniscienceClaude Sonnet 4 by 29.80.2-29.6+29.8
- τ²-Bench Telecom (AA run)Claude Sonnet 4 by 27.264.637.4+27.2
- AIME 2025Claude Sonnet 4 by 20.770.549.8+20.7
- BrowseComp-ZHDeepSeek-V3.1 by 20.129.149.2+20.1
- HMMT 2025DeepSeek-V3.1 by 17.615.933.5+17.6
- SWE-Dev (Tools-allowed)Claude Sonnet 4 by 13.867.153.3+13.8
- LiveCodeBenchClaude Sonnet 4 by 12.168.556.4+12.1
- vectara_avg_summary_lengthClaude Sonnet 4 by 82.1 rating points145.863.7+82.1 rating
- Artificial Analysis Coding IndexClaude Sonnet 4 by 7.937.629.7+7.9
- AA IntelligenceClaude Sonnet 4 by 5.418.913.5+5.4
- vectara_factual_consistencyDeepSeek-V3.1 by 4.889.794.5+4.8
- Terminal-BenchClaude Sonnet 4 by 4.235.531.3+4.2
- vectara_answer_rateClaude Sonnet 4 by 4.198.694.5+4.1
- Aider-PolyglotClaude Sonnet 4 by 2.370.768.4+2.3
- MMLU-ReduxClaude Sonnet 4 by 1.893.691.8+1.8
- AA Agentic IndexDeepSeek-V3.1 by 1.317.618.9+1.3
- MMLU-Protie83.783.7tie
Questions people ask
Which is better, Claude Sonnet 4 or DeepSeek-V3.1?
Claude Sonnet 4 wins three of the six areas where both have results: coding, long documents and following instructions. DeepSeek-V3.1 wins reasoning and facts, and costs 88% less. They are level on agents.
Which is better for coding?
Claude Sonnet 4. It wins 3 of the 4 coding tests both models report; DeepSeek-V3.1 wins none, and 1 is a tie.
Which is cheaper?
Claude Sonnet 4 costs $3.00 per million input tokens and $15.00 per million output tokens; DeepSeek-V3.1 costs $0.56 and $1.68. That makes DeepSeek-V3.1 about 88% cheaper for the same work.
How do you compare the two?
We use the 35 benchmark tests both models have published scores on. The verdict counts the 16 tests in the eight capability areas, and a gap under one point (ten on rating-style scales) counts as a tie. The other 19 are listed but not counted, because several are summary scores or repeat a test. Each score is the one shown on the model's own page.