API pricing

DeepSeek API pricing

DeepSeek API prices run from $0.15 per million input tokens (DeepSeek V4 Flash) to $0.66 (DeepSeek V4 Pro). Its highest-ranked model, DeepSeek V4 Pro, costs $0.66 input and $1.98 output per million tokens.

Last verified

Official price list: api-docs.deepseek.com

API prices per million tokens
Cached input
DeepSeek V4 Flash (open weights)$0.15$0.60$0.003$0.261M53.6
DeepSeek V4 Flash Vision Exp (open weights)$0.15$0.60$0.003$0.261M—
DeepSeek V4.1 Flash (open weights)$0.15$0.60$0.003$0.261M52.8
DeepSeek-V3.2-Exp (open weights)$0.26$0.38$0.13$0.29164K44.3
DeepSeek-V3 (open weights)$0.24$0.90$0.14$0.41164K39.5
DeepSeek-V3.1 (open weights)$0.25$0.95$0.13$0.42164K42.8
DeepSeek-V3.1-Terminus (open weights)$0.27$1—$0.45164K43.1
DeepSeek-V3.2-Speciale (open weights)$0.58$1.68—$0.85128K39.7
DeepSeek-R1$0.50$2.15$0.35$0.91164K42.3
DeepSeek V4 Pro (open weights)$0.66$1.98$0.022$0.991M54.3

Prices on other platforms

The same models are often sold through clouds and resellers at different rates.

ModelRouteInputOutputChecked
DeepSeek V4 Proazure$1.74$3.482026-10-10
deepinfra$1.30$2.602026-10-10
deepseek$0.66$1.982026-10-10
openrouter$0.21$0.422026-10-10
together$1.32$3.962026-10-10
DeepSeek V4 Flashalibaba$0.20$0.402026-10-10
azure$0.19$0.512026-10-10
deepinfra$0.06$0.182026-10-10
deepseek$0.15$0.602026-10-10
openrouter$0.03$1.282026-10-10
together$0.14$0.282026-10-10
DeepSeek V4.1 Flashdeepinfra$0.20$0.602026-10-10
deepseek$0.15$0.602026-10-10
fireworks$0.30$1.202026-10-10
openrouter$0.30$1.202026-10-10
together$0.30$1.202026-10-10
DeepSeek-V3.2-Expazure$0.58$1.682026-10-10
bedrock$0.62$1.852026-10-10
deepinfra$0.26$0.382026-10-10
openrouter$0.27$0.412026-10-10
vertex$0.56$1.682026-10-10
DeepSeek-V3.1-Terminusopenrouter$0.27$12026-10-10
DeepSeek-V3.1bedrock$0.58$1.682026-10-10
deepinfra$0.25$0.952026-10-10
openrouter$0.25$0.952026-10-10
together$0.60$1.702026-10-10
vertex$0.60$1.702026-10-10
DeepSeek-R1azure$1.35$5.402026-10-10
bedrock$1.35$5.402026-10-10
deepinfra$0.50$2.152026-10-10
openrouter$0.70$2.502026-10-10
together$3$72026-10-10
DeepSeek-V3.2-Specialeazure$0.58$1.682026-10-10
DeepSeek-V3deepinfra$0.24$0.902026-10-10
openrouter$0.32$0.892026-10-10
together$1.25$1.252026-10-10
DeepSeek V4 Flash Vision Expdeepinfra$0.44$1.322026-10-10
deepseek$0.15$0.602026-10-10
openrouter$0.22$0.652026-10-10

Frequently asked questions

How much does the DeepSeek API cost?

DeepSeek API prices run from $0.15 per million input tokens (DeepSeek V4 Flash) to $0.66 (DeepSeek V4 Pro). Its highest-ranked model, DeepSeek V4 Pro, costs $0.66 input and $1.98 output per million tokens.

Does DeepSeek discount cached input?

Yes. Cached input is billed at a lower rate on 8 of the 10 priced models; the cached rate is listed next to each model.