Official list prices · USD per 1M tokens · last checked
LLM API pricing · checked Nov 19, 2026

LLM Pricing Calculator: Compare API Token Costs

As of November 19, 2026, the cheapest list prices among the 15 models here are GPT-6 Luna and Claude Haiku 5.5 at $0.10 input / $0.50 output per 1M tokens, and flagships range from $2 / $10 (GPT-6.2 Sol) to $10 / $50 (GPT-6 Astra). Type your token counts once to see what every model would charge per request and per month.

LLM API pricing comparison

per request
of those, cache hits
per request, incl. reasoning
per month
Examples
LLM API prices in USD per 1 million tokens, Agent Arena Index quality score, and estimated cost for the workload above
ContextNotes
GPT-6.2 AstraOpenAI$8.00$0.40$40.001.05M1,291$3.32/task · Max––Over 272K input tokens: $16.00 / $60.00 (cached $0.80).
GPT-6.2 SolOpenAI$2.00$0.10$10.001.05M1,241$1.00/task · Max––Over 272K input tokens: $4.00 / $15.00 (cached $0.20).
GPT-6 AstraOpenAI$10.00$1.00$50.001.05M1,282$4.70/task · Max––Over 272K input tokens: $20.00 / $75.00 (cached $2.00).
GPT-6.1 TerraOpenAI$1.00$0.05$5.001.05M1,230$0.86/task · Max––Over 272K input tokens: $2.00 / $7.50 (cached $0.10).
GPT-6 LunaOpenAI$0.10$0.01$0.501.05M1,104$0.08/task · Max––Over 272K input tokens: $0.20 / $0.75 (cached $0.02).
Claude Fable 5.2Anthropic$8.00$0.20$40.001M1,448$9.13/task · Max––Full 1M context at standard price.
Claude Opus 5.5Anthropic$4.00$0.20$20.001M1,336$6.00/task · Max––Full 1M context at standard price.
Claude Sonnet 5.5Anthropic$2.00$0.10$10.001M1,296$3.65/task · Max––Full 1M context at standard price.
Claude Haiku 5.5Anthropic$0.10$0.01$0.501M1,095$0.09/task · High––Prompts over 100K tokens: $0.50 / $2.50 (cached $0.05).
Gemini 4 CarbonGoogle$2.00$0.10$10.00—1,303$1.36/task · High––Rises to $4.00 / $20.00 (cached $0.20) on Dec 1, 2026.
Gemini 4 ArgonGoogle$2.00$0.10$10.00—1,229$0.67/task · High––Rises to $4.00 / $20.00 (cached $0.20) on Dec 1, 2026.
Gemini 4 NeonGoogle$3.00$0.15$15.00—1,333$2.55/task · High––
Gemini 4 HydrogenGoogle$1.50$0.075$7.50—1,271$1.50/task · High––
Gemini 3.8 FlashGoogle$0.75$0.075$3.75—1,118$0.74/task · High––Rises to $1.50 / $7.50 (cached $0.15) on Jan 1, 2027.
Grok 4.7xAI$2.00$0.50$6.00500K1,114$3.42/task · xHigh––Prompts of 200K+ tokens: $4.00 / $12.00 (cached $1.00). No batch price published.
* long-prompt rate applied (see notes)Standard tier, global endpoint. Batch = 50% where the provider publishes it. Cache-write and storage fees not included. Quality: Agent Arena Index, median cost per real agent task in brackets.

What this LLM pricing calculator does

Most API bills come down to three numbers: how many tokens you send, how many of those are served from the provider's cache, and how many tokens the model writes back. Enter those once and the table prices the same workload on 15 current models from OpenAI, Anthropic, Google and xAI, side by side. Click any column heading to sort; the cheapest model for your workload is tagged.

Every rate in the table was copied from the provider's own pricing page on November 19, 2026. We do not estimate or round prices, and where a provider does not publish a number (a context window, for example) the cell says so instead of guessing. The sources are linked at the bottom of this page.

How to estimate your token counts

  • Input tokens are everything you send: system prompt, chat history, retrieved documents, tool definitions and the user's message. One English word is roughly 1.3 tokens, but each provider uses its own tokenizer, so the same text can produce a different count on different models.
  • Cached input is the part of the input that repeats between requests and is read from the prompt cache. Long system prompts and agent loops that re-send the same codebase benefit most.
  • Output tokens include visible text and any reasoning tokens the model spends before answering. Reasoning models can produce several times more output than the visible reply, so measure a few real requests if you can.
  • Requests per month turns the per-request price into a budget.

Not sure where to start? The example buttons load typical shapes: a short chatbot reply, a retrieval-augmented answer, an agent step that re-reads a cached codebase, a single 300K-token document, and a million tiny batch classification calls.

Reading the price table

The table shows the standard, global price per 1 million tokens. A few rules change the real bill, and the calculator applies the ones that can be priced from public numbers:

  1. Long prompts cost more on some models. GPT-6.2 Sol, GPT-6.2 Astra and the other GPT-6.x models switch to higher rates for the entire request when input exceeds 272K tokens (input and cache prices double, output is 1.5×). Claude Haiku 5.5 has a separate price above 100K prompt tokens, and Grok 4.7 above 200K. Claude Fable 5.2, Opus 5.5 and Sonnet 5.5 keep the same rate across the full 1M context.
  2. Batch processing halves the price on the OpenAI, Anthropic and Google models listed and takes 20% off Grok 4.7, if you can wait for asynchronous results.
  3. Scheduled price changes. Google's pricing page lists higher rates for Gemini 4 Carbon and Gemini 4 Argon from December 1, 2026, and for Gemini 3.8 Flash from January 1, 2027. The calculator switches to the new rate automatically on that date.
  4. Not included: cache-write fees, cache storage, regional or data-residency uplifts (OpenAI and Anthropic list +10% for regional endpoints on recent models), premium speed tiers, tool calls such as web search, and taxes.

Quick comparison: flagship vs. workhorse models

The gap between tiers is large. For the "coding agent step" example (60,000 input tokens of which 50,000 are cached, 2,000 output tokens), GPT-6.2 Sol costs $0.045 per step and GPT-6.2 Astra $0.18, exactly four times more, because every Astra rate is 4× Sol's. Claude Opus 5.5 lists $4 input and $20 output, double Sonnet 5.5's $2 and $10.

Price per token is only half the story: a model that solves a task in fewer tokens or fewer retries can be cheaper per finished task even at a higher rate. Use the calculator to bound the cost, then test on your own prompts.

Pricing pages by provider and model

Each page has the full price list, long-context and batch rules, worked cost examples and a calculator limited to the relevant models:

Open-weight models

Official prices plus every third-party provider, refreshed daily:

Head-to-head comparisons

Read how we collect and check prices for the full methodology.

Frequently asked questions

Providers bill per token, quoted in US dollars per 1 million tokens. Cost per request = uncached input tokens × input price + cached input tokens × cached price + output tokens × output price, each divided by 1,000,000. Reasoning (thinking) tokens are billed as output.

It depends on your token mix. In our November 19, 2026 snapshot the lowest list prices are GPT-6 Luna and Claude Haiku 5.5, both $0.10 input and $0.50 output per 1M tokens. Enter your own workload above: the cheapest model for it is tagged automatically.

When the start of a prompt repeats (a long system prompt, a document, a codebase), providers can reuse it from a cache and bill those tokens at a lower cached-input rate. For the models listed here that rate is between 1/4 (Grok 4.7) and 1/40 (Claude Fable 5.2) of the normal input price. Writing to the cache may cost extra; this calculator does not include cache-write fees.

Yes. OpenAI's GPT-6.x models charge higher rates for the whole request above 272K input tokens, Claude Haiku 5.5 above 100K, and Grok 4.7 at 200K or more. When your input crosses a threshold the higher rate is used and the cost is marked with an asterisk.

OpenAI, Anthropic and Google list batch prices at 50% of standard for the models here. xAI's pricing page lists Grok 4.7's Batch API at 20% off standard. Both are in exchange for asynchronous processing, usually within 24 hours; tick Batch in the calculator to apply them.

We re-check the official pricing pages when a new model launches and at least weekly. The date at the top of every page is the last time each price was compared against its source. If a provider page disagrees with this site, the provider page is correct.

Sources

Every price on this page was copied from these official pages on November 19, 2026. If a provider changes a price, its page wins.