Codex CLI logo

Codex CLI

03 cli-agent/OpenAI/ACTIVE/aka Codex, OpenAI Codex

Codex is OpenAI's coding agent: an open-source terminal CLI, a desktop app, IDE extensions, and a cloud lane for async tasks, all included in ChatGPT plans.

SEC.01

What it does

  • 01OpenAI models
  • 02Terminal agent loop
  • 03Desktop app (`codex app`)
  • 04Cloud task handoff
  • 05Open-source CLI
SEC.02

Who it's for

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

PRICING

Pricing

Included in ChatGPT Free/Go/Plus/Pro/Business/Enterprise; credits for extra usage. List prices as checked against the vendor's pricing page on 2026-09-25; plans change often, so confirm before deciding.

caveat · before you adopt

Included usage varies by ChatGPT plan; extra work is billed as credits and rates differ by model. Check the Codex rate card.

ALT

Other CLI agents (14)

Claude Code

Anthropic · cli-agent

cli/editor/api · local · Included in Claude Pro $20/mo and Max ($100/$200); API pay-per-token

Aider

Community / OSS · cli-agent

caution
cli · local · Free (OSS) + your model API costs

Amp

Amp Inc. · cli-agent

cli/editor · local · Hobby free (BYOK / own runners); Megawatt $20/mo; Gigawatt $200

OpenCode

Community / OSS · cli-agent

cli · local · Free (OSS) + BYOK; Zen PAYG; Go $10/mo

OpenHands

Community / OSS · cli-agent

cli/api/editor · local/cloud · Free OSS self-host; Cloud free tier + $20/mo

Goose

Block · cli-agent

cli · local · Free (OSS) + model costs

Gemini CLI

Google · cli-agent

caution
cli · local · Consumer/free tiers ended Jun 18, 2026; API key or Code Assist Standard/Enterprise only

Warp

Warp · cli-agent

cli · local/cloud · Free; Pro $20/mo; Team $45–50/user; Max $200

Muse Code

Meta · cli-agent

cli/api · local · Contributor free (5h token windows); subs rolling out; API $1.25/M in · $4.25/M out

Grok Build

xAI · cli-agent

cli/editor/api · local · Free to try; SuperGrok $30/mo or X Premium+ $40/mo; API grok-4.6 $2/M in · $6/M out

Kimi Code

Moonshot AI · cli-agent

cli/editor/api · local · Free OSS; Kimi Code managed service or Moonshot API keys (multi-provider)

Qwen Code

Alibaba Cloud · cli-agent

cli/editor/api · local · Free OSS (Apache-2.0); Alibaba Cloud Coding Plan or any compatible provider

Mistral Vibe

Mistral AI · cli-agent

cli/editor · local · CLI open source; models via Mistral API / Le Chat; Devstral Small self-deployable

Crush

Charm · cli-agent

cli · local · Free OSS (FSL-1.1-MIT); BYO provider keys
VENDOR

More from OpenAI

VS

Head-to-head (1)

FAQ

Frequently asked

What is Codex CLI?

Codex is OpenAI's coding agent: an open-source terminal CLI, a desktop app, IDE extensions, and a cloud lane for async tasks, all included in ChatGPT plans.

Who is Codex CLI for?

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

How much does Codex CLI cost?

Included in ChatGPT Free/Go/Plus/Pro/Business/Enterprise; credits for extra usage. List prices as checked against the vendor's pricing page on 2026-09-25; plans change often, so confirm before deciding.

Does Codex CLI run locally or in the cloud?

Codex CLI runs locally on your machine and in the vendor's cloud. Its interfaces are a terminal (CLI), an editor/IDE surface, an API or protocol.

What are alternatives to Codex CLI?

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

What should I know before adopting Codex CLI?

Included usage varies by ChatGPT plan; extra work is billed as credits and rates differ by model. Check the Codex rate card.