OpenAI API Pricing
OpenAI API prices are per 1M tokens: GPT-6 Astra costs $10 input and $50 output, GPT-6.1 Sol $2 and $10, GPT-6.1 Terra $1 and $5, and GPT-6 Luna $0.10 and $0.50, as of Nov 6, 2026. Batch and Flex halve those prices, Fast doubles them.
OpenAI's API is billed per million tokens, and as of Nov 6, 2026 the four flagship models cost $10 input and $50 output for GPT-6 Astra, $2 and $10 for GPT-6.1 Sol, $1 and $5 for GPT-6.1 Terra, and $0.10 and $0.50 for GPT-6 Luna. Cached input is far cheaper, the Batch API and Flex processing cut every price in half, Fast mode doubles it, and prompts longer than 272K tokens pay long-context rates. All prices below are US dollars from OpenAI's developer pricing page, read Nov 6, 2026; they change often, so check the date before you budget. For what the API is and how to start, see OpenAI API.
Quick facts
| Billing unit | Per 1M tokens: input, cached input, output (pricing) |
| Cheapest current model | GPT-6 Luna, $0.10 / $0.50, as of Nov 6, 2026 |
| Most expensive general model | GPT-6 Astra, $10 / $50 ($60 / $300 in Ultrafast) |
| Batch and Flex | 50% off Standard |
| Fast (formerly Priority) | 2x Standard |
| Long context | Over 272K input tokens, higher rates |
| Cache read | 0.05x input on GPT-6.1 Sol and Terra, 0.1x on other GPT-5.6 and later |
| Web search tool | $10 per 1,000 calls plus content tokens |
| Data residency | +10% for models released on or after Mar 5, 2026 |
How much does GPT-6 cost in the API?
The flagship table below is the Standard tier. "Short" means up to 272K input tokens; "long" is anything over. Cache writes are charged when a prompt prefix is first stored, at 1.25x input for the default 30-minute cache and 2.5x for the 12-hour cache (prompt caching guide).
| Model | Input | Cached input | Output | 30m cache write | 12h cache write | Long context (in / cached / out) |
|---|---|---|---|---|---|---|
| gpt-6-astra | $10.00 | $1.00 | $50.00 | $12.50 | $25.00 | $20.00 / $2.00 / $75.00 |
| gpt-6.1-sol | $2.00 | $0.10 | $10.00 | $2.50 | $5.00 | $4.00 / $0.20 / $15.00 |
| gpt-6.1-terra | $1.00 | $0.05 | $5.00 | $1.25 | $2.50 | $2.00 / $0.10 / $7.50 |
| gpt-6-luna | $0.10 | $0.01 | $0.50 | $0.125 | $0.25 | $0.20 / $0.02 / $0.75 |
| gpt-6-sol | $2.00 | $0.20 | $10.00 | $4.00 / $0.40 / $15.00 | ||
| gpt-5.6-sol | $4.00 | $0.40 | $20.00 | $8.00 / $0.80 / $30.00 | ||
| gpt-5.6-terra | $2.00 | $0.20 | $12.00 | $4.00 / $0.40 / $18.00 | ||
| gpt-5.6-luna | $0.20 | $0.02 | $1.20 | $0.40 / $0.04 / $1.80 |
Source: OpenAI API pricing, Standard tier, per 1M tokens, read Nov 6, 2026.
The GPT-6 generation cut prices sharply: GPT-6 Sol and Luna cost half of GPT-5.6 Sol and Luna, and GPT-6.1 Terra is half of GPT-5.6 Terra on input (pricing). GPT-5.6 Sol carries promotional pricing that the pricing page says runs to Nov 30, 2026, while the Fast mode guide says "at least through November 21, 2026"; the two OpenAI pages disagree (pricing, Fast mode).
Batch, Flex, Fast and Ultrafast
The same model costs different amounts depending on how quickly you need the answer (pricing):
| Model | Batch or Flex (in / cached / out) | Fast (in / cached / out) | Ultrafast (in / cached / out) |
|---|---|---|---|
| gpt-6-astra | $5.00 / $0.50 / $25.00 | $20.00 / $2.00 / $100.00 | $60.00 / $6.00 / $300.00 |
| gpt-6.1-sol | $1.00 / $0.05 / $5.00 | $4.00 / $0.20 / $20.00 | $12.00 / $0.60 / $60.00 |
| gpt-6.1-terra | $0.50 / $0.025 / $2.50 | $2.00 / $0.10 / $10.00 | not offered |
| gpt-6-luna | $0.05 / $0.005 / $0.25 | $0.20 / $0.02 / $1.00 | not offered |
Source: OpenAI API pricing, short context, per 1M tokens, read Nov 6, 2026.
Batch jobs finish within 24 hours; Flex is an ordinary call that may be slow or refused with a 429 when capacity is short (Flex guide). Fast replaced Priority processing on Jul 30, 2026 and promises "up to 2.5x faster speeds" for GPT-5.6 Sol, with no latency SLA for Astra (Fast mode guide). OpenAI's Sep 29, 2026 Ultrafast video says it generates GPT-6 Astra's tokens over seven times faster than Standard and over four times faster than Fast in the API. Ultrafast long context costs $120 / $12 / $450 for Astra and $24 / $1.20 / $90 for Sol. Details and when to use each: Batch API.
Older models still on the price list
These are Standard, short-context prices per 1M tokens (input / cached / output). Many of them have shutdown dates, so new work should not start on them (deprecations).
| Model | Price | Shutdown |
|---|---|---|
| gpt-5.5 | $5.00 / $0.50 / $30.00 | none announced |
| gpt-5.5-pro | $30.00 / none / $180.00 | none announced |
| gpt-5.4 | $2.50 / $0.25 / $15.00 | none announced |
| gpt-5.4-mini | $0.75 / $0.075 / $4.50 | none announced |
| gpt-5.4-nano | $0.20 / $0.02 / $1.25 | Apr 1, 2027 |
| gpt-5.2 | $1.75 / $0.175 / $14.00 | none announced |
| gpt-5.1 | $1.25 / $0.125 / $10.00 | Apr 1, 2027 |
| gpt-5 | $1.25 / $0.125 / $10.00 | Dec 11, 2026 (older snapshots) |
| gpt-5-mini | $0.25 / $0.025 / $2.00 | Dec 11, 2026 (older snapshots) |
| gpt-5-nano | $0.05 / $0.005 / $0.40 | Dec 11, 2026 (older snapshots) |
| gpt-4.1 | $2.00 / $0.50 / $8.00 | Jan 14, 2027 |
| gpt-4.1-mini | $0.40 / $0.10 / $1.60 | Jan 14, 2027 |
| gpt-4o | $2.50 / $1.25 / $10.00 | Jan 14, 2027 |
| gpt-4o-mini | $0.15 / $0.075 / $0.60 | Jan 14, 2027 |
| o3 | $2.00 / $0.50 / $8.00 | Dec 11, 2026 (older snapshots) |
Source: OpenAI API pricing and deprecations, read Nov 6, 2026. "None announced" means the deprecations page lists no date.
The specialized rows: chat-latest $5.00 / $0.50 / $30.00; gpt-5.3-codex $1.75 / $0.175 / $14.00; gpt-5-search-api $1.25 / $0.125 / $10.00 (pricing). The gated cyber and life sciences models start at $12.50 input; see GPT-Rosalind and Cyber Models.
Image prices
All current image models bill image tokens and text tokens separately (pricing):
| Model | Image input / cached / output | Text input / cached |
|---|---|---|
| gpt-image-2.6-sunburst, gpt-image-2.6-flare | $8.00 / $2.00 / $30.00 | $5.00 / $1.25 |
| gpt-image-2.5-sunburst, gpt-image-2.5-flare, gpt-image-2 | $8.00 / $2.00 / $30.00 | $5.00 / $1.25 |
| gpt-image-1.5, chatgpt-image-latest | $8.00 / $2.00 / $32.00 | $5.00 / $1.25 |
| gpt-image-1-mini | $2.50 / $0.25 / $8.00 | $2.00 / $0.20 |
Source: OpenAI API pricing, per 1M tokens, read Nov 6, 2026.
Per image, the image guide lists GPT Image 2 at about $0.006 (low), $0.053 (medium) and $0.211 (high) for a 1024x1024 square. It gives no fixed per-image table for the 2.5 and 2.6 models, which cost different amounts per image despite equal token rates. See GPT Image.
Audio and voice prices
| Model | Price |
|---|---|
| gpt-live-1 (GPT-Live sessions) | $0.05 per minute, billed per second |
| gpt-realtime-2.1 | Audio $32.00 in / $0.40 cached / $64.00 out; text $4.00 / $0.40 / $24.00 |
| gpt-realtime-2.1-mini | Audio $10.00 / $0.30 / $20.00; text $0.60 / $0.06 / $2.40 |
| gpt-transcribe | About $0.0045 per minute |
| gpt-live-transcribe, gpt-realtime-whisper | About $0.017 per minute |
| gpt-realtime-translate | About $0.034 per minute |
| whisper-1, gpt-4o-transcribe | About $0.006 per minute |
| gpt-4o-mini-tts | $0.60 text in, $12.00 audio out per 1M tokens |
| tts-1, tts-1-hd | $15.00 and $30.00 per 1M characters |
Source: OpenAI API pricing, read Nov 6, 2026. Token prices per 1M tokens; per-minute figures are OpenAI's estimates.
More on these models: Realtime API and Whisper and Audio Models.
Tools, embeddings and storage
- Web search: $10.00 per 1,000 calls plus the search content tokens at the model's rates. The older web search preview on non-reasoning models is $25.00 per 1,000 calls with content tokens free.
- File search: $2.50 per 1,000 calls (Responses API only), and storage at $0.10 per GB per day after 1 GB free.
- Containers (Hosted Shell and Code Interpreter): $0.03 for 1 GB, $0.12 for 4 GB, $0.48 for 16 GB, $1.92 for 64 GB per 20-minute session, billed by the minute with a 5-minute minimum.
- Computer use: the pricing page lists no separate price as of Nov 6, 2026.
- ChatKit file storage: $0.10 per GB-day after 1 GB free per month.
- Embeddings:
text-embedding-3-small$0.02,text-embedding-3-large$0.13,text-embedding-ada-002$0.10 per 1M tokens. - Moderation:
omni-moderation-latestis free. - Video: no price, because the Sora video API shut down on Sep 24, 2026.
API credits from ChatGPT plans
Some ChatGPT subscriptions now include API spending. Since Oct 28, 2026, ChatGPT Pro's $100, $200 and $500 tiers add $100, $200 and $500 of API credits each month, and paid Business seats add $20 (Standard) or $100 (Premium), pooled up to $500 a month per workspace; Plus, Enterprise and Edu get none. The credits go to one linked API organization, expire at the end of each billing period, and do not raise ChatGPT or Codex limits (OpenAI Help Center).
Surcharges
Regional processing (data residency) adds 10% for models released on or after Mar 5, 2026 where it is offered, and FedRAMP endpoints add another 10%. OpenAI models used through Amazon Bedrock or Microsoft Azure are billed by those services at their own prices.
How to keep the bill down
- Pick the smallest model that does the job: GPT-6 Luna costs 1% of GPT-6 Astra per token (pricing).
- Put the fixed part of a prompt first so it is cached; caching needs at least 1,024 tokens.
- Send anything that can wait through the Batch API or Flex for half price.
- Stay under 272K input tokens to avoid long-context rates.
- Set spend limits per project in the dashboard (rate limits guide).
OpenAI also argues that price per token is not the whole story: its latest-model guide claims Astra's estimated cost per task is lower than earlier models because it needs fewer steps (latest model guide). That is OpenAI's own claim. Artificial Analysis measured the cost of running its whole index at $6.24 for GPT-6 Astra (max), $1.27 for GPT-6.1 Sol, $0.96 for GPT-6.1 Terra and $0.15 for GPT-6 Luna, read Nov 6, 2026. For Claude's prices on the same basis, see OpenAI API vs Claude API.
Frequently asked questions
How much does the OpenAI API cost? As of Nov 6, 2026, OpenAI API prices run from $0.10 input and $0.50 output per 1M tokens for GPT-6 Luna to $10 and $50 for GPT-6 Astra, with Batch at half price and Fast at double.
Is the ChatGPT API cheaper than ChatGPT Plus? It depends on use. The OpenAI API has no monthly fee and bills per token, so light use of GPT-6 Luna costs cents, while heavy use of GPT-6 Astra can cost far more than a $20 ChatGPT Plus plan; the two are billed separately.
What is cached input in OpenAI pricing? Cached input is the price for prompt tokens that repeat a recent prefix. On GPT-6.1 Sol and Terra it is 5% of the normal input price, and on other GPT-5.6 and later models 10%, with a write fee of 1.25x input for the 30-minute cache.
What counts as long context in the OpenAI API? Any request with more than 272K input tokens. Those requests pay higher rates, for example $20 input and $75 output per 1M tokens on GPT-6 Astra instead of $10 and $50.
Does the OpenAI API charge for web search? Yes. OpenAI's web search tool costs $10 per 1,000 calls plus the search content tokens at the model's normal rates, as of Nov 6, 2026.
How much does an image cost with the OpenAI API? OpenAI's guide puts a 1024x1024 GPT Image 2 image at about $0.006 in low quality, $0.053 in medium and $0.211 in high; the newer 2.5 and 2.6 models bill by tokens with no fixed per-image table.
Sources
- Pricing, OpenAI, read Nov 6, 2026
- Prompt caching, OpenAI, read Nov 6, 2026
- Batch API, OpenAI, read Nov 6, 2026
- Flex processing, OpenAI, read Nov 6, 2026
- Fast mode, OpenAI, read Nov 6, 2026
- Image generation, OpenAI, read Nov 6, 2026
- Using the latest model, OpenAI, read Nov 6, 2026
- Rate limits, OpenAI, read Nov 6, 2026
- Deprecations, OpenAI, read Nov 6, 2026
- Changelog, OpenAI, read Nov 6, 2026
- Leaderboards: models, Artificial Analysis, read Nov 6, 2026
- API credits benefit for eligible ChatGPT subscriptions, OpenAI Help Center, read Nov 6, 2026
- Build faster with Ultrafast, OpenAI, Sep 29, 2026 (video)
- API credits, now in ChatGPT Pro and Business plans, OpenAI, Oct 28, 2026 (video)
Moments
Build faster with Ultrafast
OpenAI
API credits, now in ChatGPT Pro and Business plans
OpenAI
See also
-
OpenAI APIThe OpenAI API lets programs call OpenAI's models (GPT-6 Astra, GPT-6.1 Sol, GPT-6.1 Terra, GPT-6 Luna, image, voice and transcription models) with an API key, billed per token. New projects use the Responses API through the official SDKs, with documentation at developers.openai.com.
-
Batch APIThe OpenAI Batch API runs up to 50,000 requests from one file within 24 hours at 50% off the normal price. Flex processing gives the same discount on ordinary calls that can be slow, Fast mode costs double for quicker answers, and prompt caching cuts the price of repeated prompt prefixes.
- GPT-Rosalind and Cyber ModelsOpenAI's specialized models are only for approved organizations: GPT-Rosalind for life sciences (GPT-6 Rosalind since Oct 30, 2026) and the Daybreak cyber models GPT-5.6 Cyber and GPT-6-Cyber (Nov 5, 2026), both GPT-6 versions built on GPT-6 Astra. They are in ChatGPT Work, Codex and the API, not the Chat tab.
-
GPT ImageGPT Image is OpenAI's family of image generation and editing models in the API, from gpt-image-1 (Apr 2025) to GPT-Image-2.6 Sunburst and Flare (Nov 4, 2026). The current models cost $8 per 1M image input tokens and $30 per 1M image output tokens, and power ChatGPT Images. -
Realtime APIThe OpenAI Realtime API streams speech in and speech out with low latency over WebRTC or WebSocket, using models such as gpt-realtime-2.1 and the full-duplex GPT-Live 1 ($0.05 a minute), as of Nov 6, 2026. It also handles live transcription and speech-to-speech translation.
-
Whisper and Audio ModelsOpenAI's speech models turn audio into text and text into speech. As of Nov 6, 2026 the newest transcription model is GPT-Transcribe at about $0.0045 a minute, Whisper (whisper-1) and the GPT-4o transcribe models shut down Feb 26, 2027, and the text to speech models shut down Jan 6, 2027.