All guides

Using the DeepSeek API outside China: four ways, with prices

You can use DeepSeek's models on DeepSeek's own platform, through a host such as DeepInfra, through a router such as OpenRouter, or through a multi-model gateway such as XHuoAPI. Below are the public prices for the same models in each place, each with its source and the date we checked it. XHuoAPI is this site; we list our price in all four tiers.

Third-party prices checked:

DeepSeek V4.1 Flash

DeepSeek now uses the name deepseek-flash for V4.1 Flash; the old name deepseek-v4-flash is still accepted and billed at the Flash price.

WhereModel ID$ / 1M in / outNotes
DeepSeek (official)
source
deepseek-flash$0.30 / $1.20Peak price. Peak hours are 01:00–04:00 and 06:00–10:00 UTC, Monday to Friday; all other hours (including weekends) are half price: $0.15 / $0.60
DeepInfra
source
deepseek-ai/DeepSeek-V4.1-Flash$0.14 / $0.42Promotional price, fp8 precision. Without the promotion: $0.20 / $0.60
OpenRouter
source
deepseek/deepseek-v4.1-flash-1017$0.30 / $1.20The price shown is DeepSeek's own endpoint on OpenRouter. OpenRouter routes across providers; this model has 33, and the lowest in / out price is $0.070 / $0.15, mostly from fp4 / fp8 quantized hosts.
XHuoAPI (Standard)deepseek-v4.1-flash$0.24 / $0.96Saver $0.15 / $0.60
Spot $0.090 / $0.36
Official tier $0.30 / $1.20
The same key also calls Qwen, GLM, Kimi, GPT, Claude and others, in OpenAI and Anthropic formats. Cheaper tiers trade off stability; see the pricing page.
XHuoAPI (Standard)deepseek-v4-flash$0.24 / $0.96Saver $0.15 / $0.60
Spot $0.090 / $0.36
Official tier $0.30 / $1.20
The same key also calls Qwen, GLM, Kimi, GPT, Claude and others, in OpenAI and Anthropic formats. Cheaper tiers trade off stability; see the pricing page.

DeepSeek V4 Pro

WhereModel ID$ / 1M in / outNotes
DeepSeek (official)
source
deepseek-v4-pro$1.32 / $3.96Peak price. Peak hours are 01:00–04:00 and 06:00–10:00 UTC, Monday to Friday; all other hours (including weekends) are half price: $0.66 / $1.98
DeepInfra (via OpenRouter)
source
deepseek/deepseek-v4-pro$1.30 / $2.60fp8 precision; price from DeepInfra's endpoint listed on OpenRouter.
OpenRouter
source
deepseek/deepseek-v4-pro—This model has 15 providers on OpenRouter; the lowest in / out price is $0.90 / $1.50, and you pay the rate of the provider that serves the request.
XHuoAPI (Standard)deepseek-v4-pro$1.06 / $3.17Saver $0.66 / $1.98
Spot $0.40 / $1.19
Official tier $1.32 / $3.96
The same key also calls Qwen, GLM, Kimi, GPT, Claude and others, in OpenAI and Anthropic formats. Cheaper tiers trade off stability; see the pricing page.

How to choose

What to check besides price

Related

Use XHuoAPI in Claude Code Chinese models in coding agents: test results DeepSeek vs Qwen vs GLM price comparison Pricing About XHuoAPI
Sign up and create an API key