Download

Codex pricing: all Codex plans, prices and usage limits

Tyler J. CagleUpdated 10 min read

Key facts

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:

PlanPriceWhat you get in CodexUsage limit
Free$0GPT-6 Luna at Standard speed in the ChatGPT desktop app, subject to rolloutLimited; no published numbers, no credits
Go$8 a monthGPT-6 Luna at Standard speed in the ChatGPT desktop app, subject to rolloutLimited; no published numbers, no credits
Plus$20 a monthCodex 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 Astra15 to 160 GPT-6.1 Sol messages per five hours (estimate); weekly limits may apply
Pro$100, $200 or $500 a monthEverything in Plus with more usage; GPT-6 Astra within the allowance on $100 and $200; Ultrafast mode on $500No five-hour limit for now; weekly limits may apply
Business$20 per user a month billed annually (2+ users), $25 monthlyChatGPT and Codex in a shared workspace with admin controls, SAML SSO and MFAStandard seats: the same estimates as Plus
Enterprise and EduContact salesAdds SCIM, EKM, role-based access, audit logs and data residency controlsWith flexible pricing, no fixed limits; usage draws on credits
API keyPer token, at API ratesThe CLI, SDK and IDE extension; no cloud features such as GitHub code reviewNo 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:

ModelLocal messages per five hours, Plus and Standard Business
GPT-6 Astra5 to 45
GPT-6.1 Sol15 to 160
GPT-6.1 Terra35 to 285
GPT-6 Sol15 to 150
GPT-6 Luna350 to 3,000

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 tokensAPI: input / cached / outputCredits: input / cached / output
GPT-6 Astra$10 / $1 / $50250 / 25 / 1,250
GPT-6.1 Sol$2 / $0.10 / $1050 / 2.5 / 250
GPT-6.1 Terra$1 / $0.05 / $525 / 1.25 / 125
GPT-6 Luna$0.10 / $0.01 / $0.502.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:

PlanPriceCodex usage a month, at API pricesMeasured by
ChatGPT Plus$20About $202 ($47 a week)Wokey, real use on 5 accounts, November 9 to 16, 2026
ChatGPT Pro$200About $3,191 ($736 a week)Wokey, real use on 6 accounts, November 9 to 16, 2026
ChatGPT Plus$20About $162SemiAnalysis, GPT-6 Astra only, October 5, 2026
ChatGPT Pro$200About $2,897SemiAnalysis, GPT-6 Astra only, October 5, 2026
ChatGPT Pro$500About $6,955SemiAnalysis, 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.

  1. Let the task finish. OpenAI lets Codex complete work already in progress when a limit arrives (OpenAI).
  2. Check what ran out and when it resets. Run /status in 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.
  3. Buy credits on Plus or Pro to keep going without upgrading. Business, Edu and Enterprise workspaces with flexible pricing buy workspace credits (OpenAI).
  4. Switch to an API key for local sessions, billed at standard API rates: printenv OPENAI_API_KEY | codex login --with-api-key (OpenAI).
  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 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