AI API PricesDeepSeek › DeepSeek-V4 Flash

DeepSeek-V4 Flash pricing

DeepSeek-V4 Flash API cost from DeepSeek — $0.140 per 1M input tokens and $0.280 per 1M output tokens. Non-thinking mode, very cheap. Estimate your real monthly bill below, then compare it against every other model.

Input price
$0.140
per 1M input tokens
Output price
$0.280
per 1M output tokens
Cached input
$0.0028
per 1M · ~98% off input
Reference call
$0.0004
1K in + 1K out

Fast / cheap open weights 128K context · all prices USD per 1M tokens, list price last verified 2026-06-27.

DeepSeek-V4 Flash capabilities & limits

Representative specs for this tier — confirm exact limits in the DeepSeek docs.

Context window128K
Max output16K
Knowledge cutoffJul 2025
API formatOpenAI-compatible
✓ Tools / functions✓ JSON / structured✓ Prompt caching✓ Batch API✓ Open weights

API acting up? Check live DeepSeek status → · all AI API status

Call DeepSeek-V4 Flash from your code

The exact model string and endpoint to use. Works with the OpenAI SDK — just point base_url at the URL below.

Model stringdeepseek-chat
Base URLhttps://api.deepseek.com/v1
API key envDEEPSEEK_API_KEY
curl https://api.deepseek.com/v1/chat/completions \
  -H "Authorization: Bearer $DEEPSEEK_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "deepseek-chat",
    "messages": [{"role": "user", "content": "Hello"}]
  }'

Model strings follow each provider's naming convention; confirm the current id in the DeepSeek docs before relying on it.

What a DeepSeek-V4 Flash API call actually costs

Blended input + output cost at DeepSeek-V4 Flash's list rates — useful yardsticks before you commit to volume.

$0.0004
Short call
1K in · 1K out
$0.0006
Chat turn
3K in · 500 out
$0.0031
RAG / long prompt
20K in · 1K out
$0.420
1M in + 1M out
bulk job

DeepSeek-V4 Flash cost calculator

Enter your monthly volume to estimate the DeepSeek-V4 Flash bill. Runs entirely in your browser.

Estimated monthly cost

For the full multi-model breakdown, use the cost calculator.

DeepSeek models — DeepSeek-V4 Flash in context

How DeepSeek-V4 Flash prices against its siblings. Cheapest reference cost first.

Model Input /1M Output /1M Cost / call* Context Type
DeepSeek-V4 Flash
Non-thinking mode, very cheap
$0.140 $0.280 $0.0004 128K Fast / cheap open
DeepSeek-V4 Pro
Thinking mode
$0.435 $0.870 $0.0013 128K Reasoning open

*Reference cost of one call with 1,000 input + 1,000 output tokens — a neutral yardstick. Use the calculator for your real usage. Cheapest row highlighted.

Cheaper than DeepSeek-V4 Flash? In the same fast / cheap tier, Gemini 1.5 Flash-8B runs $0.037 in / $0.150 out. The overall cheapest model tracked is Gemini 1.5 Flash-8B — see the cheapest LLM API guide.

How DeepSeek-V4 Flash pricing works

DeepSeek-V4 Flash is billed per token: a lower input price of $0.140 per million tokens for everything you send, and a higher output price of $0.280 per million for everything the model generates. To turn that into a real DeepSeek-V4 Flash bill, multiply by your monthly request volume and average prompt/response length — the calculator above does exactly that.

Prompt caching is the biggest lever on your DeepSeek-V4 Flash cost: cached input tokens bill at just $0.0028 per million — about 98% cheaper. If you reuse a long system prompt or context across calls, caching can dramatically cut the input portion of your bill.

List prices move fast — always confirm the current numbers on the official DeepSeek pricing page before relying on them for budgeting.

DeepSeek-V4 Flash pricing FAQ

How much does the DeepSeek-V4 Flash API cost?

DeepSeek-V4 Flash costs $0.140 per 1M input tokens and $0.280 per 1M output tokens, with cached input at $0.0028 per 1M (about 98% off). A typical 3K-input / 500-output call works out to about $0.0006.

What is DeepSeek-V4 Flash's context window?

DeepSeek-V4 Flash has a 128K-token context window. Tokens you put in the prompt are billed at the $0.140 per 1M input rate.

Does DeepSeek-V4 Flash support prompt caching?

Yes. DeepSeek-V4 Flash bills cached input tokens at $0.0028 per 1M instead of $0.140 — roughly 98% cheaper for the repeated part of your prompts.

Is there a cheaper alternative to DeepSeek-V4 Flash?

In the same fast / cheap tier, Gemini 1.5 Flash-8B (Google) is cheaper at $0.037 in / $0.150 out. The overall cheapest model on the market is Gemini 1.5 Flash-8B.

Is DeepSeek-V4 Flash open weights?

Yes — DeepSeek-V4 Flash is released as open weights, so you can self-host it instead of paying per-token API rates. The prices here are a representative hosted endpoint.

Compare DeepSeek-V4 Flash with other models