LLM API Token Cost Calculator
Model pages quote two numbers, input and output, and your bill depends on the ratio between them. Enter your monthly token volume to price 17 models from OpenAI, Anthropic and Google on the same inputs — with prompt caching and batch pricing applied where the vendor publishes them.
- Total tokens
- —
- Blended cost of the cheapest
- —
- Output : input ratio
- —
| Model | Monthly |
|---|
The cheapest model at each vendor, priced for your volume
Per million tokens in USD. The cached column is the price of a cache read, which is what matters when a prompt prefix repeats. The full 17-model price list sits below this table.
| Vendor | Model | Input | Output | Cached read | Your bill | Notes |
|---|
Rows recalculate as you change the token volume above; the vendor filter in the calculator narrows its result table to one vendor.
| Vendor | Model | Input | Output | Cached | Note |
|---|---|---|---|---|---|
| OpenAI | gpt-6.2-sol | $2.00 | $10.00 | $0.20 | Long context $4 / $15 |
| OpenAI | gpt-6-luna | $0.10 | $0.50 | $0.01 | Cheapest frontier-lab tier |
| OpenAI | gpt-5.6-terra | $2.00 | $12.00 | $0.20 | |
| OpenAI | gpt-5.1 | $1.25 | $10.00 | $0.125 | |
| OpenAI | gpt-5-mini | $0.25 | $2.00 | $0.025 | |
| OpenAI | gpt-4o-mini | $0.15 | $0.60 | $0.075 | Still the cheapest GPT for text |
| Anthropic | Claude Fable 5.2 | $8.00 | $40.00 | $0.20 | Cache hits at 0.025× base input |
| Anthropic | Claude Opus 5.5 | $4.00 | $20.00 | $0.20 | Cache hits at 0.05× base input |
| Anthropic | Claude Sonnet 5.5 | $2.00 | $10.00 | $0.10 | Was introductory pricing; now standard |
| Anthropic | Claude Sonnet 4.6 | $3.00 | $15.00 | $0.30 | |
| Anthropic | Claude Haiku 5.5 | $0.10 | $0.50 | $0.01 | Prompts up to 100K tokens; $0.50 / $2.50 above |
| Anthropic | Claude Haiku 4.5 | $1.00 | $5.00 | $0.10 | |
| Gemini 4 Carbon | $2.00 | $10.00 | $0.10 | $4 / $20 from Dec 1, 2026 | |
| Gemini 4 Argon | $2.00 | $10.00 | $0.10 | $4 / $20 from Dec 1, 2026 | |
| Gemini 3.6 Flash | $0.75 | $3.75 | $0.075 | $1.50 / $7.50 from Jan 1, 2027 | |
| Gemini 3.5 Flash-Lite | $0.30 | $2.50 | $0.03 | ||
| Gemini 3.1 Flash-Lite | $0.25 | $1.50 | $0.025 |
The frontier price has converged on $2 / $10
Three vendors, three architectures, one price: GPT-6.2 Sol, Claude Sonnet 5.5 and Gemini 4 Carbon each list $2 per million input tokens and $10 per million output tokens. For a workload of 50 million input and 10 million output tokens, all three come to exactly $200 a month. Choosing between them at that volume is a quality and latency decision, not a cost decision — which is exactly why the budget tiers below them matter more than the flagships.
Output is the expensive half
Every model here charges about five times more for output than input, because output is generated token by token while input is processed in parallel. That makes the input-to-output ratio of your workload the single biggest lever on the bill. A summarisation job at 40:1 input-to-output spends most of its money on cheap tokens; a chat assistant that writes long answers can spend more on a tenth of the volume. The calculator shows your ratio in the third tile, and the chips change the input volume so you can watch both halves move.
Caching and batch
Caching only helps when a large prefix repeats. GPT-6.2 Sol's cached read is $0.20 against a $2.00 input price, a 90% cut; Anthropic's Sonnet 5.5 is $0.10 against $2.00, a 95% cut; Gemini 4 Carbon is $0.10 against $2.00. If 70% of your input is a fixed system prompt, the $200 example above falls to about $137. If every request carries fresh text, caching saves nothing and the cache-write surcharge can cost more than it saves.
Batch pricing is the other lever: a flat discount of roughly 50% in exchange for a slower, asynchronous turnaround. It is right for backfills, evaluations and nightly jobs, and wrong for anything a user waits on. The checkbox applies a flat 50% to every model, which matches the batch tiers OpenAI and Google publish and Anthropic's batch API; it does not apply to models without batch access.
LLM cost questions
Why do output tokens cost more than input tokens?
Input tokens are processed in parallel, while output tokens are generated one at a time, so the vendor pays for sequential compute. On the current flagships output costs five times input: GPT-6.2 Sol, Claude Sonnet 5.5 and Gemini 4 Carbon all list $2 per million input and $10 per million output.
How much does 50M input and 10M output tokens cost per month?
$200 on each of the three frontier flagships at list price: 50 × $2 plus 10 × $10. On budget tiers it falls sharply — gpt-6-luna at $0.10 / $0.50 costs $10, and Gemini 3.1 Flash-Lite at $0.25 / $1.50 costs $27.50 for the same volume.
Does prompt caching really save money?
Only when a large prefix repeats. If 70% of your input is a fixed system prompt, GPT-6.2 Sol's cached rate of $0.20 per million cuts a $200 bill to about $137, a 31% saving. If every request carries different text, caching saves nothing, and cache writes can cost slightly more than the uncached input price.
Are prices changing soon?
Yes. Google lists Gemini 4 Carbon and 4 Argon at $2 / $10 through November 30, 2026 and $4 / $20 from December 1, 2026 — a doubling. Gemini 3.6 Flash rises from $0.75 / $3.75 to $1.50 / $7.50 on January 1, 2027. OpenAI's GPT-6.2 Sol keeps a long-context tier at $4 / $15 above 272K tokens of context.
Sources for this page
- OpenAI — developers.openai.com/api/docs/pricing: standard-tier table for gpt-6.2-sol, gpt-6-luna, gpt-5.6-terra, gpt-5.1, gpt-5-mini and gpt-4o-mini, including cached input rates and long-context pricing. Checked November 30, 2026.
- Anthropic — platform.claude.com/docs/en/about-claude/pricing: model pricing table for Claude Fable 5.2, Opus 5.5, Sonnet 5.5, Sonnet 4.6, Haiku 5.5 and Haiku 4.5, with cache-hit multipliers. Checked November 30, 2026.
- Google — ai.google.dev/gemini-api/docs/pricing: Gemini 4 Carbon, 4 Argon, 3.6 Flash, 3.5 Flash-Lite and 3.1 Flash-Lite, including the dated price changes for December 1, 2026 and January 1, 2027. Checked November 30, 2026.