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, CLI, IDE Extension, and iOS
  • Cloud-based integrations like automatic code review and Slack
  • The latest models, including GPT-5.1-Codex-Max
  • 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-speed processing of requests
  • 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-speed processing of requests
  • Enterprise-level security and controls, including SCIM, EKM, user analytics, domain verification, and role-based access controls (RBAC)
  • Audit logs and usage monitoring through the Compliance API
  • Compliant with data retention and 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.1-Codex-Max
  • Only pay for the tokens used by Codex based on API pricing

Frequently asked questions

What are the usage limits for my plan?

The number of Codex messages you can send varies based on the size and complexity of your coding tasks and where you run them. Small scripts or simple functions may only consume 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 limit of local messages and cloud tasks is a shared five-hour window. Additional weekly limits may apply.

Enterprise and Edu plans without flexible pricing include 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.

Credits per message vary based on the task size, complexity, and reasoning required. Rates listed in the table are average credit rates and also apply to the respective legacy GPT-5, GPT-5-Codex, and GPT-5-Codex-Mini models. Average rates may evolve over time as new capabilities are introduced.

UnitGPT-5.1 & GPT-5.1-Codex-MaxGPT-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 only applies when Codex runs reviews through GitHub — for example, when you tag @Codex 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 instead.

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 the context you are injecting through AGENTS.md files by nesting them within your repository.
  • Limit the amount of MCPs you use. Every MCP you add to Codex adds more context to your messages and drains your usage limits further. Disable any 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.