apiprice Download 中文

Prices › Hot models › DeepSeek

DeepSeek API pricing, free access & setup

As of 2026-11-20, we track 6 DeepSeek models (DeepSeek). The cheapest is DeepSeek V4.1 Flash 1017: ¥2 / ¥8 per 1M input/output tokens via the official API (blended $0.524). On OpenRouter's weekly ranking (as of 2026-10-16) the DeepSeek family routed about 44.6T tokens, #1 among our 10 hot families. 1 verified free/deal routes are listed.

Conclusions & evidence

TopicConclusionChannelSourceChecked
PriceCheapest overall: DeepSeek V4.1 Flash 1017, ¥2 / ¥8 per 1M input/outputOfficial (China)api-docs.deepseek.com2026-11-19 07:19 UTC+8
RegionMainland direct: yesOfficial (China)api-docs.deepseek.com2026-10-17
PaymentAlipay: yes; overseas card: not requiredOfficial (China)api-docs.deepseek.com2026-10-17
Real-nameID verification: requiredOfficial (China)api-docs.deepseek.com2026-10-17
RegionMainland direct: UnverifiedOfficial (Intl)UnverifiedUnknown
PaymentAlipay: Unverified; overseas card: UnverifiedOfficial (Intl)UnverifiedUnknown
Real-nameID verification: UnverifiedOfficial (Intl)UnverifiedUnknown
RegionMainland direct: yes; provider region limits unverified (DeepSeek V4.1 Flash 1017)OpenRouterour test2026-10-17
PaymentAlipay: yes; overseas card: not requiredOpenRouterverified2026-10-17
Real-nameID verification: not requiredOpenRouterverified2026-10-17

Each conclusion is tied to one channel, one source link and a check time; “verified” means checked by the site owner, conclusion only.

Last updated: 2026-11-20 · DeepSeek · Official pricing

Contents: Evidence · Prices · Free & deals · Off-peak · China · Setup · Benchmark · Changes · FAQ

DeepSeek API prices, all channels (per 1M tokens)

DeepSeek API prices, all channels (per 1M tokens)
ModelChannelBlendedInputOutputCachedThis channelNativeSource
DeepSeek V4.1 Flash 1017Official (China)$0.524$0.299$1.2$0.006Direct access from mainland China: yesAlipay: yesReal-name ID required: yesOverseas card required: no¥2 / ¥8api-docs.deepseek.com 2026-11-19
DeepSeek V4.1 Flash 1017Official (Intl)$0.525$0.3$1.2$0.006Direct access from mainland China: UnverifiedAlipay: UnverifiedReal-name ID required: UnverifiedOverseas card required: Unverified$0.3 / $1.2api-docs.deepseek.com 2026-11-19
DeepSeek V4.1 Flash 1017OpenRouter$0.525$0.3$1.2$0.006Direct access from mainland China: yesAlipay: yesReal-name ID required: noOverseas card required: no$0.3 / $1.2openrouter.ai 2026-11-20
DeepSeek V4 ProOpenRouter$1.1$0.9$1.7$0.08Direct access from mainland China: yesAlipay: yesReal-name ID required: noOverseas card required: no$0.9 / $1.7openrouter.ai 2026-11-20
DeepSeek V4 Pro (0813)Official (China)$2.02$1.35$4.04$0.045Direct access from mainland China: yesAlipay: yesReal-name ID required: yesOverseas card required: no¥9 / ¥27api-docs.deepseek.com 2026-11-19
DeepSeek V4 Pro (0813)Official (Intl)$1.98$1.32$3.96$0.044Direct access from mainland China: UnverifiedAlipay: UnverifiedReal-name ID required: UnverifiedOverseas card required: Unverified$1.32 / $3.96api-docs.deepseek.com 2026-11-19
DeepSeek V4 Pro (0813)OpenRouter$1.98$1.32$3.96$0.044Direct access from mainland China: yesAlipay: yesReal-name ID required: noOverseas card required: no$1.32 / $3.96openrouter.ai 2026-11-20
DeepSeek V4 Flash 0731Retired · third-party hostedOpenRouter$0.09$0.06$0.18$0.015Direct access from mainland China: yesAlipay: yesReal-name ID required: noOverseas card required: no$0.06 / $0.18openrouter.ai 2026-11-20
DeepSeek V4 FlashRetired by DeepSeek; requests now go to 1017OpenRouterLimited-time discountUnverified: OpenRouter API only$0.103$0.083$0.165$0.017Direct access from mainland China: yesAlipay: yesReal-name ID required: noOverseas card required: no$0.0826 / $0.1652openrouter.ai 2026-11-20
DeepSeek V4.1 FlashRetired · upgraded to 1017 by DeepSeekOfficial (China)$0.524$0.299$1.2$0.006Direct access from mainland China: yesAlipay: yesReal-name ID required: yesOverseas card required: no¥2 / ¥8api-docs.deepseek.com 2026-10-17
DeepSeek V4.1 FlashOfficial (Intl)$0.525$0.3$1.2$0.006Direct access from mainland China: UnverifiedAlipay: UnverifiedReal-name ID required: UnverifiedOverseas card required: Unverified$0.3 / $1.2api-docs.deepseek.com 2026-10-17
DeepSeek V4.1 FlashOpenRouter$0.21$0.12$0.48$0.0024Direct access from mainland China: yesAlipay: yesReal-name ID required: noOverseas card required: no$0.12 / $0.48openrouter.ai 2026-11-20

Blended = 0.75×input + 0.25×output. Relay prices not yet tracked. Methodology

Retired, deprecated or leaving OpenRouter names are not ranked: DeepSeek V4.1 Flash(Retired · upgraded to 1017 by DeepSeek), DeepSeek V4 Flash(Retired by DeepSeek; requests now go to 1017), DeepSeek V4 Flash 0731(Retired · third-party hosted). Their prices remain on the model pages and in the main table.Rule

How to use DeepSeek for free & current deals

DetailsStatusSource
OpenCode Zen: 12 models free for a limited time
Claim link
Unverified
Real-name
Unverified
Card
Unverified
Region
Unverified
Quota
Unverified
Expires
Limited time; no end date stated
Checked
opencode.ai · 2026-10-23 09:35 UTC+8

Sign in to the OpenCode console, get an API key and call the model id; whether free models need credits first is not stated.

activeofficial link 2026-10-22T23:04:01+08:00

Is the DeepSeek API free? Pricing & free routes → · All free LLM APIs → · Submit a deal

DeepSeek peak / off-peak pricing

Off-peak rates are half of the peak rates. Peak hours are 01:00 - 04:00 and 06:00 - 10:00 UTC, Monday through Friday, excluding Chinese public holidays. All other hours are off-peak, including weekends and Chinese public holidays in full.
ModelChannelPeak in / outOff-peak in / out
DeepSeek V4.1 Flash 1017Official (China)¥2 / ¥8¥1 / ¥4
DeepSeek V4.1 Flash 1017Official (Intl)$0.3 / $1.2$0.15 / $0.6
DeepSeek V4 Pro (0813)Official (China)¥9 / ¥27¥4.5 / ¥13.5
DeepSeek V4 Pro (0813)Official (Intl)$1.32 / $3.96$0.66 / $1.98
DeepSeek V4.1 FlashOfficial (China)¥2 / ¥8¥1 / ¥4
DeepSeek V4.1 FlashOfficial (Intl)$0.3 / $1.2$0.15 / $0.6

Peak = 09:00–12:00 and 14:00–18:00 UTC+8 on weekdays; weekends and Chinese public holidays are off-peak all day. Prices per 1M tokens (cache miss). Official pricing · checked 2026-10-17 11:14 UTC+8

Using DeepSeek from China

ChannelAccess & paymentNoteSource
Official (China)Direct access from mainland China: yesAlipay: yesReal-name ID required: yesOverseas card required: noDeepSeek China platform: Official FAQ: after real-name verification, top up via Alipay/WeChat; site has a mainland ICP license.api-docs.deepseek.com 2026-10-17
Official (Intl)Direct access from mainland China: UnverifiedAlipay: UnverifiedReal-name ID required: UnverifiedOverseas card required: UnverifiedDeepSeek international site: access & payment conditions not verified (China-site conditions do not apply).Unverified
OpenRouterDirect access from mainland China: yesAlipay: yesReal-name ID required: noOverseas card required: noOpenRouter: no ID verification required; Alipay accepted, as are major credit cards and USDC, so no overseas card is needed. Mainland access: our 2026-10-17 test from Shanghai China Unicom (IPv4+IPv6, no proxy) reached the site and API; other ISPs not tested. The Terms say some model providers bar certain countries/regions, and such Restricted Models may not be accessed through OpenRouter. Whether this model provider restricts mainland China or other regions: no explicit official statement found.openrouter.ai 2026-10-17

Use DeepSeek in Claude Code / Codex / OpenCode / CC Switch

Claude Code

export ANTHROPIC_BASE_URL=https://api.deepseek.com/anthropic
export ANTHROPIC_API_KEY=${YOUR_API_KEY}
export ANTHROPIC_MODEL=deepseek-flash

Codex CLI

DeepSeek natively supports the Responses API that Codex requires. Full config, verification status and rollback: DeepSeek × Codex CLI guide

Check official docs for model IDs. Source

Claude Code · Codex · OpenCode · CC Switch · Cline

DeepSeek benchmarks & popularity

ModelIntelligenceCodingAgenticAA variant
DeepSeek V4 Pro3668.841.3DeepSeek V4 Pro 0813 (Max)
DeepSeek V4 Flash34.369.141DeepSeek V4 Flash 0731 (Max)
DeepSeek V4.1 Flash39.5——DeepSeek V4.1 Flash (Max)

Source: Artificial Analysis indices as shown in the Benchmarks section of OpenRouter rankings, fetched 2026-10-17; higher is better; test variant in the last column. Models not listed have no score from this source. openrouter.ai/rankings · artificialanalysis.ai

OpenRouter weekly ranking (tokens)

Source: OpenRouter (openrouter.ai/rankings), as of 2026-10-16; reflects OpenRouter routing volume only. openrouter.ai/rankings

DeepSeek price changes

DeepSeek vs others

DeepSeek V4 Pro (0813) vs Qwen3.8 Max (0902) · DeepSeek V4.1 Flash 1017 vs Qwen3.8 Flash · Kimi K3 vs DeepSeek V4 Pro (0813) · Doubao Seed 2.1 Pro vs DeepSeek V4 Pro (0813) · DeepSeek V4.1 Flash 1017 vs GPT-6 Luna ·

FAQ

How much does the DeepSeek API cost?

As of 2026-11-20, the cheapest is DeepSeek V4.1 Flash 1017 at ¥2 / ¥8 per 1M input/output tokens (Official (China)). See the table for all models, each with a source.

What is the official DeepSeek V4.1 Flash 1017 price?

Official (China): ¥2 / ¥8 per 1M input/output tokens, cached ¥0.04, verified 2026-11-19.

What is the official DeepSeek V4 Pro (0813) price?

Official (Intl): $1.32 / $3.96 per 1M input/output tokens, cached $0.044, verified 2026-11-19.

Is the DeepSeek API free?

1 verified free/deal routes: OpenCode Zen: 12 models free for a limited time.

Can I use DeepSeek from mainland China?

Official (China): direct yes, Alipay yes, ID required yes, overseas card no; Official (Intl): direct Unverified, Alipay Unverified, ID required Unverified, overseas card Unverified; OpenRouter: direct yes, Alipay yes, ID required no, overseas card no. Conditions are verified per channel; sources and check times are in the Conclusions & evidence table.

How do I use DeepSeek in Claude Code?

DeepSeek offers an Anthropic-compatible endpoint: set ANTHROPIC_BASE_URL=https://api.deepseek.com/anthropic plus your API key (source: official docs).

How does DeepSeek score on benchmarks?

Artificial Analysis Intelligence Index (via OpenRouter rankings, 2026-10-17): DeepSeek V4 Pro 36, DeepSeek V4 Flash 34.3, DeepSeek V4.1 Flash 39.5.

How do I use DeepSeek in Codex CLI?

Codex only supports the Responses API; DeepSeek supports it (base_url https://api.deepseek.com, model deepseek-flash or deepseek-v4-pro). Config parses on Codex 0.163.0 with text/tool calls verified on Linux/macOS (Windows tool calls with sandbox on not verified). One-line installer or manual setup: see the DeepSeek × Codex guide.

How popular is DeepSeek?

On OpenRouter's weekly ranking (as of 2026-10-16) the DeepSeek family routed ~44.6T tokens. This reflects OpenRouter routing volume only.

Are there cheaper alternatives to DeepSeek?

See the home table sorted by blended price and our cheapest-LLM-API ranking.

Other hot models

GLM · Step · Hunyuan · MiMo · Claude · GPT · Kimi · Gemini · Qwen ·