DeepSeek API pricing

DeepSeek API prices for all 7 DeepSeek models, per million tokens. The cheapest is deepseek-coder at $0.14 input and $0.28 output; the most expensive is deepseek-v4-pro at $1.32 input and $3.96 output.

Prices updated October 28, 2026

DeepSeek model prices

ModelInput / 1MCached input / 1MOutput / 1MTypical request
deepseek-coder$0.14$0.014$0.28$0.00028
deepseek-v3.2$0.28$0.028$0.4$0.00048
deepseek-v3$0.27$0.07$1.1$0.00082
deepseek-flash$0.3$0.006$1.2$0.0009
deepseek-v4-flash$0.3$0.006$1.2$0.0009
deepseek-r1$0.55$0.14$2.19$0.00164
deepseek-v4-pro$1.32$0.044$3.96$0.0033

Sorted by the cost of a typical request of 1,000 input and 500 output tokens. Open a model for batch prices, context window and example costs.

Calculate the cost of your own prompt →