OpenAI Codex logo

OpenAI Codex

Visit OpenAI Codex →
💻 AI for Development Freemium 👥 5M+
Best for: Agentic coding across desktop app, CLI, IDE and cloud, plus automatic PR review
⚖️ Compare OpenAI Codex vs Claude Code

About OpenAI Codex

OpenAI Codex is a software engineering agent rather than an autocomplete tool. You hand it a task, such as tracking down a bug, refactoring a module, adding a feature or writing tests, and it works through the codebase, runs commands and returns changes for you to review. The same agent is available in the ChatGPT desktop, web and mobile apps, in the terminal through the Codex CLI, in an IDE extension and in Codex cloud, all connected through your ChatGPT account.

As of October 2026, OpenAI's Codex pricing page lists GPT-6.1 Sol, GPT-6 Sol, GPT-6 Luna and GPT-6 Astra as the models used in Codex. GPT-5.5 was retired from Codex for ChatGPT sign-in on October 14, 2026. In June 2026 OpenAI said Codex had more than 5 million weekly active users, and JetBrains research published in August 2026 put Codex's work adoption at 16% in May to July 2026, up from 3% in January.

Codex can run several agents in parallel, use computer and browser tools to check its own work, and keep working on cloud tasks after you close your laptop, with reusable cloud environments for each repository. It can automatically review pull requests, surface findings and answer questions about them. It connects to GitHub, GitLab (beta), Slack and Linear and can be extended with plugins. The Codex CLI is open source under the Apache-2.0 license and installs on macOS, Linux and Windows, and a Codex SDK and the codex exec command support scripting.

Codex is included in ChatGPT plans. Free ($0) and Go ($8 a month) include lightweight Codex use in the desktop app with GPT-6 Luna, subject to rollout. Plus ($20 a month) adds Codex on the web, in the CLI, the IDE extension and on iOS, with GPT-6.1 Sol and GPT-6 Luna. Pro costs $100, $200 or $500 a month and currently has no five-hour usage limit. Business is $20 per user per month billed annually for 2 or more users, or $25 per user billed monthly, and Enterprise and Edu are priced through sales. Plus, Pro and Business users can buy extra credits, and Codex can also run with an API key at standard API rates.

The main limitation is usage. On Plus and Business, Codex is capped per five-hour window, and heavier models use the allowance much faster: OpenAI estimates roughly 15 to 160 local messages per five hours with GPT-6.1 Sol, against 350 to 3,000 with GPT-6 Luna. Free and Go only get the lightweight Luna model in the desktop app. Codex works only with OpenAI models, and as with any coding agent, its changes and its shell and repository access need careful review and permission settings.

Codex suits developers and teams who already pay for ChatGPT and want one agent across the terminal, the editor and the cloud, and teams that want AI review on every pull request. Developers who prefer Anthropic's models or want to switch between vendors should also look at Claude Code, Cursor or GitHub Copilot.

Last updated: 2026-10-25
Advantages
  • Included in ChatGPT plans, so Plus, Pro and Business subscribers get Codex without a separate subscription
  • One agent across the ChatGPT apps, CLI, IDE extension and Codex cloud, tied to one ChatGPT account
  • Runs agents in parallel and keeps cloud tasks going after you close your laptop
  • Automatic pull request review plus GitHub, GitLab (beta), Slack and Linear integrations
  • Open-source Codex CLI (Apache-2.0) for macOS, Linux and Windows
Disadvantages
  • Plus and Business usage is capped per five-hour window, and GPT-6.1 Sol uses the allowance fastest
  • Free and Go plans only get the lightweight GPT-6 Luna model in the desktop app
  • Heavy daily use pushes you toward Pro at $100 to $500 a month or extra credits
  • Works only with OpenAI models, unlike multi-vendor tools such as Cursor or GitHub Copilot
  • Agent changes and shell access still need careful review and permission settings

Choose OpenAI Codex if…

  • ✅ You already pay for ChatGPT Plus, Pro or Business and want a coding agent included
  • ✅ You want to hand off whole tasks, such as bug fixes, refactors and tests, and review the result
  • ✅ You want automatic AI review on every pull request
  • ✅ You move between terminal, editor and cloud and want the same agent everywhere

Frequently Asked Questions

What is OpenAI Codex?
OpenAI Codex is OpenAI's coding agent. It takes tasks such as fixing bugs, refactoring, adding features and writing tests, works through your repository and returns changes for review. It runs in the ChatGPT apps, the Codex CLI, an IDE extension and Codex cloud, and can also review pull requests automatically.
Is OpenAI Codex free?
Partly. The ChatGPT Free plan and Go ($8 a month) include lightweight Codex use in the desktop app with the GPT-6 Luna model, subject to rollout. Full Codex on the web, CLI, IDE extension and iOS starts with ChatGPT Plus at $20 a month. Pro costs $100, $200 or $500 a month, and Business is $20 per user per month billed annually or $25 billed monthly.
Which models does Codex use?
As of October 2026, OpenAI lists GPT-6.1 Sol, GPT-6 Sol, GPT-6 Luna and GPT-6 Astra for Codex. Plus users get GPT-6.1 Sol and GPT-6 Luna. GPT-5.5 was retired from Codex for ChatGPT sign-in on October 14, 2026.
What are the Codex usage limits?
On Plus and Business, Codex usage is measured per five-hour window. OpenAI estimates about 15 to 160 local messages per five hours with GPT-6.1 Sol and 350 to 3,000 with GPT-6 Luna. Pro currently has no five-hour limit, and Plus, Pro and Business users can buy extra credits.
Also consider
Aider
Terminal AI pair programmer with automatic git commits
Bolt.new
AI full-stack builder, built-in hosting and auth, team workspaces
Claude Code
Complex multi-file refactoring and agentic workflows
User Reviews

Leave a Review

★★★★★

Reviews are published after moderation. We don't share your email.

No reviews yet — be the first to share your experience.