OpenAI API Pricing (2026): GPT-6.1 Sol and Three App Budgets
OpenAI API rates verified October 2026, with GPT-6.1 Sol, Luna and Astra budgets plus voice, images, search and container costs.
Published Updated
- OOpenAI API
Codex

OpenAI API pricing puts GPT-6.2 Astra at $8 per million input tokens, $0.40 for cached input and $40 for output. At the same billed usage, moving a coding workload from the previous Astra to the new one cuts the example bill from $550 to $410 a month. GPT-6.2 Sol keeps its predecessor's rates, so the same coding workload still costs $140 on Sol.
Since November 17, 2026, GPT-6.2 Astra and GPT-6.2 Sol have been available in the API as gpt-6.2-astra and gpt-6.2-sol, with Ultrafast available on both at launch. OpenAI says Astra input and output rates fell 20% and cached input fell 60% against the previous Astra. GPT-6.2 launch announcement.
Rates verified November 18, 2026. OpenAI bills the API for tokens and tool use. The budgets below use the same hypothetical workloads at current rates, so changes in the totals reflect pricing.
OpenAI API Pricing by Model
OpenAI features GPT-6.2 Astra for its hardest work and GPT-6.2 Sol for everyday coding and agents. The main rate card also features GPT-6.1 Terra for visual reasoning, computer use and writing, and GPT-6 Luna for focused, high-volume work.
Token rates are in USD per million tokens. The featured text rates apply to Standard processing with up to 272K input tokens per request. Time-based models have a separate meter. The previous Astra and Sol models still have Standard rates in the detailed API price sheet.
For time-priced models, the listed price is a time-based charge. Other charges can still apply, such as backend model and tool usage for GPT-Live-1.
Terra's model page lists a 1,050,000-token context window and 128,000 maximum output tokens. It accepts text and images and produces text; audio and video are not supported model inputs. Tool calling requires the Responses API. Long-context pricing can apply well before the model reaches its capacity limit.
Which Model Should a Small Team Default To?
Evaluate Terra for bounded coding and step up to GPT-6.2 Sol for more open-ended work. At the same coding volumes, Terra's base bill is $95 against Sol's $140. Spend the extra $45 if Sol saves more than that in review and corrections.
Terra is a candidate for a bounded code change, extracting information from a document or operating an application screen. Compare it with Sol on the same tickets and count how many changes pass review without a second attempt.
Use GPT-6 Luna for a narrow job with a clear acceptance check. A support classifier that selects a known category or a summarizer whose output can be checked against its source is a better candidate than an open-ended coding task.
Set aside GPT-6.2 Astra for work where a wrong answer or a failed attempt costs more than the upgrade. Its coding base bill is $410 at the same usage, a $315 premium over Terra or $270 over Sol. Compare that gap with the cost of correcting an unsuccessful run.

What Does One Million Tokens Cost?
There is no single price for one million OpenAI tokens. A token is a unit of material processed by the model. Input is the material sent in; output is the generated material billed back. Cached input is reused input that the API bills at the lower cached rate.
One million uncached input tokens plus one million output tokens costs $48 on Astra, $12 on Sol, $6 on Terra or $0.60 on Luna. That is two million billed tokens. One million total tokens split equally between uncached input and output costs $24, $6, $3 or $0.30 respectively.
To calculate a text-model bill, separate ordinary input, cache reads and cache writes:
Token cost = ordinary input / 1M × input rate + cached reads / 1M × read rate + 30-minute writes / 1M × 30-minute write rate + 12-hour writes / 1M × 12-hour write rate + output / 1M × output rate.
Subtract cache reads and writes from total input to get ordinary input. If writes are already in your estimate at the ordinary rate, add only the difference. At Standard short-context rates, 30-minute and 12-hour writes cost $10 and $20 on Astra, $2.50 and $5 on Sol, and $1.25 and $2.50 on Terra. Luna's 30-minute rate is $0.125. The cache lifetime is a minimum retention period. Prompt caching guide.
On both Terra and Sol, cached input is 95% cheaper than ordinary input. One million output tokens costs as much as 100 million cached input tokens. Count billed output across the whole agent task, including any output beyond the final answer a user sees.
OpenAI API Pricing Calculator: Three Monthly Workloads
The three workloads have a $114.40 monthly base budget under the suggested routing, before cache-write uplifts. These planning examples use the same billed volumes for each model. Compare accepted work before choosing a route.
Each individual request is assumed to stay at or below 272K input tokens. Cached volumes mean billed cache reads, and output includes all billed output across all calls. The stated input volumes include any billed search content. Tool activity is included where stated; subscription fees, hosting and other unspecified meters are outside these totals.
The original workloads specify fresh input and cache hits but no write counts. To keep the comparison like for like, the base totals below price all noncached input at the ordinary rate. For each million of those tokens billed as writes instead, add 0.25 times the ordinary-input rate for 30-minute writes, or 1.5 times for 12-hour writes. The examples show the effect without guessing a cache-write volume for your app.
Support Bot: $13.90 Base on Luna, $47 on Terra
Assume 10,000 conversations per month. Across each conversation's calls, budget 1,000 fresh input tokens, 4,000 cached input tokens and 500 output tokens. Monthly totals are 10M fresh input, 40M cached input and 5M output. Assume another 1,000 web-search calls during the month.
On Luna, the tokens cost:
10 × $0.10 + 40 × $0.01 + 5 × $0.50 = $3.90.
The search calls add $10, bringing the base total to $13.90, or $1.39 per 1,000 conversations. With the same usage, Terra costs 10 × $1 + 40 × $0.05 + 5 × $5 = $37 in tokens plus $10 search, or $47, equivalent to $4.70 per 1,000 conversations. Sol costs 10 × $2 + 40 × $0.10 + 5 × $10 + $10 = $84. Astra costs 10 × $8 + 40 × $0.40 + 5 × $40 + $10 = $306. The previous Astra estimate was $400.
Luna is the economical candidate if the bot handles a bounded support job and its answers pass your acceptance checks. This bill assumes the reusable material qualifies for cached billing. With prompt caching disabled, all 50M input tokens use the ordinary rate: Luna's token subtotal becomes $7.50 and its total becomes $17.50. Terra would cost $85 with the same no-cache input and output volumes. Separately, if all 10M noncached input tokens are billed as 30-minute writes, the cached-case base totals rise from $13.90 to $14.15 on Luna, or from $47 to $49.50 on Terra. Record both cache reads and writes before treating caching as a saving.
Coding Agent: $95 Base on Terra, $140 on Sol
Assume 1,000 coding tasks per month. Across all turns of each task, budget 15,000 fresh input tokens, 100,000 cached input tokens and 5,000 output tokens. The month therefore uses 15M fresh input, 100M cached input and 5M output. A task can contain multiple requests; these are task totals.
Also assume 2,000 web-search calls and 1,000 container sessions, each using 1 GB and the source's 20-minute session unit.
Terra's base token bill is:
15 × $1 + 100 × $0.05 + 5 × $5 = $45.
Search costs 2,000 × $0.01 = $20, and containers cost 1,000 × $0.03 = $30. The base total is $95 per month, or $0.095 per task. The assumed input volumes already include billable search content.
At identical billed volumes, Sol costs 15 × $2 + 100 × $0.10 + 5 × $10 = $90 in tokens plus $50 in tools, totaling $140, or $0.14 per task. Astra costs 15 × $8 + 100 × $0.40 + 5 × $40 + $50 = $410, down from $550 on the previous Astra. Luna costs 15 × $0.10 + 100 × $0.01 + 5 × $0.50 + $50 = $55.
If all 15M noncached tokens are billed as 30-minute cache writes, Terra's total becomes $98.75 and Sol's becomes $147.50. With 12-hour writes, substitute that higher write rate in the same formula. A cache hit has a low rate; creating and renewing the cache is not free.
Tool fees stay at $50 across the example routes. Switching from Sol to Terra saves $45 out of the $140 app bill. Moving from Terra to Luna saves another $40, provided Luna completes acceptable work. Sol and Astra earn their respective $45 and $315 premiums over Terra when they avoid more than that in rework. That is the decision rule a token-only comparison cannot supply.

Batch Summarizer: $5.50 on Luna, $55 on Terra
Assume 20,000 documents per month, each with 4,000 uncached input tokens and 300 output tokens. That produces 80M input and 6M output tokens. Assume these one-off documents use no prompt caching or paid tools. The summaries can be processed asynchronously over the Batch API's 24-hour window.
Luna costs (80 × $0.10 + 6 × $0.50) × 0.50 = $5.50 per month on Batch, or $0.275 per 1,000 summaries.
On Terra, Standard processing would cost 80 × $1 + 6 × $5 = $110; Batch halves that total, $110 × 0.50 = $55, or $2.75 per 1,000 summaries. On Sol, (80 × $2 + 6 × $10) × 0.50 = $110. On Astra, (80 × $8 + 6 × $40) × 0.50 = $440, down from $550 on the previous Astra. Use the cheaper model when the summaries meet the required standard; move individual difficult documents to a stronger model when their correction cost warrants it. A customer waiting for an immediate reply is a different workload and should not be budgeted as asynchronous Batch work.
The Combined Monthly Budget
The suggested base route totals $13.90 Luna support + $95 Terra coding + $5.50 Luna Batch summaries = $114.40. Using Sol for coding totals $159.40 under the same assumptions, a $45 difference. If all noncached support and coding tokens are instead billed as 30-minute writes, the new route becomes $118.40.
Using Terra for all three has a $197 base cost: $47 support, $95 coding and $55 Batch summaries. Using Sol for all three costs $84 + $140 + $110 = $334. Astra costs $306 + $410 + $440 = $1,156, down from $1,500 on the previous Astra. Luna costs $13.90 + $55 + $5.50 = $74.40, provided its work is acceptable. Each comparison excludes cache-write uplifts and holds billed token and tool volumes constant.
For an app operator, that distinction decides the bill. A model needing more turns can consume more input, output, search calls and sessions. Compare cost per accepted conversation, completed coding task or usable summary before applying the lowest rate to the entire product.
OpenAI Batch API Pricing and Data Residency
Batch cuts input and output rates by 50% for work that can wait up to 24 hours. It fits overnight document summaries and categorization. Flex can also lower token costs in exchange for slower responses and occasional resource unavailability. Terra's Flex rates are half its Standard rates and its Fast rates are double.
Ultrafast on GPT-6.2 Astra and GPT-6.2 Sol costs 3× Standard through February 28, 2027, and 6× starting March 1, 2027, Pacific time. The current short-context rates below are USD per million tokens. Use the scheduled 6× rate when budgeting a rollout that extends past the introductory window.
For the four featured text models, requests above 272K input tokens cost twice the applicable input and cache rates and 1.5 times the output rate for the full request. Estimate long requests before choosing a speed tier, since both adjustments can affect the same request.
Regional processing multiplies applicable model-token rates by 1.10 where available. For Terra's $45 coding model subtotal, that produces $49.50, an extra $4.50, before cache-write adjustments. Apply the uplift to eligible model-token charges. Check regional availability for your model and processing tier.
Tools Can Set the Cost Floor
Count search calls and container sessions separately from model tokens. A token estimate can be correct while the monthly budget remains too low because a task invokes additional paid resources.
OpenAI Web Search API Pricing
Web search costs $10 per 1,000 calls, plus search content tokens billed at model rates in the detailed API rate sheet. The call fee is $0.01, so 100 calls cost $1 and 10,000 calls cost $100 before those tokens. The business pricing page still says search content is free; the detailed API price sheet specifies the charge for the metered tool used in these examples. The examples include retrieved content in their input volumes.
In the support example, 1,000 searches cost more than the entire Luna token subtotal. Make search frequency a deliberate product choice. A reply that genuinely needs current information can justify a search; a reply using an already supplied support policy should not automatically inherit a search budget.
Containers: The Session Is the Billing Unit
Containers, execution environments used alongside models, cost $0.03 for 1 GB or $1.92 for 64 GB, per 20-minute session per container. The pricing page dates that session billing to March 31, 2026.
The coding example assumes 1,000 one-GB sessions. Count sessions separately from coding tasks, especially when tasks use several containers or span multiple session windows.
At the listed 64-GB rate, those 1,000 sessions would cost $1,920. Keeping the same Sol tokens and search calls would raise the coding base month from $140 to $2,030, before cache-write uplifts. Terra with those larger containers would cost $45 + $20 + $1,920 = $1,985 on the same base assumptions. The larger container's session fee is 64 times the smaller one's. The detailed rate sheet also lists 4 GB at $0.12 and 16 GB at $0.48 per 20-minute session. It says eligible sessions are billed by the minute with a 5-minute minimum; the examples here explicitly assume full 20-minute sessions.
OpenAI Realtime API Pricing
GPT-Realtime-2.1 uses different prices for audio, text and image input. Audio tokens are a voice billing meter; they should not be treated as text tokens or converted to minutes with an unsupported rule.
One million uncached audio input tokens plus one million audio output tokens costs $32 + $64 = $96 on GPT-Realtime-2.1. The same token volumes cost $10 + $20 = $30 on GPT-Realtime-2.1 mini. Text and image inputs use their own rows in the table.
For time-based work, GPT-Live-1 is the conversation model, GPT-Live-Transcribe handles live speech-to-text, GPT-Transcribe handles asynchronous transcription, and GPT-Realtime-Translate handles realtime translation. Using the displayed minute rates, 1,000 minutes costs $50, $17, $4.50 or $34 respectively. Each model has a distinct voice workload. These figures cover the listed time meter only; the detailed API price sheet bills GPT-Live backend model and tool usage separately. The page gives no conversion that turns the Realtime audio-token example into an equivalent number of minutes.
OpenAI Image API Pricing
GPT-Image-2.6 Sunburst and GPT-Image-2.6 Flare have the same listed token rates. Both charge $8 for image input, $2 for cached image input and $30 for image output per million tokens; text prompts cost $5 input or $1.25 cached input. OpenAI positions Sunburst around editing precision and Flare around everyday generation speed.
An assumed one million generated image tokens plus one million uncached text-prompt tokens costs $30 + $5 = $35 on either model. The price is for image tokens. The number of generated images depends on how many tokens each image uses.
Budget image work from its actual billed image and text meters. Avoid promising a fixed per-image charge from a per-token row, or selecting between these models on a price difference this page does not show.
Subscriptions, Free Access and Other Billing Questions
A ChatGPT subscription does not pay your application's API bill. OpenAI explicitly separates API billing from ChatGPT Plus, Business, Enterprise and Edu. Use the ChatGPT pricing guide for the subscription decision, and budget app usage separately.
OpenAI Codex API Pricing
Codex is OpenAI's coding product; the relevant distinction is how you pay for its use. When budgeting separately billed API activity, use the model, token and tool meters above. Product-plan allowances are a different purchase. The Codex pricing guide covers that subscription decision.
Buying a seat for a developer does not turn the support bot, automated coding workload or batch summarizer into prepaid app usage. Keep product subscription spending and the application's metered API spending as separate budget lines.
OpenAI API Pricing Free Tier
The retrieved pricing page lists no general free API token allowance. It explicitly says Playground usage, the browser interface for trying requests, is billed like regular API usage. Do not budget experimentation as free merely because it happens outside your app.
Someone using only a free ChatGPT experience may never need to buy API usage. Once your app makes paid API requests, that free-app choice is no basis for a free production budget.
This source does not state a universal API student discount, an API refund policy, credit expiry or an annual token-price commitment. Those omissions are not proof that no account-specific offer or separate policy exists. They mean this pricing snapshot cannot promise one. In particular, do not import a subscription's refund or annual-billing terms into an API budget.
Set Next Week's Budget From Completed Work
Evaluate Terra for routine work, retain Sol for complex coding, and measure the entire task. Your next budget should use observed billed usage rather than the number of words in the final reply.
Record a baseline
For representative work, record ordinary input, cache reads, cache writes by lifetime, billed output, searches and container sessions across every turn. Keep the task's acceptance result alongside its cost.
Move bounded work where it fits
Try Luna for focused tasks whose results can be checked. Put work that can wait into Batch. Retain the route only when the output meets its acceptance criteria.
Price the upgrade against rework
For difficult tasks, compare Sol's or Astra's additional API cost with the value of corrections it avoids. Use the actual attempts and tool usage for each model.
OpenAI's pricing FAQ says monthly budget enforcement can be delayed and you remain responsible for overage. Treat the configured budget as a spending control with that stated limitation, and monitor actual usage. For project structure and recovery workflows, see the API budget controls guide.
Frequently Asked Questions
How much does OpenAI cost?
OpenAI API usage is metered by model, tokens and tools. GPT-6.2 Sol costs $2 for input, $0.10 for cached input and $10 for output per million tokens on Standard short-context requests. Check applicable cache writes and tool fees before estimating a monthly total.
Is ChatGPT API cheaper than ChatGPT Plus?
It depends on usage and what you need. An app's API bill can be small, but it buys metered application requests rather than the subscription product experience. OpenAI states that API usage is billed separately from ChatGPT subscriptions.
What are the pricing and cost comparisons for different LLM APIs?
Normalize input, cached input, output, tool use and successful completion before comparing providers. The like-for-like OpenAI coding base scenario here costs $55 on Luna, $95 on Terra, $140 on Sol and $410 on Astra, before cache-write uplifts and with quality held as an acceptance condition. This snapshot contains no verified prices for other providers.
Is it worth paying for OpenAI?
It is worth paying when accepted work saves more than API usage and resulting rework cost. Evaluate Terra for routine coding, retain Sol for complex coding, and escalate to Astra when avoided corrections justify its additional cost. Use Luna where its work passes the required checks.
Is it worth paying for a ChatGPT subscription?
Pay for a ChatGPT subscription when its features and the time it saves justify the fee. It does not purchase the app usage calculated here, so that API spending remains a separate decision.
Is OpenAI API free or paid?
The page lists paid model and tool usage and no general free API allowance. It also says Playground requests are billed like regular API requests. A free ChatGPT experience does not establish free API usage.
Is OpenAI API expensive?
The job and its tool activity decide. The hypothetical support base month costs $13.90 on Luna, while coding costs $95 on Terra or $140 on Sol, before cache-write uplifts. These figures depend on the stated billed volumes; a small token rate does not remove search or container charges.
What are the best free AI APIs?
No general free OpenAI API allowance is listed on this pricing page. Luna is a low-cost paid option for focused tasks whose outputs pass your checks. A provider's free API allowance needs its own current verification before it belongs in a production budget.
How much is 1 million tokens OpenAI?
At Standard short-context rates, one million ordinary input tokens costs $8 on Astra, $2 on Sol, $1 on Terra and $0.10 on Luna. One million output tokens costs $40, $10, $5 and $0.50 respectively. One million input plus one million output is two million billed tokens, totaling $48, $12, $6 or $0.60; cache writes use their separate input rates.
Does OpenAI offer an API student discount?
No universal API student discount is stated on the pricing page verified for this article. Do not count a student offer for another OpenAI product as API credit unless its own terms explicitly provide that benefit.
What is OpenAI's API refund policy?
The verified pricing page does not state an API refund policy. This article therefore does not promise refunds or apply ChatGPT subscription rules to API purchases.
Has OpenAI API pricing changed in 2026?
Yes. OpenAI reduced Standard token prices on GPT-6.2 Astra relative to GPT-6 Astra and carried forward the previous rates on GPT-6.2 Sol. Both models also launched with API Ultrafast access.
Map the tasks and acceptance checks before choosing another plan. Get the AI business workflow audit checklist when you join the newsletter.
- Last Updated
- Category
- Build








