API pricing and cost
DeepSeek-V4.1-Flash-1017 pricing
DeepSeek V4.1 Flash 1017 official API pricing is $0.30 per million input tokens and $1.20 per million output tokens during peak hours. Off-peak rates and third-party provider prices are compared below.
Covers the 2026-10-17 DeepSeek-V4.1-Flash-1017 release. Supersedes DeepSeek-V4.1-Flash (retired).
$0.30
Official input / 1M
Peak hours
$1.20
Official output / 1M
Peak hours
$0.268
Blended / 1M
4:1 input/output, 90% input cached
$26.83
Example monthly cost
10K requests, 8K input + 2K output/request, 90% input cached
Token charges only; Search, Fetch, and other non-token fees are excluded.
Official API pricing
USD / 1M text tokens · Peak-hour · Effective from 2026-10-17 · Last verified 2026-11-14
- InputPeak-hour text tier, per million tokens
- $0.30
- Cached inputInput served from the prompt cache
- $0.006
- OutputPeak-hour text tier, per million tokens
- $1.20
Peak / off-peak pricing
USD per million text tokens. The headline rate card uses peak-hour rates.
| Period | Input | Output | Cache read |
|---|---|---|---|
| Peak-hour | $0.30 | $1.20 | $0.006 |
| Off-peak | $0.15 | $0.60 | $0.003 |
Source basis: DeepSeek official USD pricing
- Peak-hour: peak: 01:00–04:00 and 06:00–10:00 UTC Mon–Fri exc. CN holidays; peak cache hit; peak output
- Off-peak: off-peak: outside 01:00–04:00 and 06:00–10:00 UTC Mon–Fri exc. CN holidays; independent quote; off-peak cache hit; off-peak output
Billing conditions and workload budgets
Pricing review:
Peak input/output/cache-read rates are $0.30/$1.20/$0.006 per million tokens; off-peak rates are half. Weekday peak windows are 01:00–04:00 and 06:00–10:00 UTC, excluding Chinese public holidays. Search and Fetch each cost $0.75 per 1,000 successful requests from November 1; these fees are additional to tokens.
The rate card and default budgets use peak rates. Off-peak is a separate scheduling scenario, not an automatic discount on every monthly request. Add successful Search and Fetch requests to the token bill.
API providers (7)
Published USD text API rates across hosting providers for DeepSeek-V4.1-Flash-1017. Compare listed rates, effective dates, and service-tier notes for the same model.
On the example assistant workload above (10K requests, 8K input + 2K output/request, 90% input cached; missing cache rates billed at full input), DeepInfra lists the lowest flat-rate total at $14.03/month (official off-peak rates apply only during off-peak UTC windows and are not mixed into flat-rate provider comparisons).
| Provider | Input / 1M | Cached / 1M | Output / 1M | Additional tiers & notes |
|---|---|---|---|---|
| DeepInfraEffective from 2026-11-14 | $0.20Lowest input | $0.006 | $0.60Lowest output | Flex: $0.16/$0.48; Priority: $0.3/$0.9 per 1M tokens. |
| DeepSeek-AIOfficialEffective from 2026-10-17 · Last verified 2026-11-14 | $0.30 | $0.006 | $1.20 | The displayed row is the base peak text-token rate. Off-peak: $0.15/$0.6, $0.003 cached per 1M tokens. |
| Fireworks AIEffective from 2026-11-13 | $0.30 | $0.006 | $1.20 | Batch: $0.15/$0.6 per 1M tokens. |
| Google Cloud Vertex AIEffective from 2026-11-14 | $0.30 | $0.03 | $1.20 | — |
| MicrosoftEffective from 2026-11-14 | $0.30 | $0.006 | $1.20 | — |
| MistralAIEffective from 2026-11-13 | $0.30 | $0.007 | $1.20 | — |
| TOGETHEREffective from 2026-11-13 | $0.30 | $0.006 | $1.20 | — |
What DeepSeek-V4.1-Flash-1017 costs to run
Four workloads costed at official peak-hour rates. Cached-input share is an estimation assumption, not a provider guarantee; when no cached rate is published, all input is billed at the uncached rate. Non-token fees are excluded.
| Workload | Per request | Monthly tokens | Input | Output | Per month |
|---|---|---|---|---|---|
| Chatbotshort turns | 1,500 in · 500 out× 100,000 requests | 150M in · 50M out | $45.00 | $60.00 | $105.00$0.00105 / request |
| Assistant8K context · 90% cached | 8,000 in · 2,000 out× 10,000 requests | 80M in · 20M out | $2.83 | $24.00 | $26.83$0.002683 / request |
| RAGlong input, cached · 50% cached | 24,000 in · 800 out× 20,000 requests | 480M in · 16M out | $73.44 | $19.20 | $92.64$0.004632 / request |
| Coding agentlong output · 70% cached | 15,000 in · 4,000 out× 20,000 requests | 300M in · 80M out | $28.26 | $96.00 | $124.26$0.006213 / request |
Monthly cost
$26.83
on DeepSeek-V4.1-Flash-1017
Per request
$0.002683
80M in · 20M out a month
Split
$2.83 + $24.00
input + output
The same workload costs $24.00 on GLM-4.6V, the cheapest of the comparable models below.
DeepSeek-V4.1-Flash-1017 against comparable models
Benchmark-overlap peers and price-comparable same-type models, costed on the assistant workload above. All figures use the same workload and caching rule; lower price does not imply equivalent capability or service terms.
| Model | Basis | Blended / 1M | Per month | vs DeepSeek-V4.1-Flash-1017 |
|---|---|---|---|---|
| GLM-4.6VZhipu AI | Lower-cost option | $0.24 | $24.00 | 11%cheaper |
| DeepSeek-V4.1-Flash-1017DeepSeek-AI · this model | This model | $0.268 | $26.83 | — |
| GPT-5.4 nanoOpenAI | Similar price | $0.28 | $28.04 | 4.5%dearer |
| Hy4Tencent AI Lab | Similar price | $0.299 | $29.86 | 11%dearer |
| Claude Opus 5.5Anthropic | Shared benchmark coverage | $4.46 | $446.40 | 1,564%dearer · 16.6× |
| Claude Fable 5.1Anthropic | Shared benchmark coverage | $10.98 | $1,098.00 | 3,992%dearer · 40.9× |
| GPT-6 AstraOpenAI | Shared benchmark coverage | $11.52 | $1,152.00 | 4,193%dearer · 42.9× |
Catalog price position: #65 cheapest of 253 active priced models in the LLMLearner catalog (cheaper than 75% at the 4:1 mix with 90% of input assumed cached where published; official headline rates).