OpenAI API Pricing Explained: GPT-6 Astra, Sol, Terra, Luna
OpenAI’s API now has a four-model flagship line, GPT-6 Astra, GPT-6.1 Sol, GPT-6.1 Terra and GPT-6 Luna, plus older models, Batch and Fast modes, tool fees and regional surcharges. That is a lot of price points for a team that just wants a monthly budget. This guide explains how the API is billed, compares the four flagship models, and works through three monthly cost examples with stated assumptions. All prices are those on OpenAI’s pricing page in October 2026 and can change.
How is the OpenAI API priced?
The OpenAI API charges per token, quoted per million tokens, with separate rates for input, cached input and output. A token is a small chunk of text. You pay for what your application sends and receives, and there is no seat fee. The pricing page then layers several modifiers on top of the base rate:
- Cached input: a repeated prompt prefix is billed at a much lower rate. On GPT-6.1 Sol, cached input is $0.10 per million tokens against $2.00 for fresh input.
- Batch and Flex: the page lists Batch and Flex at the same prices, about 50% of Standard for most models.
- Fast mode: formerly called Priority processing, renamed on July 30, 2026, and roughly twice the Standard price.
- Long context: requests with more than 272,000 input tokens use a higher rate.
- Tools and surcharges: web search, file search, containers, data residency and, from November 1, 2026, FedRAMP endpoints.
What do GPT-6 Astra, Sol, Terra and Luna cost?
As of October 2026, GPT-6 Astra costs $10 per million input tokens and $50 per million output tokens, GPT-6.1 Sol costs $2 and $10, GPT-6.1 Terra costs $1 and $5, and GPT-6 Luna costs $0.10 and $0.50. The table uses the figures on OpenAI’s pricing and models pages, for requests of up to 272,000 input tokens.
| Model | OpenAI’s positioning | Input / MTok | Cached input / MTok | Output / MTok | Batch input / output |
|---|---|---|---|---|---|
| GPT-6 Astra | Most capable model for demanding work | $10.00 | $1.00 | $50.00 | $5.00 / $25.00 |
| GPT-6.1 Sol | Near-Astra performance at lower cost | $2.00 | $0.10 | $10.00 | $1.00 / $5.00 |
| GPT-6.1 Terra | Fast, efficient model for visual reasoning and computer use | $1.00 | $0.05 | $5.00 | $0.50 / $2.50 |
| GPT-6 Luna | Most efficient model for focused, high-volume tasks | $0.10 | $0.01 | $0.50 | $0.05 / $0.25 |
All four list a 1.05 million token context window and a 128,000 token maximum output, according to OpenAI’s models page. The page recommends GPT-6 Astra as the default for complex reasoning and coding, and says all four support functions, web search, file search and computer use.
Older models stay on the price list. GPT-5.6 Sol is $4 input and $20 output, and GPT-5.5 is $5 and $30. The page says promotional pricing for GPT-5.6 Sol runs through November 30, 2026, so check what applies on the day you read it.
Which OpenAI model is best for which job?
Choose the cheapest model that passes your own test set, then move up only where it fails. A practical split, based on OpenAI’s own descriptions:
GPT-6 Astra is for hard reasoning and coding, where one wrong answer is expensive.
- Pros: the strongest model in the line and OpenAI’s recommended default for demanding work.
- Cons: five times the price of Sol on both input and output.
GPT-6.1 Sol is the balance point, described as near-Astra performance at lower cost.
- Pros: a $2 and $10 price that matches the mid tier of rival vendors; Google lists Gemini 4 Argon at $2 and $10 per million tokens as an introductory price through November 30, 2026, rising to $4 and $20 from December 1.
- Cons: still twenty times Luna’s input price.
GPT-6.1 Terra is aimed at visual reasoning, precise computer use and natural writing.
- Pros: half the price of Sol; a good fit for agents that click through screens.
- Cons: you need to test whether its quality is enough for your agent steps.
GPT-6 Luna is for volume: classification, extraction, routing and tagging.
- Pros: by far the lowest price in the flagship line.
- Cons: weaker on hard tasks, where retries can erase the savings.
If you are comparing vendors, our AI API pricing comparison for Claude, GPT and Gemini puts the tiers side by side, and Claude API pricing explained covers the Anthropic equivalent.
How much does a typical workload cost per month?
These are our own calculations from the list prices above, using assumptions we chose. They are not measurements of real usage, and we did not run these workloads. We apply only the cached-input and Batch rates listed on the pricing page.
Example 1: customer-ticket classification
Assumptions: 1,000,000 tickets a month, 500 input tokens and 50 output tokens each. That is 500 million input tokens and 50 million output tokens.
| Model | Standard | With Batch |
|---|---|---|
| GPT-6 Luna | $75 ($50 input + $25 output) | $37.50 |
| GPT-6.1 Terra | $750 ($500 + $250) | $375 |
| GPT-6.1 Sol | $1,500 ($1,000 + $500) | $750 |
| GPT-6 Astra | $7,500 ($5,000 + $2,500) | $3,750 |
For simple labeling, Luna costs 1% of Astra at this volume. Unless a test shows Luna misclassifies too many tickets, paying for a bigger model is hard to justify.
Example 2: an internal coding agent
Assumptions: 2,000 agent tasks a month, each sending 150,000 input tokens and producing 20,000 output tokens: 300 million input tokens and 40 million output tokens, all under the 272,000-token limit. In the second column, 80% of input tokens (240 million) are cache reads.
| Model | No caching | 80% cache reads |
|---|---|---|
| GPT-6 Luna | $50 | $28.40 |
| GPT-6.1 Terra | $500 | $272 |
| GPT-6.1 Sol | $1,000 | $544 |
| GPT-6 Astra | $5,000 | $2,840 |
Caching saves roughly 45% here because output tokens, at $10 per million on Sol, are not discounted. For agent loops that resend a large, stable context, the lesson is to keep the prefix identical between calls and then watch output length, which becomes the main cost.
Example 3: long-document review
Assumptions: 1,000 contracts a month, each 400,000 input tokens with a 3,000-token summary: 400 million input tokens and 3 million output tokens. Each request is above 272,000 tokens, so the long-context rates apply.
| Model | Standard (long context) | Batch (long context) |
|---|---|---|
| GPT-6.1 Sol | $1,645 ($1,600 + $45) | $822.50 |
| GPT-6 Astra | $8,225 ($8,000 + $225) | $4,112.50 |
Long context doubles the input price on both models. If you can split a 400,000-token document into sections that each stay below 272,000 tokens without losing meaning, the same job on Sol would cost about $830 instead of $1,645 at standard rates. Whether splitting preserves quality is something you must test.
What would a 10-person engineering team pay?
Assumptions (ours, not measured): 10 developers, 20 agent tasks each per working day, 21 working days: 4,200 tasks a month. Each task sends 100,000 input tokens and returns 8,000 output tokens, so 420 million input and 33.6 million output tokens, under the 272,000-token limit.
| Setup | Calculation | Monthly cost |
|---|---|---|
| GPT-6.1 Sol, no caching | 420 x $2 + 33.6 x $10 | $1,176 |
| GPT-6.1 Sol, 80% cache reads, fresh input written to a 30-minute cache | 336 x $0.10 + 84 x $2.50 + 33.6 x $10 | $579.60 |
| GPT-6.1 Terra, no caching | 420 x $1 + 33.6 x $5 | $588 |
| GPT-6.1 Terra, 80% cache reads, 30-minute writes | 336 x $0.05 + 84 x $1.25 + 33.6 x $5 | $289.80 |
The pricing page, re-checked on November 16, 2026, now lists cache write prices too: 30-minute writes cost $2.50 per million on Sol and 12-hour writes cost $5.00, against $2.00 for ordinary input. That means caching only pays when the same prefix is read several times after it is written. The earlier examples ignore write costs, so treat their caching savings as an upper bound.
Per developer, the cheapest setup above is about $29 a month and the dearest about $118. Compare that with a seat price before you decide: for a team where only some people code all day, per-seat tools may cost less than raw API usage, and for automated pipelines the API is usually the only sensible choice.
Decision rules: start routine steps on Luna or Terra, escalate to Sol only when your tests fail, reserve Astra for tasks where an error costs more than the 5x price, and send anything that can wait for Batch.
What can raise your OpenAI API bill?
The list price is rarely the whole story. Watch for these:
- Output tokens. They cost five times the input rate on all four flagship models. Verbose answers and long reasoning inflate the bill.
- Fast mode. About double Standard: GPT-6.1 Sol is $4 input and $20 output. The page also lists an Ultrafast tier for two models, at $12 and $60 on Sol, six times the Standard rate.
- Web search. $10 per 1,000 calls, plus search content tokens billed at the model rate. An agent that runs 50,000 searches a month adds $500 before any tokens.
- File search and containers. File search storage is $0.10 per GB per day after the first free gigabyte, and calls are $2.50 per 1,000. Hosted containers are billed per 20-minute session, with a five-minute minimum.
- Data residency. Regional processing endpoints carry a 10% uplift for models released on or after March 5, 2026, and the page says FedRAMP endpoints get a 10% uplift starting November 1, 2026.
- Fine-tuning. OpenAI says it is winding down fine-tuning; new users cannot access it, so do not build a plan around it.
- Retries and agent loops. A cheap model that needs three attempts can cost more than a stronger model that succeeds once. Measure cost per completed task, not cost per token.
To keep spending under control, read our guide to AI API spend limits at Anthropic, OpenAI and Google. If your team is deciding between seat plans and the API, see ChatGPT subscription or API: which is cheaper.
What should you ask before committing to the OpenAI API?
A short checklist for procurement and engineering:
- Which model passes our evaluation set at the lowest cost per completed task?
- What share of our traffic repeats the same prompt prefix, and can caching cover it?
- Which jobs can wait for Batch, and which truly need an immediate answer?
- Do any requests exceed 272,000 input tokens, and can we split them?
- Do we need regional data residency or FedRAMP, and what does the 10% uplift add?
- Which promotional prices end soon, and what is the budget at the normal price?
- How are we notified of price changes, and who owns the review each quarter?
How we chose and checked these numbers
This guide uses two pages published by OpenAI, the pricing page and the models page, and one page from Google for the comparison with Gemini 4 Argon. Every price in the tables comes from those pages as read in October 2026. The cost examples are arithmetic on those prices with assumptions stated above; they are illustrations, not benchmarks. We did not run the models or measure real token counts, and your prompts, outputs and cache hit rates will differ. Prices on all of these pages change often, so confirm them on the vendor page before you sign anything.
Which model should most teams start with?
Start with GPT-6.1 Sol for general work, move routine high-volume steps to Luna, and keep Astra for the few tasks where your tests show a real quality gap. Turn on caching early, send everything that can wait through Batch, and set spend alerts before launch. Then recheck the pricing page every quarter, because the vendors move prices and promotions frequently.
Frequently asked questions
How much does the OpenAI API cost per million tokens?
As of October 2026, OpenAI's pricing page lists GPT-6 Astra at $10 input and $50 output, GPT-6.1 Sol at $2 and $10, GPT-6.1 Terra at $1 and $5, and GPT-6 Luna at $0.10 and $0.50 per million tokens, for requests up to 272,000 input tokens.
Is the OpenAI API cheaper with Batch?
Yes. For the flagship models the Batch price is about half of Standard, for example $1 input and $5 output per million tokens on GPT-6.1 Sol. Batch is asynchronous, so it suits work that does not need an immediate answer.
What counts as long context on the OpenAI API?
OpenAI's pricing page defines long context as more than 272,000 input tokens. For GPT-6.1 Sol, such requests are listed at $4 input and $15 output per million tokens instead of $2 and $10.
Does ChatGPT Plus or Business include API credits?
Do not assume so. ChatGPT seat plans and the API are separate products with separate pricing pages. Check both before budgeting, and see our comparison of subscriptions and API billing.
Are there extra fees on top of token prices?
Yes. Web search costs $10 per 1,000 calls plus the search content tokens, file search storage and calls are charged, and regional data-residency endpoints carry a 10% uplift for models released on or after March 5, 2026.