Claude Opus 5 vs DeepSeek V4 Flash: API pricing

Anthropic's Claude Opus 5 against DeepSeek's DeepSeek V4 Flash on price alone — per-token rates, caching, and context window. Run your own workload through both with the calculator below; capability differences are yours to judge on your evals.

Claude Opus 5DeepSeek V4 Flash
Input / 1M tokens$5.00$0.44
Cached input / 1M$0.50$0.014
Output / 1M tokens$25.00$1.32
Context window1M1M
Max output125K384K
VendorAnthropicDeepSeek

Prices last synced Aug 20, 2026 from the LiteLLM community price catalog — the same catalog Marginal prices real usage events against, refreshed daily. Spot an error? Tell us.

Price takeaways

  • Input: DeepSeek V4 Flash is 11x cheaper.
  • Output: DeepSeek V4 Flash is 19x cheaper.
  • Cached input: DeepSeek V4 Flash is 36x cheaper.
  • Ratios shift with workload shape — output-heavy traffic weights the output rate, cache-friendly traffic weights the cached rate. The calculator below does the arithmetic on your numbers.

Your workload on both

Your monthly workload

Cache hit rate = share of input tokens served from the provider's prompt cache, billed at the model's cached-input price. Estimates use standard per-token rates — batch discounts, service tiers, and long-context surcharges are not applied.

Claude Opus 5DeepSeek V4 Flash
ModelInputCached inputOutputPer requestMonthly
DeepSeek V4 Flashcheapest$264$5.60$330$0.00120$600
Claude Opus 5$3,000$200$6,250$0.019$9,450
Rates used: Claude Opus 5 $5.00 in / $25.00 out · DeepSeek V4 Flash $0.44 in / $1.32 out

Related comparisons

Switching models? Watch the bill move in real time.

Marginal prices every call against that day's rates, so an A/B between these two shows up as dollars per customer and feature — not a surprise at month end.