How-to guide
OpenAI API pricing: cost per million tokens for every GPT model
GPT-6.2 Astra, OpenAI's flagship, costs $8 per million input tokens and $40 per million output tokens on the OpenAI API. Apart from GPT-5 nano ($0.05 and $0.40), which retires on December 11, 2026, prices run from $0.10 input and $0.50 output (GPT-6 Luna) to $30 and $180 (GPT-5.5 Pro and GPT-5.4 Pro). GPT-6.2 Sol costs $2 and $10, and GPT-6.1 Terra $1 and $5. The Batch API halves every price.
Checked against each company’s own pages. We make Bearly, which this guide also covers.
Bearly has Claude, GPT, Gemini and Grok models in one app, and its API calls Claude, GPT and Grok with the OpenAI or Anthropic SDK. No provider keys needed.
These are OpenAI's Standard prices for the OpenAI API, in US dollars per million tokens. It's what many people call the ChatGPT API: the same GPT models, called from your own code and billed per token. ChatGPT plans such as Plus are billed separately, per user per month. Input is what you send; output is what the model writes. We read OpenAI's pricing page and changelog and update this page when a price changes.
OpenAI API prices per model
Standard prices per million tokens for requests of up to 272,000 input tokens. Cache read is OpenAI's cached input price. Batch prices are for the Batch API, which runs requests asynchronously at half price.
| Model | Input | Output | Cache read | Batch input / output |
|---|---|---|---|---|
| GPT-6.2 Astra gpt-6.2-astra | $8 | $40 | $0.40 | $4 / $20 |
| GPT-6.2 Sol gpt-6.2-sol | $2 | $10 | $0.10 | $1 / $5 |
| GPT-6.1 Terra gpt-6.1-terra | $1 | $5 | $0.05 | $0.50 / $2.50 |
| GPT-6 Luna gpt-6-luna | $0.10 | $0.50 | $0.01 | $0.05 / $0.25 |
| GPT-6 Astra gpt-6-astra | $10 | $50 | $1 | $5 / $25 |
| GPT-6.1 Sol gpt-6.1-sol | $2 | $10 | $0.10 | $1 / $5 |
| GPT-6 Sol gpt-6-sol | $2 | $10 | $0.20 | $1 / $5 |
| GPT-5.6 Sol gpt-5.6-sol | $5 | $30 | $0.50 | $2.50 / $15 |
| GPT-5.6 Terra gpt-5.6-terra | $2 | $12 | $0.20 | $1 / $6 |
| GPT-5.6 Luna gpt-5.6-luna | $0.20 | $1.20 | $0.02 | $0.10 / $0.60 |
| GPT-5.5 gpt-5.5 | $5 | $30 | $0.50 | $2.50 / $15 |
| GPT-5.4 gpt-5.4 | $2.50 | $15 | $0.25 | $1.25 / $7.50 |
| GPT-5.4 mini gpt-5.4-mini | $0.75 | $4.50 | $0.075 | $0.375 / $2.25 |
| GPT-5.4 nano, retires Apr 1, 2027 gpt-5.4-nano | $0.20 | $1.25 | $0.02 | $0.10 / $0.625 |
| GPT-5.2 gpt-5.2 | $1.75 | $14 | $0.175 | $0.875 / $7 |
| GPT-5.1, retires Apr 1, 2027 gpt-5.1 | $1.25 | $10 | $0.125 | $0.625 / $5 |
| GPT-5, retires Dec 11, 2026 gpt-5 | $1.25 | $10 | $0.125 | $0.625 / $5 |
| GPT-5 mini, retires Dec 11, 2026 gpt-5-mini | $0.25 | $2 | $0.025 | $0.125 / $1 |
| GPT-5 nano, retires Dec 11, 2026 gpt-5-nano | $0.05 | $0.40 | $0.005 | $0.025 / $0.20 |
| o3, retires Dec 11, 2026 o3 | $2 | $8 | $0.50 | $1 / $4 |
| GPT-4.1, retires Jan 14, 2027 gpt-4.1 | $2 | $8 | $0.50 | $1 / $4 |
| GPT-4.1 mini, retires Jan 14, 2027 gpt-4.1-mini | $0.40 | $1.60 | $0.10 | $0.20 / $0.80 |
| GPT-4o, retires Jan 14, 2027 gpt-4o | $2.50 | $10 | $1.25 | $1.25 / $5 |
| GPT-4o mini, retires Jan 14, 2027 gpt-4o-mini | $0.15 | $0.60 | $0.075 | $0.075 / $0.30 |
- GPT-5.6 Sol went back up to $5 / $30 on December 1, 2026, its launch price, when its promotional $4 / $20 ended. Its Batch, Flex and Fast prices rose with it.
- Long prompts cost more. On GPT-5.4, GPT-5.5 and every GPT-5.6 and GPT-6 model, a request with more than 272,000 input tokens pays 2 times the input and cache prices and 1.5 times the output price for the whole request: $16 input and $60 output per million tokens on GPT-6.2 Astra, and $4 and $15 on GPT-6.2 Sol.
- Cache writes on GPT-5.6 and later models cost 1.25 times the input price for the default 30-minute cache and 2.5 times for a 12-hour cache (Responses API): $10 and $20 per million tokens on GPT-6.2 Astra. GPT-5.5 and earlier models charge nothing extra to write the cache.
- Cache reads cost 5% of the input price on GPT-6.2 Astra, GPT-6.2 Sol, GPT-6.1 Sol and GPT-6.1 Terra, and 10% on most other GPT-5.6 and later models. From GPT-6.2, top-level
instructionsin the Responses API are billed at the uncached input price even on a cache hit; OpenAI suggests putting reusable instructions in the first developer message instead. - Reasoning tokens are billed as output. You don't see them in the response, but they count toward the output price.
- Data residency and FedRAMP: regional processing endpoints cost 10% more for models released on or after March 5, 2026, and FedRAMP endpoints also cost 10% more.
- Azure and Amazon Bedrock bill OpenAI models through their own price lists.
(OpenAI: API pricing; prompt caching)
Batch, Flex, Fast, Ultrafast and background mode
- Batch API: 50% of Standard prices, for asynchronous jobs.
- Flex: the same prices as Batch, for requests that can wait and may fail with a "resource unavailable" error, which isn't charged. OpenAI is winding Flex down: it isn't available on GPT-6.2 Astra or GPT-6.2 Sol, won't be added to new models, and has no retirement date yet.
- Fast mode: up to 2.5 times faster, at 2 times the Standard price on GPT-5.6 and later models: $16 input and $80 output on GPT-6.2 Astra, $4 and $20 on GPT-6.2 Sol. Older models list their own Fast prices, such as $12.50 and $75 on GPT-5.5. Fast mode replaced Priority processing on July 30, 2026. If your traffic ramps up too quickly, some Fast requests run at Standard speed and are billed at Standard prices.
- Ultrafast: OpenAI's fastest tier, on GPT-6.2 Astra, GPT-6.2 Sol, GPT-6 Astra and GPT-6.1 Sol. On GPT-6.2 Astra and Sol it costs 3 times Standard through February 28, 2027 ($24 / $120 and $6 / $30) and 6 times Standard from March 1, 2027 ($48 / $240 and $12 / $60). GPT-6 Astra costs $60 / $300 and GPT-6.1 Sol $12 / $60.
- Background completion windows (Responses API, public beta): on GPT-6.2 Astra, GPT-6.2 Sol, GPT-6.1 Terra and GPT-6 Luna, eligible background requests cost 30% below Standard with a 2-hour completion window and 40% below with an 8-hour window.
(OpenAI: API pricing; Fast mode; Flex processing; Ultrafast mode)
Tools and other charges
- Web search: $10 per 1,000 calls, plus the search content tokens at the model's prices. The web search preview tool costs the same on reasoning models and $25 per 1,000 calls on other models, with search content tokens free. On GPT-4o mini and GPT-4.1 mini, each call with the non-preview tool is billed as a fixed 8,000 input tokens.
- File search: storage costs $0.10 per GB per day after the first free GB, and tool calls $2.50 per 1,000 (Responses API).
- Code Interpreter and Hosted Shell: per container, per 20-minute session: $0.03 for 1 GB, $0.12 for 4 GB, $0.48 for 16 GB and $1.92 for 64 GB. Eligible sessions are billed per minute with a 5-minute minimum.
- Tool tokens: tokens that built-in tools use are billed at the model's token prices.
- Embeddings: $0.02 per million tokens for text-embedding-3-small, $0.13 for text-embedding-3-large and $0.10 for text-embedding-ada-002. The omni-moderation-latest model is free.
- API credits with ChatGPT: eligible ChatGPT Pro and Business subscribers can claim free API credits each month: $100, $200 or $500 on Pro, depending on the tier, and $20 per paid Business Standard seat or $100 per Premium seat, up to $500 per workspace. Plus, Go and Free plans aren't eligible, and unused credits expire at the end of each billing cycle.
(OpenAI: pricing for tools; API credits for ChatGPT subscribers)
Other OpenAI models
- Pro models, for harder problems that benefit from more compute: GPT-5.5 Pro and GPT-5.4 Pro cost $30 input and $180 output per million tokens ($15 and $90 through Batch), GPT-5.2 Pro $21 and $168, GPT-5 Pro $15 and $120, and o3-pro $20 and $80. GPT-5 Pro and o3-pro retire on December 11, 2026.
- chat-latest, the model currently used in ChatGPT, costs $5 input, $0.50 cached input and $30 output. OpenAI doesn't recommend it for API use.
- GPT-5.3-Codex costs $1.75 input, $0.175 cached input and $14 output, and retires on April 1, 2027.
- Realtime voice: GPT-Realtime-2.1 costs $32 input and $64 output per million audio tokens and $4 and $24 for text; GPT-Realtime-2.1 mini costs $10 and $20 for audio and $0.60 and $2.40 for text. GPT-Live voice sessions cost $0.05 per minute active and $0.02 per minute on standby.
- Images: GPT-Image-2.6 Sunburst and Flare cost $8 per million image input tokens, $30 per million image output tokens and $5 per million text input tokens.
- Restricted access: GPT-6 Cyber ($20 / $100), GPT-5.6 Cyber ($12.50 / $75), GPT-6 Rosalind ($10 / $50, a promotional price available at least through December 31, 2026) and GPT-Rosalind ($5 / $25) are for approved organizations only.
What a request costs
Multiply each token count by its price per million tokens. These assume requests of up to 272,000 input tokens each:
| Request | GPT-6 Luna | GPT-6.2 Sol | GPT-6.2 Astra |
|---|---|---|---|
| 1 million input tokens and 100,000 output tokens | $0.10 + $0.05 = $0.15 | $2 + $1 = $3 | $8 + $4 = $12 |
| The same through the Batch API | $0.075 | $1.50 | $6 |
| Input tokens $5 buys | 50 million | 2.5 million | 625,000 |
OpenAI API price changes
Every OpenAI API price change in 2026 and those already scheduled, newest first. Each date links to its own row.
| Date | Model | Change | Source, last checked |
|---|---|---|---|
| Mar 1, 2027 | GPT-6.2 Astra and GPT-6.2 Sol, Ultrafast | Scheduled: Ultrafast goes from 3 times to 6 times the Standard rate (Pacific time). GPT-6.2 Astra $24 / $120 becomes $48 / $240, and GPT-6.2 Sol $6 / $30 becomes $12 / $60. | OpenAI, Dec 1 |
| Dec 1, 2026 | GPT-5.6 Sol | Promotion ended: $4 / $20 back to its launch price of $5 / $30. Cached input $0.40 to $0.50, Batch and Flex $2 / $10 to $2.50 / $15, Fast mode $8 / $40 to $10 / $60. | OpenAI, Dec 1 |
| Nov 17, 2026 | GPT-6.2 Astra and GPT-6.2 Sol | Launched. GPT-6.2 Astra costs $8 / $40, 20% less than GPT-6 Astra's $10 / $50, with cached input at $0.40, 60% less than $1. GPT-6.2 Sol keeps GPT-6.1 Sol's $2 / $10 and $0.10 cached input. | OpenAI, Dec 1 |
| Nov 17, 2026 | Background requests, Responses API | Discounted completion windows added in public beta: 30% below Standard for a 2-hour window and 40% below for 8 hours, on GPT-6.2 Astra, GPT-6.2 Sol, GPT-6.1 Terra and GPT-6 Luna. | OpenAI, Dec 1 |
| Oct 28, 2026 | ChatGPT Pro and Business subscribers | Eligible subscribers can claim up to $500 a month in free API credits. | OpenAI, Dec 1 |
| Oct 20, 2026 | Prompt caching | 12-hour prompt caching added. 12-hour cache writes cost 2.5 times the input price. | OpenAI, Dec 1 |
| Oct 9, 2026 | OpenAI-hosted sandboxes, Agents API | Sandbox compute is billed only during active turns, with no charge for idle time between turns. | OpenAI, Dec 1 |
| Oct 5, 2026 Announced Sep 8, 2026 | GPT-Rosalind (gpt-rosalind-research) | Billing began at $5 / $25, with cached input at $0.50. Available to approved organizations only. | OpenAI, Dec 1 |
| Sep 29, 2026 | GPT-6.1 Sol | Launched at $2 / $10, with cached input at $0.10 and cache writes at $2.50, which OpenAI called a lower cost than GPT-6 Astra. | OpenAI, Dec 1 |
| Sep 22, 2026 | GPT-6 Sol and GPT-6 Luna | Launched. GPT-6 Sol costs $2 / $10, down from $4 / $20 for GPT-5.6 Sol at its promotional price, and GPT-6 Luna $0.10 / $0.50, down from $0.20 / $1.20 for GPT-5.6 Luna. | OpenAI, Dec 1 |
| Aug 21, 2026 | GPT-5.6 Sol | Promotional price: $5 / $30 cut to $4 / $20, which OpenAI said would last at least through November 21, 2026. | OpenAI, Dec 1 |
| Jul 30, 2026 | GPT-5.6 Terra and GPT-5.6 Luna | Price cut. GPT-5.6 Luna went from $1 / $6 to $0.20 / $1.20 (80% less) and GPT-5.6 Terra from $2.50 / $15 to $2 / $12 (20% less). GPT-5.6 Sol was unchanged. | OpenAI, Dec 1 |
| Jul 30, 2026 | Fast mode | Fast mode replaced Priority processing. On GPT-5.6 Sol it runs up to 2.5 times faster than Standard at twice the price; requests tagged priority use Fast mode. | OpenAI, Dec 1 |
| Jul 9, 2026 | GPT-5.6 Sol, Terra and Luna | Launched at $5 / $30 (Sol), $2.50 / $15 (Terra) and $1 / $6 (Luna). Cache writes cost 1.25 times the input price on GPT-5.6 and later models. | OpenAI, Dec 1 |
| Jun 2, 2026 | Code Interpreter and Hosted Shell containers | Eligible container sessions are billed per minute with a 5-minute minimum, instead of a full 20-minute session. The per-minute rate is unchanged. | OpenAI, Dec 1 |
OpenAI models retiring soon
Six OpenAI models retire from the OpenAI API on December 11, 2026: GPT-5, GPT-5 mini, GPT-5 nano, GPT-5 Pro, o3 and o3-pro. OpenAI recommends GPT-6.1 Sol in place of GPT-5 and o3, GPT-6.1 Terra for GPT-5 mini and GPT-6 Luna for GPT-5 nano (shutdown dates). GPT-4o, GPT-4o mini, GPT-4.1 and GPT-4.1 mini follow on January 14, 2027, all with GPT-6 Luna as the replacement (shutdown dates). GPT-5.1, GPT-5.3-Codex and GPT-5.4 nano retire on April 1, 2027 (shutdown dates). Every date is in our AI model shutdown tracker.
GPT in Bearly
Bearly has Claude, GPT, Gemini, Grok and more in one app. You pick the model for each chat, can switch any time, and can rerun any message on another model to compare. Bearly's API calls Claude, GPT and Grok with the OpenAI or Anthropic SDK and spends the same credits, with no provider keys needed.
Your chats stay private: Bearly doesn't train AI models on your chats, has no ads, and doesn't sell your data. With ZDR mode on, every chat model you can pick runs with zero data retention.
We make Bearly, so weigh this with that in mind. (Bearly docs: models; API access; zero data retention)
Questions people ask
How much does the OpenAI API cost?
The OpenAI API charges per million tokens, separately for input and output. GPT-6.2 Astra costs $8 input and $40 output, GPT-6.2 Sol $2 and $10, GPT-6.1 Terra $1 and $5, and GPT-6 Luna $0.10 and $0.50, for requests of up to 272,000 input tokens. The Batch API halves those prices, and longer prompts cost more.
Is the ChatGPT API free?
No. The OpenAI API bills every request per token at the prices above. Eligible ChatGPT Pro and Business subscribers can claim up to $500 a month in free API credits; ChatGPT Plus, Go and Free plans don't include any. OpenAI's moderation model, omni-moderation-latest, is free to use.
Is the ChatGPT API the same as ChatGPT Plus?
No. ChatGPT Plus is a monthly subscription to the ChatGPT app. The OpenAI API is a separate service for developers, billed per token, and a Plus subscription doesn't include API credits. GPT-6.2 Astra and GPT-6.2 Sol are available in both.
How much does GPT-6.2 Astra cost per million tokens?
GPT-6.2 Astra costs $8 per million input tokens and $40 per million output tokens, $4 and $20 through the Batch API, and $0.40 for cached input. Requests over 272,000 input tokens cost $16 and $60, and Fast mode $16 and $80. It launched on November 17, 2026, 20% cheaper than GPT-6 Astra at $10 and $50.
What is the cheapest OpenAI model?
GPT-6 Luna, at $0.10 per million input tokens and $0.50 per million output tokens, or $0.05 and $0.25 through the Batch API, with cached input at $0.01. GPT-5 nano costs less, $0.05 and $0.40, but retires on December 11, 2026, with GPT-6 Luna as OpenAI's recommended replacement.
Did OpenAI API prices go down?
Yes, several times in 2026. On July 30, GPT-5.6 Luna got 80% cheaper and GPT-5.6 Terra 20% cheaper. GPT-6 Sol and Luna launched on September 22 at half or less of GPT-5.6 Sol and Luna's prices, and GPT-6.2 Astra launched on November 17 at $8 and $40, down from $10 and $50 for GPT-6 Astra. Prices also went up: GPT-5.6 Sol returned from its promotional $4 and $20 to $5 and $30 on December 1, 2026, and Ultrafast on GPT-6.2 Astra and Sol doubles from 3 to 6 times the Standard price on March 1, 2027.
Related
- AI model shutdown dates: when OpenAI, Claude and Gemini models retire
- Claude API pricing: cost per million tokens for every Claude model, and each price change
- Gemini API pricing: cost per million tokens for every Gemini model, and each price change
- Bearly API access: call Claude, GPT and Grok with the OpenAI or Anthropic SDK
Sources
All checked December 1, 2026.
- OpenAI, API pricing, Changelog, Deprecations, All models, GPT-6.2 Astra, GPT-5.6 Sol, Prompt caching, Reasoning models, Fast mode, Flex processing, Ultrafast mode, Data residency and API credits for ChatGPT subscribers
- OpenAI blog, GPT-5.6, Advancing the price-performance frontier with GPT-5.6, Introducing GPT-6 Sol and Luna and Introducing GPT-6.2 Astra and Sol