AI chat assistant from Anthropic with a free plan and paid Pro and Max plans.

OpenAI Codex
by OpenAI OpCo, LLC
OpenAI's coding agent for the terminal, editor and cloud, included in ChatGPT plans from the free tier up.
- Recommended
- Free plan

My verdict Recommended
Of the four, it has the safest starting point: a sandbox on every system, no network unless you allow it, and it asks before it touches anything outside the project folder. Training is on for personal ChatGPT accounts though, so switch off "Improve the model for everyone" first. And never start it with --yolo (that removes the sandbox and the questions at once).
What is OpenAI Codex?
Codex is OpenAI's coding agent. You can use it as a command-line tool (Codex CLI), as an extension in VS Code and similar editors, inside the ChatGPT desktop app for macOS and Windows, or as cloud tasks that run on computers OpenAI manages. In July 2026 OpenAI folded the separate Codex app into the ChatGPT desktop app, where Codex now sits next to Chat and Work. The Codex CLI is open source; the app and cloud service are not.
On your own computer Codex works inside an operating-system sandbox. In the default Auto setting it can read, edit and run commands in your project folder without asking, but network access is off and it asks before working outside the folder. On personal Free, Plus and Pro accounts, OpenAI says data sharing for training is on by default; you can switch off Improve the model for everyone in ChatGPT's data controls. OpenAI says it does not train on Business, Enterprise and Edu data by default, and approved API customers can get zero data retention.
Codex is included on every ChatGPT plan, including Free ($0) and Go ($8 a month), but cloud tasks need Plus ($20 a month) or higher. Pro starts at $100 a month.
Best forChatGPT users who want a coding agent with a sandbox switched on from the start.
OpenAI Codex features
Sandbox modes
Read-only, workspace-write (the default in the Auto preset) and danger-full-access decide where Codex may write and whether commands can reach the network.
Approval policy
A separate setting decides when Codex must stop and ask you, for example before leaving the project folder or using the network.
Network off by default
Local commands have no internet access unless you turn it on, and web search uses an OpenAI cache of pages instead of live sites by default.
Isolated cloud tasks
Cloud tasks run in containers OpenAI manages, away from your own computer, and the agent part runs offline unless you allow internet access.
Extensions
Supports MCP servers, skills, plugins, hooks and AGENTS.md instruction files; tools that say they are destructive always need your approval.
Open-source CLI
The Codex CLI code is public on GitHub under the Apache 2.0 licence.
OpenAI Codex pricing
Starting price
Free $0 (quick tasks, no cloud tasks). Go $8 a month. Plus $20 a month. Pro from $100 a month ($100, $200 or $500). Business $20 per user a month billed yearly, or $25 monthly. Or pay per use with an OpenAI API key.
- Pricing modelFree plan plus paid plans
- Free planYes
- Free trialNot stated
Checked 30 Nov 2026. Prices change often; the vendor's page wins.
Trust and privacy
- Company based in
- United States
- Open source
- No, or not confirmed
- Security record
- Known problems and fixes
Independent audits
No public independent audit found.
Good to know before you buy
- Personal ChatGPT accounts share data for training by default. Turn off Improve the model for everyone under Settings, Data controls.
- In the default Auto mode Codex edits files and runs commands in your project folder without asking each time.
- The --yolo flag removes both the sandbox and the approval prompts. OpenAI itself marks it as not recommended.
- Researchers found ways to escape the sandbox or run code from a booby-trapped repository in 2025 and early 2026. OpenAI fixed them, so keep Codex updated.
- You need a ChatGPT account or an OpenAI API key, and cloud tasks are not included on Free or Go.
OpenAI Codex alternatives
OpenAI's AI chat assistant for questions, writing, files and images, with a free tier.
Google's AI chat assistant, free with a Google account and paid through Google AI plans.
Mistral AI's chat assistant, now presented by Mistral as Vibe, with a free plan.
AI chat assistant from Proton with zero-access encrypted chats, for people who want prompts kept private.
Free AI chat from DuckDuckGo that anonymizes requests and does not store chats by default.
Frequently asked questions
What is OpenAI Codex?
OpenAI's coding agent for the terminal, editor and cloud, included in ChatGPT plans from the free tier up.
How much does OpenAI Codex cost?
OpenAI Codex starts at Free $0 (quick tasks, no cloud tasks). Go $8 a month. Plus $20 a month. Pro from $100 a month ($100, $200 or $500). Business $20 per user a month billed yearly, or $25 monthly. Or pay per use with an OpenAI API key., according to its pricing page (checked 30 Nov 2026).
Is there a free version of OpenAI Codex?
Yes. OpenAI Codex has a free plan or tier; check the pricing page for its limits.
What are the alternatives to OpenAI Codex?
Products in the same category include Claude, ChatGPT, Gemini, Le Chat, Proton Lumo.
Where is OpenAI Codex based?
The company behind OpenAI Codex is based in San Francisco, United States.
Have you tested OpenAI Codex?
Yes. My verdict is at the top of this page.
Sources (9), checked 30 Nov 2026
- openai.com/codex
- learn.chatgpt.com/docs/pricing
- learn.chatgpt.com/docs/agent-approvals-security
- learn.chatgpt.com/docs/sandboxing
- help.openai.com/en/articles/11369540-using-codex-with-your-chatgpt-plan
- help.openai.com/en/articles/7730893-data-controls-in-chatgpt
- help.openai.com/en/articles/20001276-moving-to-the-new-chatgpt-desktop-app
- github.com/openai/codex
- developers.openai.com/codex/llms-full.txt
Spotted something out of date? Tell me through the contact page and I will fix it.





