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/claude-sonnet-5

$2input / 1M
$10output / 1M
$20input spend
$20output spend
$40per month
$480per year

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