DeepSeek V4.1 Flash API pricing

DeepSeek's V4.1 flash build, dated 10-17. Available at listed at platform rate (no published official USD price).

In short: DeepSeek V4.1 Flash costs $0.15 per 1M input tokens and $0.6 per 1M output tokens. No official USD list price is published for this model, so it bills at platform rate. The reason to use it is access and consolidated billing rather than a discount. At 50M input and 10M output a month that is about $14. Rates verified 2026-10-31.
RouteInput / 1MOutput / 1M
Platform rate$0.15$0.6

USD, standard tier. Rate read from the live rate config on 2026-10-31. DeepSeek publishes no USD list price for this model, so nothing here is cross-checked against one — this is a gateway rate, not a discount.

Check live rates on the platform →Free to sign up · $1 minimum top-up · No prepayment

Specifications

VendorDeepSeek
Context window—
Max output—
CategoryChina

What DeepSeek V4.1 Flash costs at your volume

Usage levelInput / output per monthMonthly cost
Light (prototyping), a few thousand calls5M / 1M$1.35
Working, one developer, daily use50M / 10M$13.50
Heavy — team or agent loops in production500M / 100M$135.00

Calculated at $0.15 input / $0.6 output per 1M tokens, 4.0× apart on this model, assuming a 5:1 input-to-output ratio. That ratio is the single largest source of error in this table: resend-heavy workloads drift well past it, and at 4.0× the correction is not linear. The cost calculator takes the actual figures.

What DeepSeek V4.1 Flash is for

$0.15 per million input tokens puts DeepSeek V4.1 Flash low enough that volume stops being the first question. This is a model you can point at thousands of calls a day and not think about: summarisation at scale, autocomplete, extraction pipelines, tier-one filtering in front of a stronger model.

Two honest limits. At 4.0×, output is still the majority of the bill, so this is not the cheapest option for genuinely long generation. And at this price the saving from staying cheap is small — escalating a hard case to a flagship costs pennies next to the cost of getting it wrong.

Where DeepSeek V4.1 Flash sits in the index

DeepSeek V4.1 Flash is 58 of 226 on input rate and 53 of 226 on output rate. A gap of 5 places, because on this model the output rate is 4.0× the input rate, level with the index median of 4.0× An output-heavy workload therefore leaves it almost where it started, which is why the cheapest model per input token is routinely not the cheapest per task. Percentile is the share of the 226 models in this index that cost more than DeepSeek V4.1 Flash.

DeepSeek V4.1 Flash against all 226 models in the rate index. Rates checked 2026-10-31.
Ranked byPositionPercentileRate
Input rate58 of 22674%$0.15
Output rate53 of 22677%$0.60
Agent mix 1:3, blended55 of 22676%$0.4875

On an agent mix the lowest blended rate in the same index is Gemma2 9B It at $0.01 per 1M tokens, about 48.7× less than this model at the same ratio. Across the whole index, sorting by input price alone moves a model by as much as 74 places; on DeepSeek V4.1 Flash specifically the shift is 5 — which is what the re-ranked index exists to show.

DeepSeek V4.1 Flash is 58 of 226 across every model in the index; the comparison that usually settles a choice is DeepSeek's own lineup further down.

DeepSeek V4.1 Flash among DeepSeek's 4 models

DeepSeek V4.1 Flash is the cheapest of DeepSeek's 4 models in this index at $0.15 per 1M input tokens. The range inside that group runs from DeepSeek V4.1 Flash at $0.15 to DeepSeek V4 Pro at $0.66. A spread of 4×, and every other model in the group costs more on input than this one.

DeepSeek V4.1 Flash against the rest of the group, by input rate per 1M tokens. Rates checked 2026-10-31.
ModelIn / 1MOut / 1Mvs this
DeepSeek V4.1 Flash$0.15$0.6—
DeepSeek V4 Flash$0.22$0.661.47×
DeepSeek R1$0.2899$1.15961.93×
DeepSeek V4 Pro$0.66$1.984.40×

On input rate alone, stepping up to DeepSeek V4 Flash costs 1.5× the input rate. Both measured at 2026-10-31, the same check as every other rate on this page.

Full DeepSeek range, including models outside this shortlist: DeepSeek rate index.

Similarly priced alternatives

Similarly pricedVendorIn / out per 1Mvs this
MiniMax M3MiniMax$0.15 / $0.6same
GPT-5.6 LunaOpenAI$0.1 / $0.6−$0.05
DeepSeek V4 FlashDeepSeek$0.22 / $0.66+$0.13

Blended comparison (input + output per 1M). Price is one axis These are the three closest to DeepSeek V4.1 Flash in blended rate, not interchangeable substitutes for it.

Calling DeepSeek V4.1 Flash

The identifier you send is deepseek-v4.1-flash-1017. Copy it exactly, because a mismatch returns a model error rather than a connection error, which sends most people to debug the wrong thing. Everything else is a base URL argument (DeepSeek V4).1 Flash's own SDKs work unchanged.

from openai import OpenAI

client = OpenAI(base_url="https://aicomp.ai/v1", api_key="sk-...")

resp = client.chat.completions.create(
    model="deepseek-v4.1-flash-1017",
    messages=[
        {"role": "system", "content": "Answer in one short paragraph."},
        {"role": "user", "content": "Explain what changed in this release."},
    ],
    max_tokens=300,
)

# prompt_tokens / completion_tokens 是真实账单的唯一依据 —— 记下来,别猜
print(resp.usage.prompt_tokens, resp.usage.completion_tokens)

Log the usage object on every call, not just while you are optimising. On DeepSeek V4.1 Flash output costs 4.0× what input costs, so the same monthly token count bills very differently depending on how much of it comes back as output — measure your own split before extrapolating from the headline input rate, because rates move with vendor promotions.

Setting it up

Pointing an existing integration at DeepSeek V4.1 Flash is a base URL change, not a rewrite. Pick your tool:

What different usage shapes cost on DeepSeek V4.1 Flash

A monthly token budget does not convert cleanly into a monthly invoice, and DeepSeek V4.1 Flash is an ordinary case rather than an extreme one: output is priced at 4.0× input, level with the median of 4.0× across the 226 models in our index. Everything follows from that one number At 5:1 it is manageable, at 1:1 the same token count costs half as much. Below are five shapes real DeepSeek V4.1 Flash deployments fall into, each costing it out at the split it actually produces.

One month on DeepSeek V4.1 Flash, five workload shapes — gateway rates checked 2026-10-31
WorkloadTokensOutput shareMonthly costvs cheapest in index
Classification / tagging
100k short jobs, 300 in / 20 out
32M6%$5.75.0×
Support triage
20k conversations, 1.5k in / 400 out
38M21%$9.34.0×
RAG question answering
50k questions, 6k in / 500 out
325M8%$60.004.8×
Agent loop (coding)
8k sessions, 400k in / 6k out
3248M1%$508.85.7×
Long-form generation
5k documents, 2k in / 4k out
30M67%$13.53.2×

The cheapest comparison is GPT-5 nano at $0.025 / $0.2 per 1M — 3.3× cheaper than DeepSeek V4.1 Flash on a blended rate. Treat it as a rate floor, not a recommendation: it says nothing about whether GPT-5 nano can do the work you need DeepSeek V4.1 Flash for.

Read the table as a sanity check rather than a forecast. If your own output share sits anywhere near 3%, everything above is priced almost entirely at DeepSeek V4.1 Flash's $0.15 input rate; at 40% the $0.6 output rate has taken the larger half. Nobody's split is exactly the one you assumed when you picked the model, which is why the calculator asks for it before quoting anything.

FAQ

How much does DeepSeek V4.1 Flash cost per million tokens?

$0.15 per million input tokens and $0.6 per million output tokens. No official USD list price is published for this model, so it is billed at platform rate.

Is DeepSeek V4.1 Flash cheaper than buying direct?

There is no published official USD price to compare against for this model, it is billed at platform rate, and the reason to route it through a gateway is access and consolidated billing rather than a discount.

What does DeepSeek V4.1 Flash cost per month in practice?

At a 5:1 input-to-output ratio it is about $1.35 a month for light use (5M input tokens) and roughly $135.00 for heavy use (500M input). Agent workloads sit at the high end here because every turn resends the context and DeepSeek V4.1 Flash bills output at 4.0x input — see what actually drives Claude Code cost.

Which models cost about the same as DeepSeek V4.1 Flash?

The comparison table further up this page lists the three closest to DeepSeek V4.1 Flash's $0.75 blended rate. If you are choosing on cost alone, test the top two on your own prompts — $0.15 per input token is only half the equation, the other half is how many tokens a model needs before it finishes the task.

How do I start using DeepSeek V4.1 Flash?

You need an API key, then point your client at the gateway base URL with deepseek-v4.1-flash-1017 as the model id. On DeepSeek V4.1 Flash it is a one-line change in most SDKs — see the SDK setup guide, or the Claude Code and Cursor guides for those tools. The DeepSeek V4.1 Flash snippet is in the calling section above.

What is the DeepSeek V4.1 Flash API price per 1M tokens?

$0.15 per 1M input and $0.6 per 1M output. The two directions are quoted separately because a request is billed twice (once for what you send, once for what comes back) and on DeepSeek V4.1 Flash they differ by 4.0x.

How much more does DeepSeek V4.1 Flash charge for output than input?

Output tokens cost 4.0x what input tokens do here — $0.15 per 1M in against $0.6 per 1M out. The median output-to-input multiple across our full price index is 4.0x, so this model sits below that line. It matters more than it looks: on DeepSeek V4.1 Flash a coding agent's output takes 44% of the bill, so the input rate people usually compare is the smaller half. See why output pricing dominates.

How much does DeepSeek V4.1 Flash cost for a coding agent?

About $135.00 a month at 500M input and 100M output tokens, the shape a coding assistant really produces, because every turn resends the whole context and the model writes more than it reads. The biggest lever is not the model but how much context you resend each turn At 135 dollars a month on DeepSeek V4.1 Flash, halving the resend roughly halves that. See what actually drives agent cost.

Does DeepSeek V4.1 Flash have an official list price?

No, DeepSeek does not publish a USD list price for this model, so there is nothing to compare against and it bills at platform rate: $0.15 in / $0.6 out per 1M. The reason to route it through a gateway is access and one consolidated bill across vendors, not a discount.

Get DeepSeek V4.1 Flash access