Codex CLI
Terminal agentEditor extensionCloud agentOpenAI'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.
Pricing
Included with ChatGPT plans.
| Plan | Price | Included | Beyond that | Notes |
|---|---|---|---|---|
ChatGPT Free individual | Free | — | Rate limited until reset |
|
ChatGPT Go individual | $8/mo per user | — | Rate limited until reset | — |
ChatGPT Plus individual | $20/mo per user | — | Rate limited until reset |
|
ChatGPT Pro individual | From $100/mo per user | — | Rate limited until reset |
|
ChatGPT Business team | $20/mo per user | — | Rate limited until reset | Billed annually, two seats minimum. |
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.
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
ChatGPT desktop app via SDKFree with your existing login
Claude Squad via CLIFree with your existing login
cmux via CLIFree with your existing login
Conductor via CLIFree with your existing login
dmux via CLIFree with your existing login
Emdash via CLIFree with your existing login
goose via ACPFree with your existing login
Herdr via CLIFree with your existing login
JetBrains AI via ACPFree with your existing login
Nimbalyst via CLIFree with your existing login
OpenHands via ACPFree with your existing login
Orca via CLIFree with your existing login
Paseo via CLIFree with your existing login
Superset via CLIFree with your existing login
T3 Code via CLIFree with your existing login
Vibe Kanban via CLIFree with your existing login
Visual Studio Code via ExtensionFree with your existing login
Warp via CLIFree with your existing login
Xcode via CLIFree with your existing login
Zed via ACPFree with your existing login
Models
OpenAI models only. Local models through an OpenAI-compatible endpoint are configurable but unsupported.
Features
Install
- npm
npm install -g @openai/codex - brew
brew install --cask codex
License
Apache-2.0 · Open source · github.com/openai/codex
Sources
Every fact above points at a vendor page and the date someone last checked it.
- learn.chatgpt.com/docs/pricingpricingmodels2026-08-23
- github.com/openai/codexplatformsfeatureslicense2026-08-23
- learn.chatgpt.com/docs/codex/cligeneral2026-08-24