OpenAI API pricing is per token, and the model you pick sets most of the bill. On OpenAI's API pricing page, checked on 30 November 2026, the four current flagship models cost, per million tokens: GPT-6.2 Astra $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. Cached input costs a twentieth of the input rate on Astra, Sol and Terra and a tenth on Luna. The Batch API halves token prices in exchange for a 24-hour turnaround. Fast mode, the new name for priority processing, doubles them on the newest models. This guide lists every current text model, explains caching, Batch, Flex, Fast mode and the built-in tool fees, and works through three monthly bills.
The four flagship models
OpenAI's models page recommends Astra for complex reasoning and coding, Sol to balance intelligence and cost, and Luna for cost-sensitive, high-volume work. Terra is described as a fast, efficient model for visual reasoning, computer use and natural writing. All four are reasoning models with a 1,050,000-token context window and 128,000 maximum output tokens. Prices below are Standard processing for prompts up to 272,000 input tokens, from OpenAI's pricing page and the API pricing cards, checked on 30 November 2026, in US dollars per million tokens.
| Model | Input | Cached input | Cache write (30 min) | Output | OpenAI's description |
|---|---|---|---|---|---|
| GPT-6.2 Astra | $8.00 | $0.40 | $10.00 | $40.00 | Most capable, for the hardest projects |
| GPT-6.2 Sol | $2.00 | $0.10 | $2.50 | $10.00 | Go-to model for everyday work and agents at scale |
| GPT-6.1 Terra | $1.00 | $0.05 | $1.25 | $5.00 | Fast and efficient; visual reasoning, computer use, writing |
| GPT-6 Luna | $0.10 | $0.01 | $0.125 | $0.50 | Most efficient, for focused, high-volume tasks |
Above 272,000 input tokens the long-context rate applies: input doubles and output rises by half. Astra $16 and $60, Sol $4 and $15, Terra $2 and $7.50, Luna $0.20 and $0.75 (pricing page, checked 30 November 2026). Keep prompts under that line unless the task needs the whole document.
Every other text model still on the price list
Older models stay available at their own prices, which matters if your code still names one. These are Standard and Batch rates per million tokens from OpenAI's pricing page, checked on 30 November 2026.
| Model | Input | Cached input | Output | Batch input / output |
|---|---|---|---|---|
| GPT-6.1 Sol | $2.00 | $0.10 | $10.00 | $1.00 / $5.00 |
| GPT-6 Astra | $10.00 | $1.00 | $50.00 | $5.00 / $25.00 |
| GPT-6 Sol | $2.00 | $0.20 | $10.00 | $1.00 / $5.00 |
| GPT-5.6 Sol | $4.00 | $0.40 | $20.00 | $2.00 / $10.00 |
| GPT-5.6 Terra | $2.00 | $0.20 | $12.00 | $1.00 / $6.00 |
| GPT-5.6 Luna | $0.20 | $0.02 | $1.20 | $0.10 / $0.60 |
| GPT-5.5 | $5.00 | $0.50 | $30.00 | $2.50 / $15.00 |
| GPT-5.5 Pro | $30.00 | Not offered | $180.00 | $15.00 / $90.00 |
| GPT-5.4 | $2.50 | $0.25 | $15.00 | $1.25 / $7.50 |
| GPT-5.2 | $1.75 | $0.175 | $14.00 | $0.875 / $7.00 |
| GPT-5 and GPT-5.1 | $1.25 | $0.125 | $10.00 | $0.625 / $5.00 |
| GPT-4.1 | $2.00 | $0.50 | $8.00 | $1.00 / $4.00 |
| GPT-4o | $2.50 | $1.25 | $10.00 | $1.25 / $5.00 |
| o3 | $2.00 | $0.50 | $8.00 | $1.00 / $4.00 |
The pricing page notes that GPT-5.6 Sol's promotional pricing runs until 30 November 2026, the day we checked, so its rate may change. The Pro models (GPT-5.5 Pro, GPT-5.4 Pro at the same $30 and $180) spend more compute per answer and have no cached-input rate.
GPT mini and nano pricing
There is no mini or nano version of the GPT-6 family. Luna fills that role. The last mini and nano models are still listed, at these rates per million tokens (pricing page, checked 30 November 2026):
| Model | Input | Cached input | Output | Batch input / output |
|---|---|---|---|---|
| GPT-6 Luna (for comparison) | $0.10 | $0.01 | $0.50 | $0.05 / $0.25 |
| GPT-5.4 mini | $0.75 | $0.075 | $4.50 | $0.375 / $2.25 |
| GPT-5.4 nano | $0.20 | $0.02 | $1.25 | $0.10 / $0.625 |
| GPT-5 mini | $0.25 | $0.025 | $2.00 | $0.125 / $1.00 |
| GPT-5 nano | $0.05 | $0.005 | $0.40 | $0.025 / $0.20 |
| GPT-4.1 mini | $0.40 | $0.10 | $1.60 | $0.20 / $0.80 |
| GPT-4o mini | $0.15 | $0.075 | $0.60 | $0.075 / $0.30 |
Luna is cheaper than GPT-5.4 mini on both input and output and has a newer knowledge cutoff (May 2026 against August 2025, per the model pages). GPT-5 nano is the only listed text model with cheaper input than Luna.
Reasoning tokens are billed as output
Every current flagship model reasons before it answers. OpenAI's reasoning guide says reasoning tokens are not visible through the API but are billed as output tokens. A reply that shows 300 words may have used several thousand output tokens to think. The reasoning.effort setting controls this, with values from none to max depending on the model; GPT-6.1 Sol, GPT-6 Sol and GPT-6 Luna default to medium, and GPT-6.2 Astra and Sol reject none. Set max_output_tokens to cap what one request can spend, and measure real output token counts before you trust any estimate, including ours.
Discounts and surcharges: caching, Batch, Flex, background and Fast mode
- Cached input. OpenAI's prompt caching guide says that from GPT-5.6 onwards, writing a prefix to the cache costs 1.25x the input rate for the default 30-minute lifetime, or 2.5x for a 12-hour lifetime. Reads cost 0.05x on GPT-6.2 Astra, GPT-6.2 Sol, GPT-6.1 Sol and GPT-6.1 Terra and 0.1x on most other recent models. A prefix must be at least 1,024 tokens to be cached. Older models charge nothing extra for writes. One trap: on GPT-6.2 models, top-level
instructionsare billed at the uncached rate on every request, so put reusable instructions in the first developer message instead. - Batch API. The Batch guide gives a 50% discount, a separate rate limit and completion within 24 hours. Batch prices are on the pricing page for every flagship model.
- Flex processing. Flex charges Batch rates for normal API calls that may run slowly or return a
429 Resource Unavailableerror, which is not charged. The Flex guide says it is being wound down: it is unavailable on GPT-6.2 Astra and Sol and will not be added to new models. - Background completion windows. Flex's replacement. In the background mode guide, a request that can wait 2 hours costs 30% below Standard, and one that can wait 8 hours costs 40% below. It is in public beta on GPT-6.2 Astra, GPT-6.2 Sol, GPT-6.1 Terra and GPT-6 Luna.
- Fast mode (called priority processing until 30 July 2026) runs up to 2.5x faster, per the Fast mode guide, and on the GPT-6 and GPT-5.6 models costs twice Standard: GPT-6.2 Sol is $4 input and $20 output. Older models have their own Fast rates on the pricing page. Ultrafast on GPT-6.2 Astra and Sol costs 3x Standard until 28 February 2027 and 6x from 1 March 2027 (pricing page, checked 30 November 2026).
- Data residency. Regional processing endpoints add 10% for models released on or after 5 March 2026, and FedRAMP endpoints add 10% too.
Built-in tools, images, audio and fine-tuning
Tools carry their own fees on top of the tokens they use, which are billed at the model's rates. From OpenAI's pricing page, checked on 30 November 2026:
| Item | Price |
|---|---|
| Web search | $10 per 1,000 calls, plus search content tokens at model rates |
| Web search preview (non-reasoning models) | $25 per 1,000 calls; search content tokens free |
| File search | $2.50 per 1,000 calls (Responses API); storage $0.10 per GB per day, first 1 GB free |
| Hosted Shell and Code Interpreter | $0.03 (1 GB), $0.12 (4 GB), $0.48 (16 GB) or $1.92 (64 GB) per 20-minute container session |
| GPT-Image-2.6 Sunburst or Flare | Image input $8, image output $30, text input $5 per million tokens |
| GPT-Realtime-2.1 | Audio input $32, audio output $64 per million tokens |
| GPT-Realtime-2.1 mini | Audio input $10, audio output $20 per million tokens |
| GPT-Live-1.1 voice sessions | $0.05 a minute active, $0.02 a minute on standby |
| GPT-Transcribe | about $0.0045 a minute |
| text-embedding-3-small / large | $0.02 / $0.13 per million tokens |
| omni-moderation | Free |
Fine-tuning is closed to new users. Existing users can keep training GPT-4.1 and GPT-4o ($25 per million training tokens) and their mini versions for now, and fine-tuned models stay available until their base models are retired. OpenAI models bought through Amazon Bedrock or Microsoft Azure are billed by those providers at their prices, not these.
Three worked monthly bills
These are our arithmetic on the rates above, checked on 30 November 2026. Every volume is an assumption, labelled as one. Your real token counts will differ, so treat the method as the useful part.
1. A customer support agent on GPT-6.2 Sol
Assumptions: 20,000 conversations a month, 6 model requests each (120,000 requests). Each request carries a 4,000-token stable prefix (instructions, policies, tool definitions), 2,000 tokens of conversation and 1,500 tokens of retrieved help-centre text, so 7,500 input tokens, and returns 400 output tokens including reasoning. One file search call per conversation and a 2 GB knowledge base.
| Line | Arithmetic | Monthly cost |
|---|---|---|
| Input, no caching | 120,000 x 7,500 = 900M tokens x $2 | $1,800.00 |
| Output | 120,000 x 400 = 48M tokens x $10 | $480.00 |
| File search calls | 20,000 x $2.50 per 1,000 | $50.00 |
| File storage | 1 GB above the free GB x $0.10 x 30 days | $3.00 |
| Total without caching | $2,333.00 |
Now cache the 4,000-token prefix with an explicit breakpoint, so only that part is written to the cache. Assume it is rewritten once every 30 minutes (1,440 writes a month) and read on every other request.
| Line | Arithmetic | Monthly cost |
|---|---|---|
| Cache writes | 1,440 x 4,000 = 5.76M tokens x $2.50 | $14.40 |
| Cache reads | 118,560 x 4,000 = 474.24M tokens x $0.10 | $47.42 |
| Uncached input | 120,000 x 3,500 = 420M tokens x $2 | $840.00 |
| Output and tools | As above | $533.00 |
| Total with caching | $1,434.82 |
Caching cuts the bill by about 39%. Running the same traffic on GPT-6 Luna with no caching would be $90 input, $24 output and $53 in tool fees, about $167 a month, but only if Luna resolves tickets as well on your own test set. Our SaaS support automation playbook covers how to measure that.
2. Document extraction on GPT-6.1 Terra, with Batch and caching
Assumptions: 50,000 documents a month (invoices or forms), each sent as 3,000 tokens of text behind a 1,500-token stable prefix (instructions, JSON schema, two examples), returning 500 output tokens. Nobody waits on the result, so it can run overnight. We picked Terra because OpenAI positions it for visual reasoning; test Luna as well.
| Option | Arithmetic | Monthly cost |
|---|---|---|
| Standard, no caching | 225M input x $1 + 25M output x $5 | $350.00 |
| Standard, prefix cached | 1,000 writes x 1,500 tokens x $1.25 ($1.88) + 73.5M reads x $0.05 ($3.68) + 150M x $1 + $125 output | $280.55 |
| Background, 8-hour window | $350 x 0.6 | $210.00 |
| Batch API, no caching | $350 x 0.5 | $175.00 |
| Batch API, prefix cached | Batch rates are half of every Standard rate, including cache reads and writes | about $140.28 |
| GPT-6 Luna, Standard, no caching | 225M x $0.10 + 25M x $0.50 | $35.00 |
Batch plus caching cuts the Terra bill by about 60%. Two caveats. Cache hits inside a batch are not guaranteed, so treat the last Terra row as a best case. And if the prefix were under 1,024 tokens it could not be cached at all; the caching guide suggests lengthening a short shared prefix with useful examples when the reuse pays for the extra tokens.
3. A coding agent on GPT-6.2 Astra or Sol
Assumptions: 400 agent tasks a month, 40 requests per task (16,000 requests). Each request has an 80,000-token context, of which 72,000 are read from cache and 8,000 are new tokens written to the 30-minute cache, and produces 2,000 output tokens including reasoning. Each task uses one 20-minute, 4 GB container and 5 web searches.
| Line | GPT-6.2 Astra | GPT-6.2 Sol |
|---|---|---|
| Cache reads per request | 72,000 x $0.40 = $0.0288 | 72,000 x $0.10 = $0.0072 |
| Cache writes per request | 8,000 x $10 = $0.08 | 8,000 x $2.50 = $0.02 |
| Output per request | 2,000 x $40 = $0.08 | 2,000 x $10 = $0.02 |
| Per request | $0.1888 | $0.0472 |
| 16,000 requests | $3,020.80 | $755.20 |
| Containers (400 x $0.12) | $48.00 | $48.00 |
| Web search calls (2,000 x $10 per 1,000) | $20.00 | $20.00 |
| Monthly total | $3,088.80 | $823.20 |
Search content tokens are extra, at model rates. Without caching, the same Astra workload would be 80,000 x $8 = $0.64 of input per request, or $11,520 a month in model tokens alone. In agent loops that resend a long, growing context, caching is the largest lever you have. A common split is Sol for most steps and Astra only for planning or final review.
Which model for which job
This is our starting recommendation, based on OpenAI's own model descriptions and the prices above (checked 30 November 2026 on the pricing page). Run your own evaluation before committing.
| Job | Start with | Why |
|---|---|---|
| Hard coding, long agent runs, final review | GPT-6.2 Astra ($8 / $40) | OpenAI's most capable model; use it where mistakes cost more than tokens |
| Support agents, everyday coding, agents at scale | GPT-6.2 Sol ($2 / $10) | OpenAI's default for everyday work at a quarter of Astra's price |
| Reading documents and screenshots, computer use, writing | GPT-6.1 Terra ($1 / $5) | Positioned for visual reasoning and natural writing |
| Classification, routing, simple extraction, subagents | GPT-6 Luna ($0.10 / $0.50) | Lowest-cost current model for high-volume tasks |
| Overnight or bulk jobs | Any of the above on Batch | 50% off with a 24-hour turnaround |
| Live voice | GPT-Live-1.1 ($0.05 a minute) or GPT-Realtime-2.1 mini | Priced per minute or per audio token |
| Search over your own documents | text-embedding-3-small ($0.02) | Embeddings are a small share of most bills |
The API is not ChatGPT
A ChatGPT subscription does not pay for API calls. ChatGPT's own pricing documentation says API-key usage is billed at separate API pricing, not from a ChatGPT allowance. On that page and chatgpt.com/pricing, checked on 30 November 2026, individual plans in the US are Free ($0), Go ($8 a month), Plus ($20) and Pro from $100, with Pro tiers at $100, $200 and $500. ChatGPT Business is $20 a seat a month billed annually or $25 monthly, and includes up to $500 a month in API credits for the workspace, subject to eligibility. Enterprise is priced on request. Choose ChatGPT for people chatting with a model. Choose the API when your own product or workflow calls the model, and you pay only for tokens and tools used.
Keeping the bill predictable
- Set limits. Use project spend limits and
max_output_tokensso one runaway loop cannot spend a month's budget in a night. - Cache deliberately. Put stable instructions, tool definitions and reference text first, and keep anything that changes after the last breakpoint.
- Route by difficulty. Send easy steps to Luna or Terra and reserve Astra for the steps that need it.
- Move anything that can wait to Batch or an 8-hour background window.
- Re-check prices monthly. In 2026 OpenAI renamed priority processing, started winding down Flex and added cache-write charges. Our platform price tracker records changes like these.
The model bill is usually the smaller part of what an AI feature costs. Building, testing, monitoring and changing it costs more, as our breakdown of what an AI agent costs shows. If you are comparing providers, read our Claude API pricing guide and Qwen API pricing guide next to this one. When you want an agent built and run in production, our AI agent development service covers model choice, cost limits and the evaluation set that tells you which model is good enough.

