DeepSeek V3 API Cost Calculator
DeepSeek V3 advertises $0.2002/M input — but your workload also pays $0.8001/M for output. This page computes the effective rate you'll actually pay, per request and per month, from live prices.
For engineers budgeting LLM API calls — shows the effective price you actually pay per million tokens (output skew + caching included), not just the advertised input rate.
Model prices from OpenRouter · updated 2026-07-18
01 Your setup
$0.2002/M in · $0.8001/M out · no cache pricing published
02 Advertised vs effective
Output is 67% of this bill — trimming response length will save you more than switching models.
$60.03/month · $0.00/request
$0.2002 listed + $0.20 output premium = $0.40/M effective
03 Where the money goes
04 Cheapest model at this workload
Top 10 of 316models, ranked by monthly cost at this exact workload with each model's own cache pricing applied. Cheapest is a shortlist, not a verdict.
Related cost calculators
Prices from OpenRouter, snapshot 2026-07-18, synced daily. Per request = input × [(1−cachedShare) × in + cachedShare × cacheRead] + output × out, per 1M tokens; cached share applies only where a cache-read price is published. Write premiums, TTL and misses are modeled in the dedicated caching calculator. All math runs in your browser.
How the math works
The advertised price is the input rate — DeepSeek V3 lists $0.2002 per million input tokens. But output tokens bill at $0.8001/M (4.0× dearer), and your workload mixes both. This page's defaults — 1,000 input + 500 output per request — blend to an effective $0.40 per million tokens (100% above the listed rate). Same baseline, one identity: $0.2002 listed + $0.20 output premium − $0.00 caching = $0.40/M.
Output drives 67% of this bill. That has a practical consequence naive calculators miss: when output dominates, trimming response length (tighter max_tokens, terser formats) saves more than switching models — the input price you shopped on barely matters.
DeepSeek V3 publishes no cache pricing on OpenRouter, so the caching toggle changes nothing on this page — every input token bills at $0.2002/M. Models with cache pricing can discount their stable prefix by ~90%.
Worked example at this page's defaults — 100,000 requests a month on DeepSeek V3: $0.00 per request, $60.03 per month. The live ranking below re-prices all 315 catalog models at this exact workload.
Prices sync daily from OpenRouter and the page shows its snapshot date. Every calculation runs in your browser with tested, open formulas — nothing is estimated by an AI.
Frequently asked questions
How much does the DeepSeek V3 API cost per month?
At this page's defaults — 1,000 input + 500 output tokens per request, 100,000 requests a month, 60% cached prefix — DeepSeek V3 bills $0.00 per request and $60.03 per month. Tune every input above for your real workload.
Why does my effective price differ from the advertised $0.2002/M?
Two forces on the same baseline: output bills at $0.8001/M and adds $0.20/M at this workload's mix, while caching the stable prefix subtracts $0.00/M — netting $0.40/M, 100% above the listed rate. Comparing models on the input headline alone routinely picks the wrong one; comparing effective rates doesn't.
What actually cuts an LLM API bill?
In order of typical impact: cap output length (output is usually 60–85% of the bill), enable prompt caching on the stable prefix (where the model supports it), batch non-realtime work (~50% off on major providers), and only then consider switching models — using the effective rate, not the advertised one.
What's the cheapest model at this workload?
Right now: Ling-2.6-flash at $2.02/month, then Mistral Nemo ($3.40) and Nex-N2-Mini ($6.15) — refreshed daily from live prices. Cheapest only matters if quality holds on your task; the ranking is a shortlist, not a verdict.
What formula does this calculator use?
Per request = input × [(1 − cachedShare) × inputRate + cachedShare × cacheReadRate] + output × outputRate, all per million tokens. Effective $/M = per-request cost ÷ total tokens × 1M. The cached share applies only when the model publishes a cache-read price and the toggle is on; cache writes and misses are modeled in the dedicated caching calculator.
Are these prices current?
Prices sync daily from OpenRouter's public catalog and the page shows its snapshot date. If a sync fails, the last verified snapshot keeps serving. All math runs client-side with tested code.