ZMIME
OpenAI

OpenAI Codex

A coding agent for editing, testing and reviewing software in a local checkout or a managed cloud environment.

  • Coding

At a glance

Provider
OpenAI
Best suited to
Repository maintenance, implementation and code review
Availability
Usage and access depend on the ChatGPT plan, authentication method and workspace policy.
Interfaces
Desktop, CLI, IDE extension, web and cloud tasks
Execution environment
Local workspace with sandbox settings, or an OpenAI-managed cloud task environment.
Model choice
OpenAI Codex-supported models. The available choices vary by surface and plan.
Tools and integrations
Git, GitHub cloud environments, skills and configured MCP servers.
Human review and controls
Review diffs and use workspace permissions to constrain edits, commands and network access.
Prerequisites
A supported Codex client and eligible account or API access. Cloud repository work requires connecting a supported repository.
License and hosting
Apache-2.0 CLI client. OpenAI-hosted inference and cloud execution have separate terms.

Related models GPT-6.2 Sol · GPT-6.2 Astra

Pricing and usage

Eligible ChatGPT plans include usage subject to limits. API authentication follows API billing.

  • ChatGPT lists Free at $0, Go at $8 and Plus at $20 USD per month. Desktop model access on Free and Go is subject to rollout.
  • Pro options are $100, $200 or $500 USD per month. ChatGPT Work and Codex share the same usage allowance.

Official cost reference

What you can do with it

  • Implement a scoped change and run repository checks.
  • Delegate independent GitHub work to a cloud environment.
  • Review a diff and inspect reported findings before merging.

How to get started

  1. Choose the desktop, IDE, CLI or cloud surface in the quickstart.
  2. Install the client or connect your repository for cloud tasks, then authenticate.
  3. Open a clean branch and describe the change, constraints and checks. Review the resulting diff.

Install with npm, then launch from the project directory and sign in.

npm install -g @openai/codex
codex

Official setup guide

Limitations

  • Cloud tasks need a correctly configured environment for dependencies, tools and secrets.
  • Local access depends on the sandbox and approvals. Available integrations can differ across surfaces.
  • Successful execution does not establish that a change meets requirements. Review the diff and test output.

Official sources

Sources checked

Frequently asked questions

How do I start using OpenAI Codex?

Choose the desktop, IDE, CLI or cloud surface in the quickstart. Install the client or connect your repository for cloud tasks, then authenticate. Open a clean branch and describe the change, constraints and checks. Review the resulting diff.

How is OpenAI Codex priced?

Eligible ChatGPT plans include usage subject to limits. API authentication follows API billing. ChatGPT lists Free at $0, Go at $8 and Plus at $20 USD per month. Desktop model access on Free and Go is subject to rollout. Pro options are $100, $200 or $500 USD per month. ChatGPT Work and Codex share the same usage allowance.

What should I check before giving it access?

Review diffs and use workspace permissions to constrain edits, commands and network access. Cloud tasks need a correctly configured environment for dependencies, tools and secrets.

Can Codex run while my computer is asleep?

A Codex Cloud task runs on OpenAI-managed infrastructure. Local tasks depend on the machine and client running them.