OpenAI Codex pricing and usage limits
Codex is included with ChatGPT plans and is also available with an API key. Here is what each plan costs, how its usage limits work, and how to pick one.
Codex plans and prices
| Plan | Price | What you get in Codex |
|---|---|---|
| Free | $0 | Quick tasks with GPT-6 Luna in the desktop app (rolling out) |
| Go | $8/mo | Lightweight tasks with GPT-6 Luna in the desktop app (rolling out) |
| Plus | $20/mo | Codex on web, CLI, IDE and iOS; 5-hour allowance, weekly limits may apply |
| Pro | $100, $200 or $500/mo | Everything in Plus; currently no 5-hour limit |
| Business | $25/user/mo ($20 billed yearly, 2+ users) | Same 5-hour allowance as Plus, plus admin controls and SSO |
| Enterprise / Edu | Contact sales | Flexible credits; no fixed rate limits |
| API key | Pay per token | Billed at API rates; no cloud features |
Codex usage limits
On Plus and Standard Business seats, Codex usage is an allowance per 5-hour window, and weekly limits may also apply. OpenAI publishes estimated ranges of local messages per window:
| Model | Local messages per 5 hours (Plus and Business) |
|---|---|
| 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 |
| GPT-6.2 Astra | 6 to 50 |
OpenAI gives ranges, not fixed caps: bigger prompts and longer sessions use more of the allowance, and cloud tasks use more than local messages.
Pro plans currently have no five-hour limit. Enterprise and Edu plans on flexible pricing have no fixed rate limits; usage draws down credits.
Credits
When Plus or Pro users run past their allowance, they can buy credits, valid for 12 months. OpenAI prices model usage in credits per million tokens; for example GPT-6.2 Sol costs 50 credits per million input tokens and 250 per million output tokens. A typical Codex task with GPT-6.2 Sol uses 2 to 15 credits.
Codex API pricing
Using Codex with an API key bills at API rates instead of your ChatGPT allowance, and cloud features are off.
| Model | Input | Cached input | Output |
|---|---|---|---|
| GPT-6.2 Sol | $2 | $0.10 | $10 |
| GPT-6.2 Astra | $8 | $0.40 | $40 |
US dollars per million tokens at standard speed. Fast mode costs more.
Which plan should you pick?
- Trying it out: Free or Go, or an API key.
- Daily coding: Plus at $20, or Business at $25 per seat for teams that need admin controls and SSO.
- Heavy agent use: Pro, which currently drops the 5-hour limit.
To see which plan each developer actually needs, paste their Codex usage into the free Claude Code and Codex usage tracker.
Sources, checked December 5, 2026: Codex pricing, Codex credits. Prices change often, so check the vendor's page before you buy.
Frequently asked questions
How much does OpenAI Codex cost?
Codex comes with ChatGPT plans: Plus at $20 a month, Pro at $100, $200 or $500, and Business at $25 per user a month ($20 billed yearly). Free and Go include light Codex use in the desktop app as it rolls out. You can also use Codex with an API key, billed per token.
What are Codex usage limits on ChatGPT Plus?
Plus has an allowance per 5-hour window, and weekly limits may also apply. OpenAI estimates, for example, 17 to 180 local messages per 5 hours with GPT-6.2 Sol and 350 to 3,000 with GPT-6 Luna, depending on task size.
Does Codex Pro have limits?
Pro plans currently have no five-hour limit, according to OpenAI's Codex pricing page.
What happens when I run out of Codex usage?
On Plus and Pro you can buy credits to keep going. A typical Codex task with GPT-6.2 Sol uses 2 to 15 credits. Otherwise you wait for the window to reset.
How do I see my Codex usage?
For the CLI, run npx @ccusage/codex@latest daily to read local session logs by day. Paste the --json output into our free tracker to see spend and the plan that fits.
Track your whole team's Claude Code and Codex usage
Billgist's team tracker collects each developer's usage automatically, shows spend against every seat's plan, and sends a weekly report to email or Slack, with an alert before anyone hits a limit. It's free while in early access.