OpenAI API pricing
Every OpenAI model’s price per million tokens, how credits and discounts work, and what your workload costs a month.
OpenAI API pricing runs from $0.05 per million input tokens on gpt-5-nano to $10 on GPT-6 Astra, the flagship. On every GPT-6 model, output costs five times the input. The Batch API halves both rates, and cached input costs a tenth of the base rate or less.
What your workload costs
Pick a workload, a monthly volume and a pricing option. Each row shows the monthly cost on that OpenAI model.
OpenAI API prices per 1M tokens
Prices in US dollars per million tokens, from OpenAI’s API pricing page. The first number is input, the second is output, both at the standard rate for prompts up to 272,000 tokens.
GPT-6 Astra, GPT-6.1 Sol, GPT-6.1 Terra, GPT-6 Luna and gpt-5.5 take up to 1,050,000 tokens of context; gpt-5.4-mini and gpt-5-nano take 400,000. All of them return up to 128,000 output tokens. The pricing page also lists older and special models: gpt-6-sol, the GPT-5.6 family, gpt-5.4, gpt-5.2, gpt-5-mini, gpt-4.1, gpt-4o, o3, and the Pro models, which are the most expensive rows on the page. GPT-5.6 Sol is on a promotional price until November 30, 2026, according to OpenAI’s model page.
Which OpenAI model to choose: GPT-6 Astra, Sol, Terra or Luna
- GPT-6 Astra is OpenAI’s flagship “for complex reasoning and coding”, at $10 in and $50 out per million tokens.
- GPT-6.1 Sol is the balance of intelligence and cost: a fifth of Astra’s price, at $2 and $10.
- GPT-6.1 Terra is half the price of Sol. OpenAI pitches it for visual reasoning, computer use and natural writing.
- GPT-6 Luna is for “cost-sensitive, high-volume workloads”: $0.10 in and $0.50 out, a hundredth of Astra.
The gap in quality is smaller than the gap in price. On the Artificial Analysis Intelligence Index, read November 7, 2026, GPT-6 Astra at max effort scores 57, GPT-6.1 Sol 55 and GPT-6.1 Terra 51. A sensible default is to start on Sol or Terra and move a task to Astra only when the cheaper model needs retries often enough to cost more than the price gap.
OpenAI API credits, billing and usage tiers
New OpenAI API accounts use prepaid billing: you buy credits first, and each request is deducted from the balance. According to OpenAI’s Help Center, checked November 7, 2026:
- The minimum credit purchase is $5, and the default first purchase is $10.
- Auto-reload is on by default during setup; it buys more credits when the balance falls below your threshold, with a minimum recharge of $5.
- Purchased credits expire after one year and are non-refundable, except for billing errors, unauthorized use and similar cases OpenAI reviews.
- Free credits, if your account has any, are used before purchased ones.
- Access may not stop the second the balance hits zero, so usage can leave a negative balance that comes off your next purchase.
Your usage tier rises automatically as your total credit purchases grow, and it sets the monthly usage limit and the rate limits. Checked November 7, 2026 in OpenAI’s rate limits guide:
| Tier | How you reach it | Usage limit |
|---|---|---|
| Free | Account in a supported country | $100 a month |
| Build | $5 in total credit purchases | $500 a month |
| Launch | $100 in total credit purchases | $5,000 a month |
| Grow | $500 in total credit purchases | $200,000 a month |
On the Build tier, GPT-6 Astra, Sol and Terra allow 5,000 requests and 1 million tokens a minute, and Luna allows 5,000 requests and 2 million tokens. On Grow, Astra, Sol and Terra reach 15,000 requests and 40 million tokens a minute. Spend alerts and hard spend limits are separate settings you can add on top.
How to reduce OpenAI API costs: Batch, Flex and prompt caching
Batch API. Requests sent as a batch cost 50% less and complete within 24 hours, often sooner. GPT-6.1 Sol drops to $1 in and $5 out. Use it for evaluations, labeling and anything that can wait overnight.
Flex processing. Flex bills ordinary requests at Batch API rates in exchange for slower responses and occasional “resource unavailable” errors, which OpenAI does not charge for. You turn it on with the service tier parameter set to flex. It is in beta and limited to the models listed in the Flex table of the pricing page.
Prompt caching. A repeated prompt prefix, such as a long system prompt or a document, can be stored and read back at the cached input rate: $0.10 per million tokens on GPT-6.1 Sol, 0.05 times the base rate on Sol and Terra and 0.1 times on most other models. For GPT-5.6 and later, writing to the cache costs 1.25 times the input rate for the default 30-minute lifetime and 2.5 times for a 12-hour lifetime, so a 30-minute write on Sol costs $2.50 per million tokens. OpenAI’s own example: one write and nine full reads cost 2.15 times the plain input price, against 10 times without caching. A prefix must be at least 1,024 tokens to be cached on GPT-5.6 and later. The calculator’s “Cache 70%” option serves 70% of the input from cache and leaves out the write cost.
Long context, Fast mode and other OpenAI surcharges
Long context. Once a prompt passes 272,000 input tokens, the whole request is billed at the long-context rate: twice the input price and 1.5 times the output price. On GPT-6.1 Sol that is $4 in and $15 out, so a single 300,000-token prompt costs $1.20 in input alone.
Fast and Ultrafast. Priority processing was renamed Fast mode on July 30, 2026. Fast mode costs twice the standard rate on the GPT-6 models. Ultrafast, offered on GPT-6 Astra and GPT-6.1 Sol, costs six times the standard rate.
Regional processing. Data residency endpoints add 10% for models released on or after March 5, 2026, and FedRAMP endpoints add 10% too. The Responses, Chat Completions, Realtime and Batch APIs are not priced separately; only the model’s token rates apply.
OpenAI Whisper API pricing, audio, image and embedding prices
Speech-to-text and voice are billed per minute, checked November 7, 2026 on OpenAI’s pricing page:
| Model | Use | Price |
|---|---|---|
| Whisper | Transcription | $0.006 a minute |
| gpt-transcribe | Transcription | $0.0045 a minute |
| gpt-4o-mini-transcribe | Transcription | $0.003 a minute |
| gpt-4o-transcribe | Transcription | $0.006 a minute |
| gpt-live-transcribe | Live transcription | $0.017 a minute |
| gpt-realtime-translate | Live translation | $0.034 a minute |
| GPT-Live 1 | Voice sessions | $0.05 a minute |
An hour of audio through Whisper costs $0.36; gpt-4o-mini-transcribe does it for $0.18. GPT-Live 1 bills per second without rounding up to a minute, and the backend model and tools are charged on top.
- Text to speech: tts-1 costs $15 and tts-1-hd $30 per million characters; gpt-4o-mini-tts costs $12 per million audio output tokens.
- Realtime voice: gpt-realtime-2.1 costs $32 per million audio input tokens and $64 per million audio output tokens; gpt-realtime-2.1-mini costs $10 and $20.
- Images: gpt-image-2 costs $8 per million image input tokens, $5 per million text input tokens and $30 per million image output tokens; gpt-image-1-mini costs $8 per million image output tokens. Batch halves these.
- Embeddings: text-embedding-3-small costs $0.02 and text-embedding-3-large $0.13 per million tokens. The omni-moderation model is free.
OpenAI API tool prices: web search, file search and containers
- Web search: $10 per 1,000 calls on the current tool, plus the search content tokens at the model’s input rate.
- File search: $2.50 per 1,000 calls in the Responses API, plus storage at $0.10 per GB a day after the first free GB.
- Hosted Shell and Code Interpreter: from $0.03 per 20-minute session for a 1 GB container to $1.92 for 64 GB.
Tokens the model reads or writes while using a tool are billed at the model’s normal rates, so an agent that searches often pays twice: once per call, once for the text it reads.
How much does the OpenAI API cost a month? Two examples
Worked examples at the standard rates checked 2026-11-07, before caching or Batch:
- A support chatbot with 10,000 conversations a month, each about 2,000 input and 500 output tokens: 20 million input and 5 million output tokens. That is $4.50 on GPT-6 Luna, $45 on GPT-6.1 Terra, $90 on GPT-6.1 Sol and $450 on GPT-6 Astra.
- A code review assistant running 1,000 reviews a month, each reading 20,000 tokens and writing 1,000: 20 million input and 1 million output tokens. That is $25 on Terra, $50 on Sol and $250 on Astra.
The model choice moves the bill a hundredfold; Batch and caching move it by half or more on top. For your own volumes, use the calculator at the top of the page.
OpenAI API pricing compared to Claude, Gemini and DeepSeek
Per million tokens, GPT-6.1 Sol costs the same as Anthropic’s Claude Sonnet 5.5, $2 in and $10 out, and as Google’s gemini-4-argon at $2 and $10. GPT-6 Luna matches Claude Haiku 5.5 at $0.10 in. GPT-6 Astra’s list price equals Claude Fable 5.1’s, $10 in and $50 out, but its cached input costs $1 against Fable’s $0.25. DeepSeek V4.1 Flash, at $0.30 in at peak, costs more per input token than Luna and less than Terra.
$2ChatGPT API vs ChatGPT subscription
There is no separate “ChatGPT API”: the API behind ChatGPT is the OpenAI API, billed per token at the rates on this page. The model listed as chat-latest, which OpenAI describes as the latest Instant model used in ChatGPT, is priced the same as gpt-5.5: $5 in and $30 out per million tokens.
ChatGPT Free, Go, Plus and Pro are app subscriptions with their own billing. OpenAI’s Help Center says ChatGPT and the API platform have separate billing systems, and API credits, including promotional ones, belong to an API organization, not to your ChatGPT account. You need an API key and a credit balance either way; how to get an OpenAI API key walks through it, and ChatGPT plan prices covers the app side.
OpenAI API pricing FAQ
How much does the OpenAI API cost?
From $0.05 to $10 per million input tokens and $0.40 to $50 per million output tokens, depending on the model. You pay only for the tokens you send and receive, plus tool calls and per-minute audio where you use them.
Is the OpenAI API free?
No. New accounts are prepaid, and the minimum credit purchase is $5. Free credits, if OpenAI granted any to your account, are spent first, but the only model the pricing page lists as free is omni-moderation.
How do OpenAI API credits work?
You buy credits on the API billing page, from $5, and each request is deducted from the balance. Total credit purchases also move you up the usage tiers: $5 for Build, $100 for Launch, $500 for Grow.
Do OpenAI API credits expire?
Yes. Purchased credits expire after one year, and OpenAI says it cannot extend that date. They are non-refundable except for cases such as billing errors or unauthorized use.
How much does the OpenAI Whisper API cost?
Whisper costs $0.006 per minute of audio, checked November 7, 2026. gpt-4o-mini-transcribe costs half that, $0.003 a minute, and gpt-transcribe costs $0.0045.
What is the cheapest OpenAI model?
gpt-5-nano, at $0.05 per million input tokens and $0.40 per million output tokens. Among the GPT-6 models, GPT-6 Luna is the cheapest at $0.10 in.
How much does GPT-6 Astra cost?
$10 per million input tokens and $50 per million output tokens, $5 and $25 through the Batch API, and $20 in once a prompt passes 272,000 tokens.
Does ChatGPT Plus include API access?
No. OpenAI bills ChatGPT plans and the API separately, so the API needs its own credit balance. Compare all API providers
Sources
- OpenAI, API pricing (OpenAI developer documentation), token prices checked 2026-11-07, other prices checked November 7, 2026
- OpenAI, model pages for GPT-6 Astra, GPT-6.1 Sol, GPT-6.1 Terra, GPT-6 Luna, gpt-5.5, gpt-5.4-mini, gpt-5-nano and GPT-5.6 Sol, for context windows and the promotional price, checked November 7, 2026
- OpenAI, Prompt caching, Batch API, Flex processing and Rate limits guides, checked November 7, 2026
- OpenAI Help Center, prepaid billing, and managing billing for ChatGPT and the API platform, checked November 7, 2026
- Artificial Analysis, LLM Leaderboard, Intelligence Index, checked November 7, 2026
Spotted a wrong price? Write to support@gptx.io and we will check it.
Next up3 minAI API pricing compared5OpenAI next to Claude, Gemini, DeepSeek and Grok, on the same workload.