Codex Pricing
Codex is included in your ChatGPT Plus, Pro, Business, Edu, or Enterprise plan.
Plus
Power a few focused coding sessions each week.
Pro
Rely on Codex for daily full-time development.
Business
Bring Codex into your startup or growing business.
Enterprise & Edu
Unlock Codex for your entire organization with enterprise-grade functionality.
API Key
Great for automation in shared environments like CI.
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 Plus | 45-225 | 10-60 | 10-25 |
| ChatGPT Pro | 300-1500 | 50-400 | 100-250 |
| ChatGPT Business | 45-225 | 10-60 | 10-25 |
| ChatGPT Enterprise & Edu | No fixed limits — usage scales with credits | ||
| API Key | Not available | Not 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.
| Unit | GPT-5.1 & GPT-5.1-Codex-Max | GPT-5.1-Codex-Mini | |
|---|---|---|---|
| Local Tasks | 1 message | ~5 credits | ~1 credit |
| Cloud Tasks | 1 message | ~25 credits | Not available |
| Code Review | 1 pull request | ~25 credits | Not 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.