AI tools directory / Coding

OpenAI Codex

Edit and review code from your terminal, editor, or a cloud session.

Checked against openai.com on Nov 18, 2026

Visit openai.com

What OpenAI Codex does

OpenAI Codex is a coding agent that can work on a project from your terminal or editor. You can ask it to trace unfamiliar code, change a function, or investigate a bug. In the editor, you can point it at the lines you have selected and inspect its proposed changes alongside the file. A cloud session gives you a way to hand off a longer task and come back to review the result.

Best for

  • Developers finding their way around a repository
  • Programmers reviewing edits inside VS Code
  • Teams reviewing pull requests on GitHub

Key features

Terminal sessions

Start Codex in a project directory to ask questions about its files. It can read and edit code and run commands in that workspace.

Editor context

Attach an open file or a selection to a request. The extension shows the changed lines so you can decide which edits to keep and ask a follow-up question in the same conversation.

Cloud handoff

Send a longer task from the editor to Codex on the web. You can return to the editor to inspect what the agent changed.

Pull request review

On an eligible plan, ask Codex to review a GitHub pull request or turn on automatic reviews for a repository.

OpenAI Codex pricing

OpenAI Codex has a free plan. ChatGPT Free includes quick coding tasks with GPT-6 Luna at standard speed in the desktop app, subject to rollout. Paid plans start at $8/month. ChatGPT Work and Codex draw on the same allowance. Usage depends on the model, task complexity, and whether the task runs locally or in the cloud. Prices checked on the official site on Nov 18, 2026.

Free$0
Go$8/month
Plus$20/monthIncludes the CLI, IDE extension, web access, and GitHub code review.
ProFrom $100/monthOpenAI lists $100, $200, and $500 monthly options.

Source: OpenAI Codex pricing page

Pros and cons

What it does well

  • A selected block of code gives the agent a precise starting point for a question.
  • You can inspect a diff and request revisions without switching away from the file.
  • GitHub integration lets a team request a review where it already discusses changes.

Know before you sign up

  • Free desktop access is subject to rollout, and OpenAI does not give a fixed number of free tasks.
  • Signing in with an API key incurs separate API charges and excludes cloud integrations such as automatic GitHub review.

Alternatives to OpenAI Codex

Questions about OpenAI Codex

What is OpenAI Codex?

OpenAI Codex is an AI tool from openai.com, listed in our Coding category. Edit and review code from your terminal, editor, or a cloud session.

Is OpenAI Codex free?

Yes, OpenAI Codex has a free plan, and paid plans start at $8/month.

How much does OpenAI Codex cost?

Paid plans start at $8/month, as listed on learn.chatgpt.com on Nov 18, 2026.

Where can I use OpenAI Codex?

On Mac, Windows, Linux, VS Code, Web and iOS.

What are some alternatives to OpenAI Codex?

Tools that do a similar job include GitHub Copilot, Cursor, Google Gemini CLI and Sourcegraph Cody.