AI API cost calculator
Estimate API spend from input and output token prices.
Enter token totals and your provider’s prices per million tokens. We price input and output separately and add them. Include cached input, batch discounts or other fees separately if they apply.
Your entries and files are processed in your browser.