<!-- Canonical: https://www.agentlist.io/agents/codex-cli -->

# Codex

[Coding agents](https://www.agentlist.io/coding-agents)[OpenAI](https://www.agentlist.io/ai/openai)Also called Codex CLI, OpenAI Codex[Last checked Nov 12, 2026](https://www.agentlist.io/changelog)

Codex is OpenAI's coding agent. It works in your terminal, a desktop app, your editor and the cloud for longer tasks, and it is included with ChatGPT plans. The terminal tool is open source.

[Visit Codex](https://chatgpt.com/codex/pricing/)[Coding agents shortlist](https://www.agentlist.io/coding-agents#pick-codex)

-   [openai.com](https://openai.com/)
-   [chatgpt.com/codex/pricing](https://chatgpt.com/codex/pricing/)
-   [github.com/openai/codex](https://github.com/openai/codex)

-   Cloud tasks
-   Code review on GitHub
-   Scheduled tasks
-   Subagents
-   Open-source CLI

## Company

**Founded**: 2015 [wikipedia.org (source for Founded)](https://en.wikipedia.org/wiki/OpenAI "https://en.wikipedia.org/wiki/OpenAI")

**Headquarters**: San Francisco, CA [wikipedia.org (source for Headquarters)](https://en.wikipedia.org/wiki/OpenAI "https://en.wikipedia.org/wiki/OpenAI")

**Owner**: OpenAI (public benefit corporation) [wikipedia.org (source for Owner)](https://en.wikipedia.org/wiki/OpenAI "https://en.wikipedia.org/wiki/OpenAI")

**Last round**: $122B committed at $852B post-money · Mar 31, 2026 [openai.com (source for Last round)](https://openai.com/index/accelerating-the-next-phase-ai/ "https://openai.com/index/accelerating-the-next-phase-ai/")

**Revenue**: About $2B a month, said by OpenAI in March 2026 [cnbc.com (source for Revenue)](https://www.cnbc.com/2026/03/31/openai-funding-round-ipo.html "https://www.cnbc.com/2026/03/31/openai-funding-round-ipo.html")

## Positioning

**Mobile**: Yes

Codex runs on iOS in the ChatGPT app, where you can review and steer cloud tasks

**Bring your own API key**: Yes

Sign in with an OpenAI API key instead of ChatGPT, or point the CLI at OpenAI models on Amazon Bedrock

**Models**: OpenAI models (the GPT-6 family)

With an API key, whatever models the key can use

**Runs on**: macOS, Linux and Windows

Install with the shell or PowerShell script, npm or Homebrew

**Local or cloud**: Terminal CLI

IDE extension, ChatGPT desktop app, and cloud tasks on the web and mobile

**Background agents**: Yes

Cloud tasks have their own workspace and keep working while your computer is asleep

Sources: [chatgpt.com (source for Positioning)](https://learn.chatgpt.com/docs/cloud "https://learn.chatgpt.com/docs/cloud")[2 (another source page for Positioning: learn.chatgpt.com/docs/auth)](https://learn.chatgpt.com/docs/auth "https://learn.chatgpt.com/docs/auth")[3 (another source page for Positioning: learn.chatgpt.com/docs/models)](https://learn.chatgpt.com/docs/models "https://learn.chatgpt.com/docs/models")[4 (another source page for Positioning: learn.chatgpt.com/docs/codex/cli)](https://learn.chatgpt.com/docs/codex/cli "https://learn.chatgpt.com/docs/codex/cli")[5 (another source page for Positioning: learn.chatgpt.com/docs/codex/ide)](https://learn.chatgpt.com/docs/codex/ide "https://learn.chatgpt.com/docs/codex/ide")

## At a glance

**Who it's for**: OpenAI-native terminal and async coding when you already pay for ChatGPT.

**What it does**: OpenAI models · Terminal agent loop · Desktop app (codex app) · Cloud task handoff · Open-source CLI

**What do the plans cost?**: Included in ChatGPT Free, Go, Plus, Pro, Business, Edu and Enterprise. Pro plans are $100, $200 or $500 per month. Using an API key instead is pay per token. [openai.com (source for What do the plans cost?)](https://developers.openai.com/codex/pricing "https://developers.openai.com/codex/pricing")

**Seat or usage pricing?**: Usage allowance inside your ChatGPT plan, with 5-hour and weekly limits on some plans. Buy credits when you run out. An API key bills at API rates. [openai.com (source for Seat or usage pricing?)](https://developers.openai.com/codex/pricing "https://developers.openai.com/codex/pricing")

**Does it open pull requests on its own?**: Yes, when you approve. You review the changes, then commit or open a pull request. Codex can also review pull requests on GitHub automatically. [openai.com (source for Does it open pull requests on its own?)](https://developers.openai.com/codex/cloud "https://developers.openai.com/codex/cloud")[2 (another source page for Does it open pull requests on its own?: developers.openai.com/codex/pricing)](https://developers.openai.com/codex/pricing "https://developers.openai.com/codex/pricing")

**How many agents can run in parallel?**: Subagents and custom agents are supported. No fixed number of parallel agents is listed. [openai.com (source for How many agents can run in parallel?)](https://developers.openai.com/codex/pricing "https://developers.openai.com/codex/pricing")

**Enterprise controls (SSO, audit, access)**: Business: SAML single sign-on and managed configuration. Enterprise: SCIM, role-based access, audit logs and the Compliance API, data retention and residency controls. [openai.com (source for Enterprise controls (SSO, audit, access))](https://developers.openai.com/codex/pricing "https://developers.openai.com/codex/pricing")

**Data retention and training**: No training on API or business data by default on Business, Enterprise and API. Enterprise adds retention and residency controls. [openai.com (source for Data retention and training)](https://developers.openai.com/codex/pricing "https://developers.openai.com/codex/pricing")

**Runs**: On your machine or in the vendor's cloud

**Works with**: -   [GitHub](https://www.agentlist.io/integrations/github)
-   [VS Code](https://www.agentlist.io/integrations/vscode)
-   [MCP servers](https://www.agentlist.io/integrations/mcp-servers)

**Protocols**: -   [MCP (Model Context Protocol)](https://www.agentlist.io/transports/mcp)

## Traction

-   5M+ weekly users · Verified, as of Jun 2, 2026 [openai.com (source for More than 5 million weekly active users)](https://openai.com/index/codex-for-knowledge-work/ "https://openai.com/index/codex-for-knowledge-work/")

**GitHub stars**: 135k [github.com (source for GitHub stars)](https://github.com/openai/codex "https://github.com/openai/codex")

21k forks

[No. 4 of 12 on the Coding agents shortlist](https://www.agentlist.io/coding-agents#pick-codex)

### What people use it for

-   Inspect code, make changes and run commands from your terminal, then script it with codex exec in CI [chatgpt.com](https://learn.chatgpt.com/docs/codex/cli "https://learn.chatgpt.com/docs/codex/cli")
-   Work beside your code in the editor: open files and selections go into the prompt and you review diffs in place [chatgpt.com](https://learn.chatgpt.com/docs/codex/ide "https://learn.chatgpt.com/docs/codex/ide")
-   Hand longer tasks to the cloud, from investigating bugs to building features, and review the result from web, mobile or desktop [chatgpt.com](https://learn.chatgpt.com/docs/cloud "https://learn.chatgpt.com/docs/cloud")
-   Embed Codex in your own tools with the Codex SDK or the app-server protocol [chatgpt.com](https://learn.chatgpt.com/docs/codex-sdk "https://learn.chatgpt.com/docs/codex-sdk")

### Limits

-   Usage is shared with ChatGPT Work and capped by plan; extra usage is bought as ChatGPT credits [openai.com](https://developers.openai.com/codex/pricing "https://developers.openai.com/codex/pricing")
-   Signing in with an API key gives no cloud features such as GitHub code review or Slack [openai.com](https://developers.openai.com/codex/pricing "https://developers.openai.com/codex/pricing")
-   Codex cloud requires signing in with ChatGPT [chatgpt.com](https://learn.chatgpt.com/docs/auth "https://learn.chatgpt.com/docs/auth")

## Recently

-   Nov 10, 2026 · Codex CLI 0.167.1 released. [openai.com](https://developers.openai.com/codex/changelog "https://developers.openai.com/codex/changelog")
-   Nov 6, 2026 · Codex CLI 0.167.0: new agent command center (codex agents) that marks unread results. [openai.com](https://developers.openai.com/codex/changelog "https://developers.openai.com/codex/changelog")
-   Oct 14, 2026 · GPT-5.5 retired from Codex with ChatGPT sign-in; API-key use not affected. [openai.com](https://developers.openai.com/codex/pricing "https://developers.openai.com/codex/pricing")

## Further reading

-   [A coding-agent trial you can actually score](https://www.agentlist.io/articles/coding-agent-trial-scorecard)

## Common questions

What is Codex?

Codex is OpenAI's coding agent. It works in your terminal, a desktop app, your editor and the cloud for longer tasks, and it is included with ChatGPT plans. The terminal tool is open source.

Who is Codex for?

OpenAI-native terminal and async coding when you already pay for ChatGPT.

How much does Codex cost?

Included in ChatGPT Free, Go, Plus, Pro, Business, Edu and Enterprise. Pro plans are $100, $200 or $500 per month. Using an API key instead is pay per token. Checked against the vendor's pages on Nov 11, 2026. Plans change often, so confirm before you decide.

Can Codex run in the background or in the cloud?

Yes. Codex cloud tasks keep working while your computer is asleep, and scheduled tasks are available on paid plans.

What are alternatives to Codex?

Other CLI agents in the directory: Claude Code, Aider, OpenCode, OpenHands, Gemini CLI, Muse Code, Grok Build, Amp, Warp, Goose, Mistral Vibe, Qwen Code, Kimi Code, Crush. Different categories solve the same problem differently, so see the CLI & terminal agents category page for tradeoffs.

## Compare Codex

-   [Codex vs Claude Code](https://www.agentlist.io/compare/claude-code-vs-codex-cli)
-   [Also consider Claude Code](https://www.agentlist.io/agents/claude-code)
-   [Also consider Aider](https://www.agentlist.io/agents/aider)

[See the full Coding agents shortlist](https://www.agentlist.io/coding-agents)Show all 14 alternatives

-   [Claude Code](https://www.agentlist.io/agents/claude-code) · Anthropic
-   [Aider](https://www.agentlist.io/agents/aider) · Community / OSS
-   [OpenCode](https://www.agentlist.io/agents/opencode) · Community / OSS
-   [OpenHands](https://www.agentlist.io/agents/openhands) · Community / OSS
-   [Gemini CLI](https://www.agentlist.io/agents/gemini-cli) · Google
-   [Muse Code](https://www.agentlist.io/agents/muse-code) · Meta
-   [Grok Build](https://www.agentlist.io/agents/grok-build) · xAI
-   [Amp](https://www.agentlist.io/agents/amp) · Amp Inc.
-   [Warp](https://www.agentlist.io/agents/warp) · Warp
-   [Goose](https://www.agentlist.io/agents/goose) · Block
-   [Mistral Vibe](https://www.agentlist.io/agents/mistral-vibe) · Mistral AI
-   [Qwen Code](https://www.agentlist.io/agents/qwen-code) · Alibaba Cloud
-   [Kimi Code](https://www.agentlist.io/agents/kimi-code) · Moonshot AI
-   [Crush](https://www.agentlist.io/agents/crush) · Charm

More from OpenAI: [ChatGPT Agent](https://www.agentlist.io/agents/chatgpt-agent), [ChatGPT Deep Research](https://www.agentlist.io/agents/deep-research), [OpenAI Agents SDK](https://www.agentlist.io/agents/openai-agents-sdk)

---

Source: [Codex — Coding agents: pricing & alternatives | agentlist.io](https://www.agentlist.io/agents/codex-cli). This is the public page rendered as Markdown; interactive controls require the website.
