AI token cost calculator
Estimate your monthly API bill on any set of models. Enter your traffic, the share of input you can cache, and the share you can send as batch jobs.
Your traffic
A request is one API call. Accepts 100K, 2.5M and so on.
Prompt, instructions, documents and conversation history.
Repeated prefixes such as system prompts. Models without a cache rate are billed at the normal input price.
Batch jobs return within hours at a discount, where offered.
Count tokens in a piece of text
About 0 tokens. English averages about 4 characters per token; exact counts differ by model.
Input per month
200M
tokens
Output per month
40M
tokens
Cheapest selected
$40.00
GPT-6 Luna