DeepSeek API

DeepSeek V4.1 Flash API Pricing 2026 — Cost per 1 Million Tokens

Current DeepSeek V4.1 Flash API pricing from DeepSeek per 1 million tokens, including input, output and cached-token rates when available.

ModelRatePrice / 1M tokens
DeepSeek V4.1 Flash
Official DeepSeek V4.1 Flash release, a native multimodal model served by the DeepSeek API under deepseek-flash.
1M context · max output 384K · thinking/non-thinking · vision · JSON, tool calls, Responses API and Anthropic API · 552B MoE, 8B input-active / 16B output-active.
Official V4.1 Flash pricing. Peak hours are 01:00–04:00 and 06:00–10:00 UTC Monday through Friday; all other hours are off-peak at half the peak rates. The prior temporary beta model ID has been superseded by deepseek-flash.
Input — cache hit, peak$0.006
DeepSeek V4.1 FlashInput — cache miss, peak$0.3
DeepSeek V4.1 FlashOutput — peak$1.2
DeepSeek V4.1 FlashInput — cache hit, off-peak$0.003
DeepSeek V4.1 FlashInput — cache miss, off-peak$0.15
DeepSeek V4.1 FlashOutput — off-peak$0.6

How API token cost is calculated

Multiply the number of tokens by the provider rate, then divide by 1,000,000.

cost = tokens × price per 1M ÷ 1,000,000

Example: 250,000 input tokens at $2 / 1M = $0.50.

AI Price History

  1. DeepSeek V4.1 Flash — Input — cache hit, peak $0.014 → $0.006
  2. DeepSeek V4.1 Flash — Input — cache miss, peak $0.44 → $0.3
  3. DeepSeek V4.1 Flash — Output — peak $1.32 → $1.2
  4. DeepSeek V4.1 Flash — Input — cache hit, off-peak $0.007 → $0.003
  5. DeepSeek V4.1 Flash — Input — cache miss, off-peak $0.22 → $0.15
  6. DeepSeek V4.1 Flash — Output — off-peak $0.66 → $0.6