AI model pricing comparison (updated 2026)

A pricing table is easy to skim and easy to misread. This one gives you the current numbers - but the comparison that actually matters starts when you add your own message lengths and the quality you need.

Updated 2026-06-29

How to read these prices

Prices are per million tokens (a token is just under a word), with separate rates for the text you send in, the repeated text you reuse from cache, and the text the AI writes back. The reply is almost always the most expensive of the three, so anything that writes a lot costs more than the input price alone suggests. A sticker price tells you very little on its own - it only means something once you run it against your own mix of in and out.

Full pricing table

ProviderModelInput /1MCached /1MOutput /1MContext
OpenAIGPT-5.5$5$0.5$30400,000
OpenAIGPT-5.4$2.5$0.25$15400,000
OpenAIGPT-5.4 mini$0.75$0.075$4.5400,000
OpenAIGPT-5.4 nano$0.2$0.02$1.25400,000
OpenAIGPT-4o$2.5$1.25$10128,000
OpenAIGPT-4o mini$0.15$0.075$0.6128,000
AnthropicClaude Fable 5$10$1$501,000,000
AnthropicClaude Opus 4.8$5$0.5$251,000,000
AnthropicClaude Sonnet 4.6$3$0.3$151,000,000
AnthropicClaude Haiku 4.5$1$0.1$5200,000
GoogleGemini 3.1 Pro$2$0.2$121,000,000
GoogleGemini 3.5 Flash$1.5$0.15$91,000,000
GoogleGemini 2.5 Pro$1.25$0.125$101,000,000
GoogleGemini 2.5 Flash$0.3$0.03$2.51,000,000
GoogleGemini 2.5 Flash-Lite$0.1$0.01$0.41,000,000
xAIGrok 4.3$1.25N/A$2.51,000,000
MistralMistral Medium 3.5$1.5N/A$7.5128,000
MistralMistral Large 3$0.5N/A$1.5128,000
MistralMistral Small 4$0.15N/A$0.6128,000
DeepSeekDeepSeek-V4-Flash$0.14$0.014$0.281,000,000
DeepSeekDeepSeek-V4-Pro$0.44$0.044$0.871,000,000
CohereCommand R+$2.5N/A$10128,000
CohereCommand R$0.5N/A$1.5128,000
GroqLlama 3.3 70B (Groq)$0.59N/A$0.79128,000
GroqLlama 3.1 8B (Groq)$0.05N/A$0.08128,000
TogetherLlama 3.3 70B (Together)$0.88N/A$0.88128,000

Search (embedding) model pricing

ProviderModelPrice /1MDimensions
OpenAItext-embedding-3-small$0.021,536
OpenAItext-embedding-3-large$0.133,072
GoogleGemini Embedding$0.15768
Voyagevoyage-3$0.061,024
Voyagevoyage-3-lite$0.02512
CohereCohere embed v3$0.11,024
Mistralmistral-embed$0.11,024

Price isn't the whole story

How much text a model can hold at once, caching, batch discounts, image or audio support, speed and answer quality all feed into the choice. The model you actually want is the cheapest one that passes your own quality test - which often isn't the cheapest row on the table. Run your numbers through the API cost calculator to rank models by what they'd really cost you.

Every price here comes straight from the provider's official pricing page, verified on the date shown. The data sources page lists each source and the last verification date.

Turn the table into a real estimate

Say one request sends about 1,500 words in and gets 225 back. Multiply each side by its own rate - don't add the rates together or price the whole thing at the cheaper input rate. Then apply the cached rate only to the text that actually repeats.

Do it again with a short answer and a long one. The reply is usually the expensive side, so a product that writes articles can rank the models completely differently from one that just sorts support tickets.

Why the cheapest row often isn't cheapest in real life

The sticker price doesn't include bad answers, retries, the longer prompts a weaker model needs, or the time spent fixing its mistakes. Compare cost per good answer instead. A slightly pricier model is often the cheaper choice when it gets things right the first time.

Use the tiers as a starting point

Budget models are great for sorting, fact-pulling, tagging and routine chat. Mid-tier models balance reasoning and cost for most core features. Premium models earn their place where a better answer clearly pays off. Treat these as starting guesses, not rules - build a small test set and let the models earn their spot. Plenty of products use more than one: a cheap model for the everyday work and a stronger one for the hard or high-value cases.

Mind the fine print around the rate

Check that the listed price applies to your region and your account type. Batch, caching, long-context and priority processing can all have their own rates, and tax and enterprise deals usually sit outside the public list price.

Write down why you chose

When you pick a model, save the test result, the usage you measured, the price you saw and the date. That makes the next review far easier. Come back to it when your workload changes, the provider updates the model, or a new option clearly beats it on quality or cost.

For a quick calculation, open the API cost calculator. For the source links and update dates, see the data sources page.

Related reading and tools