⚙️

OpenAI Codex

developers.openai.com·Code
4.7

Codex is OpenAI's autonomous coding agent, built on GPT-5.x models: it reads, writes, and runs code in your repository from the terminal CLI, a desktop app, IDE extensions, or directly in ChatGPT.

FreemiumIntegrado en ChatGPT, CLI, IDE y app de escritorioEjecuta tareas de desarrollo de principio a fin de forma autónomaCréditos basados en tokens según tu plan de ChatGPTOpenAI (GPT-5.x)
Visit OpenAI Codex

Plans

Free (ChatGPT)Uso limitado
Plus20 $/mes
Pro100-200 $/mes

Quick guide

What it is

Codex is OpenAI's autonomous coding agent: it reads, writes, and runs code in your repository, and is available as a terminal CLI, a desktop app, an IDE extension, or built directly into ChatGPT.

What it's for

Delegate complete development tasks (writing features, fixing bugs, refactoring, writing tests) to an agent that runs commands and verifies its own changes inside a controlled sandbox environment.

When to choose it

When you already use ChatGPT Plus/Pro and want a coding agent built into the same ecosystem, with the flexibility to also work from the CLI or an IDE.

Getting started
  1. Enable Codex from your ChatGPT account (Plus, Pro, or Business) or install the CLI from developers.openai.com/codex
  2. Connect the repository you want to work on
  3. Describe the task in natural language (e.g. 'fix this bug' or 'add this feature')
  4. Review the plan of changes it proposes before approving it
  5. Let it run commands and tests inside the sandbox and review the final result
Pricing

Included with limited usage in ChatGPT Free; more capacity in Plus ($20/month) and Pro ($100-$200/month); also available through the API with pay-as-you-go pricing.

Alternatives to OpenAI Codex

If you're looking for options similar to OpenAI Codex, these are the closest alternatives in Code:

  • Claude Code
  • Cursor
  • GitHub Copilot
See all Code tools →
View full guide →