Token Cost Calculator
Estimate AI API costs using token counts and your provider's prices.
Processing stays in your browser. Enter current prices yourself. Caching, reasoning tokens, images, tool fees, taxes, and provider billing rules are not included.
How to use the token cost calculator
Estimate AI API costs using token counts and your provider's prices. Complete the input tokens, output tokens, input price per million tokens, output price per million tokens, number of requests fields above. Choose Run tool, review the output, then copy or download the result.
Example
10,000 input tokens at 1 per million cost 0.01 per request.
Good to know
Enter current prices yourself. Caching, reasoning tokens, images, tool fees, taxes, and provider billing rules are not included.