DeepSeek V4 Flash is available from 6 provider(s). Cheapest: AnyModel at $0.022 per 1M tokens (flat rate for input and output). Context window: up to 1 048 576 tokens. Developer: DeepSeek.
Rankings: Arena (arena.ai, formerly LMArena), dataset lmarena-ai/leaderboard-dataset, licensed under CC BY 4.0, as of 2026-11-23. Excerpt; variants with different reasoning effort merged and matched to our prices by aiapicompare. Not affiliated with Arena and not a recommendation.
| Provider | Input $/1M | Output $/1M | Context | |
|---|---|---|---|---|
| AnyModel ds/deepseek-v4-flash | $0.022 | — | 1M | Go to provider ↗ Set up |
| DeepInfra deepseek-ai/DeepSeek-V4-Flash | $0.090 +300 % | $0.180 | 1.05M | Go to provider ↗ Set up |
| OpenRouter deepseek/deepseek-v4-flash | $0.090 +300 % | $0.180 | 1.05M | Go to provider ↗ Set up |
| Kyma API deepseek-v4-flash | $0.123 +447 % | $0.246 | 1M | Go to provider ↗ Set up |
| NanoGPT deepseek/deepseek-v4-flash | $0.140 +522 % | $0.280 | 1.05M | Go to provider ↗ Set up |
| UplinkSwitch deepseek-v4-flash | $0.291 +1193 % | $1.16 | 1.05M | Go to provider ↗ Set up |
Sorted by price only – there are no paid placements. Data as of 2026-11-25 09:03 UTC. Prices in USD, excluding taxes. No guarantee.
Reference price: $0.133 per 1M tokens (blended 3:1), median of all providers · How we compare → · Wrong price? Report it
from openai import OpenAI
import os
client = OpenAI(base_url="https://anymodel.org/v1", api_key=os.environ["ANYMODEL_API_KEY"])
r = client.chat.completions.create(
model="ds/deepseek-v4-flash",
messages=[{"role": "user", "content": "Hello!"}],
)
print(r.choices[0].message.content)
Currently at AnyModel (from $0.022 / 1M). Prices are updated daily; the provider’s website is authoritative.
All listed providers offer an OpenAI-compatible API. See the setup guide for Hermes Agent, VS Code, Cursor and more.