# Codex pricing: all Codex plans, prices and usage limits

> As of November 16, 2026, Codex comes with every ChatGPT plan: Free and Go ($8 a month) get GPT-6 Luna in the desktop app, Plus ($20) gets full Codex with an estimated 15 to 160 GPT-6.1 Sol messages every five hours, and Pro ($100, $200 or $500) has no five-hour limit for now. Business costs $20 per user a month billed annually, and an API key bills per token, $2 per million input tokens and $10 per million output tokens on GPT-6.1 Sol.

Author: Tyler J. Cagle (https://x.com/tjcages)
Published: 2026-11-11T13:40:00.000Z
Updated: 2026-11-17T03:30:00.000Z
Reading time: 10 min
Canonical: https://auto.sh/blog/codex-pricing
Part of: How to cut Claude Code and Codex costs (https://auto.sh/blog/cut-claude-code-and-codex-costs.md)
Publisher: Auto (https://auto.sh)

## Key facts

- As of November 16, 2026, Codex comes with ChatGPT Free and Go ($8 a month, GPT-6 Luna in the desktop app), Plus ($20), Pro ($100, $200 or $500) and Business ($20 per user a month billed annually, $25 monthly) ([OpenAI](https://learn.chatgpt.com/docs/pricing)).
- OpenAI estimates 15 to 160 local GPT-6.1 Sol messages per five hours on Plus, says weekly limits may also apply, and gives Pro no five-hour limit for now ([OpenAI](https://learn.chatgpt.com/docs/pricing#what-are-the-usage-limits-for-my-plan)).
- GPT-6.1 Sol costs $2 per million input tokens and $10 per million output tokens on the API, and 50 and 250 ChatGPT credits for the same tokens; each credit buys what $0.04 buys on the API ([API](https://platform.openai.com/docs/pricing), [credits](https://learn.chatgpt.com/docs/pricing#token-rates)).
- Wokey measured a Plus month at about $202 of Codex usage at API prices and a $200 Pro month at about $3,191, from November 9 to 16, 2026 ([Wokey](https://wokey.ai/codex-usage-limits)).
- At a limit, Codex finishes the task in progress; then Plus and Pro can buy credits, and any plan can run local sessions with an API key at API rates ([OpenAI](https://learn.chatgpt.com/docs/pricing#what-happens-when-you-hit-usage-limits)).

![Pro $200 held 16× its price in Codex usage. ChatGPT Plus, $20 (About 10× its price), $202 a month; ChatGPT Pro, $200 (About 16× its price), $3,191 a month. Source: Wokey, real accounts priced at OpenAI API rates, November 9 to 16, 2026.](https://auto.sh/blog/images/codex-pricing/1-plan-value.png)

Codex pricing is the price of a ChatGPT plan: as of November 16, 2026, [Plus costs $20 a month, Pro $100, $200 or $500, and Business $20 per user a month](https://learn.chatgpt.com/docs/pricing) billed annually, and Free and Go ($8) get a limited version. OpenAI publishes estimates instead of fixed limits: Plus gets [15 to 160 GPT-6.1 Sol messages every five hours](https://learn.chatgpt.com/docs/pricing#what-are-the-usage-limits-for-my-plan), Pro has no five-hour limit for now, and an API key skips plan limits and bills [$2 per million input tokens and $10 per million output tokens](https://platform.openai.com/docs/pricing) on GPT-6.1 Sol. Measured at API prices, a Plus month held about $202 of Codex usage and a $200 Pro month about $3,191 in [Wokey's test](https://wokey.ai/codex-usage-limits) of November 9 to 16, 2026. [Auto](https://autorouter.com/), the Mac app for all your coding agents, wrote this post.

## How much does Codex cost on each plan?

Codex costs $0 to $500 a month, because it comes with every ChatGPT plan and has no subscription of its own: OpenAI says Codex is [included in your ChatGPT Free, Go, Plus, Pro, Business or Enterprise plan](https://chatgpt.com/codex/pricing). These are the Codex plans and their limits as of November 16, 2026:

| Plan               | Price                                                        | What you get in Codex                                                                                                                 | Usage limit                                                                       |
| ------------------ | ------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------- |
| Free               | $0                                                           | GPT-6 Luna at Standard speed in the ChatGPT desktop app, subject to rollout                                                           | Limited; no published numbers, no credits                                         |
| Go                 | $8 a month                                                   | GPT-6 Luna at Standard speed in the ChatGPT desktop app, subject to rollout                                                           | Limited; no published numbers, no credits                                         |
| Plus               | $20 a month                                                  | Codex on the web, in the CLI, the IDE extension and iOS; cloud code review and Slack; GPT-6.1 Sol, GPT-6 Luna and limited GPT-6 Astra | 15 to 160 GPT-6.1 Sol messages per five hours (estimate); weekly limits may apply |
| Pro                | $100, $200 or $500 a month                                   | Everything in Plus with more usage; GPT-6 Astra within the allowance on $100 and $200; Ultrafast mode on $500                         | No five-hour limit for now; weekly limits may apply                               |
| Business           | $20 per user a month billed annually (2+ users), $25 monthly | ChatGPT and Codex in a shared workspace with admin controls, SAML SSO and MFA                                                         | Standard seats: the same estimates as Plus                                        |
| Enterprise and Edu | Contact sales                                                | Adds SCIM, EKM, role-based access, audit logs and data residency controls                                                             | With flexible pricing, no fixed limits; usage draws on credits                    |
| API key            | Per token, at API rates                                      | The CLI, SDK and IDE extension; no cloud features such as GitHub code review                                                          | No plan limits; every token is billed                                             |

The prices and features come from OpenAI's [Codex pricing docs](https://learn.chatgpt.com/docs/pricing); the GPT-6 Astra allowances come from its [Codex pricing page](https://chatgpt.com/codex/pricing), which says Plus and the $20 Business plan include limited Astra usage, with credits for more. Pro is billed monthly. The $200 Pro plan changed on September 29, 2026, when OpenAI halved its allowance from 20 times Plus to 10 times and added the $500 tier, [according to Wokey](https://wokey.ai/codex-usage-limits), citing SemiAnalysis; existing subscribers kept the old limits until October 29. OpenAI's own [comparison of the Pro plans](https://help.openai.com/en/articles/9793128-about-chatgpt-pro-plans) lists each one's usage. For Anthropic's plans, see [Claude Code pricing](/blog/claude-code-pricing).

## What are the Codex usage limits on each plan?

Codex usage limits are estimates of local messages per five hours, and they depend on the model and the task: OpenAI says small scripts may use a fraction of the allowance while long tasks that hold more context [use significantly more per message](https://learn.chatgpt.com/docs/pricing#what-are-the-usage-limits-for-my-plan). For Plus and Standard Business seats, it estimates these counts as of November 16, 2026:

| Model         | Local messages per five hours, Plus and Standard Business |
| ------------- | --------------------------------------------------------- |
| GPT-6 Astra   | 5 to 45                                                   |
| GPT-6.1 Sol   | 15 to 160                                                 |
| GPT-6.1 Terra | 35 to 285                                                 |
| GPT-6 Sol     | 15 to 150                                                 |
| GPT-6 Luna    | 350 to 3,000                                              |

- **Weekly limits may also apply,** with no published numbers, and local messages and cloud tasks share one allowance; cloud tasks may use more of it ([OpenAI](https://learn.chatgpt.com/docs/pricing#what-are-the-usage-limits-for-my-plan)).
- **Pro has no five-hour limit for now,** and OpenAI publishes no message counts for it.
- **Speed costs usage.** Fast mode uses included limits at 2.5 times the Standard rate, and Ultrafast at 8 times ([OpenAI](https://learn.chatgpt.com/docs/pricing#what-are-the-usage-limits-for-my-plan)).
- **ChatGPT Work shares the pool.** Work in ChatGPT uses the same pricing, credits and usage limits as Codex ([OpenAI](https://learn.chatgpt.com/docs/pricing)).
- **Enterprise and Edu** with flexible pricing have no fixed rate limits; without it, seats get the same limits as Plus for most features ([OpenAI](https://learn.chatgpt.com/docs/pricing#what-are-the-usage-limits-for-my-plan)).

Your current limits and reset times are in the [usage dashboard](https://chatgpt.com/codex/settings/usage), or run `/status` in a Codex CLI session. [Codex usage limits explained, and what to do when you run out](/blog/codex-usage-limits) covers the resets in detail.

## What do ChatGPT credits and API tokens cost for Codex?

On the API, GPT-6.1 Sol costs $2 per million input tokens, $0.10 per million cached input tokens and $10 per million output tokens, and ChatGPT credits for the same tokens cost 50, 2.5 and 250 credits, as of November 16, 2026 ([API](https://platform.openai.com/docs/pricing), [credits](https://learn.chatgpt.com/docs/pricing#token-rates)). Credits pay for Codex usage past a plan's included limits. For the four current models below, every credit rate is 25 times the API price in dollars, so one credit buys what $0.04 buys on the API.

| Model, per million tokens | API: input / cached / output | Credits: input / cached / output |
| ------------------------- | ---------------------------- | -------------------------------- |
| GPT-6 Astra               | $10 / $1 / $50               | 250 / 25 / 1,250                 |
| GPT-6.1 Sol               | $2 / $0.10 / $10             | 50 / 2.5 / 250                   |
| GPT-6.1 Terra             | $1 / $0.05 / $5              | 25 / 1.25 / 125                  |
| GPT-6 Luna                | $0.10 / $0.01 / $0.50        | 2.5 / 0.25 / 12.5                |

The API prices are for prompts up to 272,000 tokens; longer prompts cost more, though GPT-6.1 Sol [drawn from a subscription](https://learn.chatgpt.com/docs/pricing#what-are-the-usage-limits-for-my-plan) has no long-context surcharge. The API also charges for cache writes, $2.50 per million tokens for a 30-minute write on GPT-6.1 Sol, while [Codex credit billing has no separate cache-write charge](https://learn.chatgpt.com/docs/pricing#token-rates). OpenAI doesn't publish one dollar price for a credit: purchase prices and discounts depend on your plan or agreement.

## Is a Codex plan cheaper than paying for the API?

A ChatGPT plan is cheaper than the API for anyone who uses most of it: measured at API prices, a Plus month held about 10 times its price in Codex usage and a $200 Pro month about 16 times, in [Wokey's test](https://wokey.ai/codex-usage-limits) of November 9 to 16, 2026. OpenAI publishes message estimates instead of dollar allowances, so these figures come from outside tests that price a plan's usage at API rates:

| Plan         | Price | Codex usage a month, at API prices | Measured by                                           |
| ------------ | ----- | ---------------------------------- | ----------------------------------------------------- |
| ChatGPT Plus | $20   | About $202 ($47 a week)            | Wokey, real use on 5 accounts, November 9 to 16, 2026 |
| ChatGPT Pro  | $200  | About $3,191 ($736 a week)         | Wokey, real use on 6 accounts, November 9 to 16, 2026 |
| ChatGPT Plus | $20   | About $162                         | SemiAnalysis, GPT-6 Astra only, October 5, 2026       |
| ChatGPT Pro  | $200  | About $2,897                       | SemiAnalysis, GPT-6 Astra only, October 5, 2026       |
| ChatGPT Pro  | $500  | About $6,955                       | SemiAnalysis, GPT-6 Astra only, October 5, 2026       |

Wokey, which runs a gateway, measures the traffic of real subscription accounts, and its samples for Codex are small; it hasn't published the $100 Pro plan yet. SemiAnalysis runs controlled tests on one model, and [Wokey's page](https://wokey.ai/codex-usage-limits) reports both. Neither is a figure OpenAI publishes, and OpenAI says [API token prices shouldn't be used to estimate included tasks](https://learn.chatgpt.com/docs/pricing).

The break-even is low. In Auto's November 9, 2026 test on real bug reports from the click library, a Codex task on GPT-6.1 Sol cost $0.085 at API list prices, about 2.1 credits ([method](/studies/codex-vs-claude-code/method.md)). At that rate, $20 of API usage pays for about 235 tasks, so if you run more than that in a month, Plus costs less than an API key. Going by Wokey's figure, a full Plus month holds about 2,400 tasks like it. Past that, Pro or credits cost less than the API for the extra work. Claude plans hold more per dollar by the same measure, about 35 times their price ([Claude Code pricing](/blog/claude-code-pricing)), and [Claude API vs subscription: which is cheaper for coding?](/blog/subscription-vs-api-pricing) works through the same question for Anthropic.

## What can you do when Codex runs out mid-task?

When Codex reaches a usage limit mid-task, it [keeps working on the task in progress](https://learn.chatgpt.com/docs/pricing#what-happens-when-you-hit-usage-limits), subject to fair use, and then stops taking new requests until you buy credits, switch to an API key or wait for the reset.

![What happens when Codex hits a limit mid-task. 1. A limit is reached (Five-hour or weekly); 2. The task finishes (Subject to fair use); 3. Buy ChatGPT credits (On Plus and Pro); 4. Or use an API key (Billed at API rates). Source: OpenAI's Codex pricing docs, checked November 16, 2026.](https://auto.sh/blog/images/codex-pricing/2-at-the-limit.png)

1. **Let the task finish.** OpenAI lets Codex complete work already in progress when a limit arrives ([OpenAI](https://learn.chatgpt.com/docs/pricing#what-happens-when-you-hit-usage-limits)).
2. **Check what ran out and when it resets.** Run `/status` in the CLI or open the [usage dashboard](https://chatgpt.com/codex/settings/usage). OpenAI suggests [switching to a lower-cost model](https://chatgpt.com/codex/pricing) to make the allowance last; GPT-6 Luna gets 350 to 3,000 messages per five hours on Plus against 15 to 160 for GPT-6.1 Sol.
3. **Buy credits** on Plus or Pro to keep going without upgrading. Business, Edu and Enterprise workspaces with flexible pricing buy workspace credits ([OpenAI](https://learn.chatgpt.com/docs/pricing#what-happens-when-you-hit-usage-limits)).
4. **Switch to an API key** for local sessions, billed at standard API rates: `printenv OPENAI_API_KEY | codex login --with-api-key` ([OpenAI](https://learn.chatgpt.com/docs/auth)).
5. **Wait or upgrade.** The five-hour limit resets on its own; if you reach the weekly limit most weeks, Pro has more room and no five-hour limit.

Auto, the Mac app for all your coding agents, stacks the subscriptions you already pay for and picks the model for each request, so Codex can keep going on another plan. Any harness can use any of your plans, including a Claude plan inside Codex. When one account reaches its limit, Auto moves on to the account with the most room left before it spends any credit, which makes plans last about twice as long. [Auto Free](https://autorouter.com/individuals#plans) connects two subscriptions; [Pro](/pricing), which includes usage each month, connects any number and adds other models at the provider's price plus 10%. More ways to cut the bill are in [How to cut Claude Code and Codex costs](/blog/cut-claude-code-and-codex-costs).

## Questions

### Is Codex free?

Partly. As of November 16, 2026, ChatGPT Free and Go ($8 a month) include GPT-6 Luna at Standard speed in the ChatGPT desktop app, subject to rollout ([OpenAI](https://learn.chatgpt.com/docs/pricing)). Codex in the CLI, the IDE extension and the cloud, with GPT-6.1 Sol, starts at Plus for $20 a month.

### Is there a separate Codex subscription?

No. Codex comes with a ChatGPT plan, and its usage limits are part of that plan, shared with ChatGPT Work ([OpenAI](https://learn.chatgpt.com/docs/pricing)). The only way to pay for Codex without a plan is an API key, billed per token.

### How much is Codex on ChatGPT Pro?

ChatGPT Pro costs $100, $200 or $500 a month, and each includes Codex with more usage than Plus and no five-hour limit for now ([OpenAI](https://learn.chatgpt.com/docs/pricing)). The $500 plan adds Ultrafast mode. GPT-6 Astra runs within the allowance on the $100 and $200 plans ([OpenAI](https://chatgpt.com/codex/pricing)).

### Is an API key cheaper than ChatGPT Plus for Codex?

Only for light use. At the $0.085 measured per GPT-6.1 Sol task, $20 of API usage covers about 235 tasks, while Wokey measured a full Plus month at about $202 of usage at API prices. An API key also drops cloud features, so OpenAI positions it for [automation in shared environments like CI](https://learn.chatgpt.com/docs/pricing).

### Is Codex cheaper than Claude Code?

Both start at $20 a month. In Auto's November 9, 2026 test, Codex on GPT-6.1 Sol cost $0.085 per task at API list prices against $0.252 for Claude Code on Claude Opus 5.5, and Claude Code passed all 15 runs to Codex's 14. Per dollar of plan, Wokey measures Claude plans holding more usage. [Codex vs Claude Code](/blog/codex-vs-claude-code) has the full comparison.

## Sources

- [Pricing](https://learn.chatgpt.com/docs/pricing), Codex docs, OpenAI, checked November 16, 2026
- [Codex pricing](https://chatgpt.com/codex/pricing), OpenAI, checked November 16, 2026
- [API pricing](https://platform.openai.com/docs/pricing), OpenAI, checked November 16, 2026
- [Authentication](https://learn.chatgpt.com/docs/auth), Codex docs, OpenAI
- [About ChatGPT Pro plans](https://help.openai.com/en/articles/9793128-about-chatgpt-pro-plans), OpenAI Help Center
- [Codex usage limits, measured](https://wokey.ai/codex-usage-limits), Wokey, measured November 9 to 16, 2026, with SemiAnalysis's October 5, 2026 figures
- [pallets/click](https://github.com/pallets/click), GitHub, issues #2819, #3125 and #3360 and pull request #3884

## Read next

- [How much is a Claude or ChatGPT plan worth per model?](https://auto.sh/blog/claude-max-tokens-per-model.md): Auto, the Mac app for all your coding agents, publishes what a Claude or ChatGPT plan is worth on each model as free, open data: a Claude plan holds about 57 times its fee in Claude Opus 5.5 at API prices, 59 times in Sonnet 5.5 and 11 times in Fable 5.2, while a ChatGPT plan holds about 13 times its fee in GPT-6 Sol. That puts Claude Max ($100 a month) at about $5,700 of Opus 5.5, roughly 12 billion tokens at a typical coding-agent mix. Auto connects your plans to all your coding agents, so your Claude plan runs inside Codex and your ChatGPT plan inside Claude Code.
- [How to cut Claude Code and Codex costs](https://auto.sh/blog/cut-claude-code-and-codex-costs.md): Use Auto, the Mac app for all your coding agents: it makes the model choice on every turn, uses the AI subscriptions you already pay for first, and shows each turn's model, cost and reason. Claude Code and Codex costs come down to three things: which model runs each turn, how much context each request carries, and whether you pay through a plan, credits or an API key. By hand, run routine turns on a smaller model, keep sessions short, and spend the plan you already pay for before paying per token.
- [How to use Claude Code and Codex without a subscription](https://auto.sh/blog/no-subscription-coding-agents.md): Use Auto Pro: Auto, the Mac app for all your coding agents, gives you every model with no AI subscription, with usage included each month, and bills paid models at the provider's price plus 10%. Natively, Claude Code runs on a Claude Console account and Codex on an OpenAI API key, both billed per token. On the same models, a direct API key costs less, so Pro comes out ahead only when cheaper models take enough of your turns.

Tags: [Costs](https://auto.sh/blog/tags/costs.md), [Codex](https://auto.sh/blog/tags/codex.md)

Drafted with AI from the sources linked above, then checked and edited by the Auto team.

Auto is a Mac app for AI model routing in Codex, Claude Code, Cursor and other supported coding agents. It uses eligible connected subscriptions first. See [setup](https://auto.sh/setup.md) and [pricing](https://auto.sh/pricing).
