Codex

Codex

Freemium

OpenAI's coding agent for the terminal, IDE, desktop, and cloud.

Development Tools
AI Coding Agents

Published 29 May 2026Last updated 3 November 2026

Scores

Popularity4/5

Widely used

67K GitHub stars on the open-source Codex CLI within its first year; reported 2M+ weekly active users across ChatGPT plans. Strong enterprise adoption but newer than incumbents like Cursor. Score 4.

Learning Curve3/5

Moderate

Basic task creation via natural language is straightforward, but designing effective multi-step agent workflows, debugging sandbox failures, and managing parallel task coordination requires real practice. Score 3.

Flexibility3/5

Configurable

Cloud-first architecture limits self-hosting; task environments can be customised via setup scripts and env vars, but core agent behaviour is proprietary and not deeply configurable. Score 3.

Performance5/5

Best-in-class

Powered by codex-1 (o3-based), which leads SWE-bench and real-world coding benchmarks. Parallel execution eliminates sequential bottlenecks. Best-in-class for agentic coding tasks as of 2026. Score 5.

Portability2/5

Mostly locked in

Task execution is entirely cloud-bound on OpenAI infrastructure. Generated code and PR diffs are portable, but the agent itself cannot be self-hosted or migrated to another provider. Score 2.

About Codex

Codex is OpenAI's software engineering agent. You describe a task and it works on it end to end: it reads the repository, writes code, runs tests, fixes failures, and opens a pull request for review. It replaces the original Codex language model with a full agent system.

In the cloud, each task runs in its own isolated container with internet access off by default, and several agents can work on separate tasks in parallel. Locally, the same agent runs in your terminal, editor, or desktop app, where you can watch and steer it.

It is reachable in several places: the ChatGPT web app, an open-source Codex CLI (Apache-2.0, written largely in Rust, installed with npm, Homebrew, or a shell script), extensions for VS Code, JetBrains, and Xcode, a desktop app for macOS, Windows, and Linux, and the ChatGPT mobile app. It also handles codebase questions and pull request review.

Codex Security adds vulnerability scanning and patch suggestions for repositories. Teams can delegate work asynchronously and spend their own time on design and review.

Codex is bundled into ChatGPT plans rather than sold on its own, so the plan sets the usage allowance, and extra usage can be bought with credits on paid plans. It can also run on an API key, where usage is billed at standard API rates.

Key Features

  • End-to-end task execution: builds features, fixes bugs, runs tests, and opens pull requests
  • Parallel agents on separate tasks, each in an isolated git worktree or cloud container
  • Cloud sandboxes with internet access off by default
  • Runs locally too, through the open-source CLI, desktop app, and IDE extensions
  • Codebase Q&A and pull request review
  • Available in ChatGPT web and mobile, CLI, VS Code, JetBrains, and Xcode
  • Codex Security for vulnerability scanning and patch suggestions

Pros

  • Hands-off delegation lets developers review results instead of driving each step
  • Parallel tasks raise throughput on independent work
  • Works well extending an existing codebase in its established patterns
  • Pull request review catches edge cases that manual passes miss
  • Open-source Apache-2.0 CLI can be inspected and customised
  • Included in ChatGPT plans, so there is no separate subscription

Cons

  • Cloud tasks run only on OpenAI's infrastructure, with no self-hosted option
  • Limited visibility into the agent's reasoning makes its decisions harder to override
  • Large refactors can still need several correction rounds
  • Usage allowances are shared across ChatGPT features and cap heavy use on lower plans
  • Vague prompts give poor results on complex tasks, so orchestrating it takes practice

Codex Pricing

Freemium
FreeFree
  • Limited Codex access for quick coding tasks
Go$8/monthly
  • Codex for lightweight coding tasks
Plus$20/monthly
  • Codex on web, CLI, IDE extension, and mobile
  • Enough for a few focused coding sessions each week
  • Extra usage through ChatGPT credits
Business$25/monthly
  • Per user per month; $20 billed annually
  • Admin controls, SAML SSO, and MFA
  • No training on business data by default
Pro$100/monthly
  • Everything in Plus with higher usage
  • Pro plans at $100, $200, or $500 a month
  • Extra usage through ChatGPT credits
Pro (top tier)$500/monthly
  • Highest Codex usage of the Pro plans
  • Ultrafast mode access
  • Extra usage through ChatGPT credits
EnterpriseContact sales
  • Custom pricing through sales
  • SCIM, EKM, audit logs, and usage monitoring

Tech Stacks with Codex

Codex Dev Stack

Developer

OpenAI's Codex as the coding agent, in the ChatGPT desktop app, the terminal, an IDE extension, or OpenAI's cloud, running on OpenAI models, with your pick of GitHub or GitLab for version control.

Version Control:
Server add-on:
Remote Access add-on:
Session Persistence add-on:
Terminal add-on:
Code Review add-on:
Model Inference add-on:
CI/CD add-on:
Containerization add-on:

VS Code AI Dev Stack

Developer

VS Code as the editor, with your choice of AI extension (GitHub Copilot by default, or Cline, Kilo Code, Claude Code, Codex, or Qwen Code) and your pick of GitHub or GitLab for version control.

Version Control:
AI Extension:
Server add-on:
Remote Access add-on:
Code Review add-on:
CI/CD add-on:
Containerization add-on:

Local LLM Dev Stack

Developer

A coding agent that works against a model on your own hardware. A local runtime such as Ollama or LM Studio serves an open-weight coding model such as Qwen or Mistral's Devstral, and an agent such as OpenCode or Cline does the editing. No code leaves the machine and there is no per-token bill.

Model Inference:
Coding Agent:
LLM:
Version Control:
Server add-on:
Remote Access add-on:
Terminal add-on:
Code Review add-on:
Model Aggregator add-on:
CI/CD add-on:

Tools Related to Codex

Works well with Codex(9)

Codex CLI has no detach of its own — closing the terminal ends the run — so tmux is the standard way to keep a server session working across SSH disconnects.

Orca is one of the agentic dev environments that can host Codex CLI, running it in an isolated worktree alongside other parallel agent sessions.

T3 Code adds a desktop, web, and mobile control surface on top of Codex, letting a session be reviewed and steered without staying at the terminal it was started in.

Conductor adds worktree isolation, a visual diff viewer, and GitHub/Linear integration on top of Codex, letting several Codex sessions run in parallel without conflicts.

Paseo gives Codex sessions cross-device continuity, letting a session started on a laptop be steered from a phone through Paseo's self-hosted daemon.

Paradev launches parallel Codex sessions, one git worktree per task, on your own OpenAI login, and can hand a conversation from Codex to Claude Code with its transcript.

Alternatives to Codex(15)

Both are cloud/terminal AI coding agents by major AI labs; Codex (OpenAI) runs tasks asynchronously in cloud sandboxes, Claude Code (Anthropic) is a terminal-first agentic CLI — the closest alternatives in the agentic coding agent space.

Codex and Kiro both run as a local agent and as cloud sessions that open pull requests. Codex is OpenAI's open-source CLI and app, steered from the ChatGPT phone app; Kiro is AWS's spec-driven IDE and CLI on Claude, GPT, and open-weight models. Codex for OpenAI plans, Kiro for spec-first work.

Codex is a cloud-based async coding agent; Cursor is a local AI-first IDE — different interaction models (asynchronous delegation vs. real-time pair programming), but both target developers who want AI-assisted coding.

Codex is a cloud-based async agent that delegates full tasks; Devin is a local AI IDE with agentic capabilities — alternatives for AI-assisted development with different deployment and workflow models.

Codex is a full-featured OpenAI agent across cloud, CLI, and IDEs; Pi is a deliberately minimal open-source terminal harness with four core tools, shaped through TypeScript extensions. Codex does more out of the box, Pi stays small and customizable.

Codex is OpenAI's agent with cloud sandboxes and IDE extensions; Qwen Code is Alibaba's Apache-2.0 terminal agent built around the Qwen models but open to any OpenAI-compatible endpoint. Codex for OpenAI models, Qwen Code for open weights.

Vendor

OpenAI

OpenAI

Website

Tags

Free TierWeb

Details

Maintained
Yes
Primary languages
JavaScript, TypeScript, Python, Go, Rust, Java
Type
AI IDE
Open source
No
AI features
Chat, Agent
GitHub stars
132k
Stars updated
2026-10-31