Claude Sonnet 5 vs DeepSeek V4 Flash 0731

Price, context window & benchmark comparison

A

Claude Sonnet 5

Anthropic
$2.00 / $10.00
Input / Output · per 1M tokens
VS
D

DeepSeek V4 Flash 0731

DeepSeek
$0.03 / $0.32
Input / Output · per 1M tokens
Compare different models
A
D
Verdict: DeepSeek V4 Flash 0731 is 39.0× cheaper than Claude Sonnet 5 on a typical 3:1 input/output mix. Claude Sonnet 5 scores higher on the Artificial Analysis Intelligence Index (38.2 vs 34.3). DeepSeek V4 Flash 0731 has the larger context window (1.3M vs 1M).
Claude Sonnet 5DeepSeek V4 Flash 0731
Input price / 1M$2.00$0.03
Output price / 1M$10.00$0.32
Blended price (3:1)$4.00$0.10
Cached input / 1M$0.20$0.016
Context window1M1.3M
Max output128K944K
Intelligence index38.234.3
Coding index71.569.1
Providers1030
Best provider uptime (30m)100.0%100.0%
Vision inputYesNo
ReasoningYesYes
Tool callingYesYes
Released2026-06-302026-07-31
Retirement

Cost calculator

FAQ

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

DeepSeek V4 Flash 0731 is 39.0× cheaper than Claude Sonnet 5 on a typical 3:1 input/output mix.

Claude Sonnet 5 vs DeepSeek V4 Flash 0731: which has a bigger context window?

Claude Sonnet 5: 1,000,000 tokens. DeepSeek V4 Flash 0731: 1,310,720 tokens.

How much would 1 million requests cost?

At 2,000 input + 500 output tokens per request: Claude Sonnet 5 ≈ $9,000, DeepSeek V4 Flash 0731 ≈ $220.00.

More comparisons