Primary navigation

Codex Pricing

Codex is included in your ChatGPT Plus, Pro, Business, Edu, or Enterprise plan

Plus

Power a few focused coding sessions each week.

$20/month
Get Plus
  • Codex on the web, in the CLI, in the IDE extension, and on iOS
  • Cloud-based integrations like automatic code review and Slack integration
  • The latest models, including GPT-5.2-Codex
  • GPT-5.1-Codex-Mini for up to 4x higher usage limits for local messages
  • Flexibly extend usage with ChatGPT credits
  • Other ChatGPT features as part of the Plus plan

Pro

Rely on Codex for daily full-time development.

$200/month
Get Pro
Everything in Plus and:
  • Priority request processing
  • 6x higher usage limits for local and cloud tasks
  • 10x more cloud-based code reviews
  • Other ChatGPT features as part of the Pro plan

Business

Bring Codex into your startup or growing business.

$30/user/month
Try for free
Everything in Plus and:
  • Larger virtual machines to run cloud tasks faster
  • Flexibly extend usage with ChatGPT credits
  • A secure, dedicated workspace with essential admin controls, SAML SSO, and MFA
  • No training on your business data by default. Learn more
  • Other ChatGPT features as part of the Business plan

Enterprise & Edu

Unlock Codex for your entire organization with enterprise-grade functionality.

Everything in Business and:
  • Priority request processing
  • Enterprise-level security and controls, including SCIM, EKM, user analytics, domain verification, and role-based access control (RBAC)
  • Audit logs and usage monitoring via the Compliance API
  • Data retention and data residency controls
  • Other ChatGPT features as part of the Enterprise plan

API Key

Great for automation in shared environments like CI.

  • Codex in the CLI, SDK, or IDE extension
  • No cloud-based features (GitHub code review, Slack, etc.)
  • Delayed access to new models like GPT-5.2-Codex
  • Pay only for the tokens Codex uses, based on API pricing

Frequently asked questions

What are the usage limits for my plan?

The number of Codex messages you can send depends on the size and complexity of your coding tasks and whether you run them locally or in the cloud. Small scripts or simple functions may consume only a fraction of your allowance, while larger codebases, long-running tasks, or extended sessions that require Codex to hold more context will use significantly more per message.

Local Messages* / 5h

Cloud Tasks* / 5h

Code Reviews / week

ChatGPT Plus45-22510-6010-25
ChatGPT Pro300-150050-400100-250
ChatGPT Business45-22510-6010-25
ChatGPT Enterprise & Edu

No fixed limits — usage scales with credits

API Key

Usage-based

Not availableNot available

*The usage limits for local messages and cloud tasks share a five-hour window. Additional weekly limits may apply.

Enterprise and Edu plans without flexible pricing have the same per-seat usage limits as Plus for most features.

GPT-5.1-Codex-Mini can be used for local tasks, providing up to 4x more usage.

What happens when you hit usage limits?

ChatGPT Plus and Pro users who reach their usage limit can purchase additional credits to continue working without needing to upgrade their existing plan.

Business, Edu, and Enterprise plans with flexible pricing can purchase additional workspace credits to continue using Codex.

If you are approaching usage limits, you can also switch to the GPT-5.1-Codex-Mini model to make your usage limits last longer.

All users may also run extra local tasks using an API key, with usage charged at standard API rates.

Where can I see my current usage limits?

You can find your current limits in the Codex usage dashboard. If you want to see your remaining limits during an active Codex CLI session, you can use /status.

How do credits work?

Credits let you continue using Codex after you reach your included usage limits. Usage draws down from your available credits based on the models and features you use, allowing you to extend work without interruption.

Credit cost per message varies based on task size, complexity, and the reasoning required. The table shows average credit costs; these averages also apply to legacy GPT-5.1, GPT-5.1-Codex-Max, GPT-5, GPT-5-Codex, and GPT-5-Codex-Mini. Average rates may evolve over time as new capabilities are introduced.

UnitGPT-5.2, GPT-5.2-CodexGPT-5.1-Codex-Mini
Local Tasks1 message~5 credits~1 credit
Cloud Tasks1 message~25 creditsNot available
Code Review1 pull request~25 creditsNot available

Learn more about credits in ChatGPT Plus and Pro.
Learn more about credits in ChatGPT Business, Enterprise, and Edu.

What counts as Code Review usage?

Code Review usage applies only when Codex runs reviews through GitHub — for example, when you tag @Codex for review in a pull request or enable automatic reviews on your repository. Reviews run locally or outside of GitHub count toward your general usage limits.

What can I do to make my usage limits last longer?

The usage limits and credits above are average rates. You can try the following tips to maximize your limits:

  • Control the size of your prompts. Be precise with the instructions you give Codex, but remove unnecessary context.
  • Reduce the size of your AGENTS.md. If you work on a larger project, you can control how much context you inject through AGENTS.md files by nesting them within your repository.
  • Limit the number of MCP servers you use. Every MCP you add to Codex adds more context to your messages and uses more of your limit. Disable MCP servers when you don’t need them.
  • Switch to GPT-5.1-Codex-Mini for simple tasks. Using the mini model should extend your usage limits by roughly 4x.