AI tools

AI API Pricing Compared: Claude vs GPT vs Gemini (Oct 2026)

Published: 5 min read By Andrzej M.

Performance analytics charts on a laptop screen

Choosing an AI API used to be a quality question. In 2026 it is just as much a budget question, because the same workload can cost $20 or $2,500 a month depending on the model you pick. This guide compares what Anthropic, OpenAI and Google charge as of October 25, 2026, shows three realistic monthly bills, and explains the levers that cut them. If you want to plug in your own numbers, use our free AI API cost calculator.

How is AI API pricing structured?

All three vendors bill per million tokens, and they charge separately for the tokens you send (input) and the tokens the model writes back (output). A token is roughly three quarters of an English word. Output is the expensive side: across the models below it costs between 4 and 6 times as much as input.

Three adjustments matter as much as the headline price:

  • Prompt caching. If the start of your prompt repeats, the repeated part is billed at a cache-read price, typically 5 to 10 % of normal input.
  • Batch API. Asynchronous jobs that finish within 24 hours cost about half.
  • Long context. Some models charge more once a prompt passes a threshold, such as 100,000 tokens for Claude Haiku 5.5 or 272,000 for OpenAI’s flagship models.

What do the main models cost per million tokens?

Prices are in US dollars per million tokens and come from the vendors’ pricing pages on the date above.

TierModelInputCached inputOutput
FrontierClaude Fable 5.1$10$0.25$50
FrontierGPT-6 Astra$10$1.00$50
StrongClaude Opus 5.5$4$0.20$20
StrongGPT-5.5$5$0.50$30
MidClaude Sonnet 5.5$2$0.10$10
MidGPT-6.1 Sol$2$0.10$10
MidGemini 4 Argon (to Nov 30)$2$0.10$10
FastGemini 3.8 Flash (to Dec 31)$0.75$0.075$3.75
FastGPT-5.4 mini$0.75$0.075$4.50
CheapClaude Haiku 5.5$0.10$0.01$0.50
CheapGPT-6 Luna$0.10$0.01$0.50
CheapGemini 2.5 Flash-Lite$0.10$0.01$0.40

The striking pattern is how closely the vendors track each other. Claude Sonnet 5.5, GPT-6.1 Sol and Gemini 4 Argon are priced identically at the mid tier, and the cheap tier sits within a few cents. Price alone rarely decides between vendors; it decides between tiers.

What would a real workload cost?

We ran three workloads through the calculator. Each assumes no batch discount, and the first assumes 30 % of input is cached while the third assumes 85 %.

WorkloadClaude Haiku 5.5Gemini 3.8 FlashClaude Sonnet 5.5GPT-5.5
Support chatbot: 100,000 requests, 1,500 in, 300 out$26$195$515$1,448
Document summaries: 20,000 requests, 8,000 in, 600 out$22$165$440$1,160
Coding agent: 5,000 sessions, 60,000 in, 4,000 out, 85 % cached$17$128$316$953

Two lessons stand out. First, moving from a mid or strong model to the cheap tier cuts the bill by roughly 20 to 55 times for the same traffic, so test whether the small model is good enough before you tune anything else. Second, caching is why the coding agent is cheap despite sending 60,000 tokens per session: 85 % of that input is billed at a twentieth to a tenth of the normal price.

How much do caching and Batch save?

Take the support chatbot on Claude Sonnet 5.5. With no cache it costs about $600 a month. With 30 % of input cached it costs $515, and with 80 % cached it falls to roughly $370. Turn on the Batch API for work that can wait and each of those figures halves.

Caching only helps when the repeated text comes first, so put your system prompt, instructions and shared documents at the start and the user’s question at the end. Batch suits classification, tagging, bulk summarising and model evaluations, but not anything a customer is waiting for.

One caution on caching: Anthropic charges 25 % more than normal input to write a cache entry, and Google bills context-cache storage by the hour. Both are small next to the savings when prompts repeat often, but they can erase the benefit when prompts rarely repeat.

Which prices are about to change?

Two Google models carry introductory pricing. Gemini 4 Argon costs $2 in and $10 out through November 30, 2026, then $4 and $20 from December 1. Gemini 3.8 Flash costs $0.75 and $3.75 through December 31, 2026, then $1.50 and $7.50 from January 1, 2027. Budget for the later price if your project will run past those dates. On the same chatbot workload, Gemini 4 Argon moves from about $515 to about $1,030 a month.

How do you pick the right model?

  1. Write 30 to 50 real examples of your task with the answers you consider correct.
  2. Run them on the cheap tier first. If it passes, stop there.
  3. Move up one tier at a time and stop at the first one that passes.
  4. Compare monthly cost with the calculator, including your expected cache share.
  5. Route hard requests to a larger model and easy ones to a small model if your traffic is mixed.

Teams often find the mid tier is the sweet spot for customer-facing quality, with a cheap model handling classification and routing in front of it.

How do you stop a surprise bill?

Estimates are only as good as your assumptions, and a leaked key ignores your budget entirely. Set a provider-side spending limit and alerts before you launch; our guide to capping AI API spend at Anthropic, OpenAI and Google walks through each console. Then review real usage after the first week and rerun the calculator with your measured token counts instead of guesses.

Bottom line

For most teams the decision is not Claude versus GPT versus Gemini, it is which tier you need and how much of your prompt you can cache. Start cheap, prove quality, cache aggressively, batch what can wait, and recheck prices every quarter because the vendors move them often.

Frequently asked questions

Which AI API is cheapest in October 2026?

Gemini 2.5 Flash-Lite ($0.10 in, $0.40 out per million tokens) has the lowest list price, with Claude Haiku 5.5 and GPT-6 Luna close behind at $0.10 in and $0.50 out. The right choice still depends on whether the cheap model passes your quality tests.

Do Claude, GPT and Gemini charge the same?

At the mid tier, nearly. Claude Sonnet 5.5, GPT-6.1 Sol and Gemini 4 Argon (introductory price) all list $2 per million input tokens and $10 per million output tokens. Differences appear in caching, long-context rules and promotions.

How much can prompt caching save?

Cached input is billed at 5 to 10 % of the normal input price on the models above (for example $0.10 versus $2 on Claude Sonnet 5.5), so a workload where most of the prompt repeats can cut input costs by up to 90 % or more. Output tokens are not discounted.

Is the Batch API worth using?

Yes for anything that can wait up to 24 hours. Anthropic, OpenAI and Google all list about 50 % off input and output tokens for batch jobs, which halves the bill for classification, bulk summaries and evaluations.

Will these prices change?

Probably. Gemini 4 Argon is priced at $2 and $10 through November 30, 2026 and rises to $4 and $20 on December 1, and Gemini 3.8 Flash doubles on January 1, 2027. Check the vendor pages before committing a budget.

Sources