AI API pricing
What each model costs when you call it from your own code: price per million tokens, in dollars, read on the providers’ official pages.
| Model | Input (per M tokens) | Output (per M tokens) | Example cost |
|---|---|---|---|
| Mistral Ministral 3 (8B)Checked on 25 Nov 2026 · official page | US$ 0.15 | US$ 0.15 | US$ 0.18 |
| Anthropic Claude Haiku 5.5Pour des requêtes jusqu'à 100 000 tokens ; au-delà : 0,50 $ en entrée et 2,50 $ en sortie.Checked on 25 Nov 2026 · official page | US$ 0.10 | US$ 0.50 | US$ 0.20 |
| Mistral Mistral Small 4Checked on 25 Nov 2026 · official page | US$ 0.15 | US$ 0.60 | US$ 0.27 |
| Google Gemini 3.5 Flash-LitePrix en entrée pour le texte, l'image et la vidéo ; une formule gratuite limitée existe.Checked on 25 Nov 2026 · official page | US$ 0.30 | US$ 2.50 | US$ 0.80 |
| Mistral Mistral Large 4Checked on 25 Nov 2026 · official page | US$ 0.70 | US$ 2.10 | US$ 1.12 |
| Google Gemini 4 HydrogenUne formule gratuite limitée existe.Checked on 25 Nov 2026 · official page | US$ 1.50 | US$ 7.50 | US$ 3.00 |
| Anthropic Claude Sonnet 5.5Checked on 25 Nov 2026 · official page | US$ 2.00 | US$ 10.00 | US$ 4.00 |
| Google Gemini 4 CarbonOffre jusqu'au 30 novembre 2026 ; pas de formule gratuite pour ce modèle.From 1 Dec 2026: US$ 4.00 input, US$ 20.00 outputChecked on 25 Nov 2026 · official page | US$ 2.00 | US$ 10.00 | US$ 4.00 |
| OpenAI GPT-6.2 SolTarif standard, contexte court (tableau « Flagship models »).Checked on 25 Nov 2026 · official page | US$ 2.00 | US$ 10.00 | US$ 4.00 |
| Google Gemini 4 NeonChecked on 25 Nov 2026 · official page | US$ 3.00 | US$ 15.00 | US$ 6.00 |
| Anthropic Claude Opus 5.5Checked on 25 Nov 2026 · official page | US$ 4.00 | US$ 20.00 | US$ 8.00 |
| Anthropic Claude Fable 5.2Checked on 25 Nov 2026 · official page | US$ 8.00 | US$ 40.00 | US$ 16.00 |
| OpenAI GPT-6.2 AstraTarif standard, contexte court (tableau « Flagship models »).Checked on 25 Nov 2026 · official page | US$ 8.00 | US$ 40.00 | US$ 16.00 |
The example workload
To compare models with different input and output prices, we compute the cost of a typical workload: 1 million tokens sent to the model (the reading) and 200,000 tokens generated (the answer). The total is computed from the two prices and never typed in by hand.
What is a token?
A token is a piece of a word: in English, 1,000 tokens are about 750 words. Providers bill the tokens you send (input) and the tokens generated (output) separately, and output usually costs much more.
Good to know
Public standard prices, in US dollars, excluding tax. Discounts (batch processing, prompt caching) and surcharges (data region, very long contexts) are not included unless noted in the model column. Providers change these prices often: the check date is on every row, and a row checked more than 14 days ago is flagged in orange.
None of these providers pays to appear here: the order only depends on the sorting criterion you pick.
Looking for a subscription (ChatGPT, Claude, Gemini…) rather than an API? Compare AI subscriptions.