As of November 23, 2026, DeepSeek's official API lists deepseek-flash (DeepSeek-V4.1-Flash-1017) at $0.15 input, $0.003 cached and $0.60 output per 1M tokens off-peak, and deepseek-v4-pro (DeepSeek-V4-Pro-0813) at $0.66, $0.022 and $1.98 off-peak. Weekday peak hours double every rate. Third-party hosts' standard list input runs $0.20 to $0.30 for Flash ($1.30 to $1.32 for V4 Pro), more on regional or faster tiers; cache hits and gateway fees materially affect bills.
We build Experiential, 1 of the 2 API gateways compared alongside 4 direct inference hosts below. Every price, context window and data-handling policy in this guide comes from each provider's own live pricing page, model catalog or legal docs, read between November 20 and November 23, 2026.
Official DeepSeek API pricing and peak hours
DeepSeek's official pricing page lists 2 chat models on November 23, 2026: deepseek-flash at $0.15 input ($0.003 cached) and $0.60 output off-peak, and deepseek-v4-pro at $0.66 / $0.022 / $1.98 off-peak, with every rate doubling during weekday peak hours. Both models include a 1M-token context window, up to 384K output tokens and thinking mode enabled by default.
The deepseek-flash model ID serves DeepSeek-V4.1-Flash-1017, accepts text and images and allows 2,500 concurrent connections per account. Legacy names deepseek-v4-flash and deepseek-v4-flash-vision-exp are still accepted, though those earlier models are retired and route to DeepSeek-V4.1-Flash-1017 at the Flash rate.
The deepseek-v4-pro model ID serves DeepSeek-V4-Pro-0813, supports text only (no vision) and allows 500 concurrent connections per account. Both models support JSON output, tool calls, the OpenAI-compatible endpoint (https://api.deepseek.com), the Responses API and an Anthropic-compatible endpoint (https://api.deepseek.com/anthropic).
| Model ID | Served version | Off-peak (in / cache / out) | Peak (in / cache / out) | Concurrency |
|---|---|---|---|---|
| deepseek-flash | DeepSeek-V4.1-Flash-1017 | $0.15 / $0.003 / $0.60 | $0.30 / $0.006 / $1.20 | 2,500 |
| deepseek-v4-pro | DeepSeek-V4-Pro-0813 | $0.66 / $0.022 / $1.98 | $1.32 / $0.044 / $3.96 | 500 |
How DeepSeek peak and off-peak hours work
DeepSeek's off-peak rates are half of its peak rates, and peak billing applies for 7 hours a day from Monday through Friday.
Per the pricing notes, peak hours run from 01:00 to 04:00 UTC and from 06:00 to 10:00 UTC, Monday through Friday, excluding Chinese public holidays. All other hours are off-peak, including weekends and Chinese public holidays in full.
In a standard 168-hour week, 35 hours are peak (20.8%) and 133 hours are off-peak (79.2%). Because those windows correspond to 09:00 to 12:00 and 14:00 to 18:00 Beijing Time (UTC+8), daytime traffic in the Americas lands mostly in off-peak hours.
Other DeepSeek API fees and billing rules
DeepSeek's official pricing page lists no ongoing free tier: it bills per token from a prepaid topped-up or granted balance and prices standalone web, document and audio APIs separately from chat tokens.
- Search and Fetch APIs: $0.75 per 1,000 successful text search requests and $0.75 per 1,000 successful fetch requests. Starting at 12:00 UTC+8 on November 18, 2026, server-side search and web fetch triggered by model tool calls are no longer billed per call; their returned content counts as model tokens.
- File parsing and OCR: $0.225 per 1,000 pages.
- Speech: Text to Speech lists at $0.45 per 10,000 characters ($0.225 during a limited-time 50% discount), and Speech to Text lists at $0.116 per audio hour ($0.058 at 50% off).
- Concurrency and refunds: Exceeding account-level concurrency limits returns HTTP 429, and capacity expansion carries no extra fee. Granted balances draw down before topped-up balances. Under Section 6.3 of the Open Platform Terms, approved refunds return the full remaining unspent balance in 1 lump sum after handling fees, with no partial refunds.
6 DeepSeek API providers compared
Comparing 4 direct inference hosts (DeepSeek direct, DeepInfra, Fireworks AI and Together AI) and 2 multi-provider API gateways (OpenRouter and Experiential) on November 23, 2026 shows a wide split across list token prices, regional premiums and data-retention defaults.
DeepSeek V4.1 Flash 1017 across providers
Each service below lists DeepSeek-V4.1-Flash-1017 with an advertised context window of about 1 million tokens (reported as 1M, 1.0M, 1024K or 1.05M across pages), and Standard direct-host flat list rates cluster at $0.30 input and $1.20 output outside DeepInfra and DeepSeek off-peak.
| Provider | Input / 1M | Cached / 1M | Output / 1M | Context | Gateway fee | Data retention and residency |
|---|---|---|---|---|---|---|
| DeepSeek direct (off-peak) | $0.15 | $0.003 | $0.60 | 1M | None | Not ZDR; privacy policy allows training on personal data (opt-out depends on where you live) and stores personal data in PRC |
| DeepSeek direct (peak) | $0.30 | $0.006 | $1.20 | 1M | None | Same as above; peak runs Mon to Fri 01:00 to 04:00 and 06:00 to 10:00 UTC |
| DeepInfra | $0.20 list ($0.098 promo) | $0.006 list ($0.0029 to $0.003 promo) | $0.60 list ($0.294 promo) | 1024K | None | Standard API keeps inputs/outputs in memory only; no content logs or training; direct page does not guarantee US-only residency |
| Fireworks AI (Standard) | $0.30 | $0.006 | $1.20 | 1M | None | ZDR by default; US-only serverless at 1.5x ($0.45 / $0.009 / $1.80) |
| Together AI (Standard) | $0.30 | $0.006 | $1.20 | 1M | None | ZDR on by default for new organizations (Prompt storage off); organizations with Prompt storage on keep prompts until an admin turns it off; US geo-pinned at $0.375 / $0.0075 / $1.50 |
| OpenRouter | $0.03 to $0.60 list (52 endpoints) | $0.001 to $0.014 list ($0.0018 promo) | $0.10 to $2.40 list (52 endpoints) | 1.0M | 5.5% Standard ($0.80 min), 8% Business | Metadata only by default (CSAM and Safety Retention exceptions); ZDR routing in account settings or per request (plan table lists data-policy routing on Standard, Business and Enterprise); US/EU on Business/Enterprise |
| Experiential | $0.30 list (plan discounts apply) | $0.006 list | $1.20 list | 1.05M | None | Prompt and response storage is on by default on Free and cannot be turned off; paid subscribers (Pro and up) can manually turn storage off and enable ZDR in Settings; the routable Experiential Cloud route is marked ZDR; Free content may be stored, de-identified, used to train models and licensed to third parties (Terms Sec 7.4 Data Licensing Program) |
Separate promotional and discount tiers exist on November 23, 2026 and can change without matching list rates. DeepInfra displays a 51% promotional discount on DeepSeek-V4.1-Flash-1017 ($0.098 input, $0.294 output, $0.0029 cached on its pricing table and $0.003 on its model page), plus Flex (0.8x) and Priority (1.5x) tiers.
Fireworks AI also offers Flex on DeepSeek-V4.1-Flash-1017 at $0.15 / $0.003 / $0.60, Priority at $0.375 / $0.0075 / $1.50, Ultra-fast (Preview) at $1.20 / $0.024 / $4.80 and Batch at 50% off. On OpenRouter, the 52 Standard routing endpoints mix distinct hosts and tiers: the lowest non-promo list rates come from different endpoints ($0.03 input and $0.001 cached on Tenstorrent, $0.10 output on Sail Research), while Ant Digital lists a 70% promo at $0.0018 cached, all plus OpenRouter's credit fee.
DeepSeek V4 Pro 0813 across providers
Fewer serverless hosts carry DeepSeek-V4-Pro-0813, with non-promo list rates spanning $0.66 to $1.65 input and $1.98 to $4.95 output across direct hosts and Experiential ($0.0999 to $1.98 input and $2.60 to $8.40 output across OpenRouter's 21 Standard routing endpoints, read during DeepSeek's peak window), while cached input varies by nearly 6x between DeepSeek off-peak ($0.022) and Together AI ($0.13).
| Provider | Input / 1M | Cached / 1M | Output / 1M | Context | Gateway fee | Notes |
|---|---|---|---|---|---|---|
| DeepSeek direct (off-peak) | $0.66 | $0.022 | $1.98 | 1M | None | 500 concurrent connections; stored in PRC |
| DeepSeek direct (peak) | $1.32 | $0.044 | $3.96 | 1M | None | Double off-peak during weekday peak hours |
| Experiential | about $1.25 | about $0.10 | about $3.76 | 1.05M | No markup of its own; OpenRouter passthrough, so the price includes OpenRouter's 5.5% fee | Single active route is OpenRouter (passthrough), marked ZDR; prompt storage is on by default and paid subscribers (Pro and up) can manually turn storage off and enable ZDR in Settings |
| DeepInfra | $1.30 | $0.10 | $2.60 | 1024K | None | Lower flat list output rate ($2.60 against Together AI's $3.96) of the 2 standalone hosts that list V4 Pro 0813; no promo on Nov 23 |
| Together AI (Standard) | $1.32 | $0.13 | $3.96 | 1M (1.05M card) | None | US geo-pinned at $1.65 / $0.1625 / $4.95 |
| OpenRouter | $0.0999 to $1.98 list (21 endpoints) | $0.04 to $0.555 list ($0.0042 promo) | $2.60 to $8.40 list ($0.396 promo) | 1.0M | 5.5% Standard ($0.80 min), 8% Business | Read during DeepSeek's peak window, when the DeepSeek endpoint lists $1.32 / $0.044 / $3.96. Lows come from different endpoints (Relace $0.0999 input, Nebius Token Factory $0.04 cached, DeepInfra $2.60 output); Baidu Qianfan lists a 90% off promo |
| Fireworks AI | Not listed serverless | Not listed serverless | Not listed serverless | N/A | None | Not listed on Fireworks serverless pricing pages on Nov 23, 2026 |
Worked monthly cost at 3 usage levels
On a 5:1 input-to-output workload, moving from 0% to 50% prompt cache hits cuts a monthly DeepSeek-V4.1-Flash-1017 bill by 27.2% at $0.30 / $0.006 / $1.20 list rates and by 30.3% at DeepInfra's $0.20 / $0.006 / $0.60 list rates.
The table below models 3 monthly volumes: Light (10M input / 2M output tokens), Medium (100M input / 20M output) and Heavy (1B input / 200M output). Each cell shows 0% cache hit / 50% cache hit, with DeepInfra's dated 51% promotion separated from its list price.
| Provider and rate (DeepSeek-V4.1-Flash-1017) | Light (10M in / 2M out) | Medium (100M in / 20M out) | Heavy (1B in / 200M out) |
|---|---|---|---|
| DeepSeek direct (off-peak) | $2.70 / $1.97 | $27.00 / $19.65 | $270.00 / $196.50 |
| DeepSeek direct (uniform token volume, non-holiday week: 35/168 peak) | $3.26 / $2.37 | $32.63 / $23.74 | $326.25 / $237.44 |
| DeepInfra (list) | $3.20 / $2.23 | $32.00 / $22.30 | $320.00 / $223.00 |
| DeepInfra (dated 51% off promo) | $1.57 / $1.09 | $15.68 / $10.93 | $156.80 / $109.25 |
| DeepSeek direct (peak), Fireworks AI (Standard), Together AI (Standard) or Experiential (list) | $5.40 / $3.93 | $54.00 / $39.30 | $540.00 / $393.00 |
| OpenRouter (Standard via Fireworks AI or Together AI, +5.5%) | $5.70 / $4.15 | $56.97 / $41.46 | $569.70 / $414.62 |
| Together AI (US geo-pinned) | $6.75 / $4.91 | $67.50 / $49.13 | $675.00 / $491.25 |
| Fireworks AI (US-only) | $8.10 / $5.90 | $81.00 / $58.95 | $810.00 / $589.50 |
Notes on OpenRouter credit minimums and DeepInfra promo rounding
OpenRouter charges its fee when you buy credits, not on monthly usage. Its $5.70 / $4.15 Light figures assume credit purchases of at least $14.55 (where 5.5% exceeds the $0.80 card minimum); a standalone purchase sized to cover only the Light workload pays the $0.80 minimum instead ($6.20 at 0% cache hit, $4.73 at 50%).
DeepInfra's worked promo row uses the $0.0029 cached rate from deepinfra.com/pricing; using the $0.003 cached rate shown on its model page changes Heavy 50%-cache from $109.25 to $109.30. Even before promos, DeepInfra's flat list rate ($32.00 at Medium, 0% hit) slightly undercuts a uniform non-holiday 24/7 workload on DeepSeek direct ($32.63), while off-peak traffic on DeepSeek direct drops to $27.00.
Why cache hit rate and gateway fees matter
For a 5:1 input-to-output workload on DeepSeek V4.1 Flash 1017, 50% cache hits cut token costs by 27.2% at DeepSeek's direct rates and by 30.3% at DeepInfra's Standard rates; gateway credit purchase fees add to spend separately.
On DeepSeek-V4.1-Flash-1017, cached input is 98% cheaper than uncached input ($0.003 vs $0.15 off-peak, and $0.006 vs $0.30 peak, a 50x drop). On DeepSeek-V4-Pro-0813, DeepSeek direct cuts cached input by 96.7% (30x), while Together AI charges $0.13 cached (about 3x DeepSeek's peak cached rate).
DeepSeek enables Context Caching on Disk by default with no code changes and reports prompt_cache_hit_tokens and prompt_cache_miss_tokens in usage. Because of Sliding Window Attention, requests only hit the cache when they fully match a persisted cache prefix unit (saved at request boundaries, detected common prefixes or fixed token intervals).
Above the $14.55 minimum-fee threshold, OpenRouter's percentage purchase fees scale with credits purchased. At $540.00 of Heavy monthly token spend on a $0.30 input / $1.20 output host, its 5.5% Standard credit fee adds $29.70 ($569.70 total), and its 8% Business fee adds $43.20 ($583.20 total). On small top-ups under $14.55, OpenRouter's $0.80 minimum fee turns a $10 purchase into an 8% fee.
Worked monthly cost for DeepSeek V4 Pro 0813
At Medium volume (100M input / 20M output tokens a month), DeepSeek-V4-Pro-0813 costs $105.60 at 0% cache hit ($73.70 at 50%) off-peak on DeepSeek direct, compared with $182.00 ($122.00) on DeepInfra, about $200.20 ($142.70) on Experiential (served through OpenRouter passthrough) and $211.20 ($151.70) on Together AI Standard.
Of the 2 standalone hosts that list V4 Pro 0813, DeepInfra has the lower flat output rate ($2.60 against Together AI's $3.96). Experiential's input rate (about $1.25) sits below DeepInfra's $1.30 and its cached rate (about $0.10) roughly matches DeepInfra's, so at 0% cache hit Experiential costs less than DeepInfra only when input tokens outnumber output tokens by about 25 to 1 or more. DeepSeek direct peak ($211.20 at 0% hit, $147.40 at 50%) matches Together AI Standard uncached and beats it as cache hits rise because of DeepSeek's $0.044 cached rate.
Data retention and residency across providers
DeepSeek's Privacy Policy says it collects, processes and stores personal data in the People's Republic of China and may use personal data to train its models. Its Open Platform Terms apply that policy to the account holder's own data, leave end-user data to the developer as controller and do not address training on API inputs directly, which matters for teams whose policies restrict PRC processing or require specific retention controls.
Zero data retention and US data residency are separate properties: a host can offer zero retention without guaranteeing US-only processing unless you select a regional endpoint or policy.
DeepSeek direct data handling
DeepSeek direct is operated by Hangzhou DeepSeek Artificial Intelligence Co., Ltd., and its Privacy Policy states that it collects, processes and stores personal data in the People's Republic of China.
The policy states that DeepSeek keeps user inputs while your account is active and uses personal data to train and improve its models and algorithms. It lists an opt-out from training among rights that may be available depending on where you live, and it says it does not cover end-user data from apps built on the open platform. A model training disclosure linked from Section 8.2 of the Terms says a small portion of DeepSeek's fine-tuning data may be built from user input after de-identification.
Under Section 4.2 of the Open Platform Terms, DeepSeek assigns any rights, title and interests, if any, in outputs to you and explicitly allows derivative products and training other models such as distillation.
Fireworks AI, DeepInfra and Together AI data handling
All 3 standalone third-party hosts default to zero retention on standard chat endpoints (Together AI for new organizations), and only Fireworks US-only and Together US geo-pinned endpoints guarantee US-only serverless residency.
- Fireworks AI: Its pricing page states "Zero data retention by default. SOC 2 Type II, ISO 27001, 27701 and 42001, and HIPAA with a BAA." Its data security docs exclude the Batch API and Responses API from zero data retention. US-only Serverless (
us.api.fireworks.ai) keeps inference exclusively in the US at 1.5x base rates ($0.45 / $0.009 / $1.80 for V4.1 Flash 1017). - DeepInfra: Its data privacy docs state that standard inference APIs never store inputs on disk, delete inputs and outputs from memory once inference finishes, log metadata only and do not train on customer data. Bulk inference may temporarily store encrypted data on disk, and the privacy doc does not state US-only residency for direct inference.
- Together AI: Per its ZDR docs, Together AI enables ZDR by default for new organizations, which start with Prompt storage off (passthrough models are unavailable while it is off). Organizations with Prompt storage on have prompts and responses stored, and possibly used for product improvements, until an admin turns it off. Model training is a separate opt-in, off by default. US geo-pinned serverless adds 25%, and dedicated VPC endpoints support EU regions.
OpenRouter and Experiential data policies
OpenRouter and Experiential both expose zero-data-retention routing controls, while differing on default prompt capture and on which plan enables region or ZDR enforcement.
- OpenRouter: Per its data collection docs, OpenRouter logs metadata only unless you opt in, apart from CSAM screening and Safety Retention endpoints. ZDR routing can be enforced in account privacy settings or per request, and its ZDR only option also excludes Safety Retention endpoints. Its plan table lists Data Policy-Based Routing as Yes on Standard, Business and Enterprise and No on Free. EU or US in-region routing requires Business (8% credit fee) or Enterprise.
- Experiential: Prompt and response storage is on by default across Free accounts and cannot be turned off on Free. Paid subscribers (Pro and up) can manually turn storage off and enable account-wide ZDR in Settings, or send
provider: {"zdr": true}on a single request (data controls); subscribing does not turn storage off automatically. Region filtering (allowed_processing_regions) is available on every plan. Under Sections 7.4 and 7.5 of the November 17, 2026 Terms of Service, content on Free accounts may be stored, de-identified, used to train models and licensed to third parties (the Data Licensing Program), and a Free account cannot opt out at the account level. Paid-plan content is left out unless you affirmatively opt in.
How to get a DeepSeek API key and make your first call
You can start calling DeepSeek in 3 steps using the standard OpenAI Python SDK, and switch to an OpenAI-compatible gateway by changing the base URL, API key and model ID.
- Create an account on DeepSeek's developer platform, top up a prepaid balance and generate a key at platform.deepseek.com/api_keys. Export it as
DEEPSEEK_API_KEY. To run the gateway half of the script below, also export an Experiential key asEXPLABS_API_KEY. - Install the OpenAI Python package (
pip install openai), initializeOpenAIwithbase_url="https://api.deepseek.com"and passmodel="deepseek-flash"(or"deepseek-v4-pro") tochat.completions.create, per DeepSeek's quickstart. For Anthropic SDK callers, DeepSeek also exposeshttps://api.deepseek.com/anthropic. - Context caching is best-effort; inspect
reply.usageacross repeated identical prefixes to check whetherprompt_cache_hit_tokensis greater than 0.
import osfrom openai import OpenAI # 1. DeepSeek direct (https://api.deepseek.com)client = OpenAI( base_url="https://api.deepseek.com", api_key=os.environ["DEEPSEEK_API_KEY"],)reply = client.chat.completions.create( model="deepseek-flash", messages=[{"role": "user", "content": "Summarize HTTP 429 retry logic in 2 sentences."}],)print(reply.choices[0].message.content)print(reply.usage) # 2. Swap base_url, api_key and model to call an OpenAI-compatible gateway (Experiential)# Runs only when EXPLABS_API_KEY is setif os.environ.get("EXPLABS_API_KEY"): gw_client = OpenAI( base_url="https://api.experientiallabs.ai/v1", api_key=os.environ["EXPLABS_API_KEY"], ) gw_reply = gw_client.chat.completions.create( # Free's core allowance covers deepseek-v4.1-flash; the -1017 model below needs credits on Free model="deepseek-v4.1-flash-1017", messages=[{"role": "user", "content": "Summarize HTTP 429 retry logic in 2 sentences."}], ) print(gw_reply.choices[0].message.content)
This snippet was written against version 3.57.0 of the openai package (current on PyPI on November 20, 2026). On November 23, 2026 we ran it on Python 3.12.16 with placeholder keys and the SDK's HTTP transport stubbed out, so no request left the machine: it skipped the gateway half when EXPLABS_API_KEY was unset and built both requests when both keys were set. It was not executed against a live DeepSeek or Experiential key in this environment.
Which DeepSeek API provider to pick
The right DeepSeek API route depends on 3 constraints: whether your compliance rules allow PRC processing or require US-only residency, whether your traffic hits weekday peak hours and whether you need a direct host or a multi-provider gateway.
When calling DeepSeek directly wins
Calling DeepSeek directly fits teams whose legal and security policies permit PRC data processing and that want low list rates on off-peak or high-cache traffic without routing through a gateway.
- You run batch jobs, US daytime apps or weekend workloads that stay mostly inside DeepSeek's 133 weekly off-peak hours ($0.15 / $0.003 / $0.60 on Flash; $0.66 / $0.022 / $1.98 on V4 Pro).
- Your
DeepSeek-V4-Pro-0813prompts reuse large prefixes, where DeepSeek's $0.022 off-peak ($0.044 peak) cached rate undercuts DeepInfra ($0.10), Experiential (about $0.10) and Together AI ($0.13). - You want built-in Search, Fetch, OCR or Speech APIs, 2,500 concurrent Flash connections out of the box or DeepSeek's native Anthropic-format endpoint with zero gateway fee.
When a third-party host wins
A standalone third-party host fits teams that want zero data retention, explicit US regional hosting or flat 24/7 pricing without adding a gateway layer.
- [DeepInfra](https://deepinfra.com/pricing) fits teams wanting the lowest Standard Flash list input and output rates among the 3 standalone third-party hosts compared here ($0.20 input / $0.006 cached / $0.60 output, or $0.098 input / $0.294 output during its dated 51% promotion) and the lower flat V4 Pro 0813 output rate ($2.60 per 1M against Together AI's $3.96) of the 2 standalone hosts that list it, with in-memory-only processing and no content logging.
- [Fireworks AI](https://fireworks.ai/pricing) fits teams that require default zero data retention, SOC 2 Type II / ISO / HIPAA BAA coverage, explicit US-only serverless (
us.api.fireworks.ai) or discounted Flex ($0.15 / $0.003 / $0.60) and 50%-off Batch modes on V4.1 Flash 1017 (Batch falls outside its zero data retention). - [Together AI](https://www.together.ai/pricing) fits teams that need explicit US geo-pinned serverless on both V4.1 Flash 1017 ($0.375 input / $1.50 output) and V4 Pro 0813 ($1.65 input / $4.95 output) or dedicated EU/US VPC deployments, with ZDR on by default for new organizations.
When OpenRouter wins
OpenRouter fits teams that want 600+ models from 80+ providers (including 52 Standard routing endpoints for DeepSeek-V4.1-Flash-1017, with non-promo list rates down to $0.03 input / $0.20 output on Tenstorrent and $0.04 input / $0.10 output on Sail Research) with automatic retry across remaining providers behind 1 key.
It also fits teams that want no prompt storage by default without a monthly subscription (subject to CSAM and Safety Retention exceptions), or teams running their own provider keys under OpenRouter's fee-free BYOK allowance of $25,000 of list-price inference a month (5% after). The trade-off on routed credits is its 5.5% Standard ($0.80 minimum) or 8% Business credit purchase fee.
When Experiential wins
Experiential adds no markup of its own on credits (1 credit = $0.01) or on your own provider keys (Pro and up); models it serves through OpenRouter are a passthrough at OpenRouter's price plus OpenRouter's 5.5% fee. It fits teams that want deepseek-v4-pro-0813 on a single active route marked ZDR at about $1.25 input, $0.10 cached and $3.76 output (served through OpenRouter passthrough), or an Apache-2.0 open-source gateway they can self-host.
Prompt and response storage is on by default on Free and cannot be turned off; paid subscribers (Pro and up) can manually turn storage off and enable ZDR in Settings.
Separate from catalog list prices, Experiential's pricing plans on November 23, 2026 include deepseek-v4.1-flash in the Free core tier: 1M tokens a day shared with GPT-6 Luna and Clef, capped at 10 requests and 250K tokens a minute, after a temporary $1 card verification.
Paid plans ($20 Pro, $200 Max and $2,000 Ultra) include their monthly price in credits and show 100% off on deepseek-v4.1-flash and deepseek-v4.1-flash-1017 within daily allowances (700, 7,000 and 70,000 credits a day). The older April deepseek-v4-flash ($0.19 / $0.028 / $0.51 list) is discounted 25% on Free, 50% on Pro, 75% on Max and 100% on Ultra within daily allowances. See OpenRouter alternatives in 2026 for a full gateway comparison.
Questions answered
How much does the DeepSeek API cost in 2026?
As of November 23, 2026, DeepSeek's official API charges $0.15 per 1M input tokens ($0.003 cached) and $0.60 per 1M output tokens off-peak for deepseek-flash (DeepSeek-V4.1-Flash-1017). During weekday peak hours (01:00 to 04:00 and 06:00 to 10:00 UTC, Monday through Friday excluding Chinese public holidays), those rates double to $0.30 input, $0.006 cached and $1.20 output.
How much is the DeepSeek V4 Pro API?
On DeepSeek's official API as of November 23, 2026, deepseek-v4-pro (DeepSeek-V4-Pro-0813) costs $0.66 per 1M input tokens, $0.022 cached input and $1.98 output during off-peak hours, and doubles to $1.32 input, $0.044 cached and $3.96 output during weekday peak hours. Among third-party options with a single listed rate, DeepInfra lists $1.30 / $0.10 / $2.60, Together AI lists $1.32 / $0.13 / $3.96 and Experiential lists about $1.25 / $0.10 / $3.76 (OpenRouter passthrough, route marked ZDR).
Is DeepSeek API access free?
DeepSeek's official pricing page lists no ongoing free tier; it bills prepaid per token from a topped-up or granted balance. If you want free API access to DeepSeek V4.1 Flash without paying per token, Experiential's Free plan on November 23, 2026 includes 1M tokens a day shared across DeepSeek V4.1 Flash, GPT-6 Luna and Clef after a temporary $1 card verification, subject to rate limits and the Free plan's Data Licensing Program, under which content may be stored, de-identified, used to train models and licensed to third parties.
How do I get a DeepSeek API key?
Sign in to the DeepSeek developer platform, add prepaid balance to your account and create a key at platform.deepseek.com/api_keys. Set it as DEEPSEEK_API_KEY, initialize the OpenAI SDK with base_url='https://api.deepseek.com' and pass model='deepseek-flash' or model='deepseek-v4-pro' to chat.completions.create.
When are DeepSeek API off-peak hours?
Per DeepSeek's pricing docs on November 23, 2026, peak hours are 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 at half price, including all weekend hours and Chinese public holidays in full (133 off-peak hours out of 168 in a normal week).
Does DeepSeek train on API data?
DeepSeek's Open Platform Terms do not address training on API inputs directly. Its Privacy Policy, which the Terms apply to the personal information you provide as the account holder, states that it stores personal data in the People's Republic of China and uses personal data to train and improve its models and algorithms, with an opt-out right that depends on where you live. A model training disclosure linked from the Terms says a small portion of DeepSeek's fine-tuning data may be built from user input after de-identification. Teams that need zero data retention or explicit US hosting typically route DeepSeek open-weights models through Fireworks AI (default ZDR; US-only serverless at 1.5x), DeepInfra (in-memory zero retention), Together AI (ZDR by default for new organizations; US geo-pinned available), OpenRouter ZDR or Experiential Pro with capture off and ZDR enabled.
Which DeepSeek API provider is cheapest?
It depends on the model, traffic hours and retention policy. Among direct hosts on off-peak list rates (where PRC processing is acceptable), DeepSeek direct lists $0.15 / $0.003 / $0.60 for V4.1 Flash 1017 and $0.66 / $0.022 / $1.98 for V4 Pro 0813. Among the 3 standalone third-party hosts compared here, DeepInfra has the lowest Standard Flash list input and output rates ($0.20 / $0.006 / $0.60, with a dated 51% promo at $0.098 input / $0.294 output), and of the 2 that list V4 Pro it has the lower flat output rate ($2.60 against Together AI's $3.96), while Experiential lists a lower V4 Pro input rate (about $1.25) than DeepInfra ($1.30) and a similar cached rate (about $0.10). On OpenRouter, Ambient's advertised Flash rate ($0.045 input / $0.0025 cached / $0.25 output) sits below DeepSeek direct off-peak even with +5.5% above the $14.55 threshold (though endpoint eligibility and retention vary), and Wafer US lists $0.036 input / $0.50 output.