AI State of the Art
Ecosystem/Major Players: Technical Profiles/20 min
Section 276

Product & API Comparison: OpenAI, Anthropic, Google, Mistral, DeepSeek

Listen as a podcast →
Last verified: 30 July 2026

Every figure on this page was taken that day from each provider's official pricing page. None of it comes from a third-party comparison.

This is the fastest-ageing page in the course, reckon on a few weeks. If you are reading it well after that date, go straight to How to check for yourself and treat the tables as a historical snapshot.

What the previous version contained

This page dated from March 2026 and almost every line of it was wrong. A few examples found during the revision: Claude Opus 4.7 was priced at $15 / $75 per million tokens, which is the rate for the now-deprecated Opus 4.1, Opus 4.7 is $5 / $25. Mistral Large 3 was listed at $2 / $5 against an actual $0.50 / $1.50. Mistral Small 4 was given a 128K context; it has 256K. DeepSeek V4-Pro was quoted at $1.74 for input; it is $0.435. And several model names cited, including "GPT-5.5" and "GPT-5.4", appear on no official page.

That is a useful warning in itself: a priced comparison that does not carry the date it was taken is a dangerous document.

Why this kind of table is treacherous

A pricing comparison feels like stable information. It is not, for three reasons worth holding in mind before reading on.

Line-ups change monthly. Between the previous version of this page and this one, a few months passed: models were retired, others renamed, prices fell, and one provider reorganised its entire naming scheme.

A listed price is not a paid price. The per-million-tokens rate is a starting point. It is then multiplied or divided by caching, batch processing, the geography you choose, and the length of your context. We come back to this, it is the useful part of the page.

Nobody publishes everything. Some pages give context windows, others do not. Where the information is not on the provider's official page, it is absent below. A missing figure beats a wrong one: that is precisely the mistake that made the previous version unusable.

The rates as taken

Prices in dollars per million tokens, standard rate, before discounts.

Anthropic

ModelInputOutput
Claude Fable 51050
Claude Opus 5525
Claude Opus 4.8525
Claude Opus 4.7525
Claude Sonnet 5 (through 31 August 2026)210
Claude Sonnet 5 (from 1 September 2026)315
Claude Sonnet 4.6315
Claude Haiku 4.515

Since this snapshot, Fable 5.1 (September 1, 2026) kept Fable 5's rate but cut the cache-read price fourfold ($1 to $0.25 per million); for an agent that keeps re-reading the same context, that is the line that dominates the bill, see the cache section below.

Then, on September 22, 2026, Claude Opus 5.5 arrived at $4 / $20 ($0.20 for cache reads), with better scores than Fable 5.1 on the benchmarks Anthropic published. For most uses, the most expensive model in the general lineup is no longer the most capable, one more reason to re-check before budgeting.

Two things stand out. Sonnet 5's rate is introductory: it goes from $2 / $10 to $3 / $15 on 1 September 2026. A budget estimate built on that model today therefore rises by 50% on that date, with nothing changing in your code.

And for Claude 4.6 and later models, the one-million-token context window is included at standard pricing: a 900,000-token request is billed at the same per-token rate as a 9,000-token one. That is not the case everywhere, see Google below.

OpenAI

ModelInputOutput
gpt-5.6-sol530
gpt-5.6-terra2.5015
gpt-5.6-luna16
gpt-4o2.5010
gpt-4o-mini0.150.60
o328
text-embedding-3-small0.02–
text-embedding-3-large0.13–
Model names cannot be guessed

The previous version of this page referred to "GPT-5.5", "GPT-5.5 mini", "GPT-5.5 nano", "GPT-5.5-Codex" and even "GPT-5.4". None of those identifiers appears on the official pricing page, which today names its models gpt-5.6-sol, gpt-5.6-terra and gpt-5.6-luna.

The lesson goes beyond OpenAI: never write a model name into a contractual document without having copied it from the provider's documentation. Names follow commercial logics that change, and a plausible identifier is very often a non-existent one.

Since this snapshot was taken, OpenAI announced (August 21, 2026) a temporary cut of just over 20% on gpt-5.6-sol, valid for three months. It is not carried into the table, in keeping with this page's rule: the table reflects the July 30 snapshot, and a promotional rate with an expiry date is exactly the kind of number to re-check on the official page when budgeting.

Another change since the snapshot: on September 3, 2026, OpenAI launched gpt-6-astra at $10 in and $50 out per million tokens ($1 for cache reads, $12.50 for cache writes, fast mode at double, batch at half price, and a surcharge beyond 272,000 input tokens). That is two and a half times Sol's price per token, for a model that writes about three times fewer tokens per task; the OpenAI profile explains why those two figures must be read together.

On September 22, gpt-6-sol ($2 / $10) and gpt-6-luna ($0.10 / $0.50) replaced the GPT-5.6 lineup at half price, with a 1.05-million-token context and a surcharge beyond 272,000 input tokens. The gpt-5.6-* identifiers remain served during the transition.

Google

ModelInputOutput
gemini-3.6-flash1.507.50
gemini-3.5-flash1.509
gemini-3.5-flash-lite0.302.50
gemini-3.1-pro-preview, prompts ≤ 200,000 tokens212
gemini-3.1-pro-preview, prompts > 200,000 tokens418

Look at the last two rows: at Google, on this model, crossing 200,000 tokens doubles the input price. It is a step, not a gradual slope. An application that accumulates conversation history can therefore see its bill double overnight with no code change, simply because prompts grew.

Mistral

ModelInputOutputContextLicence
Mistral Medium 3.51.507.50256KModified MIT
Mistral Large 30.501.50256KApache 2.0
Mistral Small 40.150.60256KApache 2.0
Codestral0.300.90128KPremier
Codestral Embed0.15–8KPremier

One oddity jumps out: Mistral's flagship is more expensive than its largest model. Medium 3.5 is $1.50 for input, Large 3 is $0.50. That is not a transcription error, it is the effect of the April 2026 consolidation, explained in The 2026 Model Consolidation: Medium 3.5 absorbed reasoning, code and vision, and is priced for it, while Large 3 remains a very large non-agentic model that is cheaper per token.

It is also the only provider on this page whose main models ship as open weights. One caveat, though: Medium 3.5's Modified MIT licence carries a revenue ceiling, detailed in Open source at Mistral.

Since this snapshot, Mistral Large 4 (October 6, 2026) has entered preview at $1.36 input and $4.18 output per million tokens, with a half-price launch rate. Its weights are announced for the end of October; see the dedicated page.

DeepSeek

ModelInput (cache miss)OutputContext
DeepSeek-V4-Pro0.4350.871M
DeepSeek-V4-Flash0.140.281M

Since this snapshot, DeepSeek has routed (September 14, 2026) all V4-Pro calls to the new V4.1-Flash, billed $0.15 input and $0.60 output at off-peak hours, double at peak: the table's high-end model no longer exists, and the rate now varies with the time of day (see DeepSeek V4.1-Flash).

The price gap remains DeepSeek's central argument: its high-end model costs less on input than most competitors' small model, with a million tokens of context.

What makes these prices incomparable

Here is the part comparison tables always miss, and it weighs more than the headline gaps.

Caching changes the order of magnitude

Reusing the front of a prompt from one call to the next (a long document, system instructions, a history) avoids having it reprocessed. At Anthropic the mechanics are priced: writing to the cache costs 1.25× the input rate for a five-minute lifetime, or 2× for an hour; a cache read costs 10% of the input rate.

In other words, an application that sends the same fifty-page file with every question either pays full price each time, or a tenth. The factor of ten turns on an architecture decision, not on the choice of provider.

Batch processing halves it

When a task is not urgent (classifying archives, extracting fields from a document set) it can go through an asynchronous queue. Anthropic advertises a 50% discount on both input and output. Mistral also offers a batch mode. It is the easiest lever to pull on volume.

Geography has a price

This is the most interesting point in the table, because it puts a number on a compliance choice.

At Anthropic, from Claude 4.6 onwards, requesting US-only inference through the inference_geo parameter applies a 1.1× multiplier across all token categories. On partner cloud platforms, regional and multi-region endpoints cost 10% more than global endpoints.

Data residency is therefore not a neutral setting: it has a published price, which is rather healthy, it can be budgeted and weighed against a contractual requirement. The AWS and Google side is covered in Mistral on AWS and GCP.

Context length, depending on the provider

As we saw: Anthropic includes the million-token window at standard pricing on its recent models, while Google applies a step above 200,000 tokens on Gemini 3.1 Pro. Two opposite policies for the same technical characteristic.

Tools billed per action

Server-side capabilities are not covered by the token price. Anthropic, for instance, bills web search at $10 per 1,000 searches on top of the tokens for the results, while fetching a web page carries no charge beyond the tokens. On an application that searches on every request, that line becomes visible.

The right way to compare

Do not compare listed rates. Take a hundred requests that genuinely represent your usage, run them through two providers, and read the two invoices.

That is the only figure that counts, because it captures at once what no table can model: the real length of your prompts, your cache reuse rate, the number of reasoning tokens consumed, and the fact that a model cheaper per token can be more expensive per task if it needs three attempts.

The differences that are not prices

The previous version of this page carried a large feature-parity table (tool calls, vision, code execution, MCP, structured output) filled with "yes" and "no". It has been removed: those cells were unverifiable across five providers at once, and several were wrong. Here instead are the distinctions that hold, and why they matter.

Open weights versus API only. Mistral and DeepSeek publish weights; OpenAI, Anthropic and Google give access to their main models through an API. The consequence is not ideological, it is contractual: when an API-only model is retired, there is nothing to re-host. See The Life Cycle of a Model.

Reasoning effort as a setting. The major labs merged their reasoning models into their generalist models during 2026, with a parameter that meters deliberation per request. That means the cost of a call now depends on a value written in your code, not only on the model you picked. Detailed in The 2026 Model Consolidation.

Introductory pricing. Sonnet 5 is the live example: a low price through 31 August 2026, then 50% more. Always check whether the rate you are budgeting is the final one.

Deprecated models stay priced. Anthropic's page still shows prices for Opus 4.1 and Opus 4, marked deprecated or retired. That is useful for understanding an older contract, and a trap for anyone copying a row at random, which is exactly the mistake the previous version of this page contained.

How to check for yourself

This section will age better than the tables above.

Official pricing pages are the only sources that bind the provider. As of 30 July 2026: developers.openai.com/api/docs/pricing, platform.claude.com/docs/en/about-claude/pricing, ai.google.dev/gemini-api/docs/pricing, mistral.ai/pricing and api-docs.deepseek.com. Those addresses move too, OpenAI's changed host recently.

Three habits:

  1. Trust no third-party comparison, this one included. A table that is correct the day it is written is wrong a few weeks later, and nothing in its presentation tells the reader so.
  2. Copy model identifiers, do not retype them from memory. A plausible name is often a non-existent one.
  3. Record the date you took each figure next to any number you carry into a memo or a contract. That is what will let someone (including you) know later whether the figure still holds.

Sources, all consulted on 30 July 2026: the official pricing pages of OpenAI, Anthropic, Google and DeepSeek; Mistral's documentation and official model list. Context windows are given only for the providers that publish them on their pricing page.