AI API Pricing 2026: Cost Calculator by Model

Compare 2026 prices for 11 current models from OpenAI, Anthropic and Google, then enter your monthly token use to see what each model would cost you a month.

Share this post
6 min read

Last updated November 30, 2026

Model prices now range from 5 cents to $8 per million input tokens. That gap makes the choice of model the biggest factor in your bill.

Enter your monthly token use below. The table prices the same workload on 11 current models from OpenAI, Anthropic and Google.

ModelYour monthly costInput per 1MOutput per 1M
GPT-6.2 Astra (OpenAI)–$8.00$40.00
GPT-6.2 Sol (OpenAI)–$2.00$10.00
GPT-6.1 Terra (OpenAI)–$0.50$2.50
GPT-6 Luna (OpenAI)–$0.05$0.25
Claude Fable 5.2 (Anthropic)–$8.00$40.00
Claude Opus 5.5 (Anthropic)–$4.00$20.00
Claude Sonnet 5.5 (Anthropic)–$2.00$10.00
Claude Haiku 5.5 (Anthropic)–$0.10$0.50
Gemini 3.1 Pro Preview (Google)–$2.00$12.00
Gemini 3.5 Flash (Google)–$1.50$9.00
Gemini 3.1 Flash-Lite (Google)–$0.25$1.50

Source: prices per 1 million tokens from the OpenAI, Claude and Gemini pricing pages, checked November 30, 2026. Costs exclude tax, caching and batch discounts.

Key Takeaways

  • GPT-6 Luna is the cheapest model here, at $0.05 per million input tokens.
  • GPT-6.2 Astra and Claude Fable 5.2 share the top price of $8 input and $40 output.
  • GPT-6.2 Sol and Claude Sonnet 5.5 both cost $2 input and $10 output.
  • Output tokens usually cost four to six times more than input tokens.
160xInput price gap between the cheapest and priciest models here, from the official OpenAI prices.

How much does each model cost per million tokens?

Every provider charges separately for input and output. Input is the text you send. Output is the text the model writes back.

Here are the standard prices for each model in our calculator. Cached input means repeated text that the provider has stored for reuse.

ProviderModelInputOutputCached input
OpenAIGPT-6.2 Astra$8.00$40.00$0.40
OpenAIGPT-6.2 Sol$2.00$10.00$0.10
OpenAIGPT-6.1 Terra$0.50$2.50$0.025
OpenAIGPT-6 Luna$0.05$0.25$0.005
AnthropicClaude Fable 5.2$8.00$40.00$0.20
AnthropicClaude Opus 5.5$4.00$20.00$0.20
AnthropicClaude Sonnet 5.5$2.00$10.00$0.10
AnthropicClaude Haiku 5.5$0.10$0.50$0.01
GoogleGemini 3.1 Pro Preview$2.00$12.00See page
GoogleGemini 3.5 Flash$1.50$9.00See page
GoogleGemini 3.1 Flash-Lite$0.25$1.50See page

Source: official pricing pages from OpenAI, Anthropic and Google, checked November 30, 2026. Prices are in US dollars per 1 million tokens.

Good to know. One million tokens is roughly 750,000 English words. A short chat message and reply often use only a few hundred tokens.

Which model is cheapest in 2026?

GPT-6 Luna from OpenAI is the cheapest in our list. It costs $0.05 per million input tokens and $0.25 per million output tokens.

Claude Haiku 5.5 is close behind at $0.10 input and $0.50 output. That price applies to prompts up to 100,000 tokens.

Gemini 3.1 Flash-Lite costs $0.25 input and $1.50 output. Low-cost models suit simple jobs such as sorting, tagging and short replies.

Which models cost the most?

GPT-6.2 Astra and Claude Fable 5.2 both cost $8 input and $40 output. Claude Opus 5.5 sits below them at $4 and $20.

Top-tier models make sense for hard reasoning, long coding tasks and work where mistakes are costly.

What matters most when you pick a model?

  • The lowest price
  • The best quality
  • Speed of replies
  • Not sure

Free updates

Join the Digieh list

Be the first to know when our weekly brief launches.

No spam. Unsubscribe anytime. Read our Privacy Policy.

How do you estimate your monthly bill?

Start with how many requests you expect each month. Then estimate the average input and output tokens per request.

  1. Multiply requests by average input tokens to get monthly input.
  2. Multiply requests by average output tokens to get monthly output.
  3. Divide each total by 1 million.
  4. Enter both numbers in the calculator above.

Take 100,000 requests with 500 input and 100 output tokens each. That gives 50 million input and 10 million output tokens, the default values in our calculator.

At those numbers, Claude Sonnet 5.5 and GPT-6.2 Sol both cost $200 a month. GPT-6 Luna costs $5.

Try this today. Pull one week of real requests from your logs. Count the tokens, multiply by four, and enter the result above.

How can prompt caching cut your costs?

Many apps send the same long instructions with every request. Prompt caching lets the provider store that repeated text and charge less to reuse it.

On Claude Opus 5.5 and Sonnet 5.5, a cache hit costs 0.05 times the input price. That rule is on the Claude pricing page. Writing to the cache costs extra, so savings start after a few reuses.

OpenAI lists cached input at $0.10 for GPT-6.2 Sol, against $2 for fresh input. That is a 95 percent discount on repeated text.

Does batch processing save money?

Yes, if your work can wait. Anthropic gives a 50 percent discount on input and output for batch requests.

OpenAI also lists batch and flex prices on its pricing page. Results arrive later, so batch suits reports and bulk tagging, not live chat.

What else changes the final price?

The headline price is only part of the bill. A few other rules can raise or lower it.

  • Long prompts: Gemini 3.1 Pro Preview charges $4 input and $18 output above 200,000 tokens. Claude Haiku 5.5 rises to $0.50 and $2.50 above 100,000 tokens.
  • Thinking tokens: Google counts thinking tokens as output on its Gemini price list.
  • Data location: Anthropic adds 10 percent for US-only processing, and OpenAI adds 10 percent for regional endpoints on newer models.
  • Tokenizers: Anthropic says its newer models produce about 30 percent more tokens for the same text.

Because tokenizers differ, the same text can cost different amounts on two models with equal prices. Test with your own data before you decide.

A fair test is simple. Run the same 50 real requests through each model you are considering. Record the tokens used, the cost and the quality of each answer. Then pick the cheapest model that passes your quality bar.

How do OpenAI, Anthropic and Google compare on price?

Each provider now sells a ladder of models, from cheap and fast to large and careful. The ladders line up more closely than many people expect.

At the middle rung, GPT-6.2 Sol and Claude Sonnet 5.5 cost exactly the same. Gemini 3.1 Pro Preview matches them on input but charges $12 for output.

At the top, OpenAI and Anthropic both charge $8 input and $40 output for their largest models. Anthropic also offers Opus 5.5 at half that price.

At the bottom, OpenAI is cheapest with GPT-6 Luna. Anthropic and Google follow with Haiku 5.5 and Flash-Lite.

Price is only one factor. Speed, context length, tool support and quality on your own tasks matter just as much.

Is there a free way to try these models?

Google lists a free tier for several Gemini models, including Gemini 3.5 Flash and 3.1 Flash-Lite. Free tiers have lower limits and different data terms.

Anthropic says new users receive free credits to test its platform. Check each provider’s terms before you send private data.

Which model should you choose?

Match the model to the job, not the brand. Many teams use two or three models for different tasks.

  • High volume, simple tasks: GPT-6 Luna, Claude Haiku 5.5 or Gemini 3.1 Flash-Lite.
  • Everyday writing, support and coding help: GPT-6.2 Sol, Claude Sonnet 5.5 or Gemini 3.5 Flash.
  • Hard reasoning and long agent tasks: Claude Opus 5.5, Claude Fable 5.2 or GPT-6.2 Astra.

Want better results for less money? Our guide on how to write better prompts shows how to get good answers with shorter inputs.

Comparing the two newest OpenAI models? Read our GPT-6.2 Astra vs Sol comparison. For the newest Claude models, see our Claude Fable and Mythos 5.2 explainer.

New to the topic? Start with the difference between agents and chatbots.

Which model in our table has the lowest input price?

  1. Claude Haiku 5.5
  2. Gemini 3.1 Flash-Lite
  3. GPT-6 Luna

GPT-6 Luna costs $0.05 per million input tokens, half the price of Claude Haiku 5.5.

Frequently Asked Questions

What is a token?

A token is a small piece of text, often part of a word. Providers count tokens to measure how much text a model reads and writes.

Why do output tokens cost more than input tokens?

Writing new text takes more computing work than reading it. So every provider in our table charges more for output.

Are these prices the same in every country?

The list prices are in US dollars. Tax, currency conversion and regional processing fees can change what you pay.

How often do these prices change?

Providers change prices several times a year, often when they launch new models. We recheck the official pages and update this table.

Editor’s Note

This article is accurate as of November 30, 2026. Prices come from the official OpenAI, Anthropic and Google pricing pages. Always confirm the current price before you commit to a plan.

Spot an error in this article? Please contact us at support@digieh.com or read our Corrections Policy.

Keep exploring

Your next read is waiting

Found this useful?

Share this post
Avatar photo

Syed Wasif Raza

Syed Wasif Raza is the founder and editor of Digieh. He writes about health, food, lifestyle, news and sports in plain, easy English. Every guide he publishes is checked against official sources such as government and health agency pages. Connect with him on LinkedIn.

Articles: 874

Leave a Reply

Your email address will not be published. Required fields are marked *