ChatGPT Codex

by OpenAI

Cloud freemium API Available
Developer-Friendly

OpenAI's cloud-based autonomous coding agent integrated into ChatGPT ChatGPT Codex is OpenAI's cloud-based software-engineering agent, launched in May 2025 as a feature inside ChatGPT for Plus, Pro, Team, Enterprise, and Edu subscribers. The product is OpenAI's second use of the Codex name; the original 2021 Codex API (which powered the first version of GitHub Copilot) was deprecated in March 2023 and is unrelated to the May 2025 product.

Performance Scores

7.9

1 ranking evaluated

Score range: 7.9 – 7.9

Key Facts

product

product facts about ChatGPT Codex
AttributeValueAs ofSource
Launch dateLaunched May 2025 inside ChatGPT for Plus, Pro, Team, Enterprise, and Edu subscribersMay 2026OpenAI Codex launch announcement

pricing

pricing facts about ChatGPT Codex
AttributeValueAs ofSource
Access (May 2026)Included with ChatGPT Plus ($20/mo), Pro ($200/mo), Team (from $25/seat/mo annual), EnterpriseMay 2026ChatGPT pricing page

technical

technical facts about ChatGPT Codex
AttributeValueAs ofSource
Underlying modelcodex-1, an OpenAI o3-family model specialised for software engineering via reinforcement learningMay 2026OpenAI Codex launch announcement

General

General facts about ChatGPT Codex
AttributeValueAs ofSource
ExecutionCloud sandbox — runs in isolated containers, does not access local machineApr 2026Official Blog
Modelcodex-1 (based on o3 reasoning model)Apr 2026Official Blog
Parallel ExecutionMultiple tasks execute simultaneously in separate cloud containersApr 2026Official Blog
GitHubCreates pull requests, commits, and branches directly on GitHubApr 2026Official Blog
PricingIncluded with ChatGPT Plus ($20/month) and Pro ($200/month)Apr 2026Official Website
Release DateMay 2025 (research preview)Apr 2026Official Blog
SandboxEach task runs in a pre-configured cloud environment with project dependenciesApr 2026Official Blog
OperationsCode writing, bug fixing, test generation, PR creation, refactoringApr 2026Official Blog
AsyncTasks run asynchronously — results available when complete, no waiting requiredApr 2026Official Blog
MCP SupportNo MCP support — operates within OpenAI cloud environment onlyApr 2026Official Blog

Strengths

  • Frequent model upgrades
  • Multiple execution surfaces

Limitations

  • Capability varies with model version
  • Less established agent UX than rivals

Based on evaluations in 1 ranking: Best AI Coding Tools and Developer Assistants 2026

Pricing Plans

Plus

$20.00/mo

$20/month billed monthly

  • ChatGPT Codex access
  • Limited monthly tasks
  • Code generation and review
  • GitHub integration
  • Cloud sandbox execution
  • !Limited task quota
Get started →
As of Mar 2026 · Source
Most Popular

Pro

$200.00/mo

$200/month billed monthly

  • Higher task limits
  • Priority processing
  • Parallel task execution
  • All Plus features
  • Advanced reasoning with o3
  • !Higher task quota
Get started →
As of Mar 2026 · Source

Team

$30.00/mo

$30/user/month (annual)

  • Team workspace
  • Shared coding contexts
  • Admin controls
  • Higher limits than Plus
  • Data not used for training
  • !Per-user pricing
Get started →
As of Mar 2026 · Source

Enterprise

Contact us

Contact sales

  • Unlimited Codex tasks
  • SSO/SAML
  • Admin console
  • Data retention controls
  • Dedicated support
  • Custom deployment
  • !Custom
Get started →
As of Mar 2026 · Source

About ChatGPT Codex

ChatGPT Codex is OpenAI's cloud-based software-engineering agent, launched in May 2025 as a feature inside ChatGPT for Plus, Pro, Team, Enterprise, and Edu subscribers. The product is OpenAI's second use of the Codex name; the original 2021 Codex API (which powered the first version of GitHub Copilot) was deprecated in March 2023 and is unrelated to the May 2025 product. The 2025 Codex agent is anchored on codex-1, an OpenAI o3-family model specialised for coding tasks through additional reinforcement-learning training on real-world software-engineering trajectories.

The product runs in cloud-hosted, isolated containers preloaded with the user's repository code. The agent can read and edit files, run terminal commands, and execute tests inside the sandbox; network access during agent execution is configurable per workspace. Each task spins up its own ephemeral container, and the agent reports progress through a streaming interface inside ChatGPT. Output options include direct commits and pull-request authoring against connected GitHub repositories. The May 2025 launch positioned Codex as a "delegate-and-review" workflow rather than a real-time pair-programmer, which is the niche occupied by GitHub Copilot and Cursor.

Codex is included at no additional cost in ChatGPT Plus ($20/month), Pro ($200/month), Team (from $25/seat/month annual), Enterprise, and Edu plans during the rollout phase OpenAI announced in May 2025. The company has stated that usage limits and longer-term pricing structure may evolve as the product moves out of initial release; through 2026 the practical bottleneck has been compute-time fair-use limits inside ChatGPT Plus rather than feature gates. A standalone Codex CLI (open-source, MIT) provides terminal access to the same model and tooling pattern for users who prefer command-line workflows.

OpenAI has positioned Codex against three categories: traditional code-completion tools (Copilot, Cursor, Windsurf, Codeium), terminal-native AI coding tools (Claude Code, Aider, Cline), and other cloud-hosted coding agents (Devin, Replit Agent, Codex-CLI itself). The differentiator OpenAI emphasises is the isolated-sandbox execution model: agents complete entire tasks, including running tests, before returning a PR for review, rather than streaming suggestions into the developer's editor. The practical question for buyers in 2026 is whether their workflow benefits more from real-time inline assistance or delegated background execution; in most ShadowGen engagements the answer has been "both, used in different contexts."

flowchart LR
  A[Developer prompt in ChatGPT] --> B[Codex Agent]
  B --> C[(Ephemeral Sandbox: Repo Clone)]
  C --> D[Read / Edit Files]
  C --> E[Run Tests in Sandbox]
  C --> F[Execute Shell Commands]
  D --> G{Progress Stream}
  E --> G
  F --> G
  G --> H[Pull Request on GitHub]
  G --> I[Review in ChatGPT]

Editor's Note: Across 8 ShadowGen client teams who trialled Codex against Claude Code and Cursor in late 2025 and early 2026, the practical pattern that emerged is splitting work across tools rather than picking one. Codex performs best on well-scoped, test-covered tickets (median ShadowGen acceptance rate: 64% on first PR, n=147 tickets) and noticeably worse on tickets requiring multi-file architectural reasoning across legacy codebases. Cursor remains the better real-time editor companion; Claude Code remains the better terminal-native agent. We have not yet seen a single coding tool replace the other two in production engineering teams. — Rafal Fila, ShadowGen

Integrations (4)

Cloud Sandbox native
Docker native
GitHub native
VS Code api

Written & reviewed by · Last updated: · Last verified:

Other AI Coding & Development Tools Tools

See How It Ranks

Questions About ChatGPT Codex

How much do AI coding assistants cost in 2026?

As of June 2026, mainstream AI coding assistants cluster in two cost shapes. Per-seat subscriptions with included AI usage: GitHub Copilot Pro $10/month (Business $19/seat), Cursor Pro $20/month, and Claude Code and ChatGPT Codex bundled into Claude ($20+) and ChatGPT ($20+) subscriptions. Free, bring-your-own-model tools where you only pay API spend: Aider and Cline ($0 for the tool, roughly $5-30/day in model cost for active use). Replit Agent is credit-metered from $25/month. The 2026 catch is that most paid tiers moved to usage metering, so the sticker price is a floor, not a ceiling.

Claude Code vs Codex vs Cursor for autonomous coding in 2026: which fits best?

For terminal-first developers and shell-heavy refactors, Claude Code (Anthropic, $20-200/month) is the strongest fit. For background, async, end-to-end task completion with PRs, ChatGPT Codex ($20-200/month bundled with ChatGPT) wins on autonomy. For real-time IDE pair programming inside a VS Code fork, Cursor ($20-40/user/month) is the most ergonomic. Most 2026 teams use two or three of them in parallel, assigned to different task classes.

What are the best AI coding tools in 2026?

The leading AI coding tools in 2026 are [GitHub Copilot](/tools/github-copilot/) (default for GitHub-centric teams, $19/user/month Business), [Cursor](/tools/cursor/) (AI-native VS Code fork with strong codebase context), and [Claude Code](/tools/claude-code/) (Anthropic terminal coding agent for repository-wide refactors).

What are the best ChatGPT Codex alternatives in 2026?

As of April 2026, the leading ChatGPT Codex alternatives are Claude Code (terminal and IDE agent from Anthropic), Cursor (AI-first IDE with Composer), GitHub Copilot (Microsoft baseline with agent mode), Aider (open-source CLI for git-based edits), and Cline (open-source VS Code extension that pairs with any model provider).

Learn More