✓ Real Testing✓ Unbiased Reviews✓ Updated Monthly✓ 200+ Tools Reviewed
AIToolRush

Disclosure: AIToolRush.com earns affiliate commissions from some tools listed here. This doesn't influence our ratings. We test everything ourselves. Full disclosure →

AI CODING AGENT · SOURCE-VERIFIED REVIEW

OpenAI Codex Review: One ChatGPT Plan, a Local Agent and Cloud Tasks

Codex is no longer a single terminal tool. In late 2026 it is a coding agent that lives in the ChatGPT desktop app, an open-source CLI, your editor and the cloud, paid for by the same ChatGPT plan you may already have. That makes it easy to start and harder to budget, because every surface draws on one shared allowance. This review explains what each part does, what Plus, Pro and Business actually buy, and how to keep the agent inside safe boundaries.

Alexander Khramtsov
Alexander Khramtsov

AI & LLM Engineering Expert · 15+ years in software development

Published & fact-checked November 22, 2026 · 23 min read

Try OpenAI Codex Included with ChatGPT Plus $20/mo · Pro from $100/mo
In this review

The short answer: the obvious pick if you already pay for ChatGPT

Choose Codex if your team already uses ChatGPT and wants one agent that works locally, in the cloud and on pull requests. The local sandbox defaults are among the strictest we have reviewed, and cloud tasks keep running when your laptop is closed. The main catch is that limits are published as wide estimates and shared with other ChatGPT agent features, so cost is something you measure rather than read off a table.

Best fit
Developers and teams on ChatGPT who want terminal, editor and cloud delegation with OpenAI models.
Practical paid starting point
Plus at $20/mo for a few focused sessions a week; Pro 100 for daily heavy use.
Standout workflow
Plan and edit locally in the sandbox, push a longer task to Codex Cloud, then have Codex review the pull request.
Main buying risk
Treating message estimates as quotas, or letting purchased credits drain automatically after the allowance runs out.

Evidence note: This is an official-source evaluation, not a timed coding benchmark. Prices, limits and features were checked on November 22, 2026. We make no measured productivity or accuracy claims, and we do not assign a numeric rating.

Skip it if you need models from several vendors in one agent, a predictable flat monthly cap, or a fully offline assistant. Compare the AI coding tools category before you commit a team.

What Codex is in 2026

Codex is OpenAI's agent for software work. It inspects a repository, edits files, runs the tools installed on your machine or in a cloud environment, and reports what it changed. Codex and ChatGPT Work now share pricing, credits and usage limits, so Codex is best understood as the coding mode of a ChatGPT plan. [1]

The ChatGPT desktop app lets you choose ChatGPT or Codex when you start a chat; it runs on macOS, Windows and Linux. [17] The CLI, SDK and app server are open source; the IDE extension and Codex Cloud are not. [15] The newest models at the time of writing are GPT-6.2 Astra and GPT-6.2 Sol, released November 17, 2026. [18]

The distinction that matters is where the work runs. Local chats use your machine and its sandbox. Cloud tasks run in OpenAI-managed environments with their own saved state and network rules. API-key sessions are billed differently again. Most surprises with Codex come from mixing these without noticing.

Where Codex runs and which surface to start with

OpenAI Codex working surfaces
SurfaceUseful forBoundary to check
ChatGPT desktop appParallel chats, worktrees, browser previews and review in one windowLocal and cloud runs share the same plan allowance
Codex CLITerminal tasks, local /review, resume, subagents and scripted runsSandbox and approval settings decide what it can do
IDE integrationsEdits with open files as context; delegate to the cloud from the editorVS Code-compatible extension; JetBrains and Xcode use their own integrations
Codex Cloud (web, app, iOS)Tasks that keep running while you are awayEnvironment setup, secrets and internet access
GitHub pull requests@Codex reviews and automatic reviewsCounts as Code Review usage; needs a ChatGPT plan, not an API key

We would start in the desktop app or CLI on one repository with a working test command, add the IDE integration for focused edits, and move to Codex Cloud only once a published environment can install and test the project on its own. [6] [7] [8]

Codex desktop app with pinned and recent chats in a sidebar and a running task conversation
The desktop app keeps several chats visible, with links to their pull requests. Official OpenAI product image, not our own session. [5]

The local agent: CLI, desktop app and IDE

A task loop with a finish line

Locally, Codex reads files, makes edits and runs commands in the working directory. The CLI adds codex resume to return to a saved chat, image input for screenshots and diagrams, live web search when a task depends on current documentation, and codex cloud to hand work to a cloud environment and apply the result locally. [6] A good request names the failing behavior, the files involved, what must not change and the test that proves it worked.

Codex task summary showing 16 edited files with line counts and a Review button
A finished task with a changed-files summary. Always open the diff rather than trusting the summary. Official OpenAI product image, not our own session. [5]

AGENTS.md, skills, subagents and MCP

Codex reads AGENTS.md files before it starts: a global file in ~/.codex, then files from the project root down to your working directory, with closer files taking precedence. Combined instructions stop at 32 KiB by default. [11] Subagents let Codex split an investigation into focused parts and bring the findings back. [19] Each MCP server you enable adds context and uses more of your limit, so turn off the ones a task does not need. [20] [1]

In the editor

The extension works in VS Code, Cursor and Windsurf; JetBrains IDEs and Xcode provide their own Codex integrations. It uses open files and selections as context, shows changes beside the code, and can continue a larger task in the cloud. [7]

Codex panel in an editor beside a diff of three changed files with Undo and Review buttons
Reviewing a Codex change inside the editor, with the option to undo or open the full review. Official OpenAI product image, not our own session. [7]

Automation and CI

The Codex SDK and codex exec run Codex in scripts and CI pipelines, and the app server supports custom clients. [13] For CI, an API key is the simplest option. Business and Enterprise workspaces can instead issue Codex access tokens when a trusted job needs workspace identity and controls. [14]

Codex Cloud: tasks that keep going without you

Each cloud task gets its own workspace and can keep working while your computer is asleep. You can start from a default environment without a repository, or from a published environment that checks out a GitHub or GitLab repository with the tools it needs. When the work is done you inspect the changes, ask for follow-ups, and commit or open a pull request. [8]

Codex Cloud environment settings worth checking
SettingWhat it doesOur advice
Published environmentReusable setup; each new task starts from its prepared filesystemTest install and test commands before sharing it
Saved stateExisting tasks keep their own files and toolsCommit important work; saved state is not source control
Environment variablesPassed directly to programs in the environmentUse for non-secret configuration
Network secretsPrograms see a placeholder; the proxy substitutes the real value for allowed domainsPrefer these for API tokens and registry credentials
Internet accessAll public internet, package managers only, or an allow listStart restricted and add domains as needed

Network secrets are the better default for credentials because the agent never sees the raw value, and saving one also allows its domains in restricted mode. [9] Business plans run cloud chats on larger virtual machines. [1] Cloud tasks may use more of your allowance than local messages, so watch usage after the first few runs.

Code review: on GitHub, in the app and in the terminal

Tag @Codex on a pull request or enable automatic reviews, and Codex reviews the change on GitHub. GitHub review is generally available; GitLab merge request review is in preview. The desktop app also has a Code Review view with the PR description, changed files, comments and checks. [12]

Codex Code Review view of a pull request titled Prevent duplicate checkout orders with a Review PR with Codex panel
Reviewing a pull request in the Codex app before merging. Official OpenAI product image, not our own session. [5]

Locally, the CLI review presets check a base branch, uncommitted changes or a commit and report prioritized findings without modifying your working tree. [6] Only reviews triggered through GitHub count as Code Review usage; local reviews count toward your general limits. GitHub review needs a ChatGPT plan, because API-key use has no cloud features. [1] Treat findings as leads to verify, and keep a human as the approver.

Current pricing: Codex comes with a ChatGPT plan

There is no separate Codex subscription. Each ChatGPT plan includes a Codex allowance, eligible plans can extend it with credits, and API-key sessions are billed separately at API prices. [1] [2] Prices are USD before tax.

OpenAI Codex plans
PlanPriceCodex accessMain differences
Free$0GPT-6 Luna in the desktop app, subject to rolloutExplore on quick tasks; no cloud tasks or GitHub review
Go$8/moGPT-6 Luna in the desktop app, subject to rolloutLightweight tasks
Plus$20/moWeb, CLI, IDE extension and iOSCloud tasks, automatic code review, Slack; five-hour and weekly limits; credits
Pro 100 / 200 / 500$100 / $200 / $500/moEverything in PlusLarger allowances, no five-hour limit currently; Ultrafast only on Pro 500
Business$20/user/mo annual; $25 monthlyFrom 1 seatLarger cloud VMs, SAML SSO, MFA, admin controls, no training by default
Enterprise / EduCustomEverything in BusinessPriority processing, SCIM, EKM, RBAC, audit logs, retention and residency
API keyAPI pricingCLI, SDK and IDE extensionNo cloud tasks, GitHub review or Slack

Plus is the sensible starting point because it is the cheapest plan with cloud tasks and GitHub review. Move to Pro 100 when you keep hitting the five-hour window during real work. Pro 200 and Pro 500 add more allowance, and only Pro 500 includes Ultrafast. OpenAI notes that a larger allowance does not guarantee proportionally more completed tasks. [3]

Usage limits, speed modes and credits

OpenAI does not publish fixed quotas. It publishes estimated local messages per five-hour window for Plus and Standard Business, which vary tenfold depending on task size. Pro plans currently have no five-hour limit. Weekly limits may also apply, and the allowance is shared with ChatGPT Work and other agent features such as ChatGPT for Excel. [1]

Estimated Codex local messages per five hours on Plus
ModelPlus / Standard BusinessCredits per 1M tokens (input / cached / output)
GPT-6.2 Astra6–50200 / 10 / 1000
GPT-6.2 Sol17–18050 / 2.5 / 250
GPT-6.1 Sol15–16050 / 2.5 / 250
GPT-6.1 Terra35–28525 / 1.25 / 125
GPT-6 Luna350–3,0002.5 / 0.25 / 12.5

Speed modes change consumption. Fast uses included usage at 2–2.5× the Standard rate, and Ultrafast at 6–8×. Image generation uses limits 3–5× faster than similar turns, and desktop voice costs $0.05 per minute of usage budget. [1] For comparison, USD usage-based billing for GPT-6.2 Astra is $8 input, $0.40 cached input and $40 output per million tokens; GPT-6.2 Sol is $2, $0.10 and $10.

When the allowance runs out

A turn already running can finish, subject to fair use. Plus and Pro users can buy credits, which are drawn automatically once included usage is gone; a saved instruction like "ask me before using credits" is not a billing control. Automatic reload can top up to a target balance, and a task that finishes after the balance hits zero can leave it negative. [4] [1] Check usage with /status in the CLI or the usage dashboard.

  • Use a lighter model such as GPT-6 Luna or Terra for routine edits.
  • Keep prompts precise and attach only the files that matter.
  • Nest smaller AGENTS.md files instead of one large file.
  • Disable MCP servers you are not using.
  • Leave Fast and Ultrafast off unless waiting costs more than the extra usage.

Business, Enterprise and Edu

Business costs $20 per user per month billed annually, or $25 monthly, starting from 1 paid seat. It adds a dedicated workspace with SAML SSO, MFA and admin controls, larger cloud VMs and workspace credits to extend usage. Standard Business seats have the same five-hour estimates as Plus. [1]

Enterprise and Edu add priority processing, SCIM, EKM, domain verification, role-based access control, audit logs through the Compliance API, an analytics dashboard, and data retention and residency controls. With flexible pricing there are no fixed rate limits and usage scales with credits; without it, seats get roughly Plus-level limits. GPT-6.2 Astra and Sol are off by default in Enterprise and Edu until an administrator enables them. Codex Security scanning for connected GitHub repositories is listed for Enterprise. [1]

Managed configuration through requirements.toml is available on every plan, and cloud-managed policies on Business and Enterprise, which lets an organization pin sandbox and approval rules instead of relying on each developer's settings. [1] [10]

Sandbox, approvals and data handling

Strict local defaults

Locally, Codex runs in an OS-enforced sandbox that typically limits it to the current workspace, with network access turned off. In the Auto preset (--sandbox workspace-write --ask-for-approval on-request) it edits files and runs commands in the working directory, and asks before editing outside it or using the network. /permissions switches to read-only for planning. Destructive app or MCP tool calls always require approval when the tool marks them as destructive. [10]

If you enable network access, the network_proxy feature can restrict traffic to allowed domains. The old untrusted approval policy has been retired and can stop the client from starting, so remove it from older configs. [10] GPT-6 Astra also runs safety monitoring that can pause a task; in the CLI and on mobile a paused task ends rather than offering a resume. Monitoring does not replace sandboxing or review.

Training and retention

OpenAI does not train on data from ChatGPT Business, Enterprise, Edu or the API platform by default, encrypts data with AES-256 at rest and TLS 1.2 or higher in transit, and offers retention controls for qualifying organizations, including zero data retention on the API. [16] The pricing page's feature table marks that no-training default as not applying to Plus and Pro. [1] If you use a personal plan on work code, check your ChatGPT data controls first.

Cloud credentials

Ordinary environment variables are passed straight to programs, so anything the agent can run can read them. Network secrets keep the real value in the proxy. [9] Use scoped development credentials, restrict internet access, and treat fetched pages and MCP output as untrusted input that may contain prompt injection.

Pros and limitations

Strengths

  • One ChatGPT plan covers app, CLI, IDE, cloud and review.
  • Strict default sandbox with network off.
  • Cloud tasks keep running when you are away.
  • Network secrets keep credentials out of the agent's view.
  • Open-source CLI and SDK for automation.
  • Pro tiers at three price points.

Limitations

  • Limits are wide estimates, not quotas.
  • Allowance is shared with other ChatGPT agent features.
  • Credits are spent automatically once included usage ends.
  • Only OpenAI models.
  • API-key use loses cloud tasks and GitHub review.
  • Personal plans lack the business no-training default.

A practical evaluation using your own repository

Measure Codex on work you can judge. The plan below is a suggested evaluation, not a report of measured results.

OpenAI Codex evaluation tasks and success criteria
TaskExampleCheck before accepting
Local bounded fixFix duplicate form submission across a component and API handlerReproduces the bug, adds a regression test, stays in the sandbox
IDE editAdd validation to an open file with Codex beside the codeChange is narrow; no unrelated edits
Cloud taskAdd missing tests to one module from a published environmentEnvironment installs cleanly; secrets stay as network secrets
Code reviewRun CLI /review on a branch, then @Codex on the PRFindings are real; false positives tolerable
  1. Prepare: create a branch, confirm tests run, and check data controls on personal plans.
  2. Write a short AGENTS.md: test command, architecture boundaries and protected paths.
  3. Keep the defaults: workspace-write with on-request approvals and no network.
  4. Review everything: read diffs, rerun tests, check removed assertions.
  5. Record usage: note the dashboard before and after each task, and which model and speed you used.
  6. Compare: repeat the tasks in Claude Code or Cursor and keep the tool with the lowest effort per accepted change.

Two weeks of real work on Plus tells you whether you need Pro. Check the dashboard every week or two, as OpenAI suggests, before buying a higher tier or annual Business seats.

Codex vs Claude Code, Cursor and GitHub Copilot

OpenAI Codex compared with alternative coding workflows
ToolChoose it whenMain tradeoff
OpenAI CodexYou already pay for ChatGPT and want local, cloud and review on one planEstimated, shared limits; OpenAI models only
Claude CodeYou prefer Anthropic models and a configurable terminal loop with hooks and subagentsSeparate Anthropic subscription or API billing
CursorYou want an AI-first editor with Tab completion and visual agent reviewEditor switch; separate billing for third-party models on new plans
GitHub CopilotYou want to keep current editors and run agents and review inside GitHubMetered AI credits; cloud sessions only for GitHub-hosted repos
OpenCodeOpen source and provider choice matter mostMore setup; you manage model costs yourself

Codex or Claude Code?

They are the closest pair in this category: both are terminal-first agents with editor, cloud and review options. The practical differences are the model family, how you already pay, and how much you value Codex Cloud's reusable environments against Claude Code's hooks and permission model. Neither wins every task from its interface alone.

GitHub Copilot's paid plans also list Codex as a third-party agent billed in Copilot AI credits, a different route from a ChatGPT plan. See our Claude Code review, Cursor review, GitHub Copilot review, Devin review and Google Antigravity review, or the full AI coding tools ranking.

Buying checklist

  • Does anyone on the team already have a ChatGPT plan that includes Codex?
  • Will most work run locally, in the cloud, or through an API key in CI?
  • Is Plus enough, or do you hit the five-hour window during normal work?
  • Who decides whether credits and automatic reload are allowed?
  • Are personal plans being used on company code without business data terms?
  • Which sandbox and approval settings are mandatory, and are they enforced centrally?
  • Are cloud credentials stored as network secrets with restricted internet access?
  • Do you need Enterprise controls such as SCIM, audit logs or residency?

Frequently asked questions

Sources, evidence and review methodology

This review was researched against OpenAI's Codex documentation, pricing pages and help center on November 22, 2026. Product images come from OpenAI's Codex page and documentation. They do not show our own account or a benchmark run.

Usage figures are OpenAI's published estimates, which we present as ranges rather than quotas. There is no numeric review rating, testimonial or measured productivity claim here. Your plan, workspace settings and agreement take precedence over this page.

  1. Codex pricing and usage

    Plans, included usage estimates, speed multipliers, token and credit rates, feature availability and usage FAQ.

  2. ChatGPT pricing

    Free, Go, Plus, Pro and Business plan prices and Codex inclusions.

  3. About ChatGPT Pro tiers

    Pro 100, Pro 200 and Pro 500, allowance changes and Ultrafast availability.

  4. Using credits on personal plans

    How credits are drawn, automatic reload and negative balances.

  5. Codex product page

    Product overview and source of the task, parallel-chat and code review images.

  6. Codex CLI

    Installation, local review presets, resume, subagents, cloud handoff, MCP and permissions.

  7. Codex IDE integrations

    VS Code-compatible extension, JetBrains and Xcode integrations; source of the IDE diff image.

  8. Codex Cloud

    Cloud tasks, default and published environments, GitHub and GitLab repositories.

  9. Cloud environments

    Saved state, environment variables, network secrets, internet access and VPN.

  10. Agent approvals and security

    Sandbox modes, approval policies, network access, safety monitoring and retired settings.

  11. Custom instructions with AGENTS.md

    Global and project instruction discovery, merge order and size limit.

  12. Code review

    Pull request review, GitHub availability and GitLab preview.

  13. Codex SDK

    CI/CD automation, custom agents and the app server.

  14. Codex access tokens

    Workspace credentials for trusted non-interactive workflows on Business and Enterprise.

  15. Codex open source

    Which components are open source and the contribution policy.

  16. OpenAI business data

    No training on business and API data by default, encryption, EKM and retention controls.

  17. ChatGPT desktop app

    Desktop app for macOS, Windows and Linux with ChatGPT and Codex modes.

  18. GPT-6.2 release notes

    November 17, 2026 release of GPT-6.2 Astra and GPT-6.2 Sol.

  19. Subagents and custom agents

    Delegating focused work to specialized agents.

  20. MCP in Codex

    Local and remote MCP servers and their effect on context.

Read our review methodology and affiliate disclosure. Found a changed plan or capability? Send a correction.

The bottom line: easy to start, worth measuring

Codex is the most natural coding agent for anyone already on ChatGPT. One plan covers a well-sandboxed local agent, an editor integration, cloud tasks that run on their own and pull request review. The cost of that convenience is a shared, estimate-based allowance that you need to watch.

Our recommendation: start on Plus with the default sandbox, run real tasks for two weeks and watch the usage dashboard. Move to Pro 100 if the five-hour window keeps interrupting you, and to Business when you need SSO and business data terms. Keep tests and human approval as the acceptance boundary on every plan.