Skip to main content
Radar

Five or fewer confirmed AI changes, with original sources, on mornings when something changed.A free source-linked morning brief.

Start the free Radar Brief
Provider pricing hub

DeepSeek API Pricing (August 2026)

Last synced

DeepSeek is the price floor of the frontier-adjacent API market. The V4 generation kept the strategy that made V3 famous: one flagship (V4 Pro, $0.435/$0.87) priced below Western mid-tiers, one fast model (V4 Flash, $0.14/$0.28) priced below almost everything, and automatic context caching that makes repeated input cheaper still. Those figures remain DeepSeek's published rates as of August 12. The provider has signaled a future price increase, but the table and calculator do not apply an unpublished increase.

On July 31, the existing deepseek-v4-flash API ID began serving DeepSeek-V4-Flash-0731. The checkpoint is out of model Preview, while the hosted service is explicitly in public beta, not generally available. DeepSeek says V4 Pro, its app, and its web product were unchanged.

Cheap only matters if the quality clears your bar: see the Chinese model rankings (where the V4 Pro reasoning rows lead), the price-vs-performance view, and the Chinese LLM deep dive. For the complete current and historical roster, use the DeepSeek model directory.

24 confirmed releases in the last 30 daysGet DeepSeek alerts · $4.99/monthSources attached

Every DeepSeek API price per 1M tokens

DeepSeek API prices per one million tokens, by model.
ModelAPI model IDInput $/MCached input $/MOutput $/MContextEffectivePrice source
DeepSeek R1deepseek-reasonerHistorical mapping$0.55$0.14$2.19128KJan 20, 2025Official R1 release
DeepSeek V3.2 (Thinking)deepseek-reasonerRetired alias$0.55$0.14$2.19128KDec 1, 2025Official legacy pricing
DeepSeek V4 Pro 0813$0.435$0.003625$0.871M
DeepSeek V3.2deepseek-chatRetired alias$0.28$0.028$0.42128KDec 1, 2025Official legacy pricing
DeepSeek V3deepseek-chatHistorical mapping$0.27$0.07$1.1128KFeb 8, 2025Official V3 release
DeepSeek V4 Flash 0731$0.14$0.0028$0.281M

The table shows DeepSeek's current published rates. DeepSeek has signaled a broader API price increase but has not published replacement rates or an effective date. DeepSeek lists no Batch API discount; High/Max configurations inherit their family's rate and are collapsed into one row.

Estimate your monthly DeepSeek API bill

Estimated monthly DeepSeek API cost for the workload above, by model.
ModelEst. monthly cost
DeepSeek V4 Pro 0813$6.09
DeepSeek V4 Flash 0731$1.96

Estimates use DeepSeek's standard per-token rates from the table above. For token-level presets and cross-provider comparison, use the full LLM API pricing calculator.

DeepSeek API quickstart: one authenticated request

DeepSeek exposes an OpenAI-compatible base URL at https://api.deepseek.com. Create a key in the DeepSeek platform, keep it on the server, and send it as a Bearer token. This request uses the current Flash model name rather than the retired deepseek-chat alias:

curl https://api.deepseek.com/chat/completions \
  -H 'Content-Type: application/json' \
  -H "Authorization: Bearer $DEEPSEEK_API_KEY" \
  -d '{"model":"deepseek-v4-flash","messages":[{"role":"user","content":"Reply with OK"}]}'

A successful response includes token usage. Do not place the API key in browser code, logs, or a public repository. The LLM API pricing calculator can then turn measured input, output, and cache-hit tokens into a monthly estimate.

The published rates remain the billing baseline

DeepSeek's current pricing table lists cache-hit input, cache-miss input, and output rates for V4 Flash and V4 Pro. A separate notice says a broader API price increase is planned, but DeepSeek has not published replacement rates or an effective date.

So the table, structured price data, and calculator keep using the published values. The calculator does not apply an unpublished increase, and we will not invent a multiplier to fill the gap.

Cache-hit pricing: DeepSeek’s biggest discount is automatic

DeepSeek prices input tokens in two lanes: cache miss (the standard rate) and cache hit, billed when the service can reuse a prompt prefix. A V4 Flash cache hit costs $0.0028 per million tokens; V4 Pro costs $0.003625. Those are explicit provider rates, not a percentage inferred from the standard input price.

Agents, RAG pipelines, and chat applications can benefit when they resend the same system prompt or document context. But the table does not promise a hit rate: a workload with mostly new prefixes pays the cache-miss rate. Enter your measured cached share in the estimator above. DeepSeek lists no separate Batch API tier.

The response exposes prompt_cache_hit_tokens and prompt_cache_miss_tokens in its usage object. Log those two fields and calculate the real hit share before budgeting. DeepSeek says unused cache entries are usually cleared after hours to days, so a one-time warm-up does not establish a permanent discount.

Concurrency and 429 handling

DeepSeek currently lists account-level concurrency limits of 500 for V4 Pro and 2,500 for V4 Flash. A request occupies one slot until its response completes. Requests beyond the account limit receive HTTP 429, regardless of how many API keys the account uses.

Production clients should cap concurrency, retry 429 responses with jittered backoff, and keep a fallback path for availability-sensitive work. DeepSeek also documents empty-line or SSE keep-alive traffic while a request waits; custom HTTP parsers must ignore those keep-alives without treating them as the JSON result.

V4 Pro vs V4 Flash: which DeepSeek tier to use

V4 Pro ($0.435/$0.87 regular) is the flagship, with a 1M-token context window and separate reasoning-effort rows in the current Chinese model rankings. Use it for coding, reasoning, and agentic work where quality clears your workload's tests. V4 Flash ($0.14/$0.28 regular) is the volume tier — classification, extraction, summarization, and high-throughput pipelines where per-request cost dominates.

Older V3.2 and R1rows remain in the registry for historical comparison. DeepSeek retired the legacy deepseek-chat and deepseek-reasoner aliases after July 24, 2026 at 15:59 UTC. New requests must use deepseek-v4-flash or deepseek-v4-pro. DeepSeek published the April V4 Preview checkpoints as open weights, so those can be self-hosted; it had not published weights for the 0731 post-training update when we checked on July 31.

DeepSeek API price and model-ID history

The current prices and the legacy rows answer different questions. Use the V4 rows for a new API integration; use the older rows only to reconstruct a historical bill or migration. DeepSeek changes the model behind an alias, so a familiar model ID does not prove that the underlying version stayed fixed.

DateChangeInput / output $/MFirst-party evidence
Jul 31, 2026The existing Flash API ID moved to DeepSeek-V4-Flash-0731 public beta.Published rates unchangedV4 Flash 0731 update
Jul 24, 2026deepseek-chat and deepseek-reasoner reached their retirement deadline.No new rate; migrate model IDsV4 release notice
Apr 24, 2026V4 Flash and V4 Pro launched with dedicated API model IDs.$0.14/$0.28 and $0.435/$0.87Current pricing table
Dec 1, 2025The two legacy aliases moved to V3.2 non-thinking and thinking modes.$0.28/$0.42 and $0.55/$2.19DeepSeek changelog

The price table above links every row to DeepSeek's current or archived first-party evidence and gives the effective version date. BenchLM does not treat historical alias pricing as a currently callable SKU.

DeepSeek vs OpenAI and Claude pricing

The gap is not subtle. V4 Pro at $0.435/$0.87 costs about 14x less than GPT-5.6 Terra ($2/$12) on output and more than 28x less than GPT-5.6 Sol or Claude Opus 4.8 ($30 and $25 output respectively). V4 Flash at $0.14/$0.28 undercuts even OpenAI's nano tier on output. The honest caveat: the Western flagships still score higher on BenchLM's overall leaderboard, so the decision is quality-per-dollar, not price alone.

Compare the full tables: OpenAI API pricing and Claude API pricing, or use the current product-level DeepSeek vs Claude comparison. The Opus 5 vs V4 Pro model page keeps the benchmark-by-benchmark evidence separate.

DeepSeek API pricing FAQ

How much does the DeepSeek API cost?

At the current regular rate, DeepSeek V4 Pro costs $0.435 input / $0.87 output per million tokens and V4 Flash costs $0.14/$0.28. Cache-hit input is $0.003625 and $0.0028 respectively. DeepSeek has signaled a broader API price increase, but replacement rates and an effective date remain unpublished. Use deepseek-v4-pro or deepseek-v4-flash; the old deepseek-chat and deepseek-reasoneraliases reached their retirement deadline on July 24, 2026. DeepSeek lists no separate batch tier.

Is the DeepSeek API free?

No — the hosted API is pay-per-token, though at prices low enough that light usage costs cents per day. DeepSeek published the April V4 Preview checkpoints as open weights, but had not published 0731 weights when we checked. The genuinely free path is self-hosting an available open checkpoint or quantized variant on your own hardware; see the open-source model rankings.

What is DeepSeek cache-hit pricing?

When your request reuses a recently seen prompt prefix, DeepSeek bills that portion at the cache-hit rate instead of the standard input rate — $0.0028/M on V4 Flash and $0.003625/M on V4 Pro. The service applies caching automatically, but the hit share depends on repeated prompt prefixes. Use measured usage rather than assuming every agent or RAG workload reaches the same discount.

Which DeepSeek API model should I use?

Start with V4 Flash for extraction, classification, summarization, and high-volume requests. Test V4 Pro for coding, tool use, and reasoning workloads where the quality gain justifies the higher bill. Use the exact current IDs deepseek-v4-flash and deepseek-v4-pro, then compare both on your own acceptance tests before routing production traffic.

How does DeepSeek API pricing compare to OpenAI?

DeepSeek V4 Pro's output tokens cost about 34x less than GPT-5.6 Sol's ($0.87 vs $30 per million), and V4 Flash undercuts GPT-5.6 Luna by about 4.3x on output ($0.28 vs $1.20). OpenAI's flagships still lead on BenchLM's overall scores, so the right comparison is quality-per-dollar for your specific workload — see the OpenAI pricing hub.

Keep comparing