OpenAI Codex CLI
OpenAI's open-source terminal coding agent, now on GPT-6.2 models
Overview
Codex CLI is OpenAI's open-source (Apache-2.0), Rust-built terminal coding agent that reads, edits and runs code locally in a sandbox, with a scriptable mode for CI. It runs on OpenAI's GPT-6.2 Astra and Sol and earlier GPT-6 models, and is used with a ChatGPT plan from Plus at $20 a month, or with an API key.
Pricing
Pricing shown for reference only. These figures reflect RECATOOLS research as of 23 Nov 2026 and may be out of date or incomplete. This is not financial or purchasing advice — always confirm the current price on the provider’s official website before making any decision.
- GPT-6 Luna in the desktop app, subject to rollout
- GPT-6 Luna in the desktop app, subject to rollout
- GPT-6.1 Sol and GPT-6 Luna (GPT-6.2 Astra and Sol in the app and CLI)
- Automatic code review
- Slack integration
- Extend usage with credits
- Everything in Plus
- No five-hour limit currently
- Ultrafast mode on Pro 500 only
- Larger cloud VMs
- SAML SSO and MFA
- No training on business data by default
- Priority processing
- SCIM, EKM and RBAC
- Compliance API and data residency
What you can produce with OpenAI Codex CLI
- Open-source Rust terminal coding agent (Apache-2.0)
- Local sandboxed file editing and command execution
- Non-interactive mode for scripts and CI
- Runs on GPT-6.2 Astra and Sol and earlier GPT-6 models
- Shared Codex cloud, IDE and desktop-app family
- Sign-in with a ChatGPT plan or API key
Codex CLI is one of the strongest terminal coding agents available: open source, fast, very actively maintained and now running OpenAI's GPT-6.2 models, with a scriptable mode for automation. Its value depends on a ChatGPT subscription or API spending, and models and plan limits change often enough that last quarter's comparisons are already out of date. Free and Go users get only limited desktop-app access, not the CLI, and Ultrafast is reserved for Pro 500. A natural choice for developers already paying for ChatGPT Plus or Pro who want agentic coding in the terminal.
What we found
Codex CLI is OpenAI's open-source coding agent for the terminal. The repository went public in April 2025 under the Apache 2.0 licence and is now written almost entirely in Rust. It reads a codebase, edits files and runs commands on the developer's own machine inside a sandbox, with permission levels the user sets. A non-interactive mode, codex exec, runs it from scripts and CI pipelines.
The CLI is one surface of a wider Codex family: an IDE extension, Codex Cloud, Codex in the ChatGPT mobile apps, and, since 9 July 2026, Codex inside the ChatGPT desktop app on macOS and Windows. Documentation has moved to learn.chatgpt.com, and stable releases ship several times a week; rust-v0.171.0 appeared on 20 November 2026.
Models turn over quickly. GPT-5.3-Codex-Spark was deprecated on 14 September 2026, and GPT-5.5 left ChatGPT sign-in on 14 October, with GPT-6.1 Sol named as its replacement on paid plans. On 17 November OpenAI added GPT-6.2 Astra, for the hardest work, and GPT-6.2 Sol, for everyday coding, to the Codex app and CLI on Plus and above. API-key users can pick any model their key allows.
Access comes through a ChatGPT plan or an API key. Free and Go, at $8 a month, get GPT-6 Luna only in the desktop app, subject to rollout. Plus, at $20, adds Codex on the web, CLI, IDE and iOS with automatic code review and Slack. Pro costs $100, $200 or $500 a month, currently has no five-hour limit, and keeps Ultrafast mode for Pro 500. Business costs $20 a user a month billed annually or $25 monthly; Enterprise and Edu go through sales. Credits extend an allowance, while API-key sessions pay API rates and lose the cloud features.
The code is free to inspect and modify. It suits developers already paying for ChatGPT who want an agent in the terminal.
Compiled by RECATOOLS from public sources: vendor documentation and pricing, code repositories and published reporting.
About this listing
This entry was compiled from publicly available data including OpenAI Codex CLI's official website, press releases, documentation, and reputable third-party publications. RECATOOLS is not affiliated with OpenAI Codex CLI unless explicitly stated.
Third-party AI tools update their pricing, features, availability, and policies frequently. Information here may be outdated by the time you read this — we make reasonable efforts to keep listings current, but cannot guarantee absolute accuracy.
For the latest details, please refer to OpenAI Codex CLI directly →
Spotted something out of date? Suggest an update →
From our guides
Guide · 10 min read
The Best AI Coding Agents in 2026, Ranked by Real Traction
Eight AI coding agents ranked by our own GitHub traction data — from OpenCode to...
Guide · 10 min read
Claude Code vs Cursor vs OpenAI Codex (2026)
Claude Code, Cursor and OpenAI Codex compared for July 2026: form factors, model...
Alternatives to OpenAI Codex CLI
More in Code & Dev Tools