AI Token Cost Calculator
Enter your expected token usage and instantly see costs across all major AI providers. Prices updated live.
How do I calculate AI API costs? Multiply input tokens by the model's input rate and output tokens by the
output rate, then divide by 1 million. For example, 500,000 input and 100,000 output on a model at
$2.00 / $12.00 per 1M is $1.00 +
$1.20 = $2.20. This tool runs that math across every tracked
model at once.
Output auto-calculates from input. Pick a workload or switch to Manual.
Type
1M, 500K or 10,000.
Cached-input tokens are billed at each model's discounted cached rate.
Count tokens from text
· paste a prompt or response to measure it
0 tokens
0 words
0 chars
| Provider | Model | Input cost | Output cost | Total ▲ |
|---|