Codex has no price of its own. You buy a ChatGPT plan and it comes with it, metered by two meters running at once: a rolling five-hour window and a weekly limit above it. Since April 2026 both are counted in credits, which turns out to be the one honest unit for comparing plans. Set your real usage below and this ranks Free, Go, Plus, Pro 5x, Pro 20x, a Business seat, flex credits, stacked accounts, hosted inference, and a raw API key by what they cost and whether they make it to Friday.
Wall-clock time with an agent working, not time at the keyboard.
Two agents running for an hour is two agent-hours. This is the single biggest driver.
Everything reduces to one unit, and here the unit is OpenAI's own: the credit. Since April 2026 Codex meters tokens rather than messages, and credits are what tokens are counted in. Sol, Terra and Luna convert into a Terra-equivalent agent-hour at their published token-price ratios, which are exact rather than blended: Sol is $5 in and $30 out per million against Terra's $2 and $12, so a Sol hour counts as 2.5. Luna is $0.20 and $1.20, so a Luna hour counts as 0.1. The whole family is a clean 25 to 10 to 1.
Prices, limits and rate cards read from OpenAI on 20 August 2026. OpenAI has changed Codex pricing twice this year; check the numbers before you commit a year to one.
Running Claude Code too? The Claude plan picker models Anthropic's caps, which are a genuinely different shape. To price a specific token count on either provider, use the LLM pricing calculator.
Codex pricing looks like a ChatGPT subscription with a coding agent bolted on. It is actually a ladder with six rungs, and the rung most writing about it still misses is the $100 one.
The Codex price question has an awkward answer, which is that there is no Codex price. Every ChatGPT plan includes Codex on the web, in the CLI, in the IDE extension, in Codex cloud and on iOS, and they all draw on one allowance rather than five. What the plan sets is headroom, and headroom is metered by two ceilings that count at the same time.
The first is a rolling five-hour window, which local CLI messages and cloud chats share. It refills continuously as older activity ages past the five-hour mark, so meeting it costs you part of an afternoon. The second is a weekly limit above it, and this is where OpenAI stops publishing numbers: the documented wording is that additional weekly limits may apply. Meeting that one costs you days rather than hours, and no model switch clears it.
The reason the window is the softer ceiling is the model ladder underneath it. GPT-5.6 Luna costs a tenth of Terra per token and a twenty-fifth of Sol, on the credit rate card and on the API alike, so dropping a rung genuinely restores capacity in a way that switching models on a shared Anthropic weekly pool does not. That single fact is worth more than most of this page.
Free includes Codex for what OpenAI calls quick coding tasks, and Go at $8 for lightweight ones. Neither publishes a per-model allowance. The constraint that actually decides them is not volume: neither plan carries GPT-5.6 Sol. If your work needs the flagship, these rungs are not small versions of Plus, they are a different product.
Plus is the real entry point and it already selects Sol, so paying more does not get you a better general model. OpenAI publishes Plus at 10 to 100 Sol messages, 25 to 200 Terra, or 250 to 2,000 Luna per five-hour window. Those ranges are wide for a real reason: a message is not a unit, tokens are, and one high-effort turn against a large repository can cost what twenty focused prompts against one file cost. The range is the difference between disciplined and careless use, and it is entirely under your control.
The comparison nobody makes is the one that matters. A developer using an agent most of a working day generates token volume that prices in the hundreds of dollars a month at list rates. If you already pay $20 for ChatGPT, you already own a terminal coding agent and may not have noticed.
This is the change most Codex writing has not caught up with. Pro is no longer one $200 plan. OpenAI now sells it as a choice of 5x or 20x higher rate limits than Plus, from $100 a month, with the $200 tier carrying the 20x multiplier. The published message ranges confirm the multipliers hold exactly: Pro 5x is 50 to 500 Sol messages per window against Plus's 10 to 100, and Pro 20x is 200 to 2,000. The same clean 5x and 20x holds on the Terra and Luna rows too.
That linearity is the single biggest structural difference from Anthropic's ladder, and it flips a common piece of advice. Anthropic's weekly floors compress at the top, which is why two stacked Max 5x accounts can beat one Max 20x for the same $200. OpenAI's do not compress, so two stacked Pro 5x accounts are strictly worse than one Pro 20x at the same price on weekly headroom, and buy you only a second independent window in exchange. The picker above will show you that directly rather than asking you to take it on faith.
Plus and Pro accounts that reach their limit can buy credits; Business, Edu and Enterprise workspaces buy workspace credits. Included usage is always spent first. The rate card is published per million tokens: 125 credits in and 750 out on Sol, 50 and 300 on Terra, 5 and 30 on Luna.
What OpenAI does not publish is the exchange rate, and it is worth solving for, because it settles the credits-versus-API question outright. Sol's 125 credits per million input tokens sits against a published API price of $5.00 per million input tokens, which puts a credit at four cents, and four cents reproduces all six published rate-card figures exactly. Credits are sold at exact API parity. So the choice between buying credits and adding an API key is not a price decision at all, it is a decision about whether you want one invoice or two.
An API key has no window and no weekly limit. Nothing ever stops, which is the point and also the risk. It is the correct tool for CI, for scheduled jobs, and for anything running without a person present, because a subscription covers interactive use by one person rather than a build server. Set a spending limit in the console before the first unattended run rather than after the first surprise.
Hosted inference is the other shape: a weekly dollar allowance rather than a message window. Continuum's Plus, Max 100, Max 200 and Ultra plans give you $25, $100, $200 and $1,000 of inference a week on any model, through an OpenAI- and Anthropic-compatible endpoint, with no five-hour window and no per-model cap. Against a ChatGPT plan the trade is legible in both directions: a ceiling denominated in dollars you can read rather than a weekly limit you have to infer, but a subscription's marginal turn is free once bought while an allowance is spent as it goes. Those plans rank above on the same rule as everything else and are never allowed to displace a cheaper OpenAI plan that also survives your week.
Longer versions of all of this live in the Codex pricing guide and the Codex models guide.
Every price and every message range read from OpenAI on 20 August 2026 and checked August 2026. Message figures are OpenAI's own published per-window ranges, shown as the ranges they were published as.
| Plan | Price / mo | Sol msgs / 5h | Terra msgs / 5h | Luna msgs / 5h | Weekly limit | Best for |
|---|---|---|---|---|---|---|
| ChatGPT Free | $0 | no Sol | not published | not published | applies | Finding out what Codex is. |
| ChatGPT Go | $8 | no Sol | not published | not published | applies | Occasional lightweight edits. |
| ChatGPT Plus | $20 | 10 to 100 | 25 to 200 | 250 to 2,000 | applies | Individual daily agent work. |
| Plus plus credits | $20 plus overflow | Included usage first, then metered at the rate card, which is API parity | then metered | Seasonal crunches, not constant load. | ||
| Business seat | $25, or $20 annual | 10 to 100 | 25 to 200 | 250 to 2,000 | applies | Central billing and admin, two seats up. |
| ChatGPT Pro 5x | $100 | 50 to 500 | 125 to 1,000 | 1,250 to 10,000 | applies | All-day agent use on one account. |
| ChatGPT Pro 20x | $200 | 200 to 2,000 | 500 to 4,000 | 5,000 to 40,000 | applies | Parallel sessions and Sol by default. |
| Two stacked Pro 5x | $200 | 2 × 50 to 500 | 2 × 125 to 1,000 | 2 × 1,250 to 10,000 | two of them | A second window. Less weekly than one 20x. |
| OpenAI API key | metered | no cap | no cap | no cap | none | CI, automation, an already-burned week. |
| Continuum Plus | $25 | $25 a week of hosted inference, any model, no window and no per-model cap | Hosted overflow beside your own plan. | |||
| Continuum Max 100 | $100 | $100 a week, same terms | One plan instead of a plan plus credits. | |||
| Continuum Max 200 | $200 | $200 a week, same terms | Pro 20x-shaped load without the window. | |||
| Continuum Ultra | $500 | $1,000 a week, same terms | The heaviest Sol-default profiles. | |||
OpenAI publishes the message figures as ranges because cost scales with tokens rather than messages: the low end is an expensive turn against a large repository, the high end a focused one against a single file. Business seats carry the same published per-window figures as Plus and require a minimum of two seats. The weekly limit applies on every subscription rung and OpenAI publishes no number for it, which is why the picker above treats its own weekly figure as the weakest estimate on the page.
Longer versions live in the Codex pricing guide and Codex models.
No. OpenAI sells Pro as 5x or 20x higher rate limits than Plus, not as unlimited Codex. Both Pro tiers still run the same two meters every paid plan runs: a rolling five-hour window that local CLI messages and cloud chats share, and additional weekly limits on top. The only rail with no window and no weekly limit is an API key. What Pro 20x at $200 buys is twenty times Plus on every published model row, which is a large number and a finite one.
Codex tells you the limit is reached and names when it resets. If it was the rolling five-hour window, capacity returns continuously as older activity ages out, so it usually costs you part of an afternoon, and switching to GPT-5.6 Luna, which costs a tenth of Terra per token, often clears it outright. If it was the weekly limit, waiting is longer. Your other options are buying credits, which Plus and Pro accounts can do at the published rate card, or moving that week's work onto an API key, which has no window and no weekly cap.
Model access is nearly identical: Plus at $20 already selects GPT-5.6 Sol, the flagship, so Pro does not unlock a better general model. What Pro buys is headroom. OpenAI publishes Plus at 10 to 100 Sol messages per five-hour window, Pro 5x at $100 at 50 to 500, and Pro 20x at $200 at 200 to 2,000. Pro 20x also adds gpt-5.3-codex-spark, a text-only research preview. Move up when you are meeting the weekly limit, not before.
OpenAI publishes the rate card in credits rather than dollars: 125 credits per million input tokens and 750 per million output on GPT-5.6 Sol, 50 and 300 on Terra, 5 and 30 on Luna. Set those against the API price list and every one of the six figures resolves at four cents a credit, because Sol's 125 credits and its $5.00 per million input are the same number. Codex credits are therefore priced at exact API parity, so overflow is a convenience rather than a penalty.
For one supervised session on Terra most of the working day, ChatGPT Plus at $20 is usually enough, and it is a genuinely low price because the same work metered at API list rates runs to several hundred dollars a month. Sol-heavy work with parallel sessions is where Plus stops surviving the week, and the next rung that does is Pro 5x at $100. Stacking two cheaper accounts is rarely the answer on OpenAI, because its multipliers scale cleanly and one Pro 20x carries more weekly headroom than two Pro 5x accounts at the same $200.
Every number you just typed is a guess about your own behaviour, and people guess badly about it in both directions, especially about which model actually ran. Continuum reads the session files Codex already writes to your machine, attributes every turn to a model id, prices it against the current rate card, and shows what each account consumed by repo, by model, and by day. Next month you pick the plan from data rather than from vibes.
one command · reads local history · sends nothing on its own