AI coding tool · Terminal agent
OpenAI Codex: pricing, free plan and features
OpenAI's coding agent: open-source CLI, IDE extension, desktop app and cloud agent that edit code, run tasks in parallel and review pull requests, tied to a ChatGPT plan or API key.
From OpenAI Codex's own website, updated 27 Nov 2026. Website: openai.com
Key facts
- Type
- Terminal agent
- Made by
- OpenAI
- Status
- Active
- Free tier
- Free plan (Included in ChatGPT Free and Go for quick, lightweight tasks, on GPT-6 Luna at Standard speed in the desktop app, subject to rollout; the CLI, IDE extension, web and cloud integrations start at Plus.)
- Paid from
- $8/mo. ChatGPT Go, $8 per month, for lightweight coding tasks (GPT-6 Luna in the desktop app); Codex usage is shared with ChatGPT Work, credits can extend it.
- Plan with the main models
- $20/mo
- Teams from
- $25 per user/month
- Team pricing
- ChatGPT Business: $25 per user per month billed monthly ($20 billed annually, 2+ users), SAML SSO and no training on business data by default. Enterprise and Edu: contact sales. API-key use is billed at API prices.
- Students
- Codex for Students: confirmed university students in the United States and Canada can claim $100 in ChatGPT credits for Codex; one offer per student, credits expire after 12 months.
- Open source
- Partly (Apache-2.0 (Codex CLI repository); cloud agent, desktop app and models are not open source)
OpenAI Codex plans and pricing
| Plan | Price | What you get |
|---|---|---|
| ChatGPT Free | Free Explore Codex on quick tasks | GPT-6 Luna at Standard speed in the desktop app, subject to rollout |
| ChatGPT Go | $8/mo Lightweight coding tasks | GPT-6 Luna at Standard speed in the desktop app, subject to rollout |
| ChatGPT Plus | $20/mo A few focused coding sessions each week | Codex on the web, CLI, IDE extension and iOS; cloud integrations like automatic code review and Slack; GPT-6.1 Sol and GPT-6 Luna; credits to extend usage |
| ChatGPT Pro | $100/mo From $100; plans at $100, $200 or $500 per month | Everything in Plus; higher usage; Ultrafast mode on the $500 plan |
| ChatGPT Business | $25/mo $20 per user per month billed annually (2+ users); $25 billed monthly | Larger cloud VMs, credits, SAML SSO, MFA, no training on business data by default |
| Enterprise & Edu | Custom / usage Contact sales | Everything in Business plus SCIM, EKM, RBAC, Compliance API audit logs, data retention and residency controls |
| API key | Custom / usage Pay API prices | Codex CLI, SDK or IDE extension; no cloud-based features (GitHub code review, Slack) |
Source: learn.chatgpt.com, 27 Nov 2026. Prices change often, so check the pricing page before you buy.
Features
- Autocomplete
- Not stated
- Chat
- Yes
- Agent mode
- Yes
- Cloud / background agents
- Yes Needs a ChatGPT plan (Plus and above); API-key sessions have no cloud features
- PR review
- Yes Plus and above; GitHub code review is a cloud feature, not available with API key
- MCP support
- Yes
- Bring your own key
- Yes Custom providers need a Responses API compatible endpoint; API-key billing at API prices
- Local models
- Yes CLI only, via --oss with Ollama or LM Studio
- Self-hosting
- Not stated
Models offered: GPT.
Where it runs
VS Code, JetBrains, Xcode, Desktop app, CLI, Web, Mobile, Slack, GitHub app Desktop and CLI support: macOS, Windows, Linux.
Privacy and security
- SOC 2
- Yes API and ChatGPT business products (Business, Enterprise, Edu)
- SSO
- Yes Business and Enterprise/Edu workspaces
- Zero data retention
- Not stated
- No training on your code
- Yes Business, Enterprise and Edu by default; on individual plans you decide whether your data is used for training
"Not stated" means the website does not say. Ask the company before you rely on it.