Codex pricing (December 2026): is Codex free, and what it costs
Codex pricing for 2026: Codex comes with every ChatGPT plan, including Free. Plus is $20 a month, Pro $100 to $500, Business $25 a seat. Limits and API rates.
OpenAI Codex has no separate price: it is included in every ChatGPT plan, and ChatGPT Free and Go include limited Codex access with the GPT-6 Luna model in the desktop app. Full Codex (web, CLI, IDE extension, iOS and cloud tasks) starts with ChatGPT Plus at $20 a month. Heavier users pay $100, $200 or $500 a month for Pro, and teams pay $25 per seat per month for ChatGPT Business, or $20 billed annually.
You can also skip the subscription and run Codex with an OpenAI API key, paying per token.
How much does Codex cost? Every plan
ChatGPT Work and Codex share one pricing scheme, one set of credits and one usage allowance. US prices, before tax:
| Plan | Price | Codex access |
|---|---|---|
| Free | $0 | GPT-6 Luna at Standard speed in the desktop app, subject to rollout |
| Go | $8/month | GPT-6 Luna at Standard speed in the desktop app, subject to rollout |
| Plus | $20/month | Codex on web, CLI, IDE extension and iOS; code review and Slack integration; extra usage with credits |
| Pro 100 | $100/month | More usage than Plus, no five-hour limit |
| Pro 200 | $200/month | More usage than Pro 100; Ultrafast for GPT-6.2 Sol in Codex |
| Pro 500 | $500/month | Highest included usage; Ultrafast on more models |
| Business, Standard seat | $25/seat/month, or $20 billed annually | Same estimated limits as Plus, plus admin controls and SSO |
| Business, Premium seat | $125/seat/month, or $100 billed annually | More usage than Standard, no five-hour limit |
| Enterprise and Edu | Contact sales | Flexible credit-based pricing, priority processing, compliance controls |
| API key | Per token | CLI, SDK and IDE extension only; no cloud features |
Pro is billed monthly only. Go is localized in some markets, so prices outside the US can differ.
Pro and Business plans also include monthly OpenAI API credits ($100 to $500 on Pro, $20 or $100 per Business seat), but those credits cannot be used for Codex through an API key and do not raise your Codex limits.
Is Codex free?
Yes, in a limited form. OpenAI lists Codex as "Limited" on the Free plan: you get GPT-6 Luna at Standard speed in the ChatGPT desktop app, and OpenAI notes this is subject to rollout, so it may not be on every account yet. Go ($8 a month) gets the same Codex access.
That is the whole of the Free and Go allowance as OpenAI lists it. Codex on the web, in the CLI and IDE extension, cloud tasks, GitHub code review, the Slack integration and the larger GPT-6.2 and GPT-6.1 models are listed starting with Plus, and OpenAI says image generation in Codex is not available on Free.
The other way to use Codex without a plan is with an API key, which is pay as you go. OpenAI's API has no free tier in money terms, so this is not free either.
Codex usage limits on Plus and Business
OpenAI publishes estimated local messages per five-hour window for Plus and Business Standard seats. They are ranges, not fixed caps, because usage depends on context size, reasoning and tools:
| Model | Plus | Business Standard |
|---|---|---|
| GPT-6.2 Astra | 6 to 50 | 6 to 50 |
| GPT-6.2 Sol | 17 to 180 | 17 to 180 |
| GPT-6.1 Sol | 15 to 160 | 15 to 160 |
| GPT-6.1 Terra | 35 to 285 | 35 to 285 |
| GPT-6 Luna | 350 to 3,000 | 350 to 3,000 |
Weekly limits may also apply, and cloud tasks use more of the allowance than local messages. Pro plans and Business Premium seats currently have no five-hour limit. Starting in December 2026, Plus, Pro and Business plans share one usage allowance across ChatGPT and Codex, so heavy chat use also eats into coding capacity.
Speed settings burn the allowance faster. Fast mode uses included usage at 2 times the Standard rate on GPT-6.2 models and 2.5 times on GPT-6.1 and GPT-6 models. Ultrafast uses it at 6 times (GPT-6.2) or 8 times (GPT-6 Astra and GPT-6.1 Sol).
What happens when you run out?
The turn you are on can finish. After that you have three choices:
- Wait for the limit to reset. Your usage dashboard, or
/statusin the Codex CLI, shows the reset time. - Buy credits. Plus and Pro users can buy ChatGPT credits in Settings > Usage, or in Usage & Billing in the Codex app. Business, Enterprise and Edu workspaces with flexible pricing buy workspace credits.
- Switch to an API key and pay standard API rates.
Credits are charged per token. OpenAI's rate card, in credits per million tokens at Standard speed:
| Model | Input | Cached input | Output |
|---|---|---|---|
| GPT-6.2 Astra | 200 | 10 | 1,000 |
| GPT-6.2 Sol | 50 | 2.5 | 250 |
| GPT-6.1 Terra | 25 | 1.25 | 125 |
| GPT-6 Luna | 2.5 | 0.25 | 12.5 |
OpenAI says a typical Codex task with GPT-6.2 Sol uses 2 to 15 credits. It does not publish one fixed dollar price per credit for personal plans: the price and packages are shown at checkout and depend on your plan and account.
Codex API pricing (using an API key)
With an API key, Codex runs in the CLI, SDK and IDE extension, and you pay OpenAI's normal API prices for whichever model you choose. Cloud features (Codex cloud, GitHub code review, Slack) are not available this way. OpenAI recommends this mode for automation in shared environments such as CI.
| Model | Input | Cached input | Output |
|---|---|---|---|
| gpt-5.3-codex (Standard) | $1.75 | $0.175 | $14.00 |
| gpt-5.3-codex (Fast) | $3.50 | $0.35 | $28.00 |
| GPT-6.2 Sol (Standard) | $2.00 | $0.10 | $10.00 |
| GPT-6.2 Astra (Standard) | $8.00 | $0.40 | $40.00 |
| GPT-6 Luna (Standard) | $0.10 | $0.01 | $0.50 |
Prices are per million tokens. Agentic coding sends a lot of context on every turn, so cached input pricing matters more here than in most apps. Set a hard spend limit on the key before running Codex in a loop; our OpenAI API key guide shows how.
Codex vs Claude Code vs Cursor: cost compared
| Tool | Free option | Entry plan | Higher plans |
|---|---|---|---|
| OpenAI Codex | Yes, limited (GPT-6 Luna in desktop app) | ChatGPT Plus, $20/month | Pro at $100, $200 or $500/month |
| Claude Code | No, not on Claude Free | Claude Pro, $20/month or $17/month billed annually ($200 up front) | Max at $100/month, Ultra at $200/month |
| Cursor (now sold as Grok Build) | Yes, limited, Grok and Composer models | Plus, $8/month (Grok models only) | Premium $30, Super $100, Ultra $200/month |
A few differences matter more than the sticker price:
- Claude Code is not available on Anthropic's free plan, so Codex is the only one of the two with a free tier. Claude Max and Ultra include $100 and $200 a month in API credits, similar to ChatGPT Pro's $100 to $500. Details in our Claude Code pricing guide.
- Cursor's pricing page now redirects to Grok's. Grok Build plans include a weekly pool for Grok and Composer models; OpenAI models count as third-party models, which are only on Premium and above and are billed at API list price from prepaid credit. So using OpenAI models in Cursor costs the $30 plan plus API rates. Existing Cursor Pro ($20) and Pro+ ($60) subscribers keep their legacy plans. See our Cursor pricing guide.
- Usage allowances are not comparable across vendors. Each one meters differently (messages, tokens, weekly pools), so the right plan depends on how many hours a day you run an agent.
For teams: ChatGPT Business is $25 per seat ($20 annually), and Grok Build Teams seats cost $30, $100 or $200 per month.
How startups can pay less for Codex
- Start on Plus, measure a few weeks of usage, and buy credits for occasional spikes rather than jumping to Pro.
- Use smaller models for routine work. On Plus, GPT-6 Luna gets roughly 350 to 3,000 local messages per five hours, against 6 to 50 for GPT-6.2 Astra.
- Pay annually on Business. Standard seats drop from $25 to $20 a month, and Premium from $125 to $100. Give Premium seats only to the people who hit limits; seats can be mixed and reassigned. Our ChatGPT Business pricing guide has the details.
- Use startup credits for API-key usage in CI and automation. OpenAI for Startups gives API credits to startups backed by an OpenAI partner VC, and Microsoft for Startups Azure credits cover Azure OpenAI models, including gpt-5.3-codex. Check that a grant covers the usage you plan before relying on it.
OpenAIOpenAI for StartupsFree API credits, rate limit upgrades and time with solutions engineers for startups backed by an OpenAI VC partner (amount not published)Needs an investorUnpublished
MicrosoftMicrosoft for StartupsUp to $150,000 in Azure Startup creditsApply directly$150KAnthropicClaude Startups (VC partner API credits)Up to $100K in additional Claude API credits, claimed through a VC in Anthropic's partner networkNeeds an investor$100K
If you are comparing coding agents, Claude Startups offers up to $100K in Claude API credits through Anthropic's VC partners. Our OpenAI credits guide lists every route to free OpenAI usage.
Questions
Is Codex free?
Partly. ChatGPT Free and Go include limited Codex access with GPT-6 Luna at Standard speed in the desktop app, subject to rollout. The full Codex experience on the web, CLI, IDE extension and iOS, with cloud tasks and GitHub code review, starts with ChatGPT Plus at $20 a month.
Is Codex included in ChatGPT Plus?
Yes. Plus includes Codex on the web, in the CLI, in the IDE extension and on iOS, plus automatic code review and the Slack integration. Usage is limited per five-hour window and weekly, and you can buy credits when you run out.
How much does Codex cost per month?
Codex costs nothing extra on top of a ChatGPT plan. In the US, Plus is $20 a month, Pro is $100, $200 or $500 a month, and ChatGPT Business is $25 per seat per month ($20 billed annually) for Standard seats or $125 ($100 annually) for Premium seats.
Can I use Codex with an API key instead of a subscription?
Yes. Codex works in the CLI, SDK and IDE extension with an OpenAI API key, billed at standard API token rates, for example $1.75 per million input tokens and $14 per million output tokens for gpt-5.3-codex. Cloud features such as GitHub code review and Slack are not available with an API key.
What happens when I hit my Codex usage limit?
The task you are running can finish, subject to fair use. After that, Plus and Pro users can buy ChatGPT credits to keep working, Business and Enterprise workspaces with flexible pricing can buy workspace credits, and anyone can switch to an API key billed at API rates.
Programs in this guide
OpenAIOpenAI for StartupsFree API credits, rate limit upgrades and time with solutions engineers for startups backed by an OpenAI VC partner (amount not published)Needs an investorUnpublished
MicrosoftMicrosoft for StartupsUp to $150,000 in Azure Startup creditsApply directly$150KAnthropicClaude Startups (VC partner API credits)Up to $100K in additional Claude API credits, claimed through a VC in Anthropic's partner networkNeeds an investor$100K
Sources
- developers.openai.com/codex/pricing
- openai.com/chatgpt/pricing
- help.openai.com/en/articles/6950777-what-is-chatgpt-plus
- help.openai.com/en/articles/9793128-about-chatgpt-pro-tiers
- openai.com/index/introducing-chatgpt-go
- openai.com/business/chatgpt-pricing
- help.openai.com/en/articles/12642688-using-credits-for-flexible-usage-in-chatgpt-personal-plans
- platform.openai.com/docs/pricing
- developers.openai.com/api/docs/guides/chatgpt-api-credits
- claude.com/pricing
- cursor.com/pricing
- grok.com/help/account-and-billing/pricing
Related guides
- ChatGPT Business pricing (December 2026): cost per seat and plans
ChatGPT Business pricing: $25 per user a month, or $20 billed annually; Premium seats are $125 or $100. Seat rules, Enterprise, privacy and how to pay less.
- AI credits for startups: every free AI credit program (2026)
Free AI credits for startups from OpenAI, Anthropic, xAI, Google, GPU clouds, voice APIs and vector DBs. Which need a VC and which you can apply for directly.
- Claude Code pricing (December 2026): plans, API costs and free options
Claude Code pricing: it is not free. It comes with Pro ($20 a month), Max ($100), Ultra ($200), Team, Enterprise or API billing. Real costs and how to cut them.
- Claude pricing (December 2026): every plan and API price
Claude pricing for December 2026: Free $0, Pro $20 a month, Max $100, Ultra $200, Team from $20 a seat. Every plan, usage limit and API price, compared.