AI Model 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-08-10.
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.