All tools

AI API Pricing Calculator

Estimate OpenAI, Claude and Gemini API costs from requests, input tokens and output tokens. Compare rates or enter your own.

Processing happens in your browser. Your inputs, files and results stay on this device.

Usage and rates

Enter average tokens per request. All rates are in US dollars per million tokens.

Estimated cost

See the total and the input and output breakdown.

How to estimate a token budget

Multiply input and output tokens by their respective rates and request count. Compare models by changing the preset while keeping usage constant.

At $1 input and $4 output per million tokens, 1,000 requests with 1,500 input and 500 output tokens cost $3.50.

Limitations

Preset rates checked Nov 10, 2026. Estimates cover standard text tokens. Cache, batch, tools and taxes may change the actual bill.