AI API monthly cost calculator

Estimate AI inference and token costs from your request volume, input/output tokens, caching and batch usage. Compare up to four models and their channels in USD. This is a budget calculator, not a connected billing dashboard.

1. Usage

Daily usage is converted using a 30-day month.

0%

Channels without a published cache price use the regular input price.

0%

Assumes the common 50% Batch discount; confirm channel eligibility before use.

30K
requests/mo
30M
input/mo
15M
output/mo
2. Models and region
Gemma 4 31B (Free)1/4

Monthly cost comparison

Paid channels are sorted by USD-normalised monthly cost.

1 zero-priced channels

Free channels usually have rate or usage limits, so they are listed separately from the paid ranking.

Gemma 4 31B (Free) · OpenRouter
ModelChannelInput priceOutput priceCacheEst. monthly