About Codex CLI
Codex CLI is OpenAI's official command-line AI coding agent, paired with the OpenAI model family. It runs in a sandboxed shell, supports the same tool-use loop as Claude Code (file read/edit, command execution, web tools), and integrates with the OpenAI API or ChatGPT subscription. It is the GPT-side counterpart to Claude Code.
Frequently asked
Is Codex CLI free?
Codex CLI does not currently have a free tier.
How much does Codex CLI cost?
Codex CLI starts at $20/month for the ChatGPT Plus plan. See pricing details below.
What platforms does Codex CLI support?
Codex CLI runs on macos, linux, windows.