GPT-6 Astra
Input / 1M$10.00
Cached input$1.00
Output / 1M$50.00
Example task$20.00
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.
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.
No. These are published list rates. Cache, retries, batch, and long prompts can change the invoice.
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.
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.
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.
Input / 1M$10.00
Cached input$1.00
Output / 1M$50.00
Example task$20.00
Input / 1M$2.00
Cached input$0.10
Output / 1M$10.00
Example task$4.00
Input / 1M$1.00
Cached input$0.05
Output / 1M$5.00
Example task$2.00
Input / 1M$0.10
Cached input$0.01
Output / 1M$0.50
Example task$0.20
Input / 1M$2.00
Cached input$0.20
Output / 1M$10.00
Example task$4.00
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
Input / 1M$2.00
Cached input$0.20
Output / 1M$12.00
Example task$4.40
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.
Input / 1M$10.00
Cached input$0.25
Output / 1M$50.00
Example task$20.00
Limited availability.
Input / 1M$10.00
Cached input$0.25
Output / 1M$50.00
Example task$20.00
Input / 1M$4.00
Cached input$0.20
Output / 1M$20.00
Example task$8.00
Input / 1M$2.00
Cached input$0.10
Output / 1M$10.00
Example task$4.00
Prompts up to 100,000 tokens.
Input / 1M$0.10
Cached input$0.01
Output / 1M$0.50
Example task$0.20
Prompts over 100,000 tokens.
Input / 1M$0.50
Cached input$0.05
Output / 1M$2.50
Example task$1.00
Input / 1M$5.00
Cached input$0.50
Output / 1M$25.00
Example task$10.00
Input / 1M$2.00
Cached input$0.20
Output / 1M$10.00
Example task$4.00
Input / 1M$10.00
Cached input$1.00
Output / 1M$50.00
Example task$20.00
Limited availability.
Input / 1M$10.00
Cached input$1.00
Output / 1M$50.00
Example task$20.00
Input / 1M$5.00
Cached input$0.50
Output / 1M$25.00
Example task$10.00
Input / 1M$5.00
Cached input$0.50
Output / 1M$25.00
Example task$10.00
Input / 1M$5.00
Cached input$0.50
Output / 1M$25.00
Example task$10.00
Listed for prompts up to 200,000 tokens.
Input / 1M$5.00
Cached input$0.50
Output / 1M$25.00
Example task$10.00
Input / 1M$3.00
Cached input$0.30
Output / 1M$15.00
Example task$6.00
Input / 1M$3.00
Cached input$0.30
Output / 1M$15.00
Example task$6.00
Input / 1M$1.00
Cached input$0.10
Output / 1M$5.00
Example task$2.00
Retired, except on Bedrock and Google Cloud.
Input / 1M$15.00
Cached input$1.50
Output / 1M$75.00
Example task$30.00
Retired, except on Google Cloud.
Input / 1M$15.00
Cached input$1.50
Output / 1M$75.00
Example task$30.00
Retired, except on Bedrock and Google Cloud.
Input / 1M$3.00
Cached input$0.30
Output / 1M$15.00
Example task$6.00
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.
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
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
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
Same introductory window as Gemini 3.8 Flash.
Input / 1M$0.75
Cached input$0.075
Output / 1M$3.75
Example task$1.50
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
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
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
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.
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
Peak hours.
Input / 1M$0.30
Cached input$0.006
Output / 1M$1.20
Example task$0.54
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
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.
500,000-token context.
Input / 1M$2.00
Cached input$0.50
Output / 1M$6.00
Example task$3.20
500,000-token context.
Input / 1M$2.00
Cached input$0.50
Output / 1M$6.00
Example task$3.20
500,000-token context.
Input / 1M$2.00
Cached input$0.30
Output / 1M$6.00
Example task$3.20
1 million-token context.
Input / 1M$1.25
Cached input$0.20
Output / 1M$2.50
Example task$1.75
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
1 million-token context.
Input / 1M$1.25
Cached input$0.20
Output / 1M$2.50
Example task$1.75
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.
Input / 1M$1.36
Cached input$0.14
Output / 1M$4.18
Example task$2.196
Input / 1M$1.50
Cached input$0.15
Output / 1M$7.50
Example task$3.00
Input / 1M$0.15
Cached input$0.015
Output / 1M$0.60
Example task$0.27
Input / 1M$0.50
Cached input$0.05
Output / 1M$1.50
Example task$0.80
Input / 1M$0.20
Cached input$0.02
Output / 1M$0.20
Example task$0.24
Input / 1M$0.15
Cached input$0.015
Output / 1M$0.15
Example task$0.18
Input / 1M$0.10
Cached input$0.01
Output / 1M$0.10
Example task$0.12
Input / 1M$0.30
Cached input$0.03
Output / 1M$0.90
Example task$0.48