Head to head

claude-sonnet-5 vs deepseek-v4-flash: API Pricing Compared

On a typical chat turn of 10K input and 1K output tokens, deepseek-v4-flash costs $0.00286 against $0.030 for claude-sonnet-5, making it 90% cheaper. Both rates are read daily from the providers' own pricing pages.

Side by side

claude-sonnet-5deepseek-v4-flash
ProviderAnthropicDeepSeek
Input / 1M tokens$2.00$0.22
Output / 1M tokens$10.00$0.66
Context window1M1M
Blended cost / chat turn$0.030$0.00286
Price verified2026-08-052026-08-17

Cost by workload

The headline rate rarely decides the bill. These are the same four workloads priced against both models.

WorkloadTokensclaude-sonnet-5deepseek-v4-flash
Single short call2K in, 500 out$0.00900$0.00077
Typical chat turn10K in, 1K out$0.030$0.00286
Long document pass100K in, 2K out$0.220$0.023
1,000 chat turns10M in, 1M out$30.00$2.86

Which one actually wins

deepseek-v4-flash is cheaper on both the input and the output rate, so it never costs more no matter how input-heavy or output-heavy the workload is. There is no crossover point to reason about. Price is only one axis, so weigh it against context window, latency, and the quality difference on your own evaluation set before switching.

Common questions

Which is cheaper, claude-sonnet-5 or deepseek-v4-flash?

deepseek-v4-flash is cheaper for a typical chat turn of 10K input and 1K output tokens, at $0.00286 against $0.030 for claude-sonnet-5, a difference of 90%.

How much does claude-sonnet-5 cost per 1M tokens?

Anthropic charges $2.00 per 1M input tokens and $10.00 per 1M output tokens for claude-sonnet-5, verified 2026-08-05.

How much does deepseek-v4-flash cost per 1M tokens?

DeepSeek charges $0.22 per 1M input tokens and $0.66 per 1M output tokens for deepseek-v4-flash, verified 2026-08-17.

Does deepseek-v4-flash stay cheaper for every workload?

Yes. deepseek-v4-flash is cheaper on both the input and the output rate, so it never costs more regardless of how input-heavy or output-heavy the workload is.

Full pricing pages

Maintained by Jordan Hale, TechFastForward. Both prices are read daily from the official provider pages and recorded only when they move. Compare any other pair on the LLM API Pricing Tracker.