What Is OpenAI Codex? Where It Runs and What It Can Touch
· 6 min read
Codex is OpenAI's coding agent: its help center says it "helps you write, review, and ship code", and OpenAI provides it in a terminal, an editor extension, the cloud and the ChatGPT desktop app. What it can touch depends on where it runs, on your computer or in the cloud.
We read OpenAI's help articles, legal pages and documentation on 3 December 2026. The developers.openai.com/codex address redirected to learn.chatgpt.com, and help articles show only relative times, so their wording may have changed. Nobody on our side has run Codex. This is not legal advice, and rules differ by place.
What do people mean by OpenAI Codex?
The help article Using Codex with your ChatGPT plan lists the clients, including the ChatGPT desktop app in Codex mode. This post covers that agent, not ChatGPT Work or Codex Security, which the pages we read describe separately.
Where does Codex run?
- Desktop app and terminal. The help article says "Local workflows run on your device", and OpenAI's README says Codex CLI "runs locally on your computer".
- Editor. The IDE page lists the editors it supports, some through the Codex extension and some through their own integrations.
- Cloud. The help article says cloud tasks run in "OpenAI-managed environments", and the cloud page says Codex can check out any repository available to it through your connected GitHub or GitLab account.
Does Codex cost extra on a ChatGPT plan?
Three OpenAI pages cover this; read your own plan on each:
- Codex page. openai.com/codex says "Codex is included in your ChatGPT plan."
- Help article. It says "Codex is included across ChatGPT plans, including Free and Go", lists the accounts that get Codex Cloud "subject to rollout and workspace settings", then says "It is not included with Free or Go." That sentence follows the Codex Cloud one.
- Pricing page. The docs pricing page opens "ChatGPT Work and Codex are included in your ChatGPT Free, Go, Plus, Pro, Business, Edu, or Enterprise plan". Its plan cards start at Free; the included-usage table under them has columns from Plus.
With an API key, the sign-in page says OpenAI bills usage through your Platform account. Is the OpenAI API free covers how OpenAI words API billing.
What can Codex touch on my computer?
The approvals page says local Codex uses an "OS-enforced sandbox" that limits what it can touch, plus an approval policy that decides when it must stop and ask. The sandbox page names modes from read-only to danger-full-access, which removes the filesystem and network boundaries, and calls workspace-write the default for local work.
The permission profiles page carries "Beta. Permission profiles are under active development and may change."
Can Codex reach the internet?
Locally, the approvals page says the default workspace-write mode keeps network access off unless you enable it. It warns: "Prompt injection can cause the agent to fetch and follow untrusted instructions." Prompt injection explained covers that risk.
The approvals page also says "By default, the agent runs with network access turned off", naming no surface. For the cloud, it says the agent phase of Codex Cloud (Legacy) "runs offline by default unless you enable internet access for that environment", and points to Connect to services for current Codex Cloud. The cloud environments page names Enable all public internet access, a Package managers preset and Additional allowed domains, and states no default in the text we read. We cannot tell whether your environment is Legacy or current.
Does Codex train on my code, and what does it keep?
The help article's Data controls section says your ChatGPT model-training controls apply to content processed through Codex, including Computer Use screenshots, then says where work runs. The pages we read (that article and the approvals, sandbox, sign-in, CLI, IDE and cloud pages) do not describe in plain words what a local session sends to OpenAI. Check which account type you use.
- Individual accounts. The model-improvement article says "When you use Codex with a personal ChatGPT account, your ChatGPT model-training preference applies to your Codex conversations." For Free, Plus and Pro it says OpenAI may use your content to train its models, and the data controls article says sharing is on by default on personal workspaces; we cannot tell how Go fits. One opt-out covers ChatGPT conversations and Codex tasks, and feedback on a response may let OpenAI use the entire conversation to train its models.
- Business and API. The model-improvement article says that by default OpenAI does not use inputs or outputs from business services, managed workspaces or the API to improve its models; for a limited subset of API customers it may use API content to train safety classifiers, which it says is separate from foundation model training.
- Retention. With ChatGPT sign-in, the sign-in page says Codex usage follows "ChatGPT Enterprise retention and residency settings"; with an API key, it says the settings of your API organization apply. The page does not say what applies on personal plans. The cloud environments page says a task's saved state is by default recoverable for a limited number of days after you last start a turn or resume the task; the pages we read do not say what happens afterwards.
- On your computer. The approvals page says to review local data retention settings if you do not want Codex to save session transcripts under CODEX_HOME, and the Memories page says local Codex memories are "off by default".
- Legal pages. When you sign in to Codex using an existing ChatGPT account, the help article says the ChatGPT Terms of Use and Privacy Policy, or the matching services agreement for API and business users, apply to data shared between Codex and ChatGPT. In the text we read, Codex appears only in the site menu of the Terms of Use ("Effective: January 1, 2026") and the US privacy policy ("Updated: September 10, 2026"), whose general Retention section does not name Codex. The Terms of Use say they include the Service Terms ("Updated: November 13, 2026"), whose "Codex and Code Generation" section says output from code generation features, including Codex, may be subject to third party licenses, including open source licenses.
What should I set up before pointing Codex at a project?
Our own advice:
- Branch and test. Read the whole diff and run the tests yourself; how to let an AI edit your code without losing work has steps.
- No secrets in the folder. Keep keys out of the project directory and out of AGENTS.md, which the docs say Codex reads "before doing any work". The sign-in page says login details are cached in a plaintext file at ~/.codex/auth.json or your operating system's credential store, and that if you use file-based storage you should treat auth.json like a password.
- Ask at work. The help article says managed workspaces can control local Codex and cloud tasks separately and that Codex usage from both is available in the Compliance API; ask your administrator what is logged.
Where NAMELESS stands
NAMELESS is our own AI model, built on its own architecture and still in training, so it cannot be used yet and has no launch date. We aim for unlimited context with no rereading of the conversation, extremely fast answers, stronger logic and reasoning and a cost of pennies compared with today's leading assistants; treat all of that as intent until there is something to try. Join the waitlist if you want word of progress.
Product and company names in this article belong to their owners and are used only to describe them. NAMELESS is not affiliated with or endorsed by them.