DeepSeek · LLM API pricing
DeepSeek V4.1 Flash 1017 API pricing: cheapest provider
7 providers sell DeepSeek V4.1 Flash 1017. DeepInfra is cheapest; the most expensive charges 2.5× as much for the same model.
- Cheapest$0.21per 1M · DeepInfra
- Input · output$0.14 / $0.42per 1M tokens
- Price gap2.5×across 7 providers
- Context1Mmax tokens
Standard list prices in USD from each provider's pricing page · last price change Nov 1, 2026 · How we collect and rank prices
Ranked for your volume
DeepSeek V4.1 Flash 1017 monthly cost by provider
Change the monthly tokens and the ranking updates instantly, using each provider's standard list price.
More requirements: caching, context, features, provider
| Provider | Estimated / month | Input / 1M | Output / 1M | Cached input / 1M | Context |
|---|---|---|---|---|---|
1 DeepInfraInference provider - lowest for your volumePricing page | $2.24 | $0.14 | $0.42 | $0.0042 | 1,048,576 |
2 BasetenInference providerPricing page | $5.40 | $0.30 | $1.20 | $0.007 | 1,048,576 |
3 Cloudflare Workers AICloud platformPricing page | $5.40 | $0.30 | $1.20 | $0.006 | 1,048,576 |
4 Fireworks AIInference providerPricing page | $5.40 | $0.30 | $1.20 | $0.006 | 1,048,576 |
5 Mistral AIAI platformPricing page | $5.40 | $0.30 | $1.20 | $0.007 | 1,048,576 |
6 Novita AIInference providerPricing page | $5.40 | $0.30 | $1.20 | $0.006 | 1,048,576 |
7 Together AIInference providerPricing page | $5.40 | $0.30 | $1.20 | $0.006 | 1,048,576 |
Order depends on listed price for your volume only. No provider pays for its position.
Input volume includes the cached share, not an additional token volume. This is a list-price estimate, not a quote: cache-write charges, cache eligibility/TTL, batch discounts, long-context surcharges, regional pricing and taxes are excluded. Check the provider's terms for your workload before switching.
Price history
The cheapest price has not changed since tracking started on Oct 19, 2026: $0.21 per 1M tokens at DeepInfra. All price changes
Switch to the cheapest provider
Already using the OpenAI SDK? Change the base URL, key and model name:
from openai import OpenAI
import os
client = OpenAI(
base_url="https://api.deepinfra.com/v1/openai",
api_key=os.environ["DEEPINFRA_API_KEY"],
)
response = client.chat.completions.create(
model="deepseek-ai/DeepSeek-V4.1-Flash-1017",
messages=[{"role": "user", "content": "Hello"}],
)Compare DeepSeek V4.1 Flash 1017 with another model
Or pick any model
Before you pick a provider
7 of 7 providers list a cached-input price. Repeated system prompts or documents can cost much less there than the standard input rate shown above.
Keep comparing
More DeepSeek models
DeepSeek V4 Flash 0731, DeepSeek V4 Pro 0813, DeepSeek-R1, DeepSeek-V3, DeepSeek-V3.2, DeepSeek-V4.1-Flash, DeepSeek-V3.1, DeepSeek-V4-Flash
All DeepSeek API prices - All LLM API prices - Watch DeepSeek V4.1 Flash 1017 prices (RSS) - Methodology