OpenAI API Pricing Explained: GPT-6.2, Images & More

OpenAI API pricing confuses almost everyone the first time they see it. The numbers look small — a few dollars per million tokens — yet the bill at the end of the month can still surprise you. The reason is simple: you are not paying for a subscription, you are paying for every word the model reads and every word it writes. Once you understand that one idea, the whole price list starts to make sense. This guide explains OpenAI API pricing in plain English, with the real GPT-6.2 rates, the caching discount most people miss, and a worked example so you can estimate your own cost before you write a single line of code.
How OpenAI API pricing works
OpenAI charges its API by the token. A token is a small chunk of text — roughly three quarters of a word in English — and everything you send or receive is counted in tokens. There are two prices that matter on every request: the input price, for the prompt and context you send in, and the output price, for the text the model generates. Output tokens almost always cost several times more than input tokens, because generating text takes more work than reading it.
Prices are listed per one million tokens. So when you see $8.00 input and $40.00 output, that means one million input tokens cost eight dollars and one million output tokens cost forty dollars. A short chat message might use a few hundred tokens and cost a fraction of a cent. A long document, an agent loop that calls the model dozens of times, or a big batch job can use millions of tokens, and that is where the bill grows. There is no monthly fee for the API itself — you pay only for what you use — but you do need to add credits to your OpenAI account first, and usage is billed against that balance.
GPT-6.2 Astra and Sol: the current prices
OpenAI launched GPT-6.2 Astra and GPT-6.2 Sol in November 2026. Astra is the frontier model, built for hard reasoning, coding and agent work. Sol is the efficient everyday model, built for speed and volume. Here are their official API prices per million tokens:
GPT-6.2 Astra: $8.00 input, $40.00 output, $0.40 cached input.
GPT-6.2 Sol: $2.00 input, $10.00 output, $0.10 cached input.
GPT-6 Astra (previous generation): $10.00 input, $50.00 output, $1.00 cached input.
GPT-6.1 Sol: $2.00 input, $10.00 output, $0.10 cached input.
The headline change is the 20 percent price cut on Astra. GPT-6 Astra cost $10 in and $50 out; GPT-6.2 Astra costs $8 in and $40 out, for a stronger model. Sol kept the same price as GPT-6.1 Sol, at $2 in and $10 out. In practice that makes Sol the obvious choice for high-volume everyday work — chatbots, summarising, classification, and agent loops where the model is called again and again — while Astra is the model you reach for when the task is genuinely hard and a wrong answer costs more than the extra tokens. The price cuts come as OpenAI tightens its own finances – OpenAI slashed its funding target by $10B as stocks sold off.
Prompt caching: the discount most people miss
Look at the prices above again and notice the third number: cached input. GPT-6.2 Astra charges $0.40 per million cached input tokens instead of $8.00. That is a 95 percent discount on the input side, and it is the single biggest lever on most API bills. Caching works when you send the same prompt prefix again — the same system instructions, the same document, the same conversation history — and OpenAI reuses the work it already did instead of processing it from scratch.
The catch is that your prefix has to stay stable. If your agent rebuilds its prompt slightly differently on every turn, the cache never hits and you pay full input price every time. Developers who keep a fixed system prompt and append new turns at the end see cache hit rates that turn an expensive agent into a cheap one. One practical warning from the community is worth repeating: a changing prefix in an agent loop can cost roughly twenty times more for context on each turn, because nothing is reused. So the rule is simple — put the long, unchanging parts of your prompt first, keep them identical, and let only the new user message change.
Background requests and other discounts
OpenAI also discounts requests that can wait. For eligible background requests, model token rates drop 30 percent below standard when you accept a two-hour completion window, and 40 percent below standard for an eight-hour window. That is ideal for bulk work — grading a thousand essays, processing a document archive, or running overnight evaluations — where nobody is waiting for an instant reply. Priority processing, which used to be a separate paid tier, was renamed Fast mode in July 2026.
Two smaller charges are worth knowing about. Regional processing endpoints, for data residency, carry a 10 percent uplift on models released on or after March 5, 2026, and the same 10 percent applies to FedRAMP endpoints. These only matter if your app has a legal reason to keep data in a specific region. For everyone else, the standard endpoints and the rates above are what you will pay.
A real cost example: what does an app actually pay?
Take a small customer-support chatbot built on GPT-6.2 Sol. Suppose it handles 10,000 chats a month, each using about 2,000 input tokens and 500 output tokens. That is 20 million input tokens and 5 million output tokens. At $2 per million input and $10 per million output, the input costs $40 and the output costs $50 — $90 a month in total. If the bot reuses the same system prompt and half its input tokens hit the cache, the cached half costs $0.10 per million instead of $2, and the bill drops to roughly $71.
Now run the same bot on GPT-6.2 Astra. The same 20 million input and 5 million output tokens cost $160 plus $200 — $360 a month, four times more. That gap is why model choice matters more than any other decision. Use Sol for the routine chats and reserve Astra for the hard cases — a disputed refund, a complex technical question — and the same product can cost a quarter of the price. OpenAI fixed a GPT-6.2 billing bug in November 2026 that had made ChatGPT users hit their limits faster than expected, which is a useful reminder to watch your usage dashboard in the first weeks of any new model, not just trust the first invoice.
Images, audio and embeddings are priced separately
Text models are only part of the bill. Image generation, such as the Images 2.6 model that brought GIF creation and faster editing to ChatGPT, is priced per image rather than per token, and the rate depends on size and quality. Audio models are priced per minute, and embeddings — the vectors used for search and retrieval — are priced per million tokens at rates far below the chat models. Because these prices change more often than the text rates, the honest advice is to check the official pricing page before you budget for them, instead of trusting a number quoted in an old article. The page lists every model in one place, and it is the only source that matters when your invoice arrives.
How to keep your OpenAI API bill low
Five habits keep most bills small. First, pick the cheapest model that does the job — Sol before Astra, and a smaller model before a bigger one. Second, keep your prompts short and your system prompt stable so caching works. Third, set a monthly spending limit in your OpenAI account so a bug in your code cannot run up a huge bill overnight. Fourth, use background requests for anything that can wait two or eight hours. And fifth, measure cost per finished task, not cost per token — a model that costs twice as much per token but finishes the job in one call instead of three is the cheaper model. OpenAI’s own pricing page, linked below, is where you should verify every number in this article before you build on it.
OpenAI API pricing vs a ChatGPT subscription
One question comes up constantly: is the API cheaper than a ChatGPT Plus or Pro subscription? The answer depends on how you use it. A subscription is a flat monthly fee for chatting in the app, with usage limits. The API is pay-as-you-go for building your own product, with no cap except your balance. If you only want to chat with the model yourself, the subscription is simpler and usually cheaper. If you would rather use a ready-made assistant than build one, see our round-up of the 10 best AI assistants in 2026 before you choose. If you are building an app, a bot, or an automated workflow, the API is the only way to do it, and the pricing above is what you will pay. Many small teams end up using both — the subscription for their own work, and the API for what they ship to users. If you are still learning how these models work, Andrew Ng‘s work is a good place to start before you build with the API.
OpenAI API pricing looks complicated until you see the pattern: pay per token, output costs more than input, caching is the big discount, and model choice decides the bill. GPT-6.2 made the top model 20 percent cheaper and kept the efficient model at the same low price, so the best strategy in 2026 is the same as it was before — use Sol for volume, Astra for difficulty, keep your prompts stable, and check the official pricing page whenever you plan a budget. Do that, and the API stays one of the cheapest ways to put a frontier model inside your own product.
Prices quoted here are OpenAI’s published rates per million tokens as of late November 2026. Check the official OpenAI API pricing page for the latest numbers before you commit to a budget.
Providers are also attacking costs from the infrastructure side — Amazon buys Decart AI tech to cut inference costs, which could eventually feed through to cheaper model pricing.
Astra-class models are already being used for research itself: see the Stanford quantum gravity paper built with GPT-6 Astra. Pricing is only half the story — the OpenAI Decisions API answers in verdicts, not essays, for decisions that need a clear call.
