Skip to content
llm-spend
Cost anatomy

DeepSeek-V4.1 Flash

DeepSeek · DeepSeek direct APIDirect API

Fresh input / cached input / output cost breakdown, active and scheduled rates, provenance, same-model deployment markup, and cost-comparable alternatives for this purchasable lane.

Start with a pattern

Illustrative workloads

Pick a useful starting shape, then fine-tune every input below.

Fine-tune

Workload and pricing scenario

Adjust the token shape, cache behavior, time window, and service tier. Every number below updates immediately.

Interactive

Workload cost calculator

60M
210K
90%

Share of input tokens served from cache. Applied only to models with a cache meter.

Time

Rows with a rate that changes by time of day, promo window or service tier are priced for this scenario instead of their flat listed rate; a brand-colored label under the model name names which one applies. Context size for band-priced rows uses the input-token count below.

Picking a specific hour also previews time-of-day rates that are scheduled but have not started billing yet; those rows are labelled · preview with their start instant. Now only ever shows rates that are billable at this moment.

Rate state

What this lane charges right now

Priced under the workload and scenario above. The full published schedule below always shows every variant regardless of which scenario is selected.

Off-peak — priced under the selected scenario, differs from the flat listed rate

Input / 1M
$0.15
CHF 0.121
Cached input / 1M
$0.003
CHF 0.002
Output / 1M
$0.60
CHF 0.483
Full published schedule
Off-peakChanges in 12h 43m
Peak$0.30 / $0.006 / $1.20Off-peak$0.15 / $0.003 / $0.60Peak (legacy V4 Flash)$0.44 / $0.014 / $1.32Off-peak (legacy V4 Flash)$0.22 / $0.007 / $0.66
Cost anatomy

Where this workload's cost goes

60M input tokens (90% cache hit) and 210K output tokens, at the resolved rate above.

$0.90
Fresh input · CHF 0.724
$0.162
Cached input · CHF 0.13
$0.126
Output · CHF 0.101
$1.19
Workload total · CHF 0.956

$0.90 + $0.162 + $0.126 = $1.19

Provenance

How much to trust these numbers

InputofficialCached inputofficialOutputofficial

The direct `deepseek-flash` alias now serves the `DeepSeek-V4.1-Flash-1017` snapshot, upgraded October 17; the API call method and current peak/off-peak price schedule are unchanged. Before 2026-09-10 04:00 UTC, this row's base and legacy variants preserve the V4 Flash schedule; from the transition onward, off-peak is $0.15/$0.003/$0.60 and weekday peak (except Chinese public holidays) is $0.30/$0.006/$1.20 per M (cache hit / cache miss / output order is shown in the source table; the catalog fields are input / cached input / output).

DeepSeek's official API changelog, V4.1 Flash-1017 announcement, and Models & Pricing page, captured 2026-10-17, identify `deepseek-flash` as the alias for the new DeepSeek-V4.1-Flash-1017 snapshot and state that the API call method and pricing are unchanged. The live table retains the 1M context, 384K maximum output, and the peak/off-peak rates represented by the variants below. The base fields retain the pre-transition V4 Flash off-peak rate for deterministic historical resolution.

Direct vs Foundry

Same-model deployment markup

How much more Microsoft Foundry charges for this exact model, over this Direct rate.

LaneDeploymentWorkload costFoundry markup
DeepSeek-V4.1 Flash
Direct from Azure
Foundry ·Global$2.38+$1.19 (+100%)
DeepSeek-V4.1 Flash
Fireworks-hosted
Foundry ·Global$3.00+$1.81 (+152%)
Cost-comparable

Other lanes within ±25% of this workload's cost

Same provider first, then ranked by cost proximity, for 60M in / 210K out. This is a cost ranking only — never a quality recommendation.