Cost calculator
AI token cost calculator
Estimate what a workload costs before you build it: pick a typical job and a model tier, adjust the tokens and the volume, and see the cost per request, per day and per month at the published rates.
Start from a typical job
Model tier
Core Standard: $4.50 per 1M input tokens · $12.00 per 1M output tokens · reads up to 131,072 tokens.
Not sure how many tokens? Paste a sample
About 4 characters of English make one token; other languages and code often take more.
Estimated cost on Core Standard
- Per request
- $0.0996
- Per day
- $1.99
- Per 30 days
- $59.76
$10 of credit covers about 100 requests like this.
The same workload on every tier, per 30 days
- $12.96
- $23.76
- $23.76
- $53.76
- $59.76
- $132.00
- $204.00
Each tier is built for a different job: the cheapest one is not always the one that answers best. Prices are the published rates; your bill uses the exact token counts of each request, shown in your request log.
How the cost is worked out
Two numbers per request and one rate card. Nothing is hidden in the arithmetic.
Tokens in, tokens out
A request is charged for the tokens it sends (your prompt, documents and images) and the tokens it gets back. Embeddings are charged for input only.
Each tier has two rates
Every tier publishes a price per million input tokens and per million output tokens. The cost of a request is those two rates applied to those two counts.
Your log shows the real figure
This page estimates. Your bill uses the exact token counts of each request, and the request log in the dashboard shows what every call cost.
Questions about token costs
What is a token?
A token is a piece of text the model reads or writes. In English, one token is about four characters, or roughly three quarters of a word. Other languages and source code usually take more tokens for the same amount of text.
Why do input and output cost different amounts?
Writing an answer takes more work than reading a prompt, so most tiers charge more per output token than per input token. That is why a short question with a long answer can cost more than a long document with a short summary.
How accurate is this estimate?
The rates are exactly the ones you are charged. The token counts are yours to set: the paste-a-sample option counts about four characters per token, which is close for English and low for most other languages. Your actual bill uses the exact count of every request, which the request log shows.
What if a request is longer than a tier can read?
Each tier has a maximum length. A request over it is refused with an error before it runs and nothing is charged. Core Long reads up to a million tokens, for very long documents.
How do I pay for what I use?
From one prepaid balance: top up by card from $1 to $10,000, and every request draws on it. Credit is valid for one month. If your workload is steady, an optional monthly plan buys the same amount of credit on a day you choose each month, and can be cancelled at any time. No subscription is required.
Try it with your own prompts
Sign up free, no card, and get ten Core Fast answers a day in the playground. Top up from $1 when you want every tier; no subscription required.