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 November 2026, OpenAI's Codex pricing page lists seven models: GPT-6.2 Astra, GPT-6.2 Sol, GPT-6 Astra, GPT-6.1 Sol, GPT-6.1 Terra, GPT-6 Sol and GPT-6 Luna. GPT-6.2 Astra and GPT-6.2 Sol were added on November 17, 2026 as a preview in the Codex desktop app and Work for Plus and Pro, and GPT-6.1 Terra was added on October 26, 2026 as a cheaper mid-tier option with visual reasoning and computer-use capabilities. 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) and Business ($20 per user per month billed annually for 2 or more users, or $25 per user billed monthly) add Codex on the web, in the CLI, the IDE extension and on iOS, with access to GPT-6 Astra, GPT-6.1 Sol, GPT-6.1 Terra, GPT-6 Sol and GPT-6 Luna, plus GPT-6.2 Astra and GPT-6.2 Sol in preview. Business prices are for Standard seats; Premium seats cost $100 per user per month billed annually or $125 billed monthly and have no five-hour limit. Pro costs $100, $200 or $500 a month and currently has no five-hour usage limit; OpenAI doubled the Work and Codex allowances on Pro 100 and Pro 500, while on Pro 200 only the lower of its two allowances doubled, so all Pro 200 subscriptions now get the same allowance. Enterprise and Edu are priced through sales, and GPT-6.1 Sol is off by default there until an admin enables it. 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 Standard Business seats, Codex is capped per five-hour window, and the heavier models use the allowance much faster: OpenAI estimates roughly 6 to 50 local messages per five hours with GPT-6.2 Astra, 17 to 180 with GPT-6.2 Sol, 5 to 45 with GPT-6 Astra, 15 to 160 with GPT-6.1 Sol, 35 to 285 with GPT-6.1 Terra, 15 to 150 with GPT-6 Sol, and 350 to 3,000 with GPT-6 Luna. From December 2026, plan usage becomes a single limit shared by ChatGPT and Codex. 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-11-30
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 Standard Business usage is capped per five-hour window, and GPT-6 Astra uses the allowance fastest, as few as 5 local messages per five hours
  • 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
Compare OpenAI Codex prices with other AI tools →

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 Standard seats are $20 per user per month billed annually or $25 billed monthly ($100 or $125 for Premium seats).
Which models does Codex use?
As of November 2026, OpenAI lists seven models on the Codex pricing page: GPT-6.2 Astra, GPT-6.2 Sol, GPT-6 Astra, GPT-6.1 Sol, GPT-6.1 Terra, GPT-6 Sol and GPT-6 Luna. GPT-6.2 Astra and GPT-6.2 Sol were added on November 17, 2026 as a preview in the Codex desktop app and Work for Plus and Pro, and Terra was added on October 26, 2026. Free and Go only get GPT-6 Luna in the desktop app.
What are the Codex usage limits?
On Plus and Standard Business seats, Codex usage is measured per five-hour window. OpenAI estimates about 6 to 50 local messages per five hours with GPT-6.2 Astra, 17 to 180 with GPT-6.2 Sol, 5 to 45 with GPT-6 Astra, 15 to 160 with GPT-6.1 Sol, 35 to 285 with GPT-6.1 Terra, 15 to 150 with GPT-6 Sol, and 350 to 3,000 with GPT-6 Luna. Pro and Business Premium seats currently have no five-hour limit, and OpenAI doubled the Work and Codex allowances on Pro 100 and Pro 500 (on Pro 200 only the lower of its two allowances doubled, so all Pro 200 subscriptions now get the same allowance). Plus, Pro and Business users can also 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.