Comparison

Understanding what it costs to run AI models.

AI API prices change often, and every provider presents them its own way. We gathered them in one table: input, output and cache prices for 20 models from OpenAI, Anthropic, Google, Mistral and Scaleway, collected on 5 August 2026. Every row carries a link to the official price list and an indication of where your data is processed.

Prices checked on 5 August 2026 against the providers' official pages. Updated monthly.

A token
A token is a run of characters: roughly four in English. Providers bill by volume of text, never by number of user requests: a thousand short questions cost less than a hundred questions with a long document attached.
Input
Everything you send the model: the question, but also the instructions and any attached documents. It grows fast as soon as you add a conversation history or a file.
Output
What the model produces. It costs more than input on all 20 models in the table: from 3 to 8 times more.
Input cache
Send the same text twice, a document or a conversation history, and some providers bill the second time far less than the first: that is the input cache. It matters most on long-context conversations, where the history grows every turn and gets sent again in full with each message. The table shows it in the "Input cache" column, when the provider publishes one.

The table.

Prices per million tokens, in the currency the provider publishes in unless conversion is requested. ECB reference rate of 4 August 2026: €1 = $1.1515.
Provider Model Input Input cache Output EU residency Official price list
OpenAI gpt-5.6-sol $5 $0.5 $30 Yes Check
OpenAI gpt-5.6-terra $2 $0.2 $12 Yes Check
OpenAI gpt-5.6-luna $0.2 $0.02 $1.2 Yes Check
OpenAI gpt-5-mini $0.25 $0.025 $2 Yes Check
OpenAI o3 $2 $0.5 $8 Yes Check
Anthropic Claude Opus 5 $5 $0.5 $25 No Check
Anthropic Claude Sonnet 5 Introductory pricing until 31 August 2026. From 1 September 2026: $3 input and $15 output. $2 $0.2 $10 No Check
Anthropic Claude Haiku 4.5 $1 $0.1 $5 No Check
Google Gemini 3.6 Flash $1.5 $0.15 $7.5 Yes Check
Google Gemini 3.5 Flash $1.5 $0.15 $9 Yes Check
Google Gemini 3.1 Flash-Lite Text, image and video pricing. Audio input is billed at twice the rate. $0.25 $0.025 $1.5 Yes Check
Google Gemini 2.5 Pro Pricing up to 200,000 input tokens. Beyond that: $2.50 input and $15 output. $1.25 $0.125 $10 Yes Check
Mistral Mistral Medium 3.5 $1.5 not published $7.5 Yes Check
Mistral Mistral Large 3 $0.5 not published $1.5 Yes Check
Mistral Mistral Small 4 $0.15 not published $0.6 Yes Check
Mistral Devstral 2 $0.4 not published $2 Yes Check
Scaleway mistral-medium-3.5-128b €1.5 not published €7.5 Yes Check
Scaleway qwen3.5-397b-a17b €0.6 not published €3.6 Yes Check
Scaleway gpt-oss-120b €0.15 not published €0.6 Yes Check
Scaleway glm-5.2 €1.8 not published €5.5 Yes Check

The context window is not in this table, because it is not billed the same way from one provider to the next. At Google, going past 200,000 context tokens moves you to a higher rate. At Anthropic, a long context stays billed at the standard price.

Simulator

Find the cheapest model for your usage.

Which model is cheapest depends on your usage. An assistant that goes back and forth over the same context benefits from the input cache: at some providers, that can divide the price by ten. An agent that produces long answers, on the other hand, mostly pays the output price.

A starting point, adjust below.

Share of reused context

In a conversation that grows, every new message sends the whole previous history back, nearly identical from one turn to the next. Some providers bill that already-seen part far less than new text: that is the input cache. Pick the profile closest to your usage.

Models that publish no cache price are computed here at the full input price, as if they did not offer one.

Reasoning tokens per request

Reasoning models produce intermediate tokens before their answer. They are billed at the output rate and do not appear in what the user reads. No provider publishes a per-model factor; what you set is a budget.

Estimated monthly cost, cheapest first

    This ranking orders prices, not capabilities. A model can come first because it is smaller, without necessarily being able to handle your task.

    Converted to euros at the ECB rate of 4 August 2026 so the rows are comparable with one another. Excludes negotiated discounts, batch processing, and the cost of server-side tools.

    Reasoning models

    The hidden costs behind the price per token.

    The number of requests does not move, the invoice does. Three mechanisms change what you actually pay, and none of them shows up in the price per million tokens.

    Reasoning tokens
    A reasoning model produces intermediate tokens before its answer. They are billed at the output rate and do not appear in what the user reads. Their volume is a setting: Anthropic requires at least 1,024 tokens and suggests starting at 16,000 on a complex task, OpenAI states "a few hundred to tens of thousands" depending on difficulty. On a 400-token answer, that means 3 to 40 times more billed tokens than the user ever sees.
    The input cache
    An option, available only at some providers, that can divide by ten the price of the reused part of a long conversation. Mistral and Scaleway do not publish one: with them, the conversation history is billed at the full input price on every request.
    Batch processing
    A third lever on the invoice: batch processing, which generally offers a half-price discount on anything that can wait a few hours rather than answer immediately.

    These three mechanisms (reasoning tokens, input cache, batch processing) are why the published price per million tokens does not tell you what you will actually pay. That is why the simulator above asks for a cache profile and a reasoning budget: without them, the estimate matches no real usage.

    Data residency

    Three questions, not a checkbox.

    "Hosted in Europe" means nothing until three questions are answered separately: where inference runs, where data is stored at rest, and under which contract. The table column answers yes or no, and the detailed answer is here, provider by provider. Read the scope above all: at Google, the option exists on a product whose prices are not the ones shown.

    OpenAI: yes
    Europe residency (EEA and Switzerland) on the eu.api.openai.com endpoint, for processing as well as storage. It is configured project by project, and requires two steps: signing an amendment on data retention, and getting OpenAI's approval on its abuse-monitoring controls. Watch out if you use the Assistants API: the files and threads it stores are not covered by this residency guarantee, even if the rest of your usage is. Provider documentation.
    Anthropic: no
    The Anthropic API offers only two inference geographies, "global" and "us", and storage at rest is available in the United States only. EU residency remains possible through Amazon Bedrock or Google Cloud in European regions: the contract and price list are then those of the partner cloud, not the ones shown here. Provider documentation.
    Google: yes
    Gemini Enterprise lets you pick an "eu" multi-region, which covers storage at rest as well as processing, with per-country regions including France for some models. Mind the scope: the prices listed here are those of the Gemini developer API, whose documentation describes no residency option at all. Gemini Enterprise is a different product, with its own price list. Provider documentation.
    Mistral: yes
    European infrastructure, with a regional endpoint api.eu.mistral.ai that serves only the models hosted in that region and guarantees that the data it processes does not leave it. A US endpoint also exists, but you have to pick it explicitly. Provider documentation.
    Scaleway: yes
    Models served from the Paris region, and prices published directly in euros, which removes the currency risk from the budget line. The catalogue is made of open models: you will not find the proprietary models from OpenAI, Anthropic or Google. Provider documentation.
    From price list to invoice

    Take back control of your AI budget.

    An API invoice tells you how much you paid. It does not tell you which team, which project, or which model. optidome makes that connection, whether the spend is billed per token, per licence or in prepaid credits.

    Frequently asked questions
    How do I read a price per million tokens?
    Providers bill per token, separately for what you send (input) and what the model produces (output). A token is roughly four characters. So $2 per million input tokens means a million characters sent costs about $0.50.
    Why are some prices in dollars and others in euros?
    Because each row keeps the currency the provider publishes in. OpenAI, Anthropic, Google and Mistral publish in dollars, Scaleway in euros. Converting at rest would freeze an exchange rate into the data; the conversion happens at display time, at the European Central Bank reference rate whose date is shown.
    Why do reasoning models cost more at the same number of requests?
    Because they produce intermediate tokens, billed at the output rate but absent from the answer on screen. At a constant number of requests and an identical published price, the same task can cost several times more depending on the model. Since those tokens appear neither in the question nor in the answer, nothing signals them before the invoice.
    What does the EU residency column mean?
    It says whether the provider itself offers an option to process and store data in the European Union. A "no" means the option exists only through a partner cloud, with a different contract and a different price list. A "yes" does not always apply to the model on that row: the per-provider detail higher up the page gives the exact scope, because inference location, storage at rest and contractual terms do not overlap.
    How often is this comparison updated?
    Every month, on the official pricing pages. The date of the last check is shown at the top of the page and every row links to its provider price list.

    Prices collected on 5 August 2026 from the official pages linked in the table. Negotiated discounts, volume commitments and batch processing depart from them. This comparison gives an order of magnitude to arbitrate with, not a quote.

    Reasoning budgets: Anthropic documentation on extended thinking (minimum of 1,024 tokens, 16,000 suggested on a complex task) and OpenAI documentation on reasoning tokens (billed at the output rate, "a few hundred to tens of thousands"). Neither publishes a per-model factor.