Tools
Inference cost calculator
Compare API costs across 12 providers and 34 models. Enter your token usage to see exact pricing. Prices per 1M tokens in USD. Last updated: 2026-09-17.
Select a model to estimate cost.
Enter token counts of zero or more — numbers only.
Cost breakdown
Compare models
Select models and click “Add to comparison” to compare costs side by side.
About this calculator
This calculator uses official per-token pricing from each provider's API documentation. Prices are in USD per 1 million tokens (1M tok). Token counts include both input (prompt + context) and output (generated text).
Actual costs may vary based on prompt caching, batch processing discounts, fine-tuning, region, and service tiers. Some providers offer up to 50% discount for batch/async workloads. Pricing is re-verified weekly.