OpenAI API Pricing (November 2026): All Models per 1M Tokens, Cached Input, Batch, Flex and Fast
On this page
Short answer: as of November 23, 2026, OpenAI's newest API models cost $8 / $40 per million input / output tokens (gpt-6.2-astra), $2 / $10 (gpt-6.2-sol and gpt-6.1-sol), $1 / $5 (gpt-6.1-terra) and $0.10 / $0.50 (gpt-6-luna). Cached input applies to repeated prompt prefixes and costs 5% of the input price on GPT-6.1 / 6.2 models, 10% on GPT-6 and GPT-5.x, and 25% on gpt-4.1 and o3. The Batch API halves the price, and Fast mode doubles it on GPT-6.x.
Prices are copied from OpenAI's pricing page on November 23, 2026, in USD per million tokens. "Short context" means prompts up to 272K input tokens. Longer prompts use the long-context rates.
All models: input / cached input / output per 1M tokens
Standard processing, short context (≤ 272K input tokens). "Deprecated" means OpenAI still lists a price but marks the model as deprecated, so plan a move to a newer one.
| Model | Input | Cached input | Output | Notes |
|---|---|---|---|---|
| gpt-6.2-astra | $8.00 | $0.40 | $40.00 | Newest flagship |
| gpt-6.2-sol | $2.00 | $0.10 | $10.00 | |
| gpt-6-astra | $10.00 | $1.00 | $50.00 | |
| gpt-6.1-sol | $2.00 | $0.10 | $10.00 | |
| gpt-6.1-terra | $1.00 | $0.05 | $5.00 | |
| gpt-6-luna | $0.10 | $0.01 | $0.50 | Cheapest current model |
| gpt-6-sol | $2.00 | $0.20 | $10.00 | |
| gpt-5.6-sol | $4.00 | $0.40 | $20.00 | Promotional pricing until Nov 30, 2026 |
| gpt-5.6-terra | $2.00 | $0.20 | $12.00 | |
| gpt-5.6-luna | $0.20 | $0.02 | $1.20 | |
| gpt-5.5 | $5.00 | $0.50 | $30.00 | |
| gpt-5.5-pro | $30.00 | – | $180.00 | |
| gpt-5.4 | $2.50 | $0.25 | $15.00 | |
| gpt-5.4-pro | $30.00 | – | $180.00 | |
| gpt-5.4-mini | $0.75 | $0.075 | $4.50 | |
| gpt-5.4-nano | $0.20 | $0.02 | $1.25 | Deprecated |
| gpt-5.3-codex | $1.75 | $0.175 | $14.00 | Codex model |
| gpt-5.2 | $1.75 | $0.175 | $14.00 | |
| gpt-5.2-pro | $21.00 | – | $168.00 | |
| gpt-5.1 | $1.25 | $0.125 | $10.00 | Deprecated |
| gpt-5 | $1.25 | $0.125 | $10.00 | Deprecated |
| gpt-5-mini | $0.25 | $0.025 | $2.00 | Deprecated |
| gpt-5-nano | $0.05 | $0.005 | $0.40 | Deprecated |
| gpt-5-pro | $15.00 | – | $120.00 | Deprecated |
| gpt-4.1 | $2.00 | $0.50 | $8.00 | Deprecated |
| gpt-4.1-mini | $0.40 | $0.10 | $1.60 | Deprecated |
| gpt-4o | $2.50 | $1.25 | $10.00 | Deprecated |
| gpt-4o-mini | $0.15 | $0.075 | $0.60 | Deprecated |
| o3 | $2.00 | $0.50 | $8.00 | Deprecated |
| o3-pro | $20.00 | – | $80.00 | Deprecated |
A dash means OpenAI lists no cached-input rate for that model. o4-mini, gpt-4.1-nano and o1-pro are no longer on the pricing page as of November 23, 2026, so there's no current list price to quote for them.
Current flagship models in detail
The GPT-6 and GPT-5.6 families also charge for writing to the prompt cache, and every model below has separate long-context rates:
| Model | Input | Cached input | Cache write (30 min) | Output | Input (> 272K) | Output (> 272K) |
|---|---|---|---|---|---|---|
| gpt-6.2-astra | $8.00 | $0.40 | $10.00 | $40.00 | $16.00 | $60.00 |
| gpt-6.2-sol | $2.00 | $0.10 | $2.50 | $10.00 | $4.00 | $15.00 |
| gpt-6-astra | $10.00 | $1.00 | $12.50 | $50.00 | $20.00 | $75.00 |
| gpt-6.1-sol | $2.00 | $0.10 | $2.50 | $10.00 | $4.00 | $15.00 |
| gpt-6.1-terra | $1.00 | $0.05 | $1.25 | $5.00 | $2.00 | $7.50 |
| gpt-6-luna | $0.10 | $0.01 | $0.125 | $0.50 | $0.20 | $0.75 |
| gpt-6-sol | $2.00 | $0.20 | $2.50 | $10.00 | $4.00 | $15.00 |
| gpt-5.6-sol | $4.00 | $0.40 | $5.00 | $20.00 | $8.00 | $30.00 |
| gpt-5.6-terra | $2.00 | $0.20 | $2.50 | $12.00 | $4.00 | $18.00 |
| gpt-5.6-luna | $0.20 | $0.02 | $0.25 | $1.20 | $0.40 | $1.80 |
| gpt-5.5 | $5.00 | $0.50 | – | $30.00 | $10.00 | $45.00 |
| gpt-5.4 | $2.50 | $0.25 | – | $15.00 | $5.00 | $22.50 |
A 12-hour cache write costs twice the 30-minute rate (2.5x the input price). Cached input over 272K tokens is also doubled, for example $0.80 on gpt-6.2-astra.
A few things stand out:
- GPT-6.2 Astra is cheaper than GPT-6 Astra. It costs $8 / $40 instead of $10 / $50, and its cached input is $0.40 instead of $1.00. If you're on GPT-6 Astra, check whether 6.2 works for you.
- GPT-6.2 Sol and GPT-6.1 Sol cost the same ($2 / $10, cached $0.10). GPT-6 Sol charges twice as much for cached input.
- GPT-5.6 Sol costs twice as much as GPT-6.2 Sol, and OpenAI says its promotional pricing runs until November 30, 2026.
- Long prompts cost more. Above 272K input tokens, input doubles and output rises 50%.
Processing modes: Batch, Flex, Fast, background
The same model can be billed at different rates depending on how quickly you need the answer:
| Mode | Price vs Standard | How it works | Available on |
|---|---|---|---|
| Batch | 50% | Submit a file of requests and collect results later | Most models, including GPT-6.2 |
| Flex (beta) | 50% | Normal API calls at lower priority, so responses can be slower | Older models only. OpenAI is winding the beta down and won't add Flex to new models |
| Background | 70% (2-hour window) or 60% (8-hour window) | Eligible background requests that may finish later | gpt-6.2-astra, gpt-6.2-sol, gpt-6.1-terra, gpt-6-luna |
| Standard | 100% | Normal API calls | All models |
| Fast | 2x on GPT-6.x and GPT-5.6 (1.7x to 2.5x on older models) | Higher-priority, faster processing. Called "Priority" until July 30, 2026 | GPT-6.x, GPT-5.x and some older models |
| Ultrafast | 6x, or 3x on GPT-6.2 until Feb 28, 2027 | Fastest tier | gpt-6.2-astra, gpt-6.2-sol, gpt-6-astra, gpt-6.1-sol |
For example, GPT-6.2 Sol costs $1 / $5 on Batch, $4 / $20 on Fast and $6 / $30 on Ultrafast (rising to $12 / $60 from March 1, 2027). GPT-6.1 Sol costs $1 / $5 on Batch or Flex and $12 / $60 on Ultrafast.
Other charges
| Item | Price |
|---|---|
| Web search tool | $10 per 1,000 calls, plus search content tokens at the model's rate |
| File search tool | $2.50 per 1,000 calls (Responses API) |
| File search storage | $0.10 per GB per day, with the first GB free |
| Regional processing (data residency) | +10% for models released on or after March 5, 2026 |
| FedRAMP endpoints | +10% |
The Responses, Chat Completions, Realtime, Batch and Assistants APIs aren't priced separately. You pay the model's token rates.
Credits and usage tiers
The API runs on prepaid credits bought in your OpenAI Platform account. Your organization's usage tier sets both its rate limits and a monthly usage cap, and it rises automatically as your total credit purchases grow:
| Tier | Qualification | Monthly usage limit |
|---|---|---|
| Free | Account in a supported country | $100 |
| Build | $5 in total credit purchases | $500 |
| Launch | $100 in total credit purchases | $5,000 |
| Grow | $500 in total credit purchases | $200,000 |
You can see your tier and per-model rate limits under Settings → Organization → Limits.
ChatGPT plans are separate. A ChatGPT Plus or Pro subscription doesn't add API credits. It covers ChatGPT, plus Codex in the CLI and IDE. If you sign Codex in with an API key instead, it bills at the API prices on this page.
Cost calculator
An estimate at November 2026 list prices, for short-context requests (≤ 272K input tokens), excluding tools and cache-write premiums.
Worked example
A support assistant on gpt-6.2-sol handles 30,000 requests a month. Each request has 3,000 input tokens, 2,000 of them a repeated system prompt served from cache, plus 400 output tokens:
- Uncached input: 30M tokens × $2 = $60
- Cached input: 60M tokens × $0.10 = $6
- Output: 12M tokens × $10 = $120
- Total ≈ $186 a month. Through the Batch API it would be about $93, and as background requests with an 8-hour window about $112.
To compare the same workload on Claude models, see Claude API pricing.
How to spend less
- Default to GPT-6.2 Sol, GPT-6.1 Terra or GPT-6 Luna, and step up to Astra only for tasks that measurably need it.
- Move off GPT-6 Astra and GPT-5.6 Sol if GPT-6.2 Astra or GPT-6.2 Sol does the job, since both are cheaper per token.
- Keep prompts under 272K tokens when you can, because the long-context rates are significantly higher.
- Put stable content first (instructions, tool definitions, reference text) so it's served from cache.
- Use Batch or background requests for anything not user-facing.
- Cap output length. Output costs 5x input on GPT-6.2 Sol, GPT-6.1 Terra and GPT-6 Luna.
Related
FAQ
How much does the OpenAI API cost?
As of November 23, 2026, GPT-6.2 Astra costs $8 per million input tokens and $40 per million output tokens, GPT-6.2 Sol and GPT-6.1 Sol cost $2 and $10, GPT-6.1 Terra costs $1 and $5, and GPT-6 Luna costs $0.10 and $0.50. For prompts longer than 272K tokens, input prices double and output prices rise 50% on models with long-context pricing.
How much is cached input on the OpenAI API?
Cached input is billed at 5% of the input price on the GPT-6.1 and GPT-6.2 models (for example $0.10 instead of $2 on GPT-6.2 Sol), at 10% on GPT-6, GPT-6 Astra and the GPT-5.x models, and at 25% on gpt-4.1 and o3. On the GPT-6 and GPT-5.6 families, writing a prompt into the cache costs 1.25x the input price for a 30-minute cache or 2.5x for a 12-hour cache.
What is the cheapest OpenAI model?
Among current models, GPT-6 Luna at $0.10 per million input tokens and $0.50 per million output tokens, and half that through the Batch API or Flex processing. The older gpt-5-nano is cheaper at $0.05 and $0.40, but OpenAI marks it deprecated.
Are gpt-5, gpt-5-mini, gpt-4.1 and o4-mini still on the pricing page?
gpt-5, gpt-5-mini, gpt-5-nano, gpt-4.1, gpt-4.1-mini and o3 are still listed with prices but marked deprecated. o4-mini, gpt-4.1-nano and o1-pro no longer appear on OpenAI's pricing page as of November 23, 2026.
How do OpenAI API credits work?
The API is billed from prepaid credits. Your organization's usage tier, and its monthly usage limit, rises automatically as total credit purchases reach $5 (Build), $100 (Launch) and $500 (Grow). Free-tier accounts in supported countries have a $100 monthly limit.
What is OpenAI Flex processing?
Flex processing runs requests at lower priority for the same 50% discount as the Batch API, but through the normal synchronous API. It is a beta that OpenAI is winding down, so it isn't offered on new models such as GPT-6.2 Astra and GPT-6.2 Sol.
Is ChatGPT Plus the same as API credits?
No. ChatGPT subscriptions and the API are billed separately. A ChatGPT plan includes Codex usage in the CLI and IDE, but API calls from your own code are billed to your OpenAI Platform account at API prices.
Found a mistake? Email support@api.foo.