Codex vs Claude Code: What OpenAI's Agent Does That Claude Can't (2026)
OpenAI just gave every paid ChatGPT user a free computer — 15 GB of RAM and nine cores, running in the cloud. That single move reframes what a coding agent is allowed to be. Claude Code and Codex now represent two very different philosophies of agentic development, and the gap has widened into something you can no longer hand-wave away. This article breaks down what Codex actually does that Claude Code can't, what's genuinely useful versus what's gimmick, and where each tool belongs in your workflow.
The Announcement That Changed the Math: A Free Cloud VM
Start with the infrastructure, because everything else follows from it. Every paid ChatGPT user now gets a full virtual machine in the cloud: 15 GB of RAM and nine cores on the base plan, 20 GB on Pro. The VM has its own browser, can install packages, and keeps running when your laptop is closed or your Wi-Fi dies. Codex doesn't borrow your machine anymore — it owns one.
To put that in perspective: renting a comparable server costs $20–50/month plus setup friction. Here it's included, and it changes what the agent can do. Someone challenged Codex to run a small AI model inside its own VM with the network restricted so it couldn't download the model. Codex built its own network proxy, fetched a small open-source model, and had it running in 14 minutes. An agent running an AI inside its own computer — the recursion is the point.
Skills That Find Themselves
Both ecosystems have skills, but the discovery loop is different. When Codex receives a task it can't handle with its defaults, it searches its own skill database and loads what it needs — autonomously, without installation. In the demo that started this conversation, Codex needed to read Twitter links and automatically pulled in Agent Reach, an open-source skill that gives agents access to X, Reddit, and similar walled gardens without paid API keys, switching to backup methods when one gets patched.
Agent Reach is a good yardstick for the ecosystem's velocity: it passed 70,000 GitHub stars and was briefly the number one trending repository in the world. Claude Code has skills too — first-class ones — but the workflow is install-first. Codex's self-serve skill discovery removes a step that, multiplied across every tool you might ever need, matters more than it sounds.
Deployment: From Chat to Live Product in One Session
ChatGPT Sites is not a website builder, or rather it is, but that undersells it. When Codex ships a site, you get the actual production stack: a real database so the app remembers users and stores data, file storage, and a secrets vault so API keys aren't sitting in plaintext. Authentication goes through ChatGPT accounts, which removes the single scariest part of shipping an app for non-specialists: OAuth.
An a16z partner prompted it to build a GeoGuessr-style game where you play against AI models. Codex built the game, hosted it, wired up the logins, and locked down the keys — all inside a single chat. The post drew over 100,000 views, with the recurring reaction being "it hosted it too?" Yes. Custom domains included.
Every developer has a note on their phone with an app idea rotting in it. The distance between that note and a live product with real users used to be months of work and thousands of dollars in infrastructure. It is now a single conversation. That's not hype; it's a workflow shift with a price tag of zero beyond the subscription.
Visuals: Image Generation Changes Everything
ChatGPT's image generation is widely regarded as the best in the world right now, and Codex has native access to it. Pair that with Remotion — the code-based video tool that powers most slick animated explainers on YouTube — and Codex can produce video assets that Claude simply cannot, short of wiring in an external API key.
The same advantage extends to slides. Codex Slides, a free open-source plugin, turns a repo, a PDF, or a messy brain dump into a fully animated slide deck with image-native design. For anyone producing content or investor decks, the "brain dump to polished deck" pipeline is a genuine workflow killer feature.
Security Auditing Built In
There's an open-source Codex security plugin that points at your codebase and produces a real threat model: attack paths, a hand-held walkthrough of how someone could break into your app, then fixes, tests for those fixes, and a report exported to GitHub, Jira, Linear, or SARIF — the standard format security tools use to interoperate.
For the wave of non-technical founders shipping vibe-coded apps to real users, this is the missing safety net. Asking an agent to fix a bug doesn't mean you understand what it did; asking a security plugin to map your attack surface gives you something readable. Claude's safety posture, by contrast, tends to refuse this kind of offensive analysis outright.
Voice, Autonomy, and the Phone-First Workflow
ChatGPT's live voice mode works with Codex in a roundabout but powerful way: you open voice mode on your phone, put it in background mode, and go for a walk, rambling about an idea like you're on a call. When you get home, you attach that voice thread to Codex and the entire conversation becomes the plan your agent executes. Dictation keeps recording while the app is backgrounded, so a ten-minute "this button is broken, why is it there" rant becomes a single task.
Your best ideas don't happen at a desk. The phone-first, capture-and-execute loop is where OpenAI's consumer DNA shows: packaged, switch-on-and-forget automation for people who aren't developers. The same pattern extends to ChatGPT Work — scheduled tasks with a cloud computer behind them: watching an inbox and flagging package deliveries, rebooking flights when schedules move, hunting Airbnb listings with its own remote browser. One person gave ChatGPT Work control of large parts of his life, entirely from his phone.
The Honest Comparison Table
| Capability | Codex | Claude Code |
|---|---|---|
| Cloud VM included | ✅ 15-20 GB RAM, 9 cores | ❌ Runs on your machine |
| Self-discovering skills | ✅ Automatic | ⚠️ Install-first |
| Image generation | ✅ Native (best-in-class) | ⚠️ External API only |
| One-session deployment | ✅ DB + storage + auth + hosting | ⚠️ Manual setup |
| Security auditing | ✅ Open-source plugin | ⚠️ Restricted by safety policy |
| Voice capture-to-task | ✅ Phone-first, backgrounded | ⚠️ App-bound |
| Agentic reliability (long tasks) | Good, improving fast | ✅ Benchmark |
| Skills ecosystem maturity | Growing fast | ✅ Deepest |
| Open source | ✅ (openai/codex, 105k★) | Source-available |
The Verdict: Obsolete, or Complementary?
The obvious question hanging over both tools: did Codex just make Claude obsolete? The honest answer: no, but the gap is closing on OpenAI's terms. Codex wins on infrastructure (the free VM), multimodal features (image gen, voice), and the self-contained deployment loop. Claude Code still wins on agentic reliability for long, complex sessions and the depth of its skills/hooks/plugins ecosystem.
The people who've been in both ecosystems longest mostly end up in the same place: keeping both subscriptions. Codex for the things Claude physically cannot do — cloud compute, images, one-session shipping. Claude for the deep, multi-phase agentic work where judgment and ecosystem maturity still matter. The tools are converging, but they're not interchangeable yet — and the free cloud computer tipped the balance further than most people realize.
Further Reading
Codex is the third heavyweight in the terminal agent fight. See how it stacks up in our other head-to-heads: Gemini CLI vs Claude Code, opencode vs Claude Code, and if you're going deep on Claude, our guide to mastering Claude Code.