Edition

Independent AI news & analysis

CHECKED 28 OCTOBER 2026

AI API pricing

What OpenAI, Anthropic, Google, DeepSeek, xAI, and Mistral charge for text, in US dollars. These are their published list rates, not a bill we measured.

Estimate a list-rate task

Rates on this page were checked 28 October 2026. Pick a model and a token count. The estimate multiplies those published input and output rates. It leaves out cache hits, batch discounts, and long-context surcharges, and it is not an invoice.

Pricing questions

Is this the bill a team would pay?

No. These are published list rates. Cache, retries, batch, and long prompts can change the invoice.

Which number should you compare first?

Compare output if the task writes a long answer. Compare input if you send a long document. The example task on each card uses one million input tokens and 200,000 output tokens, with no cache.

Where do the figures come from?

Each company block links the pricing page or rate card checked on 28 October 2026. AiLookout has not run the requests or measured an invoice.

OpenAIGPT-6 Astra$10.00 in · $50.00 out$20.001M in + 200k outAnthropicClaude Opus 5.5$4.00 in · $20.00 out$8.001M in + 200k outGoogleGemini 4 Argon$2.00 in · $10.00 out$4.001M in + 200k outDeepSeekDeepSeek V4.1 Flash$0.15 in · $0.60 out$0.271M in + 200k outxAIGrok 4.7$2.00 in · $6.00 out$3.201M in + 200k outMistralMistral Large 4$1.36 in · $4.18 out$2.1961M in + 200k out

The example is one million input tokens and 200,000 output tokens, with no cache. A longer answer, a retry, or a tool call changes it. How to calculate AI API cost.

Standard rates for a prompt under 272,000 input tokens. Above that, OpenAI bills the whole request at twice the input and cache rates and 1.5 times the output rate. Batch and Flex are half of standard. Older models, including GPT-5.5, GPT-4o, and the o-series, are on OpenAI’s pricing page.

GPT-6 Astra

Input / 1M$10.00

Cached input$1.00

Output / 1M$50.00

Example task$20.00

GPT-6.1 Sol

Input / 1M$2.00

Cached input$0.10

Output / 1M$10.00

Example task$4.00

GPT-6.1 Terra

Input / 1M$1.00

Cached input$0.05

Output / 1M$5.00

Example task$2.00

GPT-6 Luna

Input / 1M$0.10

Cached input$0.01

Output / 1M$0.50

Example task$0.20

GPT-6 Sol

Input / 1M$2.00

Cached input$0.20

Output / 1M$10.00

Example task$4.00

GPT-5.6 Sol

OpenAI says this promotional price lasts at least through 21 November 2026.

Input / 1M$4.00

Cached input$0.40

Output / 1M$20.00

Example task$8.00

GPT-5.6 Terra

Input / 1M$2.00

Cached input$0.20

Output / 1M$12.00

Example task$4.40

GPT-5.6 Luna

Input / 1M$0.20

Cached input$0.02

Output / 1M$1.20

Example task$0.44

Global standard Claude API rates. US-only inference is 10 percent higher. Batch is half of standard. Cache writes cost more than a normal input; the table shows cache hits. Claude 4.7 and later use a tokenizer that Anthropic says produces about 30 percent more tokens for the same text.

Claude Fable 5.1

Input / 1M$10.00

Cached input$0.25

Output / 1M$50.00

Example task$20.00

Claude Mythos 5.1

Limited availability.

Input / 1M$10.00

Cached input$0.25

Output / 1M$50.00

Example task$20.00

Claude Opus 5.5

Input / 1M$4.00

Cached input$0.20

Output / 1M$20.00

Example task$8.00

Claude Sonnet 5.5

Input / 1M$2.00

Cached input$0.10

Output / 1M$10.00

Example task$4.00

Claude Haiku 5.5

Prompts up to 100,000 tokens.

Input / 1M$0.10

Cached input$0.01

Output / 1M$0.50

Example task$0.20

Claude Haiku 5.5

Prompts over 100,000 tokens.

Input / 1M$0.50

Cached input$0.05

Output / 1M$2.50

Example task$1.00

Claude Opus 5

Input / 1M$5.00

Cached input$0.50

Output / 1M$25.00

Example task$10.00

Claude Sonnet 5

Input / 1M$2.00

Cached input$0.20

Output / 1M$10.00

Example task$4.00

Claude Fable 5

Input / 1M$10.00

Cached input$1.00

Output / 1M$50.00

Example task$20.00

Claude Mythos 5

Limited availability.

Input / 1M$10.00

Cached input$1.00

Output / 1M$50.00

Example task$20.00

Earlier Anthropic models

Claude Opus 4.8

Input / 1M$5.00

Cached input$0.50

Output / 1M$25.00

Example task$10.00

Claude Opus 4.7

Input / 1M$5.00

Cached input$0.50

Output / 1M$25.00

Example task$10.00

Claude Opus 4.6

Input / 1M$5.00

Cached input$0.50

Output / 1M$25.00

Example task$10.00

Claude Opus 4.5

Listed for prompts up to 200,000 tokens.

Input / 1M$5.00

Cached input$0.50

Output / 1M$25.00

Example task$10.00

Claude Sonnet 4.6

Input / 1M$3.00

Cached input$0.30

Output / 1M$15.00

Example task$6.00

Claude Sonnet 4.5

Input / 1M$3.00

Cached input$0.30

Output / 1M$15.00

Example task$6.00

Claude Haiku 4.5

Input / 1M$1.00

Cached input$0.10

Output / 1M$5.00

Example task$2.00

Claude Opus 4.1

Retired, except on Bedrock and Google Cloud.

Input / 1M$15.00

Cached input$1.50

Output / 1M$75.00

Example task$30.00

Claude Opus 4

Retired, except on Google Cloud.

Input / 1M$15.00

Cached input$1.50

Output / 1M$75.00

Example task$30.00

Claude Sonnet 4

Retired, except on Bedrock and Google Cloud.

Input / 1M$3.00

Cached input$0.30

Output / 1M$15.00

Example task$6.00

Claude Haiku 3.5

Retired, except on Google Cloud.

Input / 1M$0.80

Cached input$0.08

Output / 1M$4.00

Example task$1.60

Paid Gemini API standard rates for text. Gemini output prices include thinking tokens. Batch is half of standard. Image, live, and audio models use different units and are on Google’s pricing page.

Gemini 4 Argon

Through 30 November 2026. From 1 December 2026, Google lists $4 input, $0.20 cached, and $20 output. Not on the free tier.

Input / 1M$2.00

Cached input$0.10

Output / 1M$10.00

Example task$4.00

Gemini 3.1 Pro Preview

Prompts up to 200,000 tokens. Longer prompts are $4 input and $18 output.

Input / 1M$2.00

Cached input$0.20

Output / 1M$12.00

Example task$4.40

Gemini 3.8 Flash

Through 31 December 2026. From 1 January 2027, Google lists $1.50 input and $7.50 output.

Input / 1M$0.75

Cached input$0.075

Output / 1M$3.75

Example task$1.50

Gemini 3.6 Flash

Same introductory window as Gemini 3.8 Flash.

Input / 1M$0.75

Cached input$0.075

Output / 1M$3.75

Example task$1.50

Gemini 3.5 Flash-Lite

Text, image, video, and audio input share this rate.

Input / 1M$0.30

Cached input$0.03

Output / 1M$2.50

Example task$0.80

Gemini 3 Flash Preview

Text, image, and video input. Audio input is $1.

Input / 1M$0.50

Cached input$0.05

Output / 1M$3.00

Example task$1.10

Gemini 3.1 Flash-Lite

Text, image, and video input. Audio input is $0.50.

Input / 1M$0.25

Cached input$0.025

Output / 1M$1.50

Example task$0.55

Gemini 2.5 Flash

Text, image, and video input. Audio input is $1.

Input / 1M$0.30

Cached input$0.03

Output / 1M$2.50

Example task$0.80

Off-peak is half of peak. Peak hours are weekdays 01:00–04:00 and 06:00–10:00 UTC, except Chinese public holidays. The legacy names deepseek-v4-flash and deepseek-v4-flash-vision-exp are served by V4.1 Flash and billed at the Flash price. Search and Fetch are $0.75 per 1,000 successful requests.

DeepSeek V4.1 Flash

Off-peak. Model name deepseek-flash, served by DeepSeek-V4.1-Flash-1017.

Input / 1M$0.15

Cached input$0.003

Output / 1M$0.60

Example task$0.27

DeepSeek V4.1 Flash

Peak hours.

Input / 1M$0.30

Cached input$0.006

Output / 1M$1.20

Example task$0.54

DeepSeek V4 Pro

Off-peak. Model name deepseek-v4-pro, version DeepSeek-V4-Pro-0813. No vision.

Input / 1M$0.66

Cached input$0.022

Output / 1M$1.98

Example task$1.056

DeepSeek V4 Pro

Peak hours.

Input / 1M$1.32

Cached input$0.044

Output / 1M$3.96

Example task$2.112

Global text rates for a prompt under 200,000 tokens. At that size, xAI bills every token in the request at double these rates. The US endpoint is 10 percent higher. Batch is 20 percent off these models except Grok Build 0.1. Image, video, and voice use other units.

Grok 4.7

500,000-token context.

Input / 1M$2.00

Cached input$0.50

Output / 1M$6.00

Example task$3.20

Grok 4.6

500,000-token context.

Input / 1M$2.00

Cached input$0.50

Output / 1M$6.00

Example task$3.20

Grok 4.5

500,000-token context.

Input / 1M$2.00

Cached input$0.30

Output / 1M$6.00

Example task$3.20

Grok 4.3

1 million-token context.

Input / 1M$1.25

Cached input$0.20

Output / 1M$2.50

Example task$1.75

Grok 4.20

Reasoning and non-reasoning names are the same rate. 1 million-token context.

Input / 1M$1.25

Cached input$0.20

Output / 1M$2.50

Example task$1.75

Grok 4.20 multi-agent

1 million-token context.

Input / 1M$1.25

Cached input$0.20

Output / 1M$2.50

Example task$1.75

Grok Build 0.1

256,000-token context. No batch discount.

Input / 1M$1.00

Cached input$0.20

Output / 1M$2.00

Example task$1.40

Standard rates for Mistral’s own text and code models. Cached input is the published cache-read rate. Z.ai models sold on this API, plus OCR, speech, and embeddings, are on Mistral’s pricing page.

Mistral Large 4

Input / 1M$1.36

Cached input$0.14

Output / 1M$4.18

Example task$2.196

Mistral Medium 3.5

Input / 1M$1.50

Cached input$0.15

Output / 1M$7.50

Example task$3.00

Mistral Small 4

Input / 1M$0.15

Cached input$0.015

Output / 1M$0.60

Example task$0.27

Mistral Large 3

Input / 1M$0.50

Cached input$0.05

Output / 1M$1.50

Example task$0.80

Ministral 3 14B

Input / 1M$0.20

Cached input$0.02

Output / 1M$0.20

Example task$0.24

Ministral 3 8B

Input / 1M$0.15

Cached input$0.015

Output / 1M$0.15

Example task$0.18

Ministral 3 3B

Input / 1M$0.10

Cached input$0.01

Output / 1M$0.10

Example task$0.12

Codestral

Input / 1M$0.30

Cached input$0.03

Output / 1M$0.90

Example task$0.48

Your AI briefing.

Models, company moves, and useful ideas—in your inbox.

Briefings launch soon. Unsubscribe anytime. Privacy policy