Last verified

OpenAI · Pricing

Codex pricing.

Codex has no price of its own. It is included on every ChatGPT plan including the free one, expands at $20 a month, comes with a Business seat, and runs on a raw API key with no allowance at all. Past the included usage the unit stops being money and becomes a credit — and OpenAI publishes the rate card in credits while never saying what one costs.

§ 00 / YOUR CASE

What it costs you.

Full calculator →

Opens on a coding-agent day rather than a chat day — the inputs are set so the API column lands inside OpenAI's own published band for per-developer spend, printed further down this page. Change them to your volume; every plan re-judges as you type.

InputsUSD · US web-plan prices
Ecosystem

API side uses the vendor's published per-token list prices with prompt caching modeled (chat apps resend conversation history every turn — set cache to 0 for a stack without caching). Thinking models bill hidden reasoning tokens at the output rate — that's real spend in both worlds.

VerdictChatGPT · 80 msgs/day
Same usage at API rates
$163/mo
GPT-5.6 Sol · 2.4K requests/mo

Best value: ChatGPT Pro (5×) — this volume would bill ×1.6 its price at API rates.

  • ChatGPT Go$8.00/mo break-even 4/day plan saves $155/mo
  • ChatGPT Plus$20.00/mo break-even 10/day plan saves $143/mo
  • ChatGPT Pro (5×)$100/mo break-even 49/day plan saves $62.72/mo
  • ChatGPT Pro (20×)$200/mo break-even 98/day API saves $37.28/mo

Plans cap usage in rolling windows and vendors don't publish those caps in tokens — verdicts compare the price of this volume, not entitlements. The higher the multiple, the more likely a cap cuts in first.

§ 01 / EVERY WAY TO BUY IT

Eight ways in, four units.

Most pages answer "what does Codex cost" with the price of ChatGPT Plus. That is the right answer for exactly one buyer and wrong for everyone else, because OpenAI sells access in four different units — per person per month, per seat, per token, and per credit — and gives it away in a fifth form that is not a trial. Every figure below is read off OpenAI's own pages on the date in the byline.

Route Bought as Price What it buys
ChatGPT Go Subscription $8/mo Listed as limited Codex access, the same wording the free plan carries. Buying credits is not available on this tier.
ChatGPT Plus Subscription $20/mo First tier with expanded Codex usage, cloud tasks and code review, and the first that can buy credits when the allowance runs out.
ChatGPT Pro (5×) Subscription $100/mo 5x the Plus limits in the same five-hour window.
ChatGPT Pro (20×) Subscription $200/mo 20x the Plus limits. The heaviest published allowance before credits.
ChatGPT Business seat Per seat $25/seat/mo $20/mo billed annually Same per-seat Codex limits as Plus, with a workspace credit pool, spend controls and per-user caps on top. Dedicated Codex seats closed to new workspaces on 24 June 2026.
Enterprise / Edu Per seat Contact sales No published price. On flexible pricing there are no fixed rate limits — usage scales against a shared credit pool bought at the contract level.
OpenAI API key API key At model rates Billed per token at API rates, with model availability following the key. Drops the cloud-side features: no GitHub code review, no Slack, no delegated cloud tasks.

Codex is included on the free ChatGPT plan, described as limited access rather than a trial — it does not expire. The limits are not published as numbers, credits cannot be bought on Free or Go, and the cloud-side features start at Plus.

Read off, in order of appearance: learn.chatgpt.com/pricing, 2026-08-19 help.openai.com/using-codex-with-your-chatgpt-plan, 2026-08-19 help.openai.com/codex-rate-card, 2026-08-19

§ 02 / WHICH ROUTE IS YOURS

Priced by who you are.

Past the free tier
ChatGPT Go
You started on the free plan, hit the wall, and want the cheapest step up.
$8/mo

The lightweight tier, described by OpenAI in the same words as the free one — limited Codex access rather than expanded. It buys headroom, not capability: the cloud-side features and the ability to buy credits both start one tier higher, so this is a step for people who write small changes, not a cheap way to run an agent all day.

Full working day
ChatGPT Plus
Codex open most of the day, one or two repositories, real deadlines.
$20/mo

The first tier that is actually built for agentic work: expanded usage, the cloud surfaces, and the first that can buy credits when the five-hour window runs dry. It is also where OpenAI's own per-developer figure — printed further down this page, in the vendor's words — starts to look like the more relevant number than the subscription price.

Several agents at once
ChatGPT Pro (5×)
Long delegated runs, parallel instances, fast mode on.
$100/mo

Multiplies the Plus limits inside the same rolling window. Worth knowing what actually exhausts an allowance here: fast mode draws credits at a higher rate, and Codex shares its pool with ChatGPT Work, ChatGPT for Excel and Workspace Agents, so heavy use of those eats the same allowance.

The heaviest individual use
ChatGPT Pro (20×)
Agent work is most of the job and the window keeps closing.
$200/mo

The largest published personal allowance before credits. Before taking it, compare against the credit route: past a certain volume the question stops being which subscription and becomes how many credits a month, and the answer to that is priced in the section below rather than on the plan card.

A team with someone accountable for spend
ChatGPT Business seat
Two or more developers, one invoice, an admin who wants limits.
$25/seat/mo
$20/mo billed annually

Seats carry Plus-level Codex limits plus the things individuals do not get: a shared credit pool, automatic reload, per-seat and per-user spend caps, and usage analytics. Note the date in the route table — dedicated Codex seats were closed to new workspaces in June 2026, so the buying motion here is standard seats plus credits.

Bursty, scripted or CI use
OpenAI API key
Automated runs, uneven weeks, no interest in an allowance you might not spend.
At model rates

No allowance to waste and no window to hit — and a genuinely different product, because the cloud-side features are not included on a key. Run your own volume before choosing it: for steady daily work the flat fee usually still wins.

§ 03 / BRING YOUR OWN KEY

Bringing your own key.

The route that looks like the flexible option, and is also the one that quietly removes features.

On an API key Codex bills every token at the model's published rate — the rates live in our OpenAI rate table and move when OpenAI reprices. There is no plan allowance, no five-hour window and nothing to leave unspent, which is exactly right for work that arrives in bursts.

What you give up is not obvious from the pricing page. OpenAI's own description of the key route is that model availability follows the key and that it comes with no cloud-based features — GitHub code review, Slack and delegated cloud tasks are all plan-side. If your reason for wanting Codex is automatic pull-request review, the key route does not deliver it at any price.

The second thing that travels with this route is a different relationship to the credit system. Credits are a ChatGPT-account construct; on a key you are simply buying tokens, which is why the section below matters — it is the only way to compare the two sides in the same unit.

§ 04 / WHAT A CREDIT BUYS

What a credit buys.

OpenAI meters Codex in credits and prices nothing in them. This is the only number on the page we worked out rather than transcribed, so the arithmetic is shown in full: the vendor's own rate card, divided by the vendor's own API price list, model by model.

$0.03–$0.04 per credit, and no longer a constant: the rate card and the API price list have moved apart, so one credit now buys a different amount depending on the model. Treat the range as the honest answer until OpenAI realigns them.
Model API list, per 1M Rate card, credits per 1M Implied per credit
GPT-5.6 Sol $4.00 in · $0.40 cached · $20.00 out 125 · 12.5 · 750 $0.03–$0.03
GPT-5.6 Terra $2.00 in · $0.20 cached · $12.00 out 50 · 5 · 300 $0.04
GPT-5.6 Luna $0.20 in · $0.02 cached · $1.20 out 5 · 0.5 · 30 $0.04
GPT-5.5 $5.00 in · $0.50 cached · $30.00 out 125 · 12.5 · 750 $0.04
GPT-5.4 $2.50 in · $0.25 cached · $15.00 out 62.5 · 6.25 · 375 $0.04
GPT-5.4 mini $0.75 in · $0.0750 cached · $4.50 out 18.75 · 1.875 · 113 $0.04
GPT-5.3-Codex $1.75 in · $0.1750 cached · $14.00 out 43.75 · 4.375 · 350 $0.04

Rate card: OpenAI, 2026-08-19. API prices: our OpenAI rate table, which carries its own per-model verification dates.

The ratio is not approximately constant. It is the same on every model and every token type OpenAI publishes, which tells you the rate card was generated from the API price list rather than set separately. That has a practical consequence: a credit balance is an API budget in disguise, and any estimate you can make in tokens converts directly.

It also means the comparison people usually cannot make becomes straightforward. A subscription buys an allowance denominated in the same units your API bill would be, so the question "is the plan cheaper than the key" has a real answer for your volume rather than a directional guess — which is what the subscription-versus-API calculator is for.

Two cautions. First, this is what a credit buys, not what OpenAI charges you for one — the purchase price is not published, and we do not invent it. Second, the alignment is a fact about today's two tables: if OpenAI reprices one and not the other, the figure above stops being a single number and this section will say so rather than average them.

OpenAI publishes what a task costs in credits and never what a credit costs in money. Four pages were checked on 19 August 2026 — the Codex rate card, the credits article for Free/Go/Plus/Pro, the flexible-pricing article for Business and Enterprise, and the Service Credit Terms — and none of them carries a figure.

§ 05 / WHAT THE VENDOR REPORTS

What OpenAI reports.

These two figures are OpenAI's, not ours. They sit on the rate card, describe developers in aggregate rather than any particular one, and are the numbers the SaaS blogs in this search result quote without saying whose they are. We cite them because they are the only per-developer data anyone has published — and we attribute them, because adopting a vendor's arithmetic as a finding is how a price desk stops being useful.

§ 06 / LEAVING

Getting out.

The part vendors bury — and in this case, the part where two of OpenAI's own help pages disagree with each other.

The cancellation article states that a cancellation takes effect the day after your next billing date, that you should cancel at least 24 hours before that date to avoid the next charge, and — flatly — that subscription fees are non-refundable. The refund article, updated the same week, says something else: outside the special cases you receive a pro-rated refund covering the period from the date you requested cancellation to the end of the period you paid for.

Both were read on the date in this page's byline and both are linked below. We are not resolving the contradiction for you, because we cannot — we can only point out that it exists before you rely on either sentence.

The regional exceptions are clearer. In the EU, the UK and Turkey a cancellation within 14 days of purchase carries a prorated refund; in the Republic of Korea a request within 7 days is refunded in full provided the service was not used. And one trap is the mirror image of Anthropic's: requesting a refund from OpenAI cancels the subscription immediately and access ends at once, where Anthropic's refund request cancels nothing at all.

Credits are the exception to all of it. They are non-refundable except where the law requires otherwise, expire twelve months after purchase, and under OpenAI's service credit terms carry no cash value and cannot be transferred or exchanged for money. Anything you top up is spent or lost, so top up for the month rather than for the year.

Frequently asked.

What people search next.

Q · 01 Is there a free version of Codex? +
Yes. OpenAI's help centre states that Codex is included across ChatGPT plans, including Free and Go, with limits varying by plan. It is limited rather than time-boxed — there is no trial clock — but the numbers behind "limited" are not published for those two tiers, and credits cannot be bought on either.
Q · 02 What does one Codex credit cost? +
OpenAI does not say. We checked the rate card, the credits article for personal plans, the flexible-pricing article for business plans and the service credit terms, and none carries a dollar figure. What can be established is what a credit buys, by dividing the rate card by OpenAI's API prices — the section above shows the working.
Q · 03 How long do credits last? +
Twelve months from purchase, after which unused credits expire and do not roll over. They are non-refundable except where the law requires otherwise, non-transferable, and OpenAI's terms state they have no cash value. Auto top-up exists on eligible Plus and Pro accounts, with a monthly recharge cap you can set.
Q · 04 Does the subscription cover unlimited use? +
No. Usage is metered in a rolling five-hour window, and the allowance is shared with ChatGPT Work, ChatGPT for Excel and Workspace Agents where those are available on your plan. Fast mode consumes credits at a higher rate. At the ceiling, Plus and Pro can add credits; other plans wait for the reset or upgrade.
Q · 05 Is Business cheaper than paying per person? +
Not on price alone. On the annual commitment a Business seat lands at the same monthly figure as the personal tier with matching Codex limits, and month-to-month it costs more. What it buys is pooled credits, automatic reload, per-seat and per-user spend caps and usage analytics — plus a two-seat minimum. The route table above carries both figures.
Q · 06 Which is cheaper, a plan or an API key? +
It depends on how evenly you work, and Codex is unusual in that the two sides can be compared in one unit — see the credit section above. Our subscription-versus-API calculator takes your own volume and prints the crossover instead of guessing at it.
Q · 07 What actually drives the bill up? +
Output tokens, fast mode, and running several agents at once — far more than the number of messages. OpenAI's rate card puts output at six times the input rate on its flagship, notes that Codex does not charge for cache writes, and says a typical task on that model spends the number of credits printed above.