AI API Cost Calculator
Estimate the cost of an API call from token counts and your own rates.
Rates
Every field below is editable. Model pricing changes often — these starting numbers are reasonable examples, not a live price list. Enter your provider's current rate for an exact figure.
Estimated cost
About AI API Cost Calculator
Enter input and output token counts and see the estimated cost across a few example pricing tiers.
Every rate is editable
The pricing tiers shown are examples, not live provider pricing — every rate field is editable, since model pricing changes often. Enter your own current rate to get an exact figure for your account rather than relying on a number that may already be outdated.
How to use it
Enter your input and output token counts, adjust the rate fields to match your actual pricing if needed, and the estimated cost updates automatically.
Use cases
Estimate the cost of an API call before making it. Compare cost across different rate tiers by editing the fields. Budget for a batch of calls using your own known rate.
Limitations
The example rates aren't kept in sync with any provider's live pricing — they're a starting point you're expected to overwrite with your own current rate for an accurate figure.
Are the example rates up to date with current provider pricing?
Not guaranteed — they're example starting points. Enter your own current rate for an accurate figure, since pricing changes often.
Does this connect to my actual API usage?
No — it's a standalone calculator based on the token counts and rates you enter, not connected to any account or billing system.
Is this actually free?
Yes.