voidduck
AI guides

AI API prices: current cost per million tokens, checked 26 November 2026

Current OpenAI, Anthropic, Google and Mistral API prices per million tokens. Compare input, output and cache costs before choosing a model.

Published: Updated: 6 min read

Illuminated computer servers

© panumas nikhomkhai / Pexels.

Updated: November 26, 2026.

The price printed beside a model is rarely the number that matters. A production request has input, generated output, sometimes cached input, and occasionally an asynchronous or regional-processing rate. Start with the full request shape. A cheap input rate does little for an agent that writes long patches, and a premium model can be cheaper if it avoids two failed retries.

This page uses public list prices per million tokens. Prices are USD and exclude tax. Google lists a scheduled price change for Gemini 4 Argon on December 1, so the date on this table is part of the answer.

The useful numbers

ProviderModelInput / 1MCached input / 1MOutput / 1M
OpenAIGPT-6.2 Astra$8.00$0.40$40.00
OpenAIGPT-6.2 Sol$2.00$0.10$10.00
AnthropicClaude Fable 5.2$8.00$0.20$40.00
AnthropicClaude Opus 5.5$4.00$0.20$20.00
GoogleGemini 4 Argon, through Nov. 30$2.00see provider pricing$10.00
MistralMistral Large 4$0.70$0.07$2.10

OpenAI lists GPT-6.2 Astra at $8 input, $40 output and $0.40 cached input in its API pricing documentation. Anthropic lists Fable 5.2 at $8 input and $40 output, with $0.20 cache reads, in its current price table.

Google’s Gemini pricing page says Gemini 4 Argon is $2 input and $10 output through November 30, then $4 and $20 from December 1. Mistral’s inference documentation lists Large 4 at $0.70 input, $0.07 cached input and $2.10 output. Check the API endpoint you plan to use, rather than copying a figure from an old comparison.

Price one request before choosing a model

Take a request with 200,000 input tokens and 50,000 output tokens. At the listed GPT-6.2 Astra rate, that is about $3.60: $1.60 for input and $2.00 for output. At the listed Mistral Large 4 rate, the same token count is about $0.245: $0.14 input and $0.105 output.

That calculation does not decide the model. It exposes where the bill comes from. A model that needs two retries and returns 50,000 tokens each time may cost more than one successful premium request. Record both the cost and whether the output was accepted.

For a useful comparison, collect:

  1. input and output tokens separately,
  2. cache-hit tokens separately,
  3. number of model calls per completed task,
  4. model and pricing date,
  5. failure and retry reason.

Do not use average request cost alone. A support chatbot and a code agent can have the same average token count while failing in very different ways.

Why cached input changes the calculation

Caching helps when a request repeats a long stable prefix: system instructions, a tool schema, a codebase convention, or product documentation. It does nothing for a one-off prompt with new text every time.

The gap can be large. OpenAI’s listed cached-input rate for GPT-6.2 Astra is $0.40 compared with $8 standard input. Anthropic’s pricing distinguishes cache reads from cache writes, and its prompt-caching guide explains the default cache lifetime and requirements.

Keep stable instructions at the beginning of the prompt. Do not mix a timestamp, random ID or user-specific text into that stable section. Then verify the cache metric in your logs. A prompt can look reusable to a human while still missing the provider’s cache rules.

Output is often the expensive part

Generated code, long reports and agent tool traces can make output dominate a request. Put an output budget in every call. If a task needs a short classification, it should not be allowed to generate an essay.

Google states that Gemini 4 Argon output pricing includes thinking tokens. That means visible response length is not a complete proxy for billed output. The right operational question is not “how many words did the model write?” It is “how many billable tokens did this completed task consume?”

Use a smaller model for tasks that have a clear validator: classification, extraction into a schema, routing, or mechanical transformations. Promote difficult cases only after validation fails. This is safer than setting a premium model as the default for every request.

Batch jobs and interactive work are different

Batch pricing can be attractive for work that can wait: nightly enrichment, migration of a product catalogue, or large-scale extraction. It is not a substitute for an interactive chat request. A user waiting for an answer needs a low-latency path, appropriate timeout handling and a limit on output.

All four providers have pricing and product conditions that change independently by model and region. Read the current batch documentation before building a cost forecast. A discount should not be treated as permanent merely because it appeared in a comparison table.

The decision guide

Choose a lower-cost model first when the result is easy to validate and retry. Choose a higher-capability model when a bad answer creates manual work that costs more than the difference in API spend. For a code workflow, measure the accepted patch, test result and review effort rather than asking which model has the highest headline score.

The coding models guide covers that workflow. If your immediate problem is a 429 or an unexpected bill, read AI API errors and limits before changing providers.

FAQ

Are AI API prices charged per million words?

No. Providers bill tokens, not words. The relationship between words and tokens changes with the language, text and tokenizer.

Is cached input always cheaper?

It is cheaper only when the request reuses a prefix that qualifies for the provider’s cache. A new one-off prompt will not receive a cache discount.

Which model is cheapest in this table?

Mistral Large 4 has the lowest listed input and output rates in this table: $0.70 and $2.10 per million tokens. That does not guarantee the lowest cost for a completed task.

Why does the Gemini price have a date?

Google lists Gemini 4 Argon at one price through November 30, 2026 and a higher rate from December 1. Check the current price before using it in a budget.

Sources