Codex pricing: all Codex plans, prices and usage limits
Tyler J. CagleUpdated 10 min read
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).
- 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).
- 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, credits).
- 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).
- 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).
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 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, 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 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 of November 9 to 16, 2026. Auto, 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. 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; the GPT-6 Astra allowances come from its Codex pricing page, 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, citing SemiAnalysis; existing subscribers kept the old limits until October 29. OpenAI's own comparison of the Pro plans lists each one's usage. For Anthropic's plans, see 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. 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).
- 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).
- ChatGPT Work shares the pool. Work in ChatGPT uses the same pricing, credits and usage limits as Codex (OpenAI).
- Enterprise and Edu with flexible pricing have no fixed rate limits; without it, seats get the same limits as Plus for most features (OpenAI).
Your current limits and reset times are in the usage dashboard, or run /status in a Codex CLI session. Codex usage limits explained, and what to do when you run out 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, credits). 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 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. 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 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 reports both. Neither is a figure OpenAI publishes, and OpenAI says API token prices shouldn't be used to estimate included tasks.
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). 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), and Claude API vs subscription: which is cheaper for coding? 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, subject to fair use, and then stops taking new requests until you buy credits, switch to an API key or wait for the reset.
- Let the task finish. OpenAI lets Codex complete work already in progress when a limit arrives (OpenAI).
- Check what ran out and when it resets. Run
/statusin the CLI or open the usage dashboard. OpenAI suggests switching to a lower-cost model 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. - Buy credits on Plus or Pro to keep going without upgrading. Business, Edu and Enterprise workspaces with flexible pricing buy workspace credits (OpenAI).
- Switch to an API key for local sessions, billed at standard API rates:
printenv OPENAI_API_KEY | codex login --with-api-key(OpenAI). - 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 connects two subscriptions; Pro, 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.
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). 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). 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). The $500 plan adds Ultrafast mode. GPT-6 Astra runs within the allowance on the $100 and $200 plans (OpenAI).
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.
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 has the full comparison.
Sources
- Pricing, Codex docs, OpenAI, checked November 16, 2026
- Codex pricing, OpenAI, checked November 16, 2026
- API pricing, OpenAI, checked November 16, 2026
- Authentication, Codex docs, OpenAI
- About ChatGPT Pro plans, OpenAI Help Center
- Codex usage limits, measured, Wokey, measured November 9 to 16, 2026, with SemiAnalysis's October 5, 2026 figures
- pallets/click, GitHub, issues #2819, #3125 and #3360 and pull request #3884