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).

aihubmix/gemma-4-31b-it

$0.14input / 1M
$0.39998output / 1M
$1.4input spend
$0.79996output spend
$2.19996per month
$26.39952per year

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