OpenAI Codex Pricing, Plans & Limits

OpenAI Codex combines local CLI/IDE coding agents with sandboxed cloud devbox execution for multi-file engineering, PR generation, and automated testing. Developers run Codex through ChatGPT subscriptions ($0 Free up to $500/month Pro 500), Codex-only workspace credit seats, or pay-as-you-go OpenAI API keys.

Pricing checked: Nov 29, 2026 Profile verified: Nov 29, 2026 How we verify

OpenAI Codex Plans & Usage Limits

9 tiers verified
OpenAI Codex pricing tiers, monthly and annual costs, limits, and recommended audience
Plan Price Core Limits Best For
Free
$0
  • Local lightweight Codex tasks on baseline models (GPT-6 Luna), capped windows, no cloud devbox or GitHub PR reviews
  • may show ads in select markets
Evaluating local Codex CLI workflows and occasional small scripts
Go
$8/mo
Monthly billed annually
  • Higher everyday message caps, expanded uploads, longer memory for light coding
  • may include ads in select regions
Budget-conscious learners and occasional coding assistance
Plus
$20/mo
Monthly billed annually
  • Ad-free expanded Codex across CLI, IDE, and cloud devboxes, automated GitHub PR reviews, Slack integration, GPT-6.2/6.1 Sol reasoning
  • 5-hour and weekly token caps
Daily individual developers mixing local CLI and cloud PR delegations
Pro 100
$100/mo
Monthly billed annually
~5x Plus token capacity across ChatGPT Work and Codex with relaxed 5-hour friction Full-time engineers running daily autonomous coding loops
Pro 200
$200/mo
Monthly billed annually
~20x Plus high-volume weekly allocation for intensive parallel agent and reasoning sessions Power users running concurrent Codex CLI and cloud devbox jobs
Pro 500
$500/mo
Monthly billed annually
Maximum individual allocation plus Ultrafast mode (higher credit consumption multiplier for minimal latency) Heavy autonomous engineering and latency-sensitive multi-agent loops
Business Standard
$25/user/mo
$20/user/mo billed annually
  • 2-seat min
  • shared workspaces, default training opt-out, ChatGPT Work and Codex included with 5-hour rolling cap
  • flexible workspace credits optional
Startups and engineering teams needing privacy and shared billing
Business Premium
$125/user/mo
$100/user/mo billed annually
  • 2-seat min
  • ~5x Business Standard capacity, removes 5-hour rolling cap, default training opt-out, shared workspaces
High-velocity engineering teams shipping daily with Codex agents
Enterprise
Custom
Custom contracts, Codex-only credit seats, SCIM provisioning, Enterprise Key Management, data residency, SLAs Large enterprises with strict compliance and data residency mandates
API Pricing Route (per 1M tokens + flexible workspace credits)

$2.00 input / $10.00 output (GPT-6.2 Sol) with cached-input discounts: Codex CLI, SDK, and IDE extensions accept direct OpenAI API keys billed per token without subscription caps, though cloud features such as automated GitHub PR reviews require a ChatGPT subscription or workspace.

What Buyers Often Miss

  • Free ($0/mo) and Go ($8/mo) limit Codex to basic local tasks and may show ads in select markets; ad-free cloud devboxes and automated GitHub PR reviews start at Plus ($20/mo).
  • ChatGPT Work and Codex share one unified token allowance on Plus, Pro, and Business plans, while lightweight Instant chats remain exempt from draining your heavy coding pool.
  • Authenticating the Codex CLI or SDK with a raw OpenAI API key bills separately from your ChatGPT subscription and omits hosted cloud features like GitHub PR reviews, so verify your active auth profile before batch refactors.
  • Ultrafast mode on Pro 500 ($500/mo) slashes wait times on huge repositories but burns token credits at a significantly steeper multiplier than standard execution.
  • Business Standard ($20-$25/user/mo) enforces a 5-hour rolling cap while Business Premium ($100-$125/user/mo) removes it; consumer subscribers must separately toggle both chat and Codex environment opt-outs for full training privacy.

Developer & API Reality Check

Subscription vs. API

Heavy daily interactive Codex usage frequently equals $700 to $800+/month at raw API token rates, making Plus ($20/mo), Pro 100 ($100/mo), and Pro 200 ($200/mo) massive flat-rate subsidies. Direct OpenAI API keys win for headless CI/CD pipelines, sporadic weekend bursts, or bypassing subscription ceilings.

Agent & MCP Fit

Supports Model Context Protocol (MCP) servers, repository-level .codex/skills/ and .agents/skills/ instructions, local CLI execution, IDE extensions, and sandboxed cloud devboxes.

Open-Source Alternative

OpenCode or Cline with local models (Qwen 2.5 Coder 32B or GLM-5.2) or third-party inference providers gives complete transparency, though you give up OpenAI's hosted ephemeral cloud devboxes and Ultrafast inference tier.

How OpenAI Codex Pricing Actually Works

Modern OpenAI Codex has no standalone consumer subscription. Instead, OpenAI bundles Codex across ChatGPT consumer and team tiers documented on the official ChatGPT and Codex pricing page, spanning Free ($0/month) through Pro 500 ($500/month) alongside pay-as-you-go API keys and flexible workspace credits.

Understanding how OpenAI meters tokens across surfaces stops unexpected lockouts mid-sprint. Empirical developer disk-log audits show heavy daily Codex sessions frequently consume $700 to $800 API equivalent tokens per month, explaining why flat Pro 100 ($100/month) and Pro 200 ($200/month) pools heavily subsidize full-time interactive engineers.

Unified Token Pools and the Instant Chat Exemption

Rather than counting flat messages, OpenAI meters ChatGPT Work and Codex through one shared token pool tracking input, cached input, and output tokens across Plus, Pro, and Business plans. Heavy multi-file refactors and cloud devbox loops drain that unified pool dynamically based on context size and model tier.

One helpful safeguard softens throttling: lightweight Instant chat queries carry an Instant chat exemption and do not draw from your shared reasoning and coding pool. You can compare this unified token structure against rival coding subscriptions in our AI assistant and coding plans matrix.

Subscription Seats vs. API Keys and Workspace Credits

Codex operates across three surfaces: the local Codex CLI, IDE extensions, and cloud-hosted ephemeral devboxes that execute background tasks and open GitHub PR reviews. When you log in via ChatGPT, every surface shares your subscription allowance cleanly.

Teams can layer flexible workspace credits onto Business accounts to absorb sprint overages without upgrading every engineer permanently, or provision usage-based Codex-only team seats billed strictly against workspace credits. Developers can also connect the Codex CLI or SDK to a raw OpenAI API key, though API-only auth excludes hosted cloud features like automated GitHub PR reviews.

Plan-by-Plan Breakdown: Which Tier Should You Pick?

Picking the right OpenAI Codex plan depends on whether you need cloud devboxes, how often you hit the 5-hour rolling cap, and whether your team requires default training opt-out privacy.

Free ($0/month), Go ($8/month), and Plus ($20/month)

ChatGPT Free ($0/month) and Go ($8/month) allow lightweight local Codex CLI scripting on baseline models like GPT-6 Luna inside tight windows, and both tiers may display ads in select regions. If you wonder whether OpenAI Codex free is worth it, Free works well to test local CLI ergonomics, but it excludes cloud devboxes and GitHub PR reviews.

ChatGPT Plus ($20/month) is the true starting point for daily software engineers. Plus removes ads, unlocks advanced reasoning models including GPT-6.2 Sol and GPT-6.1 Sol, adds cloud devbox tasks, automated GitHub PR reviews, and Slack triggers, subject to 5-hour rolling and weekly token caps. See how coding allowances interact with general chat perks in our ChatGPT subscription tiers and limits profile.

Pro 100 ($100), Pro 200 ($200), and Pro 500 ($500/month)

OpenAI divides heavy individual coding across a three-step Pro ladder with monthly-only billing and no annual discount:

  • Pro 100 ($100/month): Roughly 5x Plus capacity with relaxed 5-hour cap friction for full-time daily developers.
  • Pro 200 ($200/month): Roughly 20x Plus high-volume weekly allocation built for concurrent local CLI and cloud devbox workflows.
  • Pro 500 ($500/month): Maximum individual quota plus Ultrafast mode, which slashes wait times on massive monorepos while burning credits at a steeper multiplier.

Review current runner modes, sandbox flags, and authentication switches in the OpenAI Codex developer documentation.

Business Standard ($25/seat), Business Premium ($125/seat), and Enterprise

Business plans require a 2-seat minimum and enforce workspace training opt-out privacy by default, unlike consumer tiers where users must manually verify both chat and Codex environment context opt-outs. Annual billing lowers Business Standard from $25 to $20/user/month and Business Premium from $125 to $100/user/month.

The operational gap between team tiers is sharp: Business Standard enforces a 5-hour rolling cap, whereas Business Premium delivers roughly 5x Standard capacity and removes the 5-hour rolling cap. Enterprise adds custom pricing, Codex-only credit seats, SCIM provisioning, Enterprise Key Management, data residency, and SLAs.

Workload Cost, Rate Limits, and API Breakeven Math

Estimating monthly Codex cost comes down to comparing flat subscription subsidies against raw token rates on the OpenAI API pricing schedule. For models such as GPT-6.2 Sol ($2.00 input / $10.00 output per 1M tokens) up through flagship reasoning tiers ($10.00 / $50.00 per 1M), multi-turn repository context compounds quickly when billed per token.

Monthly Cost & API Breakeven Table by Coding Workload

Developer Workload Profile Weekly Codex Volume Est. Raw OpenAI API Cost Recommended Codex Plan Monthly Spend Breakeven Verdict
Hobby & Quick Scripts (local debugging) 3 to 5 light tasks $3 to $10/mo Free ($0) or Go ($8/mo) $0 to $8/mo Free/Go covers basic tests; skip paid seats
Daily Solo Developer (CLI + 5 cloud PRs/wk) 15 to 25 hrs/wk $60 to $140/mo Plus ($20/mo) $20/mo Plus beats raw API by 3x+ if 5-hr caps fit
Full-Time Agentic Builder (daily refactors) 30 to 45 hrs/wk $300 to $800+/mo Pro 100 ($100) or Pro 200 ($200) $100 to $200/mo Massive flat-rate subsidy over metered API
Latency-Critical Multi-Agent (Ultrafast loops) 50+ parallel tasks $900 to $1,800+/mo Pro 500 ($500/mo) $500/mo Justified only when Ultrafast speed beats budget
CI/CD & Spiky Team Sprints (bursty pipelines) Variable bursts Pure metered tokens Business Standard + API Key / Credits $20/seat + usage Avoids paying $100+ seats for idle weeks

Troubleshooting Rate-Limit Lockouts and Auto-Review Burn

Developers tracking issues in the open-source OpenAI Codex CLI repository report two frequent rate-limit traps. First, enabling aggressive recursive auto-review or subagent loops can quietly drain 30% to 60% of a 5-hour cap in a single task.

Second, hitting a subscription rate limit in the TUI can set a sticky recovery lock that blocks custom ~/.codex/config.toml provider fallbacks until the window clears. Separately, mixing a ChatGPT login and an OPENAI_API_KEY environment variable creates dual billing auth profile confusion where batch scripts unexpectedly hit your API card.

Four operational checks keep Codex predictable:

  • Monitor burn via /stats: Run /stats inside Codex CLI (or inspect Settings -> Usage) to verify live 5-hour and weekly pools when UI counters lag.
  • Scope recursive auto-review permissions: Restrict deep recursive code review flags on large PRs so background subagents stop multiplying token consumption silently.
  • Keep .codex/skills/ lean: Store concise, task-scoped instructions inside .codex/skills/ rather than huge manuals; our guide on portable agent skills across CLIs outlines clean shared patterns.
  • Separate CI and interactive auth: Pin headless automation strictly to dedicated API keys documented in the OpenAI developer platform docs so background pipelines never collide with interactive seats.

When to Choose OpenAI Codex vs. Alternatives

Choose OpenAI Codex when you want both local CLI speed and isolated cloud devbox PR execution under one OpenAI account, or when your company already pays for ChatGPT Business and wants default training opt-out plus flexible workspace credits. Its three-step Pro ladder ($100, $200, $500) and Ultrafast option also offer finer capacity scaling than single-tier rivals.

OpenAI Codex vs. Claude Code and Cursor

Compare Claude Code if your team prefers local-shell execution paired with deep Model Context Protocol (MCP) ecosystems and Anthropic’s Claude Opus 5.5 and Sonnet 5.5 models for complex monorepo refactoring; review its 5-hour and weekly pools in our Claude Code pricing and rolling caps guide.

Look at Cursor if you want visual inline diff decorations, low-latency Tab autocomplete, and Bugbot reviews inside a dedicated VS Code fork rather than asynchronous cloud devboxes.

OpenAI Codex vs. GitHub Copilot and Open-Source Stacks

Choose GitHub Copilot if your organization standardizes on JetBrains IDEs, Xcode, or Visual Studio with centralized GitHub Enterprise billing and Microsoft compliance controls.

Finally, if strict air-gapped security or zero third-party cloud devbox dependency is mandatory, pairing open-source agents like OpenCode or Cline with self-hosted open-weights models eliminates seat fees and external sandbox exposure entirely.

Pricing Notes & History

  • Nov 29, 2026 Verified current Codex pricing across Free, Go ($8/mo), Plus ($20/mo), Pro 100/200/500 ($100-$500/mo with Ultrafast mode), Business Standard/Premium ($20-$125/user/mo), Codex-only credit seats, unified token pools, and direct API key breakeven math. Source

ChatGPT

OpenAI's flagship multimodal AI assistant spanning Free, $8 Go, $20 Plus, $100-$500 Pro tiers, and Business workspaces.

$8/mo

Claude Code

Terminal-first agentic coding CLI from Anthropic with MCP support, codebase refactoring, and direct API billing.

$20/mo

Cursor

AI-native code editor with Cloud Agents, Bugbot code reviews, and multi-model routing.

$8/mo

Common Questions

Can I use OpenAI Codex for free?
Yes, ChatGPT Free ($0/month) includes lightweight local Codex tasks on baseline models such as GPT-6 Luna inside capped usage windows. Cloud devbox runs, automated GitHub pull-request reviews, and ad-free reasoning models require Plus ($20/month) or higher.
Do I need a ChatGPT subscription to run the Codex CLI?
No, you can run the open-source Codex CLI or SDK with a direct OpenAI API key billed strictly per million tokens without a monthly seat fee. However, hosted cloud features such as automated GitHub PR reviews require a ChatGPT subscription or Business workspace.
What is the difference between Pro 100, Pro 200, and Pro 500 for Codex?
Pro 100 ($100/month) provides roughly 5x Plus capacity, Pro 200 ($200/month) scales to ~20x Plus high-volume weekly allocation, and Pro 500 ($500/month) unlocks maximum individual quota plus Ultrafast mode. All three Pro tiers relax the tight 5-hour rolling friction found on Plus.
Does OpenAI Codex share usage limits with ChatGPT?
Yes, ChatGPT Work and Codex draw from a single unified token pool covering input, cached input, and output tokens on Plus, Pro, and Business accounts. Standard Instant chat queries do not draw from that metered coding pool, keeping quick lookups available during caps.
What is Ultrafast mode in OpenAI Codex and how does it affect credits?
Ultrafast mode is a low-latency inference option available on Pro 500 ($500/month) and select Business configurations that accelerates multi-turn coding loops across large repositories. Because it prioritizes high-speed compute, Ultrafast mode consumes token credits at a steeper multiplier than standard execution.
Does OpenAI train on code submitted through Codex Business plans?
No, ChatGPT Business Standard, Business Premium, and Enterprise enforce workspace training opt-out by default so proprietary repositories stay out of OpenAI's training pipelines. Consumer Free, Go, Plus, and Pro subscribers must check both conversation opt-outs and Codex environment context settings manually.
When is an OpenAI API key cheaper than a ChatGPT Pro subscription for Codex?
Raw API keys save money for automated CI/CD jobs and sporadic coding bursts where monthly token spend stays below $100. Daily interactive engineers often consume $700 to $800+ in API-equivalent tokens per month, making flat Pro 100 ($100/mo) and Pro 200 ($200/mo) far cheaper.