AI API pricing
Every model, one table. Read from the vendor's page.
Prices per million tokens for 56 models from six vendors, read by hand from each pricing page on 2026-11-01 and checked daily for changes. The cheapest model in the table for a typical 3:1 input to output mix is Ministral 3 3B.
OpenAI
| Model | Input | Cached input | Output | Batch | Context | Details |
|---|---|---|---|---|---|---|
| GPT-6 Astragpt-6-astra | $10 | $1 | $50 | 50% off | 1.05M tokens | |
| GPT-6.1 Solgpt-6.1-sol | $2 | $0.10 | $10 | 50% off | 1.05M tokens | |
| GPT-6.1 Terragpt-6.1-terra | $1 | $0.05 | $5 | 50% off | see vendor | |
| GPT-6 Solgpt-6-sol | $2 | $0.20 | $10 | 50% off | see vendor | |
| GPT-6 Lunagpt-6-luna | $0.10 | $0.01 | $0.50 | 50% off | 1.05M tokens | |
| GPT-5.6 Solgpt-5.6-sol | $4 | $0.40 | $20 | 50% off | see vendor | |
| GPT-5.6 Terragpt-5.6-terra | $2 | $0.20 | $12 | 50% off | see vendor | |
| GPT-5.6 Lunagpt-5.6-luna | $0.20 | $0.02 | $1.20 | 50% off | see vendor | |
| GPT-5.5gpt-5.5 | $5 | $0.50 | $30 | 50% off | see vendor | |
| GPT-5.4gpt-5.4 | $2.50 | $0.25 | $15 | 50% off | see vendor | |
| GPT-5.4 minigpt-5.4-mini | $0.75 | $0.075 | $4.50 | 50% off | see vendor | |
| GPT-5.4 nanogpt-5.4-nano | $0.20 | $0.02 | $1.25 | 50% off | see vendor | |
| GPT-5.2gpt-5.2 | $1.75 | $0.175 | $14 | 50% off | see vendor | |
| GPT-5.1gpt-5.1 | $1.25 | $0.125 | $10 | 50% off | see vendor | |
| GPT-5gpt-5 | $1.25 | $0.125 | $10 | 50% off | see vendor | |
| GPT-5 minigpt-5-mini | $0.25 | $0.025 | $2 | 50% off | see vendor | |
| GPT-5 nanogpt-5-nano | $0.05 | $0.005 | $0.40 | 50% off | see vendor | |
| GPT-4.1gpt-4.1 | $2 | $0.50 | $8 | 50% off | see vendor | |
| GPT-4.1 minigpt-4.1-mini | $0.40 | $0.10 | $1.60 | 50% off | see vendor | |
| GPT-4.1 nanogpt-4.1-nano | $0.10 | $0.025 | $0.40 | 50% off | see vendor | |
| GPT-4ogpt-4o | $2.50 | $1.25 | $10 | 50% off | see vendor | |
| GPT-4o minigpt-4o-mini | $0.15 | $0.075 | $0.60 | 50% off | see vendor | |
| o3o3 | $2 | $0.50 | $8 | 50% off | see vendor | |
| o4-minio4-mini | $1.10 | $0.275 | $4.40 | 50% off | see vendor |
Source: developers.openai.com/api/docs/pricing, read 2026-11-01.
Anthropic
| Model | Input | Cached input | Output | Batch | Context | Details |
|---|---|---|---|---|---|---|
| Claude Fable 5.1claude-fable-5-1 | $10 | $0.25 | $50 | 50% off | 1M tokens | |
| Claude Opus 5.5claude-opus-5-5 | $4 | $0.20 | $20 | 50% off | 1M tokens | |
| Claude Opus 5claude-opus-5 | $5 | $0.50 | $25 | 50% off | see vendor | |
| Claude Sonnet 5.5claude-sonnet-5-5 | $2 | $0.10 | $10 | 50% off | 1M tokens | |
| Claude Sonnet 5claude-sonnet-5 | $2 | $0.20 | $10 | 50% off | see vendor | |
| Claude Sonnet 4.6claude-sonnet-4-6 | $3 | $0.30 | $15 | 50% off | see vendor | |
| Claude Haiku 5.5 (prompts up to 100K)claude-haiku-5-5 | $0.10 | $0.01 | $0.50 | 50% off | 1M tokens | |
| Claude Haiku 5.5 (prompts over 100K)claude-haiku-5-5:large | $0.50 | $0.05 | $2.50 | 50% off | 1M tokens | |
| Claude Haiku 4.5claude-haiku-4-5 | $1 | $0.10 | $5 | 50% off | see vendor |
Source: platform.claude.com/docs/en/about-claude/pricing, read 2026-11-01.
| Model | Input | Cached input | Output | Batch | Context | Details |
|---|---|---|---|---|---|---|
| Gemini 4 Argongemini-4-argon | $2 | $0.10 | $10 | 50% off | 1M tokens | |
| Gemini 3.8 Flashgemini-3.8-flash | $0.75 | $0.075 | $3.75 | 50% off | see vendor | |
| Gemini 3.6 Flashgemini-3.6-flash | $0.75 | $0.075 | $3.75 | 50% off | see vendor | |
| Gemini 3.1 Pro (preview, prompts up to 200K)gemini-3.1-pro-preview | $2 | $0.20 | $12 | 50% off | see vendor | |
| Gemini 3.5 Flash Litegemini-3.5-flash-lite | $0.30 | $0.03 | $2.50 | 50% off | see vendor | |
| Gemini 3.1 Flash Litegemini-3.1-flash-lite | $0.25 | $0.025 | $1.50 | 50% off | see vendor | |
| Gemini 3 Flash (preview)gemini-3-flash-preview | $0.50 | $0.05 | $3 | 50% off | see vendor | |
| Gemini 2.5 Pro (prompts up to 200K)gemini-2.5-pro | $1.25 | $0.125 | $10 | 50% off | see vendor | |
| Gemini 2.5 Flashgemini-2.5-flash | $0.30 | $0.03 | $2.50 | 50% off | see vendor | |
| Gemini 2.5 Flash Litegemini-2.5-flash-lite | $0.10 | $0.01 | $0.40 | 50% off | see vendor |
Source: ai.google.dev/gemini-api/docs/pricing, read 2026-11-01.
Mistral
| Model | Input | Cached input | Output | Batch | Context | Details |
|---|---|---|---|---|---|---|
| Mistral Large 4mistral-large-4 | $0.70 | $0.07 | $2.10 | 50% off | see vendor | |
| Mistral Small 4mistral-small-4 | $0.15 | $0.015 | $0.60 | 50% off | see vendor | |
| Ministral 3 14Bministral-3-14b | $0.20 | $0.02 | $0.20 | 50% off | see vendor | |
| Ministral 3 8Bministral-3-8b | $0.15 | $0.015 | $0.15 | 50% off | see vendor | |
| Ministral 3 3Bministral-3-3b | $0.10 | $0.01 | $0.10 | 50% off | see vendor | |
| Codestralcodestral | $0.30 | $0.03 | $0.90 | 50% off | see vendor |
Source: docs.mistral.ai/inference/pricing, read 2026-11-01.
DeepSeek
| Model | Input | Cached input | Output | Batch | Context | Details |
|---|---|---|---|---|---|---|
| DeepSeek Flash (V4.1, peak)deepseek-flash | $0.30 | $0.006 | $1.20 | none listed | see vendor | |
| DeepSeek V4 Pro (peak)deepseek-v4-pro | $1.32 | $0.044 | $3.96 | none listed | see vendor |
Source: api-docs.deepseek.com/quick_start/pricing, read 2026-11-01.
xAI
| Model | Input | Cached input | Output | Batch | Context | Details |
|---|---|---|---|---|---|---|
| Grok 4.7grok-4.7 | $2 | $0.50 | $6 | none listed | see vendor | |
| Grok 4.6grok-4.6 | $2 | $0.50 | $6 | none listed | see vendor | |
| Grok 4.5grok-4.5 | $2 | $0.30 | $6 | none listed | see vendor | |
| Grok 4.3grok-4.3 | $1.25 | $0.20 | $2.50 | none listed | see vendor | |
| Grok Build 0.1grok-build-0.1 | $1 | $0.20 | $2 | none listed | see vendor |
Source: docs.x.ai/docs/models, read 2026-11-01.
Embeddings, speech to text, text to speech
| Model | Vendor | Price |
|---|---|---|
| OpenAI text-embedding-3-small | OpenAI | $0.02 per 1M tokens |
| OpenAI text-embedding-3-large | OpenAI | $0.13 per 1M tokens |
| OpenAI text-embedding-ada-002 | OpenAI | $0.10 per 1M tokens |
| Google gemini-embedding-2 (text) | $0.20 per 1M tokens | |
| Mistral Codestral Embed | Mistral | $0.15 per 1M tokens |
| Mistral Embed | Mistral | $0.10 per 1M tokens |
| OpenAI gpt-4o-transcribe | OpenAI | $0.006 per minute |
| OpenAI gpt-4o-mini-transcribe | OpenAI | $0.003 per minute |
| OpenAI gpt-transcribe | OpenAI | $0.0045 per minute |
| Deepgram Nova-3 (monolingual, pre-recorded) | Deepgram | $0.0043 per minute |
| Deepgram Nova-3 (multilingual, pre-recorded) | Deepgram | $0.0052 per minute |
| Deepgram Nova-3 (monolingual, streaming) | Deepgram | $0.0077 per minute |
| AssemblyAI Universal-2 | AssemblyAI | $0.0025 per minute |
| AssemblyAI Universal-3.5 Pro | AssemblyAI | $0.0035 per minute |
| AssemblyAI Universal-Streaming English | AssemblyAI | $0.0025 per minute |
| Mistral Voxtral Mini Transcribe 3 | Mistral | $0.0035 per minute |
| Mistral Voxtral Small Transcribe 3 | Mistral | $0.004 per minute |
| Google Gemini 3.5 Transcribe (audio in plus text out) | $0.005 per minute | |
| OpenAI tts-1 | OpenAI | $0.015 per 1K characters |
| OpenAI tts-1-hd | OpenAI | $0.03 per 1K characters |
| Deepgram Aura-1 | Deepgram | $0.015 per 1K characters |
| Deepgram Aura-2 | Deepgram | $0.03 per 1K characters |
| Deepgram Flux TTS | Deepgram | $0.045 per 1K characters |
Notes
How to read the table.
Prices are list prices in US dollars per one million tokens, standard tier. Cached input is the price for prompt-cache reads; Anthropic also charges a cache write premium, shown on each model page. Batch is the vendor's published discount for asynchronous jobs.
OpenAI prices are the Standard tier for prompts up to 272K tokens; Batch rates on the page are half of Standard.
Anthropic cache_write is the 5-minute write price; Batch is 50 percent off input and output. Haiku 5.5 is priced by prompt length: over 100,000 tokens pays the :large row.
Google prices are the paid tier; some models have a higher price announced for a later date (gemini-4-argon doubles on 2026-12-01, gemini-3.8-flash and gemini-3.6-flash on 2027-01-01); Batch is 50 percent off. Veo left the Gemini API pricing page by 2026-10-26; its video row is Gemini Omni Flash.
DeepSeek prices are peak rates (01:00 to 04:00 and 06:00 to 10:00 UTC, Monday to Friday); off-peak is half.
xAI prices are for prompts under 200K tokens; a request at or over 200K is billed double for all its tokens. xAI lists cached input prices since 2026-10-28.
Mistral lists Batch at 50 percent off; cached input is the per-model price its page lists since 2026-10-26.
Price a workload rather than a token: the price comparison runs your own token counts on every model at once.