New blogMaking an AI Agent You Can Trust With Money

★ DeepSeek · Small / fast · Open weights

DeepSeek V4.1 Flash API Pricing Calculator

$0.30 per 1M input tokens, $1.20 per 1M output. Very cheap open-weight model with near-free cache hits. Good for repetitive prompts with a shared prefix.

  • Runs in your browser
  • No signup
  • Updated 7 Nov 2026

Price card · DeepSeek V4.1 Flash

DeepSeek

Input
$0.30 / 1M
Output
$1.20 / 1M
Cached input
$0.006 / 1M
Batch
No batch tier
Context window
Not published
Tier
Small / fast

Workload

tok
tok
%

Repeated system prompt or docs

%

Jobs that can wait hours

Models

Anthropic
OpenAI
Google
Mistral
DeepSeek

$ per 1M tokens, input / output

Monthly cost · 30 days

Cheapest
$285
Gemini 3.1 Flash-Lite
Priciest
$609
Mistral Large 4
Spread
2.1×
priciest vs cheapest
Per 1K users / mo
Gemini 3.1 Flash-LiteCheapest
$285$143
DeepSeek V4.1 Flash
$288$144
Mistral Large 4
$609$305
Per 1K users assumesrequests per user per day.

Where the money is

If 60% of your traffic is simple enough for Gemini 3.1 Flash-Lite, routing it there instead of Mistral Large 4 saves about $194/month.

Caching half your input on Mistral Large 4 (a shared system prompt or document) would cut about $189/month.

You're looking at $285–$609/month.

Most AI products I audit can cut that 30–60% with routing, caching and shorter prompts.

Get a cost-cutting audit
01

What DeepSeek V4.1 Flash costs in practice

List prices per million tokens are hard to reason about. Here is what common request types cost on DeepSeek V4.1 Flash, with no caching or batch discount applied.

DeepSeek V4.1 Flash cost by request type
Request typeTokens in / outPer callPer 1K callsPer 1M calls
Classification or routing call400 / 10$0.00013$0.1320$132
Support chat reply1,500 / 250$0.00075$0.7500$750
RAG answer over your docs6,000 / 400$0.00228$2.28$2,280
Long document summary40,000 / 1,000$0.0132$13.20$13,200
02

Pricing notes

Very cheap open-weight model with near-free cache hits. Good for repetitive prompts with a shared prefix.

  • Prices shown are peak-hour rates. Off-peak hours are billed at half (per the DeepSeek change log).
  • Caching is automatic on matching prompt prefixes. No batch tier.

Source: api-docs.deepseek.com, updates. Verified 7 Nov 2026.

03

Compare

04

How the math works

Every provider bills input tokens (your prompt, system prompt and retrieved documents) and output tokens (the reply) separately, per million. Output is usually 4–5× the input price, so chatty apps are output-heavy and RAG apps are input-heavy.

cost per request = (fresh_in × input_price
+ cached_in × cached_price
+ out × output_price) / 1,000,000
× (1 − batched_share × batch_discount)
monthly = cost per request × requests per day × 30

Two adjustments are applied automatically. Introductory prices (currently on some Gemini models) are used until their end date. Long-prompt surcharges kick in when your average input crosses the provider's threshold: 272K tokens on current OpenAI models, 100K on Claude Haiku 5.5.

Not modelled: cache-write premiums, priority or fast tiers, regional surcharges, image and audio tokens, and reasoning tokens a model spends before answering (they bill as output, so add them to your output estimate if you use extended thinking).

05

DeepSeek V4.1 Flash questions

How much does DeepSeek V4.1 Flash cost per 1M tokens?
DeepSeek V4.1 Flash costs $0.30 per 1M input tokens and $1.20 per 1M output tokens, with cached input at $0.006 per 1M. There is no batch tier.
Is DeepSeek V4.1 Flash cheaper than Gemini 3.1 Flash-Lite?
For a typical request of 2,000 input and 300 output tokens they cost about the same ($0.00096 vs $0.00095 per call). Caching, batch support and output length will decide which is cheaper for you.
What is prompt caching and should I use it?
When the start of your prompt (system prompt, tool definitions, a long document) repeats across requests, providers can serve it from cache at a fraction of the input price, often 90–99% off. If your requests share a large fixed prefix, caching is usually the single biggest saving available. Put the stable content first and the variable content last.
Why does my real bill differ from this estimate?
Usually because of tokens you are not counting: reasoning or thinking tokens (billed as output), retries, tool-call round trips, and cache-write premiums. Compare the estimate against the usage page in your provider console for a week and adjust the averages.
06

More from the workbench

Fine print

Tools: on the house.
Engineer: by the hour.

Knowing your AI bill was free. Cutting it in half isn't, but I'm cheaper than the overspend.

I'm Himanshu, an AI and full-stack engineer. I build MVPs, AI agents and the growth plumbing around them for early-stage startups.