Checked November 12, 2026 against OpenAI's Codex docs (developers.openai.com/codex, now served from learn.chatgpt.com) and chatgpt.com/pricing (US prices). This is a documentation-based explainer, not a hands-on test.
Quick verdict
Trying Codex: Free and Go ($8/month) include limited Codex access for quick, light coding tasks.
Regular coding: Plus at $20/month unlocks Codex on the web, CLI, IDE extension and iOS, with limits that reset every five hours.
All-day use: Pro comes in $100, $200 and $500 tiers, and OpenAI says Pro currently has no five-hour limit.

Illustration: AI Tool Audit, created with Google Gemini
On this page
What Codex is
Codex is OpenAI's coding agent. You give it a goal, and it reads your code, makes changes and runs commands. It is not a separate subscription. It comes with your ChatGPT plan, or you can pay per use with an API key.
OpenAI's docs list these places to use it:
- the ChatGPT desktop app, including Windows and Linux versions
- the ChatGPT mobile app and ChatGPT on the web
- the Codex CLI in your terminal
- the Codex IDE extension for your code editor
- Codex Cloud, which runs tasks on OpenAI's machines
The docs also cover code review, a GitHub Action and a GitHub integration. On macOS and Linux, the CLI installs with a one-line script from chatgpt.com. You then run codex in a project folder and sign in with ChatGPT.
Codex by ChatGPT plan
| Plan | US price | What Codex includes |
|---|---|---|
| Free | $0 | Quick coding tasks; GPT-6 Luna at standard speed in the desktop app, as it rolls out |
| Go | $8/month | Lightweight coding tasks; same model access as Free |
| Plus | $20/month | Codex on web, CLI, IDE extension and iOS; GPT-6.1 Sol and GPT-6 Luna; five-hour limits |
| Pro | From $100/month ($100, $200 or $500 tiers) | No five-hour limit for now; Ultrafast mode on the $500 tier |
| Business | $20/user/month billed yearly, or $25 monthly (2+ users) | Desktop and mobile apps, larger cloud machines, admin controls; same five-hour limits as Plus |
| Enterprise and Edu | Contact sales | Priority processing and enterprise security; limits depend on pricing type |
| API key | Pay per use at API rates | CLI, SDK and IDE extension; no cloud features |
The ChatGPT pricing page sums it up in short lines. Free and Go show "Limited" Codex. Plus lists "Expanded Codex usage." Pro lists longer Codex sessions.
How the five-hour limits work
On Plus and standard Business, Codex counts local messages in five-hour windows. The allowance depends on which model you pick. OpenAI gives ranges, not fixed numbers:
| Model | Local messages per five hours |
|---|---|
| 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 |
Three rules sit on top of these numbers:
- Local messages and cloud tasks share the same allowance.
- Cloud tasks may use more of it than local messages.
- Weekly limits may also apply.
Speed modes cost more, too. OpenAI says Fast mode uses 2.5x the normal subscription usage, and Ultrafast mode for GPT-6.1 Sol uses 8x.
The practical lesson: pick the lighter model for routine edits and save the strongest model for hard problems. The table shows the gap can be large.
What happens when you hit the limit
You have three options:
- Wait for the five-hour window to reset.
- Buy credits. Plus and Pro users can buy extra ChatGPT credits. Business, Edu and Enterprise workspaces on flexible pricing can buy workspace credits. OpenAI lists credit rates per million tokens. For GPT-6.1 Sol that is 50 credits for input, 2.5 for cached input and 250 for output.
- Switch to an API key. OpenAI says any user can keep running local chats with an API key after hitting plan limits, billed at standard API rates.
Enterprise and Edu with flexible pricing have no fixed rate limits; usage scales with credits. Without flexible pricing, most features follow the same per-seat limits as Plus.
Plus or Business at the same price?
Business billed yearly costs $20 per user, the same as Plus. Standard Business seats also share Plus's five-hour Codex limits. What Business adds is a shared workspace: admin controls and larger cloud machines for Codex tasks. It needs at least two users. A solo developer gets the same Codex limits on Plus, while a small team gets central billing and control on Business. For comparison, Claude Pro also costs $20 a month and includes Claude Code.
Which plan should you choose?
- Free or Go if you want to try Codex on small tasks in the desktop app.
- Plus if you code a few hours a week and want the CLI, IDE extension and cloud tasks.
- Pro if you keep hitting five-hour limits or run long agent sessions most days.
- Business for teams of two or more who need admin controls.
- An API key if your use is irregular and you would rather pay per token, and you can live without cloud tasks.
For a wider view, see our ChatGPT plans explainer, best AI coding tools, Claude Code explained and the AI tool price table. Our OpenAI API pricing guide helps if you plan to use an API key.
FAQ
Is OpenAI Codex free?
Partly. ChatGPT Free includes limited Codex access for quick coding tasks. Full access to the CLI, IDE extension and web starts with Plus at $20 a month.
Does Codex have usage limits?
Yes. Plus and standard Business count local messages in five-hour windows, with ranges by model, and weekly limits may apply. Pro currently has no five-hour limit.
Can I use Codex with an API key instead of ChatGPT?
Yes. An API key works with the Codex CLI, SDK and IDE extension, billed at API rates. Cloud features are not included.
What can I do when I run out of Codex usage?
Wait for the reset, buy extra credits on Plus or Pro, or continue local work with an API key at standard API rates.
Sources
- OpenAI Codex pricing docs (checked November 12, 2026)
- OpenAI Codex docs overview (checked November 12, 2026)
- Codex CLI docs (checked November 12, 2026)
- ChatGPT pricing (checked November 12, 2026)
- Claude pricing (checked November 12, 2026)




