Free Tool
AI Cost Calculator
Enter your estimated token usage and instantly compare API costs across all major AI models.
~750 words ≈ 1,000 tokens
~375 words ≈ 500 tokens
Select models to compare
Cost comparison
| Model | Provider | Per request | Monthly total | Input $/1M | Output $/1M |
|---|
* Prices are estimates based on publicly listed API pricing. Actual costs may vary with caching, batch discounts, or tier pricing. Always verify current prices on the provider's pricing page.
Understanding token pricing
What is a token?
Tokens are chunks of text — roughly 4 characters or ¾ of a word. "ChatGPT is great" = 5 tokens.
Input vs output pricing
Output (generated) tokens cost 4–10× more than input tokens. Long responses add up fast.
Context window cost
Large system prompts and conversation history count as input tokens on every request.
Reduce costs
Use prompt caching (Anthropic, OpenAI), smaller models for simple tasks, and batch APIs where available.