DeepSeek API pricing for every model, newest first

By TechCompare · Updated · How we check

DeepSeek V4.1 Flash 1017 is the newest DeepSeek model and the lowest cost one DeepSeek sells for a 100,000 token prompt with a 5,000 token answer, at $0.01395 a call with three quarters of the input cached.

Every DeepSeek model and its API price

Newest first. Prices are per 1M tokens. One request is 100K tokens in and 5K out, with 75% of the input cached.

ModelInputOutputCachedContextOne requestListed
DeepSeek V4.1 Flash 1017DeepSeek$0.30$1.20$0.0061.05M$0.014Oct 17, 2026
DeepSeek V4.1 FlashCheapest host: Wafer$0.051$0.567$0.0181.05M$0.0055Sep 10, 2026
DeepSeek V4 Flash Vision ExpCheapest host: DeepInfra$0.44$1.32$0.0141.05M$0.0187Aug 21, 2026
DeepSeek V4 Pro 0813DeepSeek$1.32$3.96$0.0441.05M$0.0561Aug 12, 2026
DeepSeek V4 Flash 0731Cheapest host: Relace$0.07$0.14$0.0141.05M$0.0035Jul 31, 2026
DeepSeek V4 Flash 0423Cheapest host: Relace$0.014$0.45$0.0141.05M$0.0037Apr 24, 2026
DeepSeek V4 Pro 0423Cheapest host: SiliconFlow$1$1.50$0.1351.05M$0.0426Apr 24, 2026
DeepSeek V3.2Cheapest host: Baidu$0.28$0.42$0.028164K$0.0112Dec 1, 2025
DeepSeek V3.2 ExpCheapest host: SiliconFlow$0.27$0.41$0.27164K$0.0291Sep 29, 2025
DeepSeek V3.1 TerminusCheapest host: SiliconFlow$0.27$1$0.27164K$0.032Sep 22, 2025
DeepSeek V3.1Cheapest host: DeepInfra$0.25$0.95$0.13164K$0.0208Aug 21, 2025
R1 0528Cheapest host: DeepInfra$0.50$2.15$0.35164K$0.0495May 28, 2025

Listed is the day OpenRouter added the model. Prices checked Nov 14, 2026.

DeepSeek is an AI lab in Hangzhou, China, and it sells its models through its own API. This page lists all 14 DeepSeek models OpenRouter carries, newest first. A row shows DeepSeek's own price where DeepSeek still sells the model, and the host that charges least where it doesn't, which covers most of the older V3 and R1 releases.

DeepSeek V4.1 Flash 1017 is the fast everyday model, at $0.30 input and $1.20 output per million tokens. DeepSeek V4 Pro 0813 is built for hard reasoning and agent work, at $1.32 and $3.96.

Newest
DeepSeek V4.1 Flash 1017
$0.30 in, $1.20 out per 1M
Lowest cost per request
DeepSeek V4.1 Flash 1017
$0.014 for the request in the table
Largest context
DeepSeek V4.1 Flash 1017
1.05M tokens

Calculator

Cost Comparison

Based on 100,000 input tokens (75% cached), 5,000 output tokens, and 100 requests.Prices come live from OpenRouter at each maker's own price where it's listed. Temporary deals are left out.

Loading model prices

How to read the DeepSeek prices

DeepSeek caches on its own. When the start of a prompt matches one it saw recently, the matching tokens bill at the cache hit rate, with no setup. On DeepSeek V4.1 Flash 1017 a hit costs $0.006 per million, 98% off a miss. With three quarters of the example prompt cached, the cached part costs $0.00045 and the rest of the input costs $0.0075.

DeepSeek also has off-peak hours: any time outside 9:00-12:00 and 14:00-18:00 Beijing time (UTC+8). In those hours DeepSeek V4.1 Flash 1017 bills $0.15 input and $0.60 output per million, 50% off input. The peak hours are the Chinese working day, so the cheap window covers the afternoon and evening in Europe and the whole US working day. DeepSeek V4 Pro 0813 has off-peak rates too, at $0.66 input and $1.98 output per million.

DeepSeek's own API calls its Flash model deepseek-flash, and that name moves to each new Flash release. So retest your prompts when one ships, even if your code didn't change.

DeepSeek has released open weights for its main models, which is why so many hosts sell the older ones. DeepSeek V4.1 Flash 1017 reads up to 1.05M tokens, as much as any model in the family.

Verdict

DeepSeek V4.1 Flash 1017 is the newest DeepSeek model and the lowest cost one DeepSeek sells for the example request, so it's the place to start. Keep DeepSeek V4 Pro 0813 for the hard reasoning jobs.

Keep the start of each prompt the same so the cache catches it. And move work that can wait into the off-peak hours.

More LLM pricing scenarios

Frequently asked questions

How much does the DeepSeek API cost?
DeepSeek V4.1 Flash 1017, the newest, costs $0.30 per million input tokens on a cache miss, $0.006 on a cache hit and $1.20 per million output tokens. DeepSeek V4 Pro 0813 is $1.32 input and $3.96 output. The table lists every model, older ones included.
When are DeepSeek's off-peak hours?
Any time outside 9:00-12:00 and 14:00-18:00 Beijing time (UTC+8). In those hours DeepSeek V4.1 Flash 1017 costs $0.15 input and $0.60 output per million.
How does caching work on the DeepSeek API?
It's on by default. When the start of a prompt matches a recent one, the matching part bills at the cache hit rate. On DeepSeek V4.1 Flash 1017 that's $0.006 per million against $0.30 on a miss. Keep system prompts and documents at the front, in the same order each time.
What is deepseek-flash?
It's the model name DeepSeek's own API uses for its Flash model. It moves to each new Flash release, so the model behind it changes over time. The dated rows in the table are the snapshots OpenRouter lists.
Can I run DeepSeek models myself?
Yes, for the releases DeepSeek has published weights for. The big ones need a lot of GPU memory, so most teams rent a host instead, which is why many rows here show a host and not DeepSeek. Check each model's license before you ship it.
Which DeepSeek model has the largest context window?
DeepSeek V4.1 Flash 1017, the newest, has the largest window at 1.05M tokens. A full window is a big bill even at the cache hit rate, so trim what you send.
Where do these prices come from?
From OpenRouter's model list, which we check on a regular schedule. A row shows DeepSeek's own rate where DeepSeek sells the model, and the host that charges least where it doesn't. Check DeepSeek's pricing page for the current off-peak hours.