DeepSeek API pricing (December 2026): every model and token price
DeepSeek API pricing: deepseek-flash costs $0.30 per million input tokens and $1.20 output at peak, half off-peak. V4 Pro prices, caching and a monthly bill.
DeepSeek's API has two models. deepseek-flash costs $0.30 per million input tokens and $1.20 per million output tokens at peak times, and deepseek-v4-pro costs $1.32 input and $3.96 output. Off-peak rates are exactly half, and input served from DeepSeek's cache costs a small fraction of the normal input price.
All prices below are from DeepSeek's Models & Pricing page on December 4, 2026, in US dollars per million tokens.
DeepSeek API prices per model
| Price per 1M tokens | deepseek-flash peak | deepseek-flash off-peak | deepseek-v4-pro peak | deepseek-v4-pro off-peak |
|---|---|---|---|---|
| Input, cache hit | $0.006 | $0.003 | $0.044 | $0.022 |
| Input, cache miss | $0.30 | $0.15 | $1.32 | $0.66 |
| Output | $1.20 | $0.60 | $3.96 | $1.98 |
What each model is:
deepseek-flash | deepseek-v4-pro | |
|---|---|---|
| Model version | DeepSeek-V4.1-Flash-1017 | DeepSeek-V4-Pro-0813 |
| Context length | 1M tokens | 1M tokens |
| Maximum output | 384K tokens | 384K tokens |
| Thinking mode | Thinking (default) and non-thinking | Thinking (default) and non-thinking |
| Vision | Yes | Not supported |
| Concurrency limit per account | 2,500 requests | 500 requests |
Both models support JSON output, tool calls, the Responses API, the Anthropic API format and chat prefix completion (beta). FIM completion (beta) works in non-thinking mode only.
The old model names deepseek-v4-flash and deepseek-v4-flash-vision-exp still work, but DeepSeek has retired those models. Requests sent to them are answered by DeepSeek-V4.1-Flash-1017 and billed at the deepseek-flash price, so update your code to deepseek-flash when you can.
DeepSeek off-peak pricing
Off-peak rates are half of peak rates, on every token type. DeepSeek defines peak as:
- 01:00 to 04:00 UTC and 06:00 to 10:00 UTC
- Monday through Friday, excluding Chinese public holidays
Every other hour is off-peak, including weekends and Chinese public holidays in full. That is 35 peak hours out of 168 in a normal week.
In local time, peak hours fall here:
| Time zone | Peak windows in local time |
|---|---|
| US Eastern (EST, UTC-5) | 8 p.m. to 11 p.m. and 1 a.m. to 5 a.m., Sunday night through Friday morning |
| US Pacific (PST, UTC-8) | 5 p.m. to 8 p.m. and 10 p.m. to 2 a.m., Sunday through Thursday nights |
| Central Europe (CET, UTC+1) | 2 a.m. to 5 a.m. and 7 a.m. to 11 a.m. |
| India (IST, UTC+5:30) | 6:30 a.m. to 9:30 a.m. and 11:30 a.m. to 3:30 p.m. |
The US working day is entirely off-peak. European and Asian mornings are not, so if your users are there, budget for a bigger share of peak traffic. Add an hour to the US and Europe rows while daylight saving time is in effect.
How DeepSeek context caching works
Caching is on by default for every account and needs no code changes. When a new request starts with the same prefix as an earlier one (the same system prompt, the same document, or the earlier turns of a conversation), the matching tokens are billed at the cache-hit price instead of the cache-miss price. For deepseek-flash at peak, that is $0.006 instead of $0.30 per million tokens.
A few rules from DeepSeek's caching guide:
- The prefix must match a stored cache unit exactly. Put fixed content (instructions, tool definitions, reference documents) first and the changing user input last.
- Caching is best effort, with no guaranteed hit rate. Unused cache entries are cleared within a few hours to a few days.
- There is no separate charge for writing to the cache.
- Each response reports
prompt_cache_hit_tokensandprompt_cache_miss_tokensinusage, so you can measure your real hit rate.
Other DeepSeek API prices
| Service | Price |
|---|---|
| Search API (text) | $0.75 per 1,000 successful requests |
| Fetch API | $0.75 per 1,000 successful requests |
| File parsing and OCR API | $0.225 per 1,000 pages |
| Text to speech | $0.45 per 10,000 characters list price; $0.225 during a limited-time 50% discount |
| Speech to text | $0.116 per hour of audio list price; $0.058 during the same discount |
Since November 18, 2026, server-side web search and fetch calls that the model triggers on its own are no longer billed per call. The results are added to the model's context and billed as normal input tokens.
Worked example: a monthly DeepSeek bill for a 10-person startup
Say a 10-person startup runs a support assistant that handles 300,000 requests a month. Each request sends 4,000 input tokens (a 3,000-token system prompt and knowledge snippet that repeats, plus 1,000 tokens of new conversation) and gets 600 output tokens back. Assume the repeated 3,000 tokens hit the cache.
Monthly volume:
- Cache-hit input: 300,000 × 3,000 = 900M tokens
- Cache-miss input: 300,000 × 1,000 = 300M tokens
- Output: 300,000 × 600 = 180M tokens
On deepseek-flash at peak rates:
- Cache hits: 900 × $0.006 = $5.40
- Cache misses: 300 × $0.30 = $90.00
- Output: 180 × $1.20 = $216.00
- Total: $311.40 a month
If all of that traffic ran off-peak, the bill would halve to $155.70. A US-facing product that gets most of its traffic during US business hours will land close to the off-peak figure.
On deepseek-v4-pro at peak rates:
- Cache hits: 900 × $0.044 = $39.60
- Cache misses: 300 × $1.32 = $396.00
- Output: 180 × $3.96 = $712.80
- Total: $1,148.40 a month, or $574.20 fully off-peak
Without caching, the 900M repeated tokens would bill at the miss price. On deepseek-flash at peak that adds 900 × ($0.30 − $0.006) = $264.60, almost doubling the bill. Keep your prompt prefix stable.
DeepSeek vs Claude, GPT and Gemini API prices
Here is how DeepSeek's list prices compare with the other major APIs, per million tokens, from each provider's official pricing page today:
| Model | Input | Cached input | Output |
|---|---|---|---|
DeepSeek deepseek-flash (peak / off-peak) | $0.30 / $0.15 | $0.006 / $0.003 | $1.20 / $0.60 |
DeepSeek deepseek-v4-pro (peak / off-peak) | $1.32 / $0.66 | $0.044 / $0.022 | $3.96 / $1.98 |
| Claude Haiku 5.5 (prompts up to 100K tokens) | $0.10 | $0.01 | $0.50 |
| Claude Sonnet 5.5 | $2.00 | $0.10 | $10.00 |
| Claude Opus 5.5 | $4.00 | $0.20 | $20.00 |
| GPT-6 Luna | $0.10 | $0.01 | $0.50 |
| GPT-6.2 Sol | $2.00 | $0.10 | $10.00 |
| Gemini 3.8 Flash (through December 31, 2026) | $0.75 | $0.075 | $3.75 |
| Gemini 4 Neon | $3.00 | $0.15 | $15.00 |
The same 300,000-request workload from the example above, at list prices:
| Model | Monthly cost |
|---|---|
| Claude Haiku 5.5 or GPT-6 Luna | $129.00 |
DeepSeek deepseek-flash, all off-peak | $155.70 |
DeepSeek deepseek-flash, all peak | $311.40 |
DeepSeek deepseek-v4-pro, all off-peak | $574.20 |
| Gemini 3.8 Flash | $967.50 |
DeepSeek deepseek-v4-pro, all peak | $1,148.40 |
| Claude Sonnet 5.5 or GPT-6.2 Sol | $2,490.00 |
| Gemini 4 Neon | $3,735.00 |
Two things stand out. First, DeepSeek is no longer automatically the cheapest option: Claude Haiku 5.5 and GPT-6 Luna list at $0.10 input and $0.50 output, below even DeepSeek's off-peak Flash rate. Second, deepseek-v4-pro costs well under half of Claude Sonnet 5.5, GPT-6.2 Sol or Gemini 4 Neon on this workload. Price per token says nothing about quality on your task, so run your own evals before switching.
The Claude figures ignore cache write charges, which DeepSeek does not have, so the real Claude bill would be slightly higher. Gemini 3.8 Flash doubles in price on January 1, 2027. For full rate cards and calculators, see our guides to Claude API pricing, OpenAI API pricing and Gemini API pricing.
Running DeepSeek models on other platforms
DeepSeek's models are also served by third-party inference platforms. That matters for two reasons: some of them run startup credit programs, and their prices and contracts differ from DeepSeek's. Their list prices today, per million tokens:
| Platform | Model | Input | Cached input | Output |
|---|---|---|---|---|
| DeepSeek (direct, peak) | DeepSeek-V4.1-Flash-1017 | $0.30 | $0.006 | $1.20 |
| Together AI | DeepSeek V4.1 Flash 1017 | $0.30 | $0.006 | $1.20 |
| Baseten Model APIs | DeepSeek V4.1 Flash 1017 | $0.30 | $0.007 | $1.20 |
| DeepInfra | DeepSeek-V4.1-Flash-1017 | $0.098 | $0.003 | $0.294 |
| DeepSeek (direct, peak) | DeepSeek-V4-Pro-0813 | $1.32 | $0.044 | $3.96 |
| Together AI | DeepSeek V4 Pro 0813 | $1.32 | $0.13 | $3.96 |
| Baseten Model APIs | DeepSeek V4 Pro 0813 | $1.32 | $0.132 | $3.96 |
Together and Baseten charge DeepSeek's peak rate around the clock, with no off-peak discount, and Together also sells US geo-pinned DeepSeek endpoints at a higher price. DeepInfra's listed Flash price is below DeepSeek's own off-peak rate. OpenRouter also routes to DeepSeek models through several providers, at each provider's price.
How startups pay less for DeepSeek
- Move batch work off-peak. Evals, backfills, document processing and nightly jobs can run on weekends or outside the UTC peak windows for half price.
- Design for cache hits. Keep system prompts, tool definitions and shared documents at the start of every request, and check
prompt_cache_hit_tokensto confirm. - Default to
deepseek-flash. It costs about a quarter ofdeepseek-v4-proon input and under a third on output. Route only the hard requests to Pro. - Spend startup credits on a platform that serves DeepSeek. DeepSeek has no startup program of its own, but these do:
- Together AI Startup Accelerator: up to $15K in platform credits if you have raised up to $5M, $30K for $5M to $10M, and $50K above $10M. It is selection-based, and credits cover serverless inference and dedicated endpoints but not Reserved GPU Clusters.
- Baseten for Startups: up to $2,500 for Model APIs (where the DeepSeek prices above apply) and up to $25,000 for Dedicated Deployments or Training. Direct application; credits expire after 6 months.
- DeepInfra DeepStart: about 50 billion free tokens at DeepSeek V4 Flash prices, usable on any model for a year, for companies founded in the last 2 years that have raised $250K to $10M.
- OpenRouter for Startups: up to $3K in credits usable on any model, but you need a referral key from a partner VC or accelerator. See our OpenRouter pricing guide.
Together AITogether AI Startup AcceleratorUp to $15K / $30K / $50K in free platform credits plus 3–10 hours of forward-deployed engineering, by amount raisedApply directly$50K
BasetenBaseten for StartupsUp to $25,000 in credits for Dedicated Deployments or Training and up to $2,500 for Model APIsApply directly$28K
DeepInfraDeepStartAbout 50 billion free inference tokens (at DeepSeek V4 Flash prices), usable on any model, valid 1 yearNeeds an investorUnpublished
OpenRouterOpenRouter for StartupsUp to $3,000 in universal inference credits plus 0% processing fees (platform and BYOK) for 12 monthsNeeds an investor$3K
Our AI startup credits guide lists every inference program, including the ones that need an investor.
Questions
Is the DeepSeek API free?
No. DeepSeek's pricing page lists no free tier. You top up a balance and every request is deducted from it. If DeepSeek has given your account a granted balance, it is used before your topped-up balance.
When are DeepSeek's off-peak hours?
Peak hours are 01:00 to 04:00 and 06:00 to 10:00 UTC, Monday through Friday, excluding Chinese public holidays. Every other hour is off-peak, including all of Saturday, Sunday and Chinese public holidays, and off-peak rates are half the peak rates.
Does the deepseek-v4-flash model name still work?
Yes. DeepSeek still accepts the legacy names deepseek-v4-flash and deepseek-v4-flash-vision-exp, but those models are retired. Requests to them are served by DeepSeek-V4.1-Flash-1017 and billed at the deepseek-flash price.
Can I use the DeepSeek API with the OpenAI or Anthropic SDK?
Yes. Use https://api.deepseek.com as the base URL for the OpenAI format, or https://api.deepseek.com/anthropic for the Anthropic format, with your DeepSeek API key. Both models support tool calls, JSON output and the Responses API.
Does DeepSeek have a startup program?
DeepSeek's docs do not list one, and there is none in our directory. Startups can get credits that cover DeepSeek models on other platforms, such as Together AI, Baseten, DeepInfra and OpenRouter, which each run their own startup programs.
Programs in this guide
Together AITogether AI Startup AcceleratorUp to $15K / $30K / $50K in free platform credits plus 3–10 hours of forward-deployed engineering, by amount raisedApply directly$50K
BasetenBaseten for StartupsUp to $25,000 in credits for Dedicated Deployments or Training and up to $2,500 for Model APIsApply directly$28K
DeepInfraDeepStartAbout 50 billion free inference tokens (at DeepSeek V4 Flash prices), usable on any model, valid 1 yearNeeds an investorUnpublished
OpenRouterOpenRouter for StartupsUp to $3,000 in universal inference credits plus 0% processing fees (platform and BYOK) for 12 monthsNeeds an investor$3K
Sources
- api-docs.deepseek.com/quick_start/pricing
- api-docs.deepseek.com/quick_start/rate_limit
- api-docs.deepseek.com/guides/kv_cache
- docs.claude.com/en/docs/about-claude/pricing
- claude.com/pricing
- platform.openai.com/docs/pricing
- ai.google.dev/gemini-api/docs/pricing
- together.ai/pricing
- together.ai/startup-accelerator
- baseten.co/pricing
- baseten.co/talk-to-us/startup-program
- deepinfra.com/deepstart
- openrouter.ai/startups
Related guides
- Groq API (December 2026): API key, free tier and model prices
Groq API guide: free plan limits, how to get a Groq API key, and per-model prices from $0.17 per million tokens (gpt-oss-20b). Plus how Groq differs from Grok.
- OpenRouter pricing (December 2026): fees, BYOK and free models
OpenRouter pricing explained: models at provider list price, a 5.5% fee when you buy credits (8% on Business), $25,000 a month of free BYOK, and free model limits.
- AI credits for startups: every free AI credit program (2026)
Free AI credits for startups from OpenAI, Anthropic, xAI, Google, GPU clouds, voice APIs and vector DBs. Which need a VC and which you can apply for directly.
- Free GPU credits: free GPU cloud options and startup programs (2026)
Free GPU credits in 2026: Colab, Kaggle (30 hours a week), Modal's $30 a month, plus GPU credit programs from Runpod, Lambda, Baseten, Together and more.