TokenPriceIndex

USD per 1 M tokens

API cost calculator

Volumes in tokens per month. All math is exact (BigInt, pico-USD); nothing is rounded through floating point.

Static snapshot build: pick one of the precomputed pages below (this form is only live on the dynamic app).

aiand/deepseek-ai/deepseek-v4-flash

$0.15input / 1M
$0.25output / 1M
$1.5input spend
$0.5output spend
$2per month
$24per year

Totals use exact integer arithmetic: 2 USD/month x 1 = $2 USD. Cache prices ignored unless a reseller publishes them.