BlogPricing
Codex Pricing (2026): Plans, Usage Limits and Credits
By Utpal Nadiger · Updated November 27, 2026
Codex pricing starts at $20 a month: as of November 2026, ChatGPT Plus ($20) is the cheapest plan with Codex in the CLI, IDE extension, web and cloud, Pro costs $100, $200 or $500 a month, and Business costs $20 per user per month billed annually ($25 monthly). Free and Go ($8) get only a limited model in the desktop app. You can also run the Codex CLI on an OpenAI API key and pay per token, from $2 per million input tokens on GPT-6.2 Sol.
Codex shares its allowance with the rest of ChatGPT's agent features. Plans differ mainly in how much you can use before you hit Codex usage limits, not in which tools you get.
Codex pricing by plan
These are the plans on OpenAI's Codex pricing page as of November 2026:
| Plan | Price | Codex access | Notes |
|---|---|---|---|
| Free | $0 | GPT-6 Luna in the desktop app, subject to rollout | Light tasks only |
| Go | $8 a month | Same as Free | |
| Plus | $20 a month | Web, CLI, IDE extension and iOS, plus cloud code review and Slack | GPT-6.1 Sol and GPT-6 Luna; can buy credits |
| Pro | $100, $200 or $500 a month | Everything in Plus | No 5-hour limit; Ultrafast mode on Pro $500 |
| Business | $20 per user a month billed annually, $25 monthly, 2 users minimum | Everything in Plus | Larger cloud VMs, SAML SSO, admin controls |
| Enterprise and Edu | Contact sales | Everything in Business | SCIM, audit logs, data residency, priority processing |
| API key | Pay per token | CLI, SDK and IDE extension only | No cloud features such as code review or Slack |
The Pro tiers are billed monthly only. The $500 tier includes Ultrafast mode; the $200 tier has Ultrafast only for GPT-6.2 Sol in Codex.
What each surface needs
Codex runs in several places, and not all of them work on every kind of account:
- CLI and IDE extension. Work on any paid plan or with an API key. On an API key you pay API prices instead of drawing on a plan.
- Codex on the web (cloud tasks). Needs a ChatGPT plan from Plus up. Cloud tasks run on OpenAI's VMs, and OpenAI notes they may use more of your allowance than local messages. Business gets larger VMs.
- Cloud integrations. Automatic GitHub code review and the Slack integration are listed on Plus and above. They are not available when you sign in with an API key.
- Desktop app. Free and Go users get GPT-6 Luna there, subject to rollout.
If you only want the terminal agent for CI or scripts, an API key is the simplest route. If you want cloud tasks or code review, you need a plan.
Codex usage limits
OpenAI does not publish fixed caps. Instead it gives ranges of local messages per five-hour window for Plus and Standard Business, because usage depends on the model, the size of the task and how much context it carries. As of November 2026:
| Model | Local messages per 5 hours (Plus and Standard Business) |
|---|---|
| GPT-6.2 Astra | 6 to 50 |
| GPT-6.2 Sol | 17 to 180 |
| GPT-6.1 Sol | 15 to 160 |
| GPT-6.1 Terra | 35 to 285 |
| GPT-6 Luna | 350 to 3,000 |
A few rules sit around these numbers, all from the pricing docs:
- "Pro plans currently have no five-hour limit."
- Local messages and cloud tasks share one allowance, and "weekly limits may also apply". OpenAI does not publish the weekly figures.
- Enterprise and Edu with flexible pricing have no fixed rate limits; usage scales with credits. Enterprise without flexible pricing has the same per-seat limits as Plus for most features.
- Fast mode uses 2x to 2.5x the allowance of Standard speed, and Ultrafast uses 6x to 8x.
You can see your current limits and reset times on the Codex usage dashboard in ChatGPT settings, or with /status in the CLI. When you hit a limit, a turn already in progress may finish before Codex stops.
Credits: going past the limit
Plus and Pro users can buy ChatGPT credits to keep working after their included usage runs out. Credits are used only after the plan allowance, auto-reload is available, and credits expire 12 months after purchase. OpenAI is explicit that "these credits are not API credits", so they do not work with an API key. Business and Enterprise workspaces with flexible pricing buy credits for the workspace.
Usage is charged in credits per million tokens. As of November 2026:
| Model | Input | Cached input | Output |
|---|---|---|---|
| GPT-6.2 Astra | 200 credits | 10 credits | 1,000 credits |
| GPT-6.2 Sol | 50 credits | 2.5 credits | 250 credits |
| GPT-6.1 Sol | 50 credits | 2.5 credits | 250 credits |
| GPT-6.1 Terra | 25 credits | 1.25 credits | 125 credits |
| GPT-6 Luna | 2.5 credits | 0.25 credits | 12.5 credits |
OpenAI says credit purchase prices depend on your plan or agreement, and its docs do not list a single dollar price per credit. For USD usage-based billing, it lists GPT-6.2 Sol at $2, $0.10 and $10 per million input, cached and output tokens, the same as the API.
Codex API pricing
With an API key, the Codex CLI bills each request at OpenAI's API prices. As of November 2026, per million tokens:
| Model | Input | Cached input | Output |
|---|---|---|---|
| gpt-6.2-astra | $8 | $0.40 | $40 |
| gpt-6.2-sol | $2 | $0.10 | $10 |
| gpt-6.1-sol | $2 | $0.10 | $10 |
| gpt-6.1-terra | $1 | $0.05 | $5 |
| gpt-6-luna | $0.10 | $0.01 | $0.50 |
The Batch API is half price, but interactive agent work does not use it. The API has no five-hour or weekly plan limits, only your organization's rate limits, which makes it a good fit for CI and for usage that comes in bursts.
Which Codex plan should you choose?
- Plus ($20): you use Codex a few times a day, mostly on Sol or Terra, and can wait out an occasional five-hour reset.
- Pro $100 or $200: Codex is part of your working day. No five-hour limit makes long sessions possible.
- Pro $500: you want Ultrafast mode across models and the largest allowance.
- Business: you need a shared workspace, SSO and admin controls for two or more people.
- Enterprise: you need SCIM, audit logs, data residency, or flexible pricing with no fixed limits.
- API key: CI, scripts, or occasional use where paying per token is cheaper than a plan.
If you are weighing Codex against other agents, compare it with Claude Code in Codex vs Claude Code and see Claude Code pricing. Claude Code is the better pick if your team already pays for Claude Max.
Is there a cheaper way to run Codex in the cloud?
If you work alone, Codex cloud on your Plus or Pro plan is the cheapest way to run it in the cloud, since the VMs are included.
OpenComputer runs Codex and Claude Code in its own cloud, on one Linux machine per Slack workspace, and you hand it work by mentioning @Computer in a thread. You can bring the ChatGPT subscription you already pay for, use your own API key, or use OpenComputer tokens at API prices with no markup. When the subscription hits its limit, you choose whether to fall back to those tokens until the reset or stop and wait. OpenComputer bills per workspace for work minutes, counted only while the agent works: Pro is $20 a month for 2,000 minutes, Max is $200 for 25,000, and extra minutes cost $0.01. Codex is available only on the hosted service; the open-source, self-hosted build runs Claude Code only.
FAQ
Is Codex included with ChatGPT Plus?
Yes. As of November 2026, ChatGPT Plus at $20 a month includes Codex on the web, in the CLI, in the IDE extension and on iOS, plus cloud code review and the Slack integration. Free and Go get only a limited model in the desktop app.
What are the Codex usage limits on Plus?
OpenAI gives ranges rather than fixed caps. On Plus, GPT-6.2 Sol allows roughly 17 to 180 local messages per five hours and GPT-6 Luna roughly 350 to 3,000. Cloud tasks can use more, and weekly limits may also apply.
Does ChatGPT Pro have Codex limits?
Pro plans currently have no five-hour limit, according to OpenAI. Weekly limits may still apply, and OpenAI does not publish their size. Fast and Ultrafast modes use the allowance faster than Standard speed.
Can I use ChatGPT credits with the OpenAI API?
No. OpenAI says ChatGPT credits are not API credits. They extend your plan's Codex and agent usage after the included allowance runs out, while API key usage is billed separately at API prices through your OpenAI platform account.
How much does Codex cost on an API key?
You pay per token at OpenAI API prices. As of November 2026, GPT-6.2 Sol costs $2 per million input tokens and $10 per million output tokens, and GPT-6.2 Astra costs $8 and $40. An API key works in the CLI, SDK and IDE extension but not in cloud features.
Do Codex credits expire?
Yes. OpenAI says ChatGPT credits expire 12 months after purchase. They are used only after your plan's included usage runs out, and you can turn on auto-reload so you do not run out in the middle of a task.