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/grok-4-20-non-reasoning

$2input / 1M
$6output / 1M
$20input spend
$12output spend
$32per month
$384per year

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