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/google/gemma-4-31b-it

$0.2input / 1M
$0.5output / 1M
$2input spend
$1output spend
$3per month
$36per year

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