AI token cost calculator
Describe one request and how often it runs. The table prices that workload on 125 API models, cheapest first. Rates were last checked on 24 Nov 2026.
| Model | Input / 1M | Output / 1M | Per request | Per month |
|---|
Standard pay-as-you-go rates in USD, read from each provider's own pricing page. Batch, priority and long-context tiers, taxes and free allowances are not applied. Inference hosts serve models made by others at their own rates.
Reading the result
What counts as a token?
A token is a piece of a word. English text averages about four characters per token, so 1,000 tokens is roughly 750 words. Code and non-Latin scripts use more tokens for the same length.
Why is output priced higher than input?
Generating text takes more computation than reading it, so providers charge several times more for output tokens. Long answers, and reasoning tokens on models that bill them as output, move a bill more than long prompts do.
When does caching matter?
When the same long prefix, such as a system prompt or a document, is sent many times. Providers that publish a cached-input rate charge a fraction of the normal input price for those repeated tokens.