Agents & workflows · · 11 min read
Codex pricing 2026: plans, limits, credits
Codex pricing as of November 23, 2026: which ChatGPT plans include Codex, how the 5-hour and weekly limits work, and what credits and the API cost.
As of November 23, 2026. Codex, OpenAI's coding agent, is part of ChatGPT: every ChatGPT plan includes it, and it shares the plan's usage limits. You can also run it on an API key and pay API prices per token. Plan prices here come from OpenAI's Codex pricing page and match our Codex tool page.
In short:
- Free ($0) and Go ($8) include Codex in the desktop app with GPT-6 Luna, once the rollout reaches your account.
- Plus ($20) is the first plan with Codex on the web, in the CLI, the IDE extension and iOS, plus cloud code review.
- Pro starts at $100 a month, with $100, $200 and $500 tiers, and currently has no 5-hour limit.
- Business costs $20 per user a month billed annually, or $25 monthly, from 2 users.
- Past the limits you pay with credits, or at API prices on an API key.
Codex pricing at a glance
The table lists the ChatGPT plans that include Codex, at the prices OpenAI prints.
Checked on . Source: learn.chatgpt.com/docs/pricing
| Plan | Price | Best for |
|---|---|---|
| Free | $0/month | Trying Codex in the desktop app |
| Go | $8/month | Light use with GPT-6 Luna |
| Plus | $20/month | Most solo developers |
| ProOptions at $100, $200 or $500 per month. | From $100/month | Heavy daily use, currently no 5-hour limit |
| BusinessFor 2 or more users. | $25/user/month (billed monthly)$20/user/month (billed annually) | Teams of 2 or more |
| Enterprise & Edu | Custom pricing | Large organizations and schools |
Codex is included in ChatGPT plans and shares their usage limits. With an API key, Codex usage is billed at API prices instead.
Prices in USD, as the vendor lists them. Plans change often, so check the current pricing before you buy.
Codex in ChatGPT plans: Free, Go, Plus, Pro and Business
- Free ($0) and Go ($8). Codex in the desktop app with GPT-6 Luna at Standard speed. OpenAI notes that access is still rolling out. Buying credits on these plans is open only to a small group of accounts.
- Plus ($20). Codex on the web, in the CLI, the IDE extension and the iOS app, cloud code review and the Slack integration. You can buy credits when the included usage runs out.
- Pro (from $100). Three tiers, Pro 100, Pro 200 and Pro 500, billed monthly with no annual option. Only Pro 500 includes the Ultrafast speed. OpenAI says Pro plans currently have no 5-hour limit, though weekly limits may apply.
- Business ($25 per user monthly, or $20 billed annually, from 2 users). Standard seats get the same message limits as Plus. OpenAI is also rolling out a Business Premium seat; its price is not in our table yet.
- Enterprise & Edu. Custom pricing through sales. Enterprise contracts can be billed in credits or in USD per token.
Is Codex free?
Partly. Free and Go include Codex in the desktop app with GPT-6 Luna, once the rollout reaches your account. The full feature set (web, CLI, IDE and cloud code review) starts with Plus at $20 a month.
You can also skip a ChatGPT plan and sign in to the Codex CLI, SDK or IDE extension with an API key. Cloud features are not available that way, and every token is billed at API prices. Claude Code has no free access at all, as our Claude Code pricing guide explains.
Codex usage limits: the 5-hour window and weekly cap
Codex draws on your plan's usage allowance, which local messages and cloud chats share. For Plus and Business Standard seats, OpenAI estimates how many local messages fit in a 5-hour window, and weekly limits may apply on top. These are estimates, not fixed caps: the count depends on the model, the size of each task and how much context it carries, and cloud tasks can use more.
Checked on . Source: learn.chatgpt.com/docs/pricing
| Model | Local messages per 5 hours |
|---|---|
| GPT-6.2 Astra | 6-50 |
| GPT-6.2 Sol | 17-180 |
| GPT-6 Astra | 5-45 |
| GPT-6.1 Sol | 15-160 |
| GPT-6.1 Terra | 35-285 |
| GPT-6 Sol | 15-150 |
| GPT-6 Luna | 350-3,000 |
Pro plans currently have no 5-hour limit. Faster modes use the allowance faster:
- Fast uses included usage at 2.5x the Standard rate (2x on GPT-6.2 Astra and Sol) and credits at 2x.
- Ultrafast, which among Pro plans only Pro 500 includes, uses included usage at 8x on GPT-6 Astra and GPT-6.1 Sol (credits at 6x) and at 6x on GPT-6.2 Astra and Sol (credits at 3x through February 28, 2027, then 6x).
When you reach a limit, the running turn finishes. Then you can wait for the window to reset, buy credits (on Plus and Pro) or continue local chats on an API key at API prices. OpenAI's tips to stretch the limit: shorter prompts and AGENTS.md files, fewer attached sources, and no MCP servers you do not need.
How to check your Codex usage (/status and the dashboard)
In the Codex CLI, two commands show where you stand:
/status active model, approval policy, writable roots,
token usage and remaining context
/usage account token activity: /usage daily, /usage weekly
or /usage cumulativeYour plan limits and reset times are on the usage dashboard at chatgpt.com/codex/settings/usage, and during a CLI session OpenAI also points to /status. Your credit balance and purchases sit under Settings > Usage in ChatGPT or Usage & Billing in the Codex app.
If /status shows a model you did not choose on purpose, switch with /model or codex --model gpt-6.2-sol. GPT-6.2 Astra uses credits 4 times as fast as GPT-6.2 Sol.
Codex credits and API billing
Once the included usage runs out, Codex draws on credits at a rate that depends on the model. OpenAI estimates that a typical GPT-5.6 Sol task uses 2-15 credits. Credit billing has no charge for cache writes.
Checked on . Source: learn.chatgpt.com/docs/pricing
| Model | Input | Cache read | Output |
|---|---|---|---|
| GPT-6.2 Astra | 200 | 10 | 1,000 |
| GPT-6.2 Sol | 50 | 2.5 | 250 |
| GPT-6.1 Sol | 50 | 2.5 | 250 |
| GPT-6.1 Terra | 25 | 1.25 | 125 |
| GPT-6 Astra | 250 | 25 | 1,250 |
| GPT-6 Sol | 50 | 5 | 250 |
| GPT-6 Luna | 2.5 | 0.25 | 12.5 |
| GPT-5.6 Sol | 100 | 10 | 500 |
| GPT-5.6 Terra | 50 | 5 | 300 |
| GPT-5.6 Luna | 5 | 0.5 | 30 |
Rates in credits per 1M tokens.
What a credit costs in dollars is not fixed: OpenAI says purchase amounts and prices vary by account, region and plan, and checkout shows the credit quantity, price and total before you pay. Credits expire 12 months after purchase (180 days for purchases in Japan after November 13, 2026) and are generally non-refundable.
Two details matter for your bill. Once the included usage is gone, Codex spends available credits automatically, and a saved instruction such as “ask me before using credits” does not add an approval step. A task that finishes after your balance runs out can also push it below zero, and your next purchase covers that first. If you turn on automatic reload, set a maximum monthly spend.
API key billing
On an API key, Codex is billed like any other API call. Here you also pay for cache writes (the table shows the 30-minute cache), and batch processing is half price.
Checked on . Source: developers.openai.com/api/docs/pricing
| Model | Input | Cache read | Cache write | Output |
|---|---|---|---|---|
| GPT-6.2 Astra | $8 | $0.40 | $10 | $40 |
| GPT-6.2 Sol | $2 | $0.10 | $2.50 | $10 |
| GPT-6 Astra | $10 | $1 | $12.50 | $50 |
| GPT-6.1 Sol | $2 | $0.10 | $2.50 | $10 |
Rates in USD per 1M tokens.
Example: one long session
Take the same session we use in all our pricing guides: 2,000,000 input tokens (1,600,000 of them read from the cache) and 100,000 output tokens. It is an illustration, not a measurement.
| Model | Credits per session |
|---|---|
| GPT-6.2 Sol | 49 |
| GPT-6.2 Astra | 196 |
| Model | Session cost | Cost with cache writes |
|---|---|---|
| GPT-6.2 Sol | $1.96 | $2.16 |
| GPT-6.2 Astra | $7.84 | $8.64 |
In credits, the session costs 49 on GPT-6.2 Sol and 196 on GPT-6.2 Astra. On an API key, the same session costs $1.96 and $7.84 before cache writes.
Is Codex worth it compared with Claude Code?
Plan for plan, the two cost about the same. Full agent work starts at $20 (Codex on Plus, Claude Code on Pro). Above that, Claude has Max at $100 and Ultra at $200, while Codex Pro comes in $100, $200 and $500 tiers. The differences are in the details:
- Codex is easier to try: Free and Go include it in the desktop app. Claude has no free access to Claude Code.
- Claude Pro offers annual billing ($17 a month); ChatGPT Plus and Pro do not.
- Codex Pro currently has no 5-hour limit on any tier. Claude drops it only on Ultra, for verified accounts.
- On the API, GPT-6.2 Sol and Claude Sonnet 5.5 cost the same: $2 per million input tokens and $10 per million output tokens. Our example session costs $1.96 on either, against $3.92 on Claude Opus 5.5, the default model in Claude Code.
| Plan type | Claude Code | Codex | Cursor |
|---|---|---|---|
| Free plan | Free$0/monthDoes not include Claude Code. | Free$0/month | Free$0/month |
| Entry plans | Pro$20/month (billed monthly)$17/month (billed annually, $200 up front) | Go$8/monthPlus$20/month | Plus$8/monthThird-party models are not available on this plan.Premium$30/month |
| Heavy use | Max$100/monthUltra$200/month | ProFrom $100/monthOptions at $100, $200 or $500 per month. | Super$100/monthUltra$200/month |
| Teams | Team (Standard seat)$25/user/month (billed monthly)$20/user/month (billed annually)For teams of 2 to 150.Team (Premium seat)$125/user/month (billed monthly)$100/user/month (billed annually)For teams of 2 to 150. | Business$25/user/month (billed monthly)$20/user/month (billed annually)For 2 or more users. | TeamsFrom $30/user/month |
| Enterprise | Enterprise$20/user/month (billed annually)Seat price plus usage at API rates; 20-seat minimum. | Enterprise & EduCustom pricing | EnterpriseCustom pricing |
Source: claude.com/pricing (), learn.chatgpt.com/docs/pricing (), cursor.com/pricing ()
Cursor sits in the same price range; see our Cursor pricing guide. For the companies behind both agents, read OpenAI vs Anthropic. App builders such as Lovable (Pro at $25 a month with 100 credits) and Replit (Core at $20) bill in credits; see the Lovable and Replit pages.
Which Codex plan should you choose?
- Just trying it: Free or Go, if the desktop app is enough. Plus once you want the CLI, the IDE extension or cloud tasks.
- Daily solo work: Plus, with credits for the occasional heavy day.
- Codex all day: start with Pro 100. Move to Pro 200 or Pro 500 only if you keep hitting weekly limits or need Ultrafast.
- Team or agency: Business from 2 users, ideally billed annually, which brings a seat down from $25 to $20.
- Scripts and CI: an API key, paying per token, without cloud features.
Codex pricing FAQ
Is Codex free or paid?
Both. ChatGPT Free and Go include Codex in the desktop app with GPT-6 Luna, once the rollout reaches your account. Full Codex (web, CLI, IDE and cloud code review) starts with Plus at $20 a month.
How much does a typical Codex session cost?
OpenAI estimates 2-15 credits for a typical GPT-5.6 Sol task. Our longer example session (2 million input tokens, mostly cached, and 100,000 output tokens) uses 49 credits on GPT-6.2 Sol, or $1.96 on an API key.
Is the $100 or $200 plan worth it?
Pro is worth it when Plus limits stop you most days. Pro plans currently have no 5-hour limit, though weekly limits may apply. Start with Pro 100 and move up only when you hit its weekly limit; only Pro 500 includes Ultrafast. Pro is billed monthly only.
Is Codex cheaper than Claude Code?
On subscriptions, barely. Both start at $20 for full agent work, and Claude's higher plans at $100 and $200 line up with the $100 and $200 Codex Pro tiers. Codex is cheaper to try, because Free and Go include it, while Claude Pro costs less with annual billing ($17 a month). On the API, GPT-6.2 Sol and Claude Sonnet 5.5 have the same token prices.
Why did Codex stop working mid-session?
Most likely you hit the 5-hour or weekly limit of your plan. Codex lets the running turn finish and then stops. Check the usage page in the Codex settings, which shows your limits and reset times, or run /status during a CLI session. Then wait for the reset, buy credits (on Plus and Pro) or continue local chats on an API key.
Sources (checked on November 23, 2026): learn.chatgpt.com/docs/pricing, chatgpt.com/pricing, help.openai.com/en/articles/12642688-using-credits-for-flexible-usage-in-chatgpt-personal-plans, help.openai.com/en/articles/9793128-about-chatgpt-pro-tiers, learn.chatgpt.com/docs/developer-commands, developers.openai.com/api/docs/pricing, docs.lovable.dev/introduction/subscription-plans, replit.com/pricing.