DeepSeek API Pricing (Nov 2026): Cost per Million Tokens
DeepSeek API pricing: DeepSeek V4.1 Flash 1017 costs $0.3 per million input tokens and $1.2 per million output tokens. Here is every current DeepSeek model's price, what typical jobs cost, and how to pay less.
Prices in US dollars per 1 million tokens, from OpenRouter's live list. Last checked Mon, 23 Nov 2026 10:01 UTC.
Newest DeepSeek models and prices
| Model | Input / 1M | Output / 1M | Cached input / 1M | Context |
|---|---|---|---|---|
| DeepSeek V4.1 Flash 1017 | $0.3 | $1.2 | $0.006 | 1M |
| DeepSeek V4.1 Flash | $0.05 | $0.199 | $0.001 | 1M |
| DeepSeek V4 Flash Vision Exp | $0.216 | $0.647 | $0.007 | 1M |
| DeepSeek V4 Pro 0813 | $1.32 | $3.96 | $0.044 | 1M |
Highest price: DeepSeek V4 Pro 0813 at $1.32 in and $3.96 out. Biggest context window: DeepSeek V4.1 Flash 1017 with 1M tokens. Output tokens cost more than input on almost every model, so long answers matter more than long prompts.
What typical jobs cost on DeepSeek
Per-million prices are hard to picture, so here is the same work priced on the newest models. Change the numbers in the LLM API cost calculator.
| Job | DeepSeek V4.1 Flash 1017 | DeepSeek V4.1 Flash | DeepSeek V4 Flash Vision Exp | DeepSeek V4 Pro 0813 |
|---|---|---|---|---|
| One chatbot reply 1,500 tokens in, 400 out | $0.00093 | $0.00015 | $0.00058 | $0.0036 |
| Summarise a 30-page report 20,000 tokens in, 1,000 out | $0.0072 | $0.0012 | $0.005 | $0.03 |
| 1,000 customer-support replies 2,000 tokens in and 400 out, 1,000 times | $1.08 | $0.18 | $0.69 | $4.22 |
| A chat app with 1,000 replies a day for a month 30,000 replies of 1,500 in and 400 out | $27.90 | $4.63 | $17.46 | $107 |
DeepSeek pricing rules worth knowing
- Peak and off-peak: buying direct from DeepSeek, off-peak prices are half the peak prices. Peak hours are 01:00 to 04:00 and 06:00 to 10:00 UTC, Monday to Friday (UK time in winter; add an hour in summer). Weekends are off-peak all day.
- Direct prices for deepseek-flash: $0.15 per million input tokens off-peak ($0.30 peak), $0.60 per million output off-peak ($1.20 peak), and $0.003 for cached input off-peak.
- Direct prices for deepseek-v4-pro: $0.66 input and $1.98 output off-peak, $1.32 and $3.96 at peak.
- The API works with the OpenAI and Anthropic SDKs: base URL https://api.deepseek.com (or /anthropic).
Checked against DeepSeek's pricing docs on 22 November 2026.
DeepSeek batch prices
If an answer can wait, the batch version of a model costs less. These are the batch prices OpenRouter lists today.
| Model | Normal in / out | Batch in / out | Saving on output |
|---|---|---|---|
| DeepSeek V4.1 Flash 1017 | $0.3 / $1.2 | $0.035 / $0.149 | 88% |
| DeepSeek V4.1 Flash | $0.05 / $0.199 | $0.05 / $0.15 | 25% |
| DeepSeek V4 Flash 0731 | $0.043 / $0.3 | $0.048 / $0.144 | 52% |
Cached input on DeepSeek
When you send the same long prompt again (a system prompt, a document, a codebase), the repeated part can be read from a cache at a much lower price. DeepSeek V4.1 Flash 1017: $0.006 cached against $0.3 normal, 98% off; DeepSeek V4.1 Flash: $0.001 cached against $0.05 normal, 98% off; DeepSeek V4 Flash Vision Exp: $0.007 cached against $0.216 normal, 97% off; DeepSeek V4 Pro 0813: $0.044 cached against $1.32 normal, 97% off. How it works: prompt caching explained.
Every current DeepSeek model
14 DeepSeek models are on OpenRouter's list today, newest first.
| Model | Input / 1M | Output / 1M | Cached input / 1M | Context |
|---|---|---|---|---|
| DeepSeek V4.1 Flash 1017 | $0.3 | $1.2 | $0.006 | 1M |
| DeepSeek V4.1 Flash | $0.05 | $0.199 | $0.001 | 1M |
| DeepSeek V4 Flash Vision Exp | $0.216 | $0.647 | $0.007 | 1M |
| DeepSeek V4 Pro 0813 | $1.32 | $3.96 | $0.044 | 1M |
| DeepSeek V4 Flash 0731 | $0.043 | $0.3 | $0.035 | 1M |
| DeepSeek V4 Pro 0423 | $0.9 | $1.5 | $0.2 | 1M |
| DeepSeek V4 Flash 0423 | $0.09 | $0.18 | $0.018 | 1M |
| DeepSeek V3.2 | $0.26 | $0.38 | $0.13 | 164K |
| DeepSeek V3.2 Exp | $0.27 | $0.41 | — | 164K |
| DeepSeek V3.1 Terminus | $0.27 | $1 | — | 164K |
| DeepSeek V3.1 | $0.25 | $0.95 | $0.13 | 164K |
| R1 0528 | $0.571 | $2.29 | — | 164K |
| DeepSeek V3 0324 | $0.25 | $1 | — | 164K |
| DeepSeek V3 | $0.257 | $1.03 | — | 164K |
How DeepSeek compares
DeepSeek vs OpenAI API pricing. See the cheapest LLM APIs across every lab.
Compare every model's price
This page covers one slice. The LLM API pricing table lists all 360 models side by side, refreshed every 30 minutes, with a filter to find any model fast.
Where these prices come from
Prices are read every 30 minutes from OpenRouter's public models API, which passes through each provider's price with no markup (it adds a 5.5% fee when you buy credits). Buying direct, check DeepSeek's own pricing page.
New to LLM APIs?
Start with what an LLM API is, then how tokens work and how to get an API key. When you're ready to write code, see how to use an LLM API in Python, and to keep bills down read prompt caching explained and how to cut LLM API costs. Want it free? See the free LLM API guide.
Questions
How much does the DeepSeek API cost?
It depends on the model. Right now DeepSeek V4.1 Flash 1017 costs $0.3 per million input tokens and $1.2 per million output tokens. The cheapest DeepSeek model, DeepSeek V4.1 Flash, costs $0.05 in and $0.199 out.
How much does the DeepSeek API cost per token?
Divide the per-million price by a million. DeepSeek V4.1 Flash 1017 costs $3.0e-7 per input token and $0.0000012 per output token. A token is about three quarters of an English word.
What is the cheapest DeepSeek model?
DeepSeek V4.1 Flash, at $0.05 per million input tokens and $0.199 per million output tokens, with a 1M-token context window.
How much does a typical DeepSeek API request cost?
A chatbot reply of about 1,500 tokens in and 400 out costs $0.00093 on DeepSeek V4.1 Flash 1017 and $0.00015 on DeepSeek V4.1 Flash.
When is DeepSeek API cheapest?
Off-peak, when direct prices are half. Peak hours are 01:00 to 04:00 and 06:00 to 10:00 UTC on weekdays; every other hour, and all weekend, is off-peak.
Get this in your inbox at 7am
One free email each morning with the AI repos, models and stories that are picking up speed, including new free models. Your own time zone, no spam.