LLM API · prices checked November 30, 2026

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.

GPT · Claude · Gemini 17 models, 3 vendors Cache and batch included

Your monthly token volume

Defaults: a chat product at 50M input and 10M output tokens a month.

M tokens / month
M tokens / month

Chat replies usually run at 10 to 30% of input volume. Agentic coding can exceed it.

% of input

Only a repeated prefix can be cached: a fixed system prompt, a long document, a code repository. Cached reads are 90 to 95% cheaper on the flagships.

OpenAI, Anthropic and Google all publish batch discounts around 50% in exchange for slower turnaround. Useful for backfills, not for live chat.

Model table

      
Lowest monthly cost
—
—
✓ —
Total tokens
—
Blended cost of the cheapest
—
Output : input ratio
—
ModelMonthly
— Prices: official vendor pages, Nov 30 2026 · per 1M tokens

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.

Checked November 30, 2026 · standard tier · before tax
VendorModelInputOutputCached readYour billNotes

Rows recalculate as you change the token volume above; the vendor filter in the calculator narrows its result table to one vendor.

Every model in the calculator · USD per 1M tokens
VendorModelInputOutputCachedNote
OpenAIgpt-6.2-sol$2.00$10.00$0.20Long context $4 / $15
OpenAIgpt-6-luna$0.10$0.50$0.01Cheapest frontier-lab tier
OpenAIgpt-5.6-terra$2.00$12.00$0.20
OpenAIgpt-5.1$1.25$10.00$0.125
OpenAIgpt-5-mini$0.25$2.00$0.025
OpenAIgpt-4o-mini$0.15$0.60$0.075Still the cheapest GPT for text
AnthropicClaude Fable 5.2$8.00$40.00$0.20Cache hits at 0.025× base input
AnthropicClaude Opus 5.5$4.00$20.00$0.20Cache hits at 0.05× base input
AnthropicClaude Sonnet 5.5$2.00$10.00$0.10Was introductory pricing; now standard
AnthropicClaude Sonnet 4.6$3.00$15.00$0.30
AnthropicClaude Haiku 5.5$0.10$0.50$0.01Prompts up to 100K tokens; $0.50 / $2.50 above
AnthropicClaude Haiku 4.5$1.00$5.00$0.10
GoogleGemini 4 Carbon$2.00$10.00$0.10$4 / $20 from Dec 1, 2026
GoogleGemini 4 Argon$2.00$10.00$0.10$4 / $20 from Dec 1, 2026
GoogleGemini 3.6 Flash$0.75$3.75$0.075$1.50 / $7.50 from Jan 1, 2027
GoogleGemini 3.5 Flash-Lite$0.30$2.50$0.03
GoogleGemini 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