OpenAI Codex
OpenAI's coding agent, available as a CLI, IDE extension, desktop app, web cloud agent and iOS app, bundled with ChatGPT plans. It writes, runs and reviews code locally or in cloud sandboxes.
Overview
- Best for
- ChatGPT subscribers, terminal workflows, parallel cloud tasks, automatic PR review, quick fixes with a fast model
- Input
- text, code, image
- Output
- code, text
- Context window
- Not listed
- Access
- Proprietary
- License
- Proprietary service (the Codex CLI itself is open source under Apache 2.0)
- Company
- OpenAI
Strengths and limitations
Good at
- Included in every ChatGPT plan, even Free and Go (with GPT-6 Luna)
- Runs on GPT-6.1 Sol, GPT-6.1 Terra, GPT-6 Sol/Astra and the fast GPT-6 Luna
- Cloud tasks in parallel plus automatic GitHub code review and Slack integration
- Pro plans currently have no five-hour limit
Watch out for
- Usage caps vary widely by model (e.g. 15 to 160 GPT-6.1 Sol messages per 5 hours on Plus)
- Cloud features (GitHub review, Slack) not available when using an API key
- Pricing and model lineup change often
Where to use it
Pricing
- Apps and plans
- Free $0; Go $8/mo; Plus $20/mo; Pro $100, $200 or $500/mo; Business $25/user/mo ($20 billed annually, 2+ users); Enterprise and Edu: contact sales
- API
- Not listed
- Good to know
- Usage measured in five-hour windows plus possible weekly limits; extendable with ChatGPT credits. Codex with an API key is billed at standard OpenAI API rates.
Checked November 11, 2026. Prices change often; confirm on the official site before you pay.
Similar coding models
Anthropic's agentic coding tool that reads your codebase, edits files, runs commands and opens pull requests. It runs in the terminal, IDEs, a desktop app and the browser.
An open-source coding agent that runs in the terminal, as a desktop app or via SDK, and works with 200+ model providers including local models.
A 128B dense open-weight model that replaced Devstral 2 as the engine of Mistral's Vibe CLI coding agent and Vibe remote cloud agents. It targets agentic coding with self-hosting as an option.