DeepSeek API Pricing (October 2026): Cost per 1M Tokens

DeepSeek API pricing (October 2026): DeepSeek V4.1 Flash 1017 $0.15/M input, $0.60/M output. Compare cache, context, source, and verified date.

ยทยท3 min read
Share

Verified pricing data

DeepSeek API prices as of October 2026

Source: https://api-docs.deepseek.com/quick_start/pricing/

As of
Update cadence
Checked daily; published only after source verification.
Source policy
Official provider pricing pages or APIs only.
Machine-readable data
/api/pricing.json
Estimate monthly costs with these prices

Quick pricing answers

Cheapest input

DeepSeek V4.1 Flash 1017

$0.15/M input ยท $0.60/M output

Cheapest output

DeepSeek V4.1 Flash 1017

$0.60/M output

Best cached-input price

DeepSeek V4.1 Flash 1017

$0.003/M cached input

Widest context

DeepSeek V4.1 Flash 1017

1,000,000 tokens context

These answers are generated from 2 verified DeepSeek models as of October 2026. Use the calculator for workload-specific totals because output tokens and cache hit rate can change the cheapest choice.

ModelInput / 1MCached input / 1MOutput / 1MContextMax output
DeepSeek V4.1 Flash 1017$0.15$0.0030$0.601,000,000384,000
DeepSeek V4 Pro 0813$0.66$0.022$1.981,000,000384,000

Off-peak rates for DeepSeek-V4.1-Flash-1017, called with deepseek-flash. Peak rates are 2x: $0.006/M cache-hit input, $0.30/M cache-miss input, and $1.20/M output. Peak windows are 01:00-04:00 and 06:00-10:00 UTC on weekdays, excluding Chinese public holidays.

Off-peak rates for DeepSeek-V4-Pro-0813. Peak rates are 2x: $0.044/M cache-hit input, $1.32/M cache-miss input, and $3.96/M output. Peak windows are 01:00-04:00 and 06:00-10:00 UTC on weekdays, excluding Chinese public holidays.

Pricing questions

What is the cheapest DeepSeek API model in October 2026?

DeepSeek V4.1 Flash 1017 has the lowest verified DeepSeek input-token price at $0.15/M input tokens.

Which DeepSeek model is cheapest for generated output?

DeepSeek V4.1 Flash 1017 has the lowest verified DeepSeek output-token price at $0.60/M output tokens.

Where does TLDL get DeepSeek pricing data?

TLDL uses official DeepSeek pricing sources and records source URLs plus verification dates in the shared pricing dataset.

DeepSeek pricing changelog

2026-10-21

Replaced retired V4 Flash with DeepSeek V4.1 Flash 1017, updated V4 Pro rates, and recorded the active peak and off-peak pricing policy.

https://api-docs.deepseek.com/quick_start/pricing/

2026-07-31

Verified unchanged V4 Flash and V4 Pro token prices after the DeepSeek-V4-Flash-0731 public-beta update. DeepSeek also announced a future 2x peak-hours policy, but has not set its effective date.

https://api-docs.deepseek.com/quick_start/pricing/

2026-07-04

Verified DeepSeek V4 Flash and V4 Pro pricing from the official DeepSeek API pricing page.

https://api-docs.deepseek.com/quick_start/pricing

DeepSeek now serves DeepSeek-V4.1-Flash-1017 through the deepseek-flash model ID and DeepSeek-V4-Pro-0813 through deepseek-v4-pro. The live table above shows the lower off-peak rate from DeepSeek's official price card; peak rates are exactly 2ร— higher.

The same verified rows power the LLM API pricing comparison, public pricing API, and LLM cost calculator.

DeepSeek API prices at a glance

Prices are US dollars per 1 million tokens.

ModelTime tierCache-hit inputCache-miss inputOutput
V4.1 Flash 1017Off-peak$0.003$0.15$0.60
V4.1 Flash 1017Peak$0.006$0.30$1.20
V4 Pro 0813Off-peak$0.022$0.66$1.98
V4 Pro 0813Peak$0.044$1.32$3.96

Peak windows are 01:00โ€“04:00 UTC and 06:00โ€“10:00 UTC, Monday through Friday, excluding Chinese public holidays. All other times use off-peak pricing. Unlike the July announcement, this schedule is active now.

What changed since July

The July deepseek-v4-flash beta is retired. Since September, the supported Flash ID is deepseek-flash; DeepSeek says the legacy slug temporarily routes to V4.1, but new integrations should not depend on that compatibility alias. On October 17, DeepSeek updated the served version to DeepSeek-V4.1-Flash-1017 without changing its calling method or price.

V4 Pro became generally available in August and now supports the Responses API. DeepSeek also replaced its single-rate price table with an active peak/off-peak schedule.

Limits and API support

CapabilityV4.1 Flash 1017V4 Pro 0813
API model IDdeepseek-flashdeepseek-v4-pro
Context window1M tokens1M tokens
Maximum output384K tokens384K tokens
Thinking and non-thinkingYesYes
JSON and tool callsYesYes
Responses APIYesYes
Anthropic API formatYesYes
Vision inputYesNo

Search and Fetch API cost

DeepSeek lists Search and Fetch at $0.75 per 1,000 successful requests. Billing begins November 1, 2026 Beijing time. Until then, server-side calls made through DeepSeek Harness, Claude Code, and Codex are free under the provider's published terms.

Which DeepSeek model should you choose?

Start with V4.1 Flash for high-volume extraction, coding agents, multimodal work, and cost-sensitive routing. Choose V4 Pro when the task-quality gain survives your own evaluation and justifies roughly 3โ€“4ร— higher uncached-input and output prices at the same time tier.

For predictable spend, either schedule batch work outside peak windows or calculate your worst case at the peak rate. Reasoning tokens are billed as output, so long thinking traces can dominate the total even when input is cheap.

Migration notes

DeepSeek exposes OpenAI-compatible and Anthropic-compatible interfaces. Most clients need a base-URL change and the current model name. Use deepseek-flash for Flash, keep the identifier configurable, and test tools, JSON output, and thinking mode before moving production traffic.

Related