Codex
OpenAI's coding agent — terminal, IDE, cloud and GitHub
Overview
Codex is OpenAI's agentic coding system: it plans and executes multi-step engineering tasks, runs in your terminal or IDE, executes in sandboxed cloud environments, and reviews or fixes GitHub issues autonomously. Included with ChatGPT plans (token-based usage since April 2026), it became one of the two dominant coding agents alongside Claude Code.
Features
How to Get Started
Install the CLI with: npm i -g @openai/codex — then sign in with your ChatGPT account. Codex is included in Plus ($20/mo) and above; since April 2026 usage is token-based per plan credits. Also available as an IDE extension and inside the ChatGPT apps.
Pricing
Included in ChatGPT Plus $20/mo and up (token-based usage)
View pricing detailsFAQ
Is Codex included in ChatGPT Plus?
Yes. Codex has no standalone subscription — it's included in Plus, Pro, Business, Edu and Enterprise, with token-based usage credits since April 2026.
How is Codex different from GitHub Copilot?
Copilot is primarily an in-editor assistant; Codex is a full agent that takes a task, works autonomously in a sandbox or your repo, runs tests, and opens pull requests.
Can Codex work on my GitHub repos?
Yes — connect GitHub and Codex can pick up issues, propose fixes, review PRs and push branches from its cloud environment.
Read AI & Design Articles
Stay up to date with the latest trends and tips in design and AI
Learn AI Skills
Discover practical skills for using AI tools effectively