AhmsDevAI Cost

AI API pricing · Prices checked October 8, 2026

AI API pricing: OpenAI, Anthropic and Google side by side

Input, cached input and output prices per 1 million tokens for 15 current models, plus what each costs for the same example workload. Sorted from lowest to highest.

ModelProviderInputCached inputOutputExample workload a month
Claude Haiku 5.5Anthropic$0.10$0.01$0.50$2.00
GPT-5.6 LunaOpenAI$0.20$0.02$1.20$4.40
GPT-5.4 nanoOpenAI$0.20$0.02$1.25$4.50
Gemini 3.1 Flash-LiteGoogle Gemini$0.25$0.025$1.50$5.50
Gemini 2.5 FlashGoogle Gemini$0.30$0.03$2.50$8.00
Gemini 3.8 FlashGoogle Gemini$0.75$0.075$3.75$15.00
GPT-5.4 miniOpenAI$0.75$0.075$4.50$16.50
Gemini 2.5 ProGoogle Gemini$1.25$0.125$10.00$32.50
Claude Sonnet 5.5Anthropic$2.00$0.10$10.00$40.00
GPT-5.6 TerraOpenAI$2.00$0.20$12.00$44.00
Gemini 3.1 Pro (preview)Google Gemini$2.00$0.20$12.00$44.00
GPT-5.4OpenAI$2.50$0.25$15.00$55.00
GPT-5.6 SolOpenAI$4.00$0.40$20.00$80.00
Claude Opus 5.5Anthropic$4.00$0.20$20.00$80.00
Claude Fable 5.1Anthropic$10.00$0.25$50.00$200
List prices per 1 million tokens, checked October 8, 2026. Example workload: 10 million input tokens and 2 million output tokens a month.

List prices per 1 million tokens (standard (non-batch) list price, text, prompts under 200,000 tokens), checked October 8, 2026 on each provider's pricing page: OpenAI pricing, Anthropic pricing, Google Gemini pricing. Prices change, so check the provider before you decide. Cached input is applied automatically to repeated prompt prefixes on supported models. Writing a prompt to the cache costs about 25% more than normal input the first time (5-minute cache). Claude Haiku 5.5 costs $0.50 input and $2.50 output for prompts over 100,000 tokens. Context caching also charges storage per hour. Pro prices double for prompts over 200,000 tokens. Gemini 3.8 Flash is listed to rise to $1.50 input and $7.50 output on January 1, 2027.

How to read these prices

Input is what you send: the prompt, instructions and any documents. Output is what the model writes back. Cached input is the lower price for input the provider has seen recently, such as a long system prompt sent with every call.

All three providers also bill batch jobs at about 50% of the normal price when the results can wait up to 24 hours. The gap between models is large: Claude Fable 5.1 costs $200 a month for the example workload, 100 times Claude Haiku 5.5. Most teams can move some simple work to a smaller model; the guides below show the math.

Your own numbers

List prices are the same for everyone. What you pay depends on your models, prompt sizes, caching and retries. The free calculator gives an estimated range in a minute with the method shown. The $400 audit reads your actual usage exports and ranks the changes worth making, each with an estimated range. Request my audit

Questions

Which AI API is the cheapest?

At the example workload (10 million input and 2 million output tokens a month), the lowest list cost is Claude Haiku 5.5 at $2.00 a month, then GPT-5.6 Luna at $4.40. Price per token is only half of it: a model that needs longer prompts or more retries can cost more per finished task, so test on your own requests.

Why is output priced higher than input?

Every provider here charges more for output tokens, about 5 to 6 times the input price on most models. Long answers cost more than long questions, so capping output length is one of the cheapest fixes.

How often do these prices change?

Often enough to recheck before a big decision. This page shows the prices as listed on October 8, 2026, with links to each provider's pricing page.

Back to home