---
title: "Codex CLI pricing, platforms and integrations"
description: "OpenAI's open source terminal agent. Signs in with a ChatGPT account and shares the plan's usage window, or bills an API key at token prices."
canonical_url: "https://whichcoding.tools/tools/codex-cli"
---
# Codex CLI

> OpenAI's open source terminal agent. Signs in with a ChatGPT account and shares the plan's usage window, or bills an API key at token prices.

- **Layer**: Terminal agent, Editor extension, Cloud agent
- **Vendor**: OpenAI
- **Platforms**: macOS, Windows, Linux
- **Editors**: VS Code
- **License**: Apache-2.0
- **Pricing**: Free tier
- **Status**: Active
- **JSON**: /api/v1/tools/codex-cli.json

## Links

- [Website](https://learn.chatgpt.com/docs/codex/cli)
- [Pricing](https://learn.chatgpt.com/docs/pricing)
- [Repo](https://github.com/openai/codex)
- [Docs](https://learn.chatgpt.com/docs/codex/cli)

## Pricing

Included with [ChatGPT](https://whichcoding.tools/plans/chatgpt) plans.

| Plan | Price | Included | Beyond that | Notes |
| --- | --- | --- | --- | --- |
| ChatGPT Free (individual) | Free | — | Rate limited until reset | Small allowance for quick tasks, shared with ChatGPT |
| ChatGPT Go (individual) | $8/mo (per user) | — | Rate limited until reset | — |
| ChatGPT Plus (individual) | $20/mo (per user) | — | Rate limited until reset | Roughly 10 to 100 messages per five-hour window depending on the model |
| ChatGPT Pro (individual) | From $100/mo (per user) | — | Rate limited until reset | Higher Pro price points at $200 and $500 a month, the $500 one adding Astra Ultrafast speed mode access |
| ChatGPT Business (team) | $25/mo (per user · $20/mo billed annually) | — | Rate limited until reset | Two user minimum. The $20 annual rate requires 2 or more users. |
| API key (individual) | Usage-based | — | API list price. Pay for the tokens Codex uses at API prices. Cloud features are not included. | — |

Codex and ChatGPT share one five-hour usage window per plan.

Source: [learn.chatgpt.com/docs/pricing](https://learn.chatgpt.com/docs/pricing), verified 2026-10-06.

## Works with

What Codex CLI runs, and what can run Codex CLI. "With your existing login" means the wrapped tool's subscription is reused, no second bill.

### Runs inside

- [agent-manager](https://whichcoding.tools/tools/agent-manager) (via CLI, Free with your existing login): Go terminal UI on tmux that runs Claude Code, Codex, OpenCode, Gemini and other agent CLIs side by side, with live status in one list and diff comments sent back to the agent.
- [ChatGPT Desktop](https://whichcoding.tools/tools/chatgpt-desktop) (via SDK, Free with your existing login): OpenAI's desktop app with Chat, Work and Codex views. Codex runs parallel threads in worktrees, with scheduled tasks and Computer Use, on a ChatGPT login or an API key.
- [Claude Squad](https://whichcoding.tools/tools/claude-squad) (via CLI, Free with your existing login): Terminal app on top of tmux that runs Claude Code, Codex, Gemini, Aider and other agents in separate git worktrees, with a background auto-accept mode and a diff view.
- [cmux](https://whichcoding.tools/tools/cmux) (via CLI, Free with your existing login): Native macOS terminal on libghostty with vertical tabs, notification rings and a scriptable browser for running Claude Code, Codex, Gemini and other CLI agents at once.
- [Conductor](https://whichcoding.tools/tools/conductor) (via CLI, Free with your existing login): A Mac app that runs Claude Code, Codex and Cursor agents side by side, one git worktree per workspace, with your own subscriptions and keys.
- [Devin Desktop](https://whichcoding.tools/tools/devin-desktop) (via ACP, $20/mo on Pro, with your existing login): Cognition's AI-native IDE, renamed from Windsurf over the air on 2 June 2026. Devin Local, a Rust rewrite of the Cascade agent, adds sub-agents and sandboxing.
- [dmux](https://whichcoding.tools/tools/dmux) (via CLI, Free with your existing login): FormKit's open source tmux pane manager. Each pane gets its own git worktree and branch, launches the agents you pick, and merges or opens a pull request from the pane menu.
- [Emdash](https://whichcoding.tools/tools/emdash) (via CLI, Free with your existing login): Open source desktop app from General Action that runs coding agents in parallel worktrees, schedules repeat work, previews apps in a built-in browser and reviews diffs.
- [goose](https://whichcoding.tools/tools/goose) (via ACP, Free with your existing login): Open source agent from Block under the Agentic AI Foundation. CLI and desktop app, MCP extensions, runs with your own keys or your Claude and ChatGPT subscriptions over ACP.
- [Herdr](https://whichcoding.tools/tools/herdr) (via CLI, Free with your existing login): Rust single binary with a background server that keeps agent terminals running after you disconnect, marks each pane working, blocked or idle and reattaches over SSH.
- [JetBrains AI](https://whichcoding.tools/tools/jetbrains-ai) (via ACP, Free with your existing login): AI Assistant and the Junie agent in JetBrains IDEs. Completions on JetBrains models are free, cloud agents draw from monthly AI Credits. Claude Agent and Codex plug in over ACP.
- [Multica](https://whichcoding.tools/tools/multica) (via CLI, Free with your existing login): Self-hostable platform that assigns issues to AI coding agent CLIs like Claude Code and Codex, and tracks their work in one workspace.
- [Nimbalyst](https://whichcoding.tools/tools/nimbalyst) (via CLI, Free with your existing login): MIT licensed desktop workspace that puts Claude Code and Codex sessions on a kanban board, with optional worktrees, inline diff review and visual editors for markdown and mockups.
- [OpenHands](https://whichcoding.tools/tools/openhands) (via ACP, Free with your existing login): MIT licensed coding agent and control center. Runs in Docker, on your servers or on OpenHands Cloud, and drives Claude Code, Codex and Gemini CLI over ACP with their own logins.
- [Orca](https://whichcoding.tools/tools/orca) (via CLI, Free with your existing login): Stably AI's desktop app that runs Claude Code, Codex, Cursor and other CLI agents side by side in isolated worktrees, with SSH worktrees, Design Mode and a mobile companion.
- [Paseo](https://whichcoding.tools/tools/paseo) (via CLI, Free with your existing login): Self-hosted daemon that spawns coding agents on your machine and streams them to desktop, web, mobile and CLI clients, with voice mode and an end-to-end encrypted relay.
- [Superset](https://whichcoding.tools/tools/superset) (via CLI, Free with your existing login): Source-available desktop app that runs many CLI agents in parallel, one git worktree per workspace, with a diff dashboard, SSH workspaces and scheduled automations.
- [T3 Code](https://whichcoding.tools/tools/t3-code) (via CLI, Free with your existing login): Ping Labs' open source control surface for the agents already installed on your machine. Desktop, web, iOS and Android clients over one local harness, with native git worktrees.
- [Vibe Kanban](https://whichcoding.tools/tools/vibe-kanban) (via CLI, Free with your existing login): Kanban board that runs Claude Code, Codex, Gemini CLI and other agents in parallel worktrees with diff review. Bloop shut down in April 2026, the project is community maintained.
- [Visual Studio Code](https://whichcoding.tools/tools/vscode) (via extension, Free with your existing login): Microsoft's free editor. Agent mode, chat and inline suggestions come from GitHub Copilot, and Claude Code, Codex, Cline and other agents install as extensions.
- [Warp](https://whichcoding.tools/tools/warp) (via CLI, Free with your existing login): Terminal with a built in agent and an Agent CLI, open sourced under AGPL-3.0 in April 2026. Runs Claude Code, Codex and other CLI agents in tabs with worktrees, plus cloud agents.
- [Xcode](https://whichcoding.tools/tools/xcode) (via CLI, Free with your existing login): Apple's IDE for its platforms. Since 26.3 the coding assistant runs Claude Agent and Codex inside Xcode, with ChatGPT, Claude or any Chat Completions provider for chat.
- [YYLO](https://whichcoding.tools/tools/yylo) (via CLI, Free with your existing login): Command-line orchestrator for coding agents, repeatable workflows, and receipt-backed repository changes. Typed task, validation, merge, and release-readiness boundaries.
- [Zed](https://whichcoding.tools/tools/zed) (via ACP, Free with your existing login): Open source editor written in Rust with GPU rendering. Hosts external agents such as Claude Code, Codex and Gemini CLI over ACP at no charge, with its own hosted models on Pro.

## Models

- **Providers**: OpenAI
- **Bring your own key**: BYOK
- **Local models**: No

OpenAI models only. Local models through an OpenAI-compatible endpoint are configurable but unsupported.

## Features

- **Git worktrees**: One isolated checkout per task
- **Subagents**: The agent can delegate to child agents
- **MCP client**: Connects to MCP servers
- **ACP agent**: Can be hosted by ACP clients such as Zed
- **Sandboxing**: Runs commands in an isolated sandbox
- **Remote execution**: Runs on a remote machine or over SSH
- **Diff review**: Review and annotate changes in the tool
- **Checkpoints**: Snapshot and roll back agent changes
- **Plugins**: Extensible through plugins or a marketplace
- **Hooks**: Run your own commands at lifecycle points

## Install

- **npm**: `npm install -g @openai/codex`
- **brew**: `brew install --cask codex`

## License

- **SPDX**: Apache-2.0
- **Kind**: Open source
- **Repo**: [github.com/openai/codex](https://github.com/openai/codex)

## Sources

Every fact above points at a vendor page and the date someone last checked it.

| Source | Covers | Verified |
| --- | --- | --- |
| [learn.chatgpt.com/docs/pricing](https://learn.chatgpt.com/docs/pricing) | pricing, models | 2026-10-06 |
| [github.com/openai/codex](https://github.com/openai/codex) | platforms, features, license | 2026-08-23 |
| [learn.chatgpt.com/docs/codex/cli](https://learn.chatgpt.com/docs/codex/cli) | general, features | 2026-08-26 |

Source data: [content/tools/codex-cli.yml](https://github.com/benjamincanac/whichcodingtools/blob/main/content/tools/codex-cli.yml)

## Related

- [Compare Codex CLI with another tool](https://whichcoding.tools/compare?tools=codex-cli)
- [All terminal agents](https://whichcoding.tools/layers/harness)
- [Everything on ChatGPT](https://whichcoding.tools/plans/chatgpt)

Data: CC BY 4.0. Credit whichcoding.tools and link to https://whichcoding.tools. Full terms in [LICENSE-DATA](https://github.com/benjamincanac/whichcodingtools/blob/main/LICENSE-DATA).

## Sitemap

See the full [sitemap](https://whichcoding.tools/sitemap.md) for all pages.
