Contextwaise
Free tool · Prices checked October 19, 2026

LLM pricing comparison

Price lists compare tokens. You pay for tasks. Pick a workload and see what it costs a month on 12 current models from Anthropic, OpenAI and Google, with prompt caching, long-context prices and each provider's tokenizer counted.

cost spread for the same support agent
137×
cost spread for the same support agent
of an agent's bill is input, not output
88%
of an agent's bill is input, not output
the tokens on Claude for the same text
1.6×
the tokens on Claude for the same text

Answers a billing question in 5 calls: account, invoice, refund status, then the reply.

6K system prompt · 5 calls · 2K per tool result · 300 out per call

GPT-6 Luna is cheapest at $71.13 a month. Claude Fable 5.1 costs $5,712, 80× more for the same app.

  1. GPT-6 Luna
    $71.13 a month
    $0.0024 each
  2. Claude Haiku 5.5
    $109 a month
    instead of $114
  3. Gemini 3.1 Flash-Lite
    $154 a month
    instead of $171
  4. Gemini 3.5 Flash-Lite
    $209 a month
    instead of $237
  5. Gemini 3.8 Flash
    $349 a month
    instead of $481
  6. Gemini 4 Argon
    $760 a month
    instead of $1,148
  7. GPT-6.1 Sol
    $801 a month
    instead of $1,289
  8. Gemini 3.1 Pro Preview
    $954 a month
    instead of $1,372
  9. Claude Sonnet 5.5
    $1,258 a month
    instead of $2,062
  10. Claude Opus 5.5
    $2,475 a month
    instead of $4,124
  11. GPT-6 Astra
    $4,364 a month
    instead of $7,113
  12. Claude Fable 5.1
    $5,712 a month
    instead of $9,775
AnthropicOpenAIGoogleWith Contextwaise, grey: before. 1 model unchanged: the plan would cost more than it saves.

What each call sends

Every call re-sends the whole task so far. Tokens per call, as GPT and Gemini count them.

07.8K15.7KCall 1: 6.2K tokens in (6K cached), 300 outCall 2: 6.8K tokens in (6.2K cached), 300 outCall 3: 7.5K tokens in (6.8K cached), 300 outCall 4: 8.1K tokens in (7.5K cached), 300 outCall 5: 8.8K tokens in (8.1K cached), 300 outCall 1Call 5
  • Read from cache
  • Billed at full input price
  • Output
  • Removed by Contextwaise
  • Long-context price starts

List prices for standard (non-batch) text tokens. Caching assumes the shared system prompt stays warm; on Gemini it is implicit caching, whose hits are likely but not guaranteed. Contextwaise applies the cuts measured on the demo (context −65%, tool output −83%) and adds the cheapest plan for the tokens it reads. Your results will differ: measure on your own traffic.

LLM API prices per million tokens

List prices for standard text tokens, in USD per million tokens. “Same text” is the input price per million tokens of text as GPT and Gemini count it, so it compares like with like across tokenizers.

ModelInputCached inputOutputInput, same textLong context
Anthropic
Claude Fable 5.1$10.00$0.25$50.00$16.00Same price
Claude Opus 5.5$4.00$0.20$20.00$6.40Same price
Claude Sonnet 5.5$2.00$0.10$10.00$3.20Same price
Claude Haiku 5.5$0.10$0.01$0.50$0.16$0.50 / $2.50 above 100K
OpenAI
GPT-6 Astra$10.00$1.00$50.00$10.00$20.00 / $75.00 above 272K
GPT-6.1 Sol$2.00$0.10$10.00$2.00$4.00 / $15.00 above 272K
GPT-6 Luna$0.10$0.01$0.50$0.10$0.20 / $0.75 above 272K
Google
Gemini 4 Argon$2.00$0.10$10.00$2.00Same price
Gemini 3.1 Pro Preview$2.00$0.20$12.00$2.00$4.00 / $18.00 above 200K
Gemini 3.8 Flash$0.75$0.075$3.75$0.75Same price
Gemini 3.5 Flash-Lite$0.30$0.03$2.50$0.30Same price
Gemini 3.1 Flash-Lite$0.25$0.025$1.50$0.25Same price

Sources: Anthropic pricing (checked October 14, 2026) · OpenAI pricing (checked October 19, 2026) · Google pricing (checked October 14, 2026). Batch APIs halve input and output prices on all three. Provider pages: Claude API pricing, Gemini API pricing.

Announced price changes

Why an agent's bill grows with every call

A price list tells you what one token costs. The bill depends on how many tokens your app sends, and an agent sends far more than it seems. Here is the support agent from the tool, one conversation, call by call:

Call 1
6.2K
Call 2
8.5K
Call 3
10.8K
Call 4
13.1K
Call 5
15.4K

On GPT-6.1 Sol without caching, call 1 costs $0.0154 and call 5 costs $0.0338: the same question gets 2.2× more expensive by its last step. Right column: input tokens per call.

  1. 1The system prompt is billed on every call. Instructions and tool definitions, 6K tokens, travel with each of the 5 calls: 30K tokens per conversation for the same text.
  2. 2Tool results pile up. Each tool returns 2K tokens of JSON. They stay in the history, so the result from call 1 is billed again in calls 2 to 5.
  3. 3The answer is the small part. The model writes 300 tokens per call. Output costs 5× to 8.3× more per token, yet input is 88% of this bill.
  4. 4Caching turns repeats into discounts. Everything a call shares with the one before is a repeated prefix. With caching on, it is billed at 2.5% to 10% of the input price, which is why the tool's bars drop by more than half.

Count your own prompt with the token counter, and see the LLM cost optimization guide for the levers that shrink each part.

Which LLM is cheapest? It depends on the app

The cheapest model per token is not always the cheapest per task. Rankings move with the workload, because three rules sit on top of the price list:

WorkloadCheapestCheapest of each providerSpread
Support agent
30,000 conversations a month
GPT-6 Luna
$71.13 a month
Claude Haiku 5.5 $114
GPT-6 Luna $71.13
Gemini 3.1 Flash-Lite $171
137×
RAG chatbot
100,000 questions a month
GPT-6 Luna
$103 a month
Claude Haiku 5.5 $164
GPT-6 Luna $103
Gemini 3.1 Flash-Lite $300
158×
Coding agent
1,000 tasks a month
GPT-6 Luna
$108 a month
Claude Haiku 5.5 $769
GPT-6 Luna $108
Gemini 3.1 Flash-Lite $265
100×
Classifier
1,000,000 tickets a month
Claude Haiku 5.5
$49.60 a month
Claude Haiku 5.5 $49.60
GPT-6 Luna $85.00
Gemini 3.1 Flash-Lite $215
171×

Prompt caching on, Claude billed with its own tokenizer, today's prices. Change any of it in the tool above.

Price is half the decision. Route each request type to the cheapest model that passes your own evaluation set, and keep the expensive model for the requests that need it.

How this comparison works

Frequently asked questions

Which LLM API is the cheapest?

On list price, Claude Haiku 5.5 ($0.10 per million input tokens, $0.50 output) and GPT-6 Luna ($0.10, $0.50) are the cheapest current models from Anthropic, OpenAI and Google. Per task it depends on the workload: Claude's tokenizer counts more tokens for the same text, while its shorter caching minimum lets small prompts cache. In the comparison above, GPT-6 Luna is cheapest for the support agent and Claude Haiku 5.5 for the classifier.

How much does an LLM API cost per month?

It depends on the model more than anything else. The same support agent at 30,000 conversations a month costs $71.13 on GPT-6 Luna and $9,775 on Claude Fable 5.1, with prompt caching on. Multiply your tokens per task by your tasks per month, then by the model's prices, or pick the closest workload in the tool above.

Why does the same prompt cost a different number of tokens on Claude, GPT and Gemini?

Each provider trains its own tokenizer. Anthropic says 1M tokens is about 2.5M characters on current Claude models; OpenAI and Google say a token is about 4 characters. The same English text is about 1.6× the tokens on Claude, so compare prices per task, not per token.

Does prompt caching work the same on every provider?

No. Anthropic and OpenAI's GPT-6 models bill cache writes at 1.3× the input price and cache reads at 2.5% to 10% of it. Gemini's implicit caching has no write fee, but hits are not guaranteed. The shortest prefix that caches also differs: 512 tokens on Anthropic, 1,024 tokens on OpenAI, 4,096 tokens on Google.

What is long-context pricing?

Some models charge more per token once a prompt passes a size: Claude Haiku 5.5 above 100K input tokens, Gemini 3.1 Pro Preview above 200K input tokens, OpenAI models above 272K input tokens. The higher price applies to the whole request, input and output. Agents that keep every tool result in the context cross these lines after enough steps.

Are output tokens more expensive than input tokens?

Yes, 5× to 8.3× more per token on current models. But input is usually most of the bill: in a 5-call agent, 88% of the cost is input, because every call re-sends the conversation so far.

How often are these prices updated?

Prices come from each provider's pricing page: Anthropic checked October 14, 2026, OpenAI checked October 19, 2026, Google checked October 14, 2026. Announced changes are in the table, and the "Announced prices" switch applies them.

Cut your LLM costs
without cutting quality.

One layer between retrieval and inference removes the context your model never needed, in milliseconds. Fewer input tokens, lower cost, a prompt cache that keeps hitting, and every removal logged with its reason.

Keep your model, retriever and prompts. Remove one call to roll back.