OpenAI API Pricing (November 2026)
Current models
USD per 1M tokens
| Model | Input | Cached | Output | Context |
|---|---|---|---|---|
| GPT-6.2 Astra | $8 | $0.40 | $40 | 1.05M |
| GPT-6.2 Sol | $2 | $0.10 | $10 | 1.05M |
| GPT-6 Luna | $0.10 | $0.01 | $0.50 | 1.05M |
| GPT-6 Astra | $10 | $1 | $50 | 1.05M |
| GPT-6.1 Sol | $2 | $0.10 | $10 | 1.05M |
| GPT-6 Sol | $2 | $0.20 | $10 | 1.05M |
| GPT-6.1 Terra | $1 | $0.05 | $5 | 1.05M |
| GPT-5.6 Sol | $4 | $0.40 | $20 | 1.05M |
OpenAI's current API tiers cost $8/$40 per million input/output tokens for GPT-6.2 Astra, $2/$10 for GPT-6.2 Sol, and $0.10/$0.50 for GPT-6 Luna. Cached input is $0.40, $0.10, and $0.01 per million on those three, and the Batch API halves standard rates. GPT-5.6 Sol stays on the price sheet at a promotional $4/$20 through at least November 21, 2026.
OpenAI model pricing per 1M tokens
Current OpenAI token pricing runs from $0.10 per million input tokens (GPT-6 Luna) to $30/$180 (GPT-5.5 Pro), a 300x spread on input. The table below lists every OpenAI model in our pricing registry, maintained from OpenAI's pricing and model pages, with cached-input and Batch API rates alongside the headline numbers. GPT-6.2 Astra and GPT-6.2 Sol launched on November 17, 2026, and all three current tiers list a 1.05M-token context window. GPT-6.2 Astra costs 20% less than GPT-6 Astra ($10/$50) on input and output, and GPT-6.2 Sol keeps GPT-6.1 Sol's $2/$10 rate and $0.10 cached input.
For how the models perform per dollar, see the OpenAI model rankings and the price-vs-performance view.
| Model | API model ID | Input $/M | Cached input $/M | Output $/M | Batch input $/M | Batch output $/M | Context | Effective | Price source |
|---|---|---|---|---|---|---|---|---|---|
| GPT-6.2 Astra | gpt-6.2-astraCurrent | $8 | $0.4 | $40 | $4 | $20 | 1.05M | November 17, 2026 | OpenAI GPT-6.2 Astra model documentation |
| GPT-6.2 Sol | gpt-6.2-solCurrent | $2 | $0.1 | $10 | $1 | $5 | 1.05M | November 17, 2026 | OpenAI GPT-6.2 Sol model documentation |
| GPT-6 Luna | gpt-6-lunaCurrent | $0.1 | $0.01 | $0.5 | $0.05 | $0.25 | 1.05M | — | OpenAI GPT-6 Luna model documentation |
| GPT-6 Astra | gpt-6-astraCurrent | $10 | $1 | $50 | $5 | $25 | 1.05M | — | OpenAI GPT-6 Astra model documentation |
| GPT-6.1 Sol | gpt-6.1-solCurrent | $2 | $0.1 | $10 | $1 | $5 | 1.05M | — | OpenAI GPT-6.1 Sol model documentation |
| GPT-6 Sol | gpt-6-solCurrent | $2 | $0.2 | $10 | $1 | $5 | 1.05M | — | OpenAI GPT-6 Sol model documentation |
| GPT-6.1 Terra | gpt-6.1-terraCurrent | $1 | $0.05 | $5 | $0.5 | $2.5 | 1.05M | — | OpenAI GPT-6.1 Terra model documentation |
| GPT-6 Cyber | gpt-6-cyberDaybreak Red limited access | $20 | $2 | $100 | $10 | $50 | 1.05M | November 5, 2026 | OpenAI GPT-6-Cyber model documentation |
| GPT-5.6 Sol | gpt-5.6-solCurrent | $4 | $0.4 | $20 | $2 | $10 | 1.05M | — | OpenAI pricing |
| GPT-5.6 Terra | gpt-5.6-terraCurrent | $2 | $0.2 | $12 | $1 | $6 | 1.05M | — | OpenAI pricing |
| GPT-5.6 Luna | gpt-5.6-lunaCurrent | $0.2 | $0.02 | $1.2 | $0.1 | $0.6 | 1.05M | — | OpenAI pricing |
| GPT-5.5 | gpt-5.5Current | $5 | $0.5 | $30 | $2.5 | $15 | 1M | — | OpenAI pricing |
| GPT-5.4 | gpt-5.4Current | $2.5 | $0.25 | $15 | $1.25 | $7.5 | 1.05M | — | OpenAI pricing |
| GPT-5.4 mini | gpt-5.4-miniCurrent | $0.75 | $0.075 | $4.5 | $0.375 | $2.25 | 400K | — | OpenAI pricing |
| GPT-5.4 nano | gpt-5.4-nanoCurrent | $0.2 | $0.02 | $1.25 | $0.1 | $0.625 | 400K | — | OpenAI pricing |
| GPT-5.5 Pro | gpt-5.5-proCurrent | $30 | — | $180 | $15 | $90 | 1M | — | OpenAI pricing |
| GPT-5.4 Pro | gpt-5.4-proCurrent | $30 | — | $180 | $15 | $90 | 1.05M | — | OpenAI pricing |
| GPT-5.3 Codex | — | $1.75 | — | $14 | $0.875 | $7 | 400K | — | — |
| GPT-5.3 Instant | — | $1.75 | — | $14 | $0.875 | $7 | 128K | — | — |
| GPT-5.2 Pro | gpt-5.2-proDeprecated | $21 | — | $168 | $10.5 | $84 | 400K | — | OpenAI GPT-5.2 Pro model documentation |
| GPT-5.2 | — | $1.75 | — | $14 | $0.875 | $7 | 400K | — | — |
| GPT-5.2-Codex | — | $1.75 | — | $14 | $0.875 | $7 | 400K | — | — |
| GPT-5.2 Instant | — | $1.5 | — | $6 | $0.75 | $3 | 128K | — | — |
| GPT-5.1 | — | $1.25 | — | $10 | $0.625 | $5 | 400K | — | — |
| GPT-5.1-Codex | gpt-5.1-codexDeprecated | $1.25 | $0.125 | $10 | $0.625 | $5 | 400K | — | OpenAI GPT-5.1-Codex model documentation |
| GPT-5.1-Codex-Max | — | $1.25 | $0.125 | $10 | $0.625 | $5 | 400K | — | OpenAI GPT-5.1-Codex-Max model documentation |
| GPT-5 | — | $1.25 | — | $10 | $0.625 | $5 | 400K | — | — |
| GPT-5 mini | — | $0.25 | — | $2 | $0.125 | $1 | 128K | — | — |
| GPT-5 nano | — | $0.05 | — | $0.4 | $0.025 | $0.2 | 400K | — | — |
| GPT-4.5 | — | $75 | $37.5 | $150 | $37.5 | $75 | 128K | — | OpenAI GPT-4.5 Preview model documentation |
| GPT-4.1 | — | $2 | — | $8 | $1 | $4 | 1M | — | — |
| GPT-4.1 mini | — | $0.4 | — | $1.6 | $0.2 | $0.8 | 1M | — | — |
| GPT-4.1 nano | — | $0.1 | — | $0.4 | $0.05 | $0.2 | 1M | — | — |
| GPT-4 Turbo | — | $10 | — | $30 | $5 | $15 | 128K | — | — |
| GPT-4o | — | $2.5 | — | $10 | $1.25 | $5 | 128K | — | — |
| GPT-4o Audio | gpt-4o-audio-previewCurrent | $2.5 | — | $10 | $1.25 | $5 | 128K | — | OpenAI model documentation |
| o4-mini | — | $1.1 | — | $4.4 | $0.55 | $2.2 | 200K | — | — |
| GPT-4o mini TTS | gpt-4o-mini-ttsCurrent | $0.6 | — | $12 | $0.3 | $6 | 2K | — | OpenAI GPT-4o mini TTS model documentation |
| GPT-4o mini | — | $0.15 | — | $0.6 | $0.075 | $0.3 | 128K | — | — |
| GPT-4o mini Audio | gpt-4o-mini-audio-previewCurrent | $0.15 | — | $0.6 | $0.075 | $0.3 | 128K | — | OpenAI model documentation |
| o3-pro | — | $20 | — | $80 | $10 | $40 | 200K | — | — |
| o3 | — | $2 | — | $8 | $1 | $4 | 200K | — | — |
| o3-mini | — | $1.1 | — | $4.4 | $0.55 | $2.2 | 200K | — | — |
| GPT Realtime 2.1 | gpt-realtime-2.1Current | $4 | $0.4 | $24 | $2 | $12 | 128K | — | OpenAI model documentation |
| GPT Realtime 2.1 Mini | gpt-realtime-2.1-miniCurrent | $0.6 | $0.06 | $2.4 | $0.3 | $1.2 | 128K | — | OpenAI model documentation |
| GPT Realtime 2 | gpt-realtime-2Current | $4 | $0.4 | $24 | $2 | $12 | 128K | — | OpenAI model documentation |
| GPT Realtime 1.5 | gpt-realtime-1.5Current | $4 | $0.4 | $16 | $2 | $8 | 32K | — | OpenAI model documentation |
| GPT Audio 1.5 | gpt-audio-1.5Current | $2.5 | — | $10 | $1.25 | $5 | 128K | — | OpenAI model documentation |
| o1-pro | — | $150 | — | $600 | $75 | $300 | 200K | — | — |
| o1 | — | $15 | — | $60 | $7.5 | $30 | 200K | — | — |
| o1-mini | — | $1.1 | $0.55 | $4.4 | $0.55 | $2.2 | 128K | — | OpenAI o1-mini model documentation |
| GPT Realtime | gpt-realtimeCurrent | $4 | $0.4 | $16 | $2 | $8 | 32K | — | OpenAI model documentation |
| GPT Realtime mini | gpt-realtime-miniCurrent | $0.6 | $0.06 | $2.4 | $0.3 | $1.2 | 32K | — | OpenAI model documentation |
Cached input is shown only where OpenAI explicitly publishes a rate. GPT-6.2 Sol and GPT-6.2 Astra list cache reads at 5% of standard input; GPT-6 Luna, GPT-6 Astra, and the GPT-5.4 to 5.6 tiers list 10%. Cache writes on the GPT-6 and GPT-6.2 tiers cost 1.25x standard input; GPT-6.2's optional 12-hour cache retention bills writes at 2.5x. Batch columns apply OpenAI's published 50% Batch rates. Regional-processing uplifts are not included.
OpenAI API pricing calculator
| Model | Est. monthly cost |
|---|---|
| GPT-6.2 Astra | $160 |
| GPT-6.2 Sol | $40 |
| GPT-6 Luna | $2 |
| GPT-6 Astra | $200 |
| GPT-6.1 Sol | $40 |
| GPT-6 Sol | $40 |
| GPT-6.1 Terra | $20 |
| GPT-5.6 Sol | $80 |
Estimates use OpenAI's standard per-token rates from the table above. For token-level presets and cross-provider comparison, use the full LLM API pricing calculator.
Short-context and long-context OpenAI token pricing
The headline rates apply to short-context requests. On the GPT-6 and GPT-6.2 tiers, a prompt above 272K input tokens bills the whole request at 2x input and cache rates and 1.5x output: GPT-6.2 Astra rises from $8/$40 to $16/$60 per million input/output tokens, GPT-6.2 Sol from $2/$10 to $4/$15, and GPT-6 Luna from $0.10/$0.50 to $0.20/$0.75.
GPT-5.6 Sol has its own long-context tier ($8/$30 above 272K input tokens), and GPT-5.4 also lists higher long-context rates. The calculator above uses short-context rates, so long prompts need the higher meter applied before a budget is approved. OpenAI also lists a 10% regional-processing uplift where regional processing is available.
Cached input and Batch API: how to pay half or less
Cached input is automatic: repeated prompt prefixes (system prompts, tool definitions, shared context) bill at the cached rate, $0.40 per million instead of $8 on GPT-6.2 Astra. Cache writes on the GPT-6 and GPT-6.2 tiers cost 1.25x standard input, so a prefix that is read back even once costs less than sending it twice uncached. GPT-6.2's optional 12-hour retention bills cache writes at 2.5x input, so it only pays off for a prefix read back several times. GPT-6.2 Astra and GPT-6.2 Sol list cached input at 5% of their input price, half the 10% share on GPT-6 Luna and GPT-6 Astra.
The Batch API takes 50% off input and output for asynchronous jobs. Fast mode costs 2x on the GPT-6 and GPT-6.2 tiers, and the GPT-6 models also offer Flex at half the standard rate. Model your own mix with the LLM API pricing calculator or the estimator above.
OpenAI API pricing is separate from ChatGPT plans
An OpenAI API key has no monthly subscription fee. Usage is billed from the token, tool, storage, and processing meters attached to the API account. ChatGPT Free, Go, Plus, Pro, Business, and Enterprise are separate products with per-user or plan pricing; paying for ChatGPT does not create a pool of API credits.
Use this page for application and agent workloads billed through an API key. For the consumer-plan decision, see the current ChatGPT Plus analysis. For hosted OpenAI models with Azure routing and residency controls, compare the Azure LLM pricing table.
For model performance and API-price tradeoffs, compare the ChatGPT alternative models. Consumer subscription allowances need a separate check.
Which OpenAI model should you pay for?
Start cheap and move up when your own evals show a quality gap. GPT-6 Luna ($0.10/$0.50) covers classification, extraction, and routing. GPT-6.2 Sol ($2/$10) costs 20x Luna on both rates and is the middle tier. GPT-6.2 Astra ($8/$40) is the flagship at 4x Sol, for the coding, reasoning, and agentic work where Sol falls short in testing. GPT-5.5 Pro ($30/$180) costs about 4x as much as Astra on input and 4.5x as much as Astra on output, so it only makes sense when evaluation results show Astra isn't enough.
The older tiers no longer save money: GPT-5.6 Sol's promotional $4/$20 and GPT-5.4's $2.50/$15.00 both cost more than GPT-6.2 Sol. Staying on them is a choice about behavior you've already validated, not about price.
OpenAI vs Claude and Gemini pricing
GPT-6.2 Astra lists $8/$40 per million input/output tokens and GPT-6.2 Sol lists $2/$10. Claude Sonnet 5 matches Sol. Gemini 3.1 Pro lists $2/$12 on prompts up to 200K tokens, the same input rate and about 20% more than Sol on output. GPT-5.6 Sol's promotional $4/$20 matches Claude Opus 5.5.
With prices this close, benchmarks decide it: see the table above next to the Claude API pricing hub, or pick any pair on the compare hub. GPT-6.2 Sol compared with Anthropic's Claude Opus 5.5 puts the benchmark scores beside the rates.
OpenAI API pricing FAQ
How much does the OpenAI API cost?
Current OpenAI API pricing runs from $0.10 per million input tokens (GPT-6 Luna) to $30/$180 (GPT-5.5 Pro). The flagship, GPT-6.2 Astra, costs $8/$40 per million input/output tokens, with GPT-6.2 Sol at $2/$10 and GPT-6 Luna at $0.10/$0.50.
Does an OpenAI API key cost money?
The API key itself is free — you pay only for the tokens you use, billed per million input and output tokens at the rates in the table above. There is no standing free tier; new accounts may receive trial credits, and costs scale directly with usage from there.
How much does the ChatGPT API cost?
"ChatGPT API" refers to the same OpenAI API used to access GPT models programmatically — the ChatGPT consumer subscription ($20/month Plus) is separate. API access bills per token at the rates in the table: GPT-6.2 Astra at $8/$40, GPT-6.2 Sol at $2/$10, and GPT-6 Luna at $0.10/$0.50 per million input/output tokens.
What is GPT API pricing for older models like GPT-5.4 and GPT-5.1?
OpenAI still publishes rates for earlier families: GPT-5.4 at $2.50/$15.00 (mini $0.75/$4.50, nano $0.20/$1.25) and GPT-5.1 at $1.25/$10. The GPT-5.4 tiers list cached input at 10% and take the 50% Batch discount. Check them against GPT-6.2 Sol at $2/$10 before assuming an older model is the cheaper choice.