AI Cost Calculator: Compare Model Pricing

What AI APIs Actually Cost: Rate Cards, Cliffs and Cost per Task

By Tom Morgan · Originally published September 16, 2026 · Rebuilt October 8, 2026; selected rates re-verified November 22, 2026

Price update, November 22. I rechecked every rate in the selected table against Anthropic’s pricing docs, OpenAI’s developer pricing page, and Google’s Gemini API pricing page. Rates shown are standard text-token prices current as of November 22, 2026. This is a selected-model comparison, not a complete provider catalog. Gemini 4 Argon now has a public model ID and dated prices on Google’s rate card; see below.

Claude Sonnet 5.5 and GPT-6.1 Sol both list at $2 per million input tokens and $10 per million output tokens. On Artificial Analysis’s benchmark suite, one task cost $7.60 on Sonnet 5.5 and $0.72 on GPT-6.1 Sol, each at its top effort setting. Same rate card, a 10.6x difference in the bill. The sticker price is the least stable and least informative number on the page.

V read on the providers’ own pages, Nov 22   R reported, not reproduced   C calculated by me

Direct answer. Among the 11 listed models, the lowest input/output rate is tied between Claude Haiku 5.5 and GPT-6 Luna at $0.10 / $0.50 V. The highest listed input/output rate is tied between GPT-6 Astra and Claude Fable 5.1 at $10 / $50 V. For 50M input and 10M output tokens a month, that is $10 versus $1,000, a 100x spread C. Use the calculator with your own volumes.

Monthly API cost calculator

The January scenario doubles Gemini 3.8 Flash input, output, and cache-read rates; cache read rises from $0.075 to $0.15 per million tokens. Google’s hourly cache-storage fee rises from $0.50 to $1.00 per million cached tokens per hour, but is excluded from the monthly estimate.

ModelProviderRelative costPer month

Method C: cost = fresh input × input rate + cached input × cache-read rate + output × output rate. Excludes cache-write fees, Google’s hourly cache storage fee, long-context surcharges and tool fees. Batch halves every rate except Gemini 3.1 Pro’s cache rate. GPT-5.6 Sol is the promotional rate.

Selected-model rate card, re-verified November 22, 2026

USD per million tokens, standard processing, text. Cache read is the price of re-reading input the provider has already processed. All rows V from Anthropic’s pricing docs, OpenAI’s developer pricing page and Google’s Gemini API pricing page. This 11-model shortlist is not a complete provider catalog; other current models are not included in the rankings or calculator.

ModelInputOutputCache readNotes

Not included in this calculator: Gemini 4 Argon (public model ID gemini-4-argon). Google’s pricing page lists input/output at $2 / $10 per million tokens through November 30, 2026, then $4 / $20 starting December 1. Its context-caching price changes from $0.10 to $0.20 per million tokens on the same dates. Argon is paid-tier only and remains outside the current 11-model ranking.

Why identical prices produce different bills

Artificial Analysis (AA), an independent benchmarker, runs every model through the same Intelligence Index and records the cost.

Sonnet 5.5 (max)GPT-6.1 Sol (max)
List price in / out$2 / $10$2 / $10
AA Intelligence Index~56~52
AA cost per task$7.60$0.72
Output tokens per task~193,000 (AA’s highest measured)not verified

Sonnet 5.5 used about 60% more output tokens than Opus 5.5 at max effort and about 7x GPT-6 Astra’s, per AA V. At high effort, AA places Sonnet 5.5 just behind GPT-6 Sol at effectively the same cost per task, so effort setting is the lever you control.

Where the money goes. 193,000 output tokens at $10 per million is about $1.93, roughly a quarter of $7.60 C. The rest is input and cache traffic, so for agent workloads cache pricing matters more than output pricing. Anthropic halved Sonnet 5.5’s cache read price to $0.10 on October 7 and says that cuts most agentic task costs about 20% R. AA’s figure predates the cut; if 20% held, $7.60 becomes about $6.08 and the gap about 8.4x C, scenario only.

Limits. AA tested a pre-release Sonnet 5.5 with a structured-output bug that Anthropic says is fixed, and plans re-runs. AA’s task mix is not yours. I ran no benchmarks myself. GPT-6.1 Sol’s figure came via AA’s model page in search results, not a full page read.

Four cliffs the rate card doesn’t draw

Long-context thresholds

ProviderThresholdEffect
Anthropic Haiku 5.5100K prompt tokens$0.10 / $0.50 becomes $0.50 / $2.50 V
Anthropic Sonnet / Opus / Fablenone to 1MFlat V
OpenAI GPT-6 family~272KSol $2 / $10 becomes $4 / $15; Luna $0.20 / $0.75; Astra $20 / $75 V (threshold from GPT-5.6 docs R)
Google Gemini 3.1 Pro200K$2 / $12 becomes $4 / $18 V

A 100,000-token Haiku 5.5 prompt costs $0.01 of input; 100,001 tokens costs about $0.05 C.

Tokenizers

Anthropic says Claude 4.7 and later models produce about 30% more tokens for the same text V. Sonnet 5 at $2 / $10 looks 33% cheaper than Sonnet 4.6 at $3 / $15, but at +30% tokens the effective rate is about $2.60 / $13, roughly 13% cheaper C. I found no official data comparing OpenAI’s or Google’s tokenizers, so cross-vendor per-token prices are approximate.

Cache mechanics

Anthropic charges 1.25x input to write a 5-minute cache and 2x for one hour; reads cost 10% of input (5% on Opus 5.5 and Sonnet 5.5, 2.5% on Fable 5.1). OpenAI’s GPT-6 cache writes list at 1.25x. Google adds an hourly storage fee ($0.50 per million cached tokens per hour on Gemini 3.8 Flash through December 31, then $1.00; $4.50 on Gemini 3.1 Pro) V. Caching only pays when traffic repeats.

Add-ons

Batch is 50% off at all three. Anthropic fast mode (Opus 5.5: $8 / $40) cannot combine with batch. OpenAI Fast doubles GPT-6.1 Sol to $4 / $20. Web search is $10 per 1,000 on Anthropic and OpenAI; Google gives 5,000 free per month, then $14 per 1,000 V.

Discounts with expiry dates

Budget against the price after the discount ends. Effect shown on the 50M / 10M workload C.

OfferEndsAfterMonthly
Gemini 3.8 / 3.7 / 3.6 Flash VDec 31, 2026$1.50 / $7.50$75 → $150
GPT-5.6 Sol promo VNov 30, 2026 (verified Nov 22)No post-promo price published; prior $5 / $30$400 → $550
Gemini 4 Argon intro VNov 30, 2026$4 / $20$200 → $400
Claude Sonnet 5 RPlanned Sep 1 rise cancelled$2 / $10 now permanentno change

Which model for which job

  • High-volume classification and extraction under 100K tokens: Haiku 5.5 and GPT-6 Luna cost the same. Test both on your data. If prompts pass 100K regularly, Luna’s cliff sits later.
  • General agent and coding work: start with GPT-6.1 Sol on cost per task. Move to Sonnet 5.5 only if your own evaluation shows the quality gap matters, and try high effort before max.
  • Hardest tasks: Opus 5.5 ($4 / $20) now costs less than Opus 5 and AA ranks it first. Treat Astra and Fable 5.1 at $10 / $50 as evidence-required. I could not verify Astra’s per-task cost from a primary page.
  • Google on a budget: Gemini 3.8 Flash costs double from January 1. One report says it writes about 30% more text than 3.7 Flash R; model that first.

What I got wrong on September 16

September claimStatusFix
GPT-5.6 Sol is $5 / $30; the $4 / $20 claim is staleWrongOpenAI’s developer pricing page was rechecked on Nov 22: it lists the $4 / $20 GPT-5.6 Sol promotion through Nov 30, 2026. The Oct 8 snapshot relied on OpenAI’s marketing page, which did not show the full developer rate card.
Cheapest is GPT-5.6 Luna at $0.20 / $1.20SupersededGPT-6 Luna and Haiku 5.5 are $0.10 / $0.50.
Range “$22 to over $1,000”WrongFable 5.1 is exactly $1,000; the low is $10.
Output is “4 to 6x” input; flagships within “1.2–1.7x”UnsupportedReal range is 5x to 8.3x; spread claim removed.
Calculator batch plus cacheOversimplifiedAnthropic’s cache multipliers stack with batch; now modeled.
GPT-5.1 and GPT-4o pricesUnverifiedRemoved.

Frequently asked questions

What is the cheapest AI API right now?

Claude Haiku 5.5 and GPT-6 Luna, both $0.10 / $0.50 per million tokens as of October 8, 2026. Gemini 3.5 Flash-Lite is next at $0.30 / $2.50.

Is Claude, GPT or Gemini cheaper?

At the budget tier Claude and GPT tie and Gemini costs 3x to 5x more per token. At the mid tier Sonnet 5.5 and GPT-6.1 Sol tie at $2 / $10 and Gemini 3.1 Pro is $2 / $12. Tokens per task then decide, and in AA’s data GPT-6.1 Sol was about 10x cheaper than Sonnet 5.5 at max effort.

Did Claude Sonnet’s price rise on September 1?

No. Anthropic cancelled the planned increase to $3 / $15, and $2 / $10 is now the standard Sonnet 5 price, unchanged for Sonnet 5.5 R.

How many tokens is a million?

Anthropic’s rule of thumb is about 4 characters or 0.75 English words per token, so a million tokens is roughly 750,000 words V.

How do I check a price is current?

Open the provider’s pricing page and the model’s page on the day you budget, note the date, look for “through” or “starting” dates, and read the long-context and cache rows. For OpenAI, use the developer docs.

Method and limits

On November 22, 2026, I rechecked every rate in the 11-model table against Anthropic’s pricing docs, OpenAI’s developer pricing page, and Google’s Gemini API pricing page. I did not re-run the benchmark analysis. Google’s public page now identifies Gemini 4 Argon and dates its introductory price through November 30, 2026; the interactive calculator still excludes Argon. The post-promotion GPT-5.6 Sol price is not published on the cited developer rate card. Artificial Analysis’s planned Sonnet 5.5 re-run and cross-vendor tokenizer differences remain unresolved. Cloud marketplaces (Bedrock, Vertex, Azure) price separately; these are first-party API prices.

Update (November 22, 2026): The GPT-5.6 Sol promotion date and $4 / $20 rate were rechecked against OpenAI’s developer pricing page, which lists the promotion through November 30, 2026. This is a scoped check of that offer, not a re-verification of the remaining provider rate card.

Sources

Tom Morgan covers AI infrastructure and cost for AInvasion. Prices change without notice: confirm on the provider’s page before committing budget.

How this calculator was tested

On 19 November 2026 we checked six input states, 11 model rows per state and 66 displayed amounts against independent decimal arithmetic based on the rate card and the formula shown on this page. All 66 matched after the observed display rounding.

The summary now names every model tied for lowest and highest monthly cost. A note beside the January scenario toggle states that cached input rises from $0.075 to $0.15 per million tokens; Google’s hourly storage fee rises from $0.50 to $1.00 per million cached tokens per hour and remains excluded. These presentation changes do not alter the 11 model rows or their pricing formulas. The full record, with screenshots and the expected amounts, is published in Our Tests.

  • Our Tests — the calculator audit and its limits.
  • AI Model Matrix — the models behind the rate card, with context windows.
  • Methodology — how figures are checked before publication.

What the calculator leaves out

It does not include cache-write fees, Google cache storage, long-context surcharges, tool or retrieval fees, negotiated enterprise discounts or taxes. It is a planning estimate, not an invoice, and it does not verify provider prices with the vendors. Check the current rate card before you commit a budget.