Codex CLI vs Claude Code: What the November Updates Changed

Codex CLI 0.172.0 landed on November 24 and Claude Code's changelog updated on November 25. Both start at $20 a month, but their limits, models and sandboxes point at different buyers.

Published
Two terminal windows side by side on a dark desk, one showing a code agent at work and the other showing a checklist of files

Codex CLI

Claude Code

Method Documentation comparison based on the vendors' own changelogs and pricing pages, read on November 26, 2026. No shared benchmark was run and no code was executed against either tool.

Editorial verdict Claude Code

OpenAI and Anthropic shipped on consecutive days this week. Codex CLI 0.172.0 arrived on November 24, and the Claude Code changelog added a long November 25 entry the next morning. The two tools do the same job, a coding agent that lives in the terminal, reads a repository and edits it on instruction. They charge the same $20 at the entry point. The differences sit underneath that price: which models you get, how the usage allowance is counted, and how much the tool is allowed to do without asking.

This comparison reads the vendors’ own changelogs and pricing pages, all checked on November 26. It does not run a shared benchmark, because neither vendor publishes one that covers the other, and a benchmark this site ran on one machine would say more about that machine than about either tool. Where a claim comes from a vendor document, the link is in the sentence.

How this comparison was put together

Every version number, date and price below comes from one of four pages: the Codex changelog, the Claude Code changelog, the Codex pricing page, and the Claude pricing page. The changelogs were read on November 26, so the November 24 and 25 entries are the newest ones available at writing time. Prices are the vendors’ listed prices and can change; the pricing pages are the place to check before paying.

Two things this comparison does not do. It does not repeat benchmark scores from third parties, because the scores measure different tasks on different hardware and the vendors do not stand behind each other’s numbers. It also does not claim hands-on test results. When a feature is described as shipped, that means the changelog lists it, not that this site ran it.

What each tool is

Codex CLI is OpenAI’s terminal agent. It installs with npm install -g @openai/codex and signs in either with a ChatGPT plan or with an API key. The same Codex name covers a web agent, an IDE extension, a desktop and mobile app, and a cloud agent that reviews pull requests on GitHub. One allowance covers all of them. The CLI is the part developers touch most, and it is the part this comparison scores.

Claude Code is Anthropic’s terminal agent. It runs in the terminal, in VS Code, and in Claude Desktop’s Code tab, and it is included in every paid Claude plan. It also works on an API key through the Claude Console. Its default models are Opus 5.5 and Sonnet 5.5, with Claude Fable 5.2 as the top model for heavy work. Like Codex, it reads a repository, makes edits, runs commands and keeps a session transcript.

The practical difference in shape is small. Both tools keep a transcript, run subagents, talk to MCP servers and ask before destructive actions. The practical difference in ownership is larger. Codex belongs to a ChatGPT subscription or an OpenAI API key, and its model catalog is OpenAI’s. Claude Code belongs to a Claude subscription or an Anthropic API key, and its model catalog is Anthropic’s. A developer who already pays one vendor gets the other’s tool only by paying twice, so the $20 headline price is rarely the whole cost.

What shipped in the same week

Codex CLI 0.172.0, dated November 24, is a workflow release. Thread links in search results and transcripts now open saved conversations and nested agents in the terminal. Pressing Tab completes arguments for slash commands, so /mcp lo becomes /mcp login. The agent command center, which lists running and finished agent tasks, gains Shift+Up and Shift+Down to jump between task groups. Optional stdio MCP servers with cached tool lists now start on their first tool call instead of at session start, which trims startup time for sessions that never call them. A single connected app tool can have its own approval reviewer in config.toml, and app-server clients can pick Amazon Bedrock Runtime during setup or sign-in. The bundled openai-docs skill now covers migration to GPT-6.2 Astra and Sol. On the fixes side, codex exec resume restores saved sandbox permissions, the working directory and workspace roots instead of dropping them.

Two earlier Codex releases in the same window matter for the comparison. Version 0.171.0, dated November 20, added GPT-6.2 Sol and Astra to the model catalog and made Sol the default catalog selection. It also turned on the TUI workspace by default, with searchable document previews, image previews and subagent transcripts beside the main conversation, and added codex exec --remote for noninteractive sessions on an existing app server. Version 0.170.0, dated November 18, added realtime voice calls in the terminal through WebRTC negotiation, so a developer can speak to Codex instead of typing.

Claude Code’s November 25 changelog entry is longer and points in a different direction. The headline is skills from MCP servers, in beta: a server can now expose skills that show up as server:skill in the slash menu, which turns MCP from a tool protocol into a way to ship reusable workflows. A new PreSkillShellCommand hook event can refuse a skill or command’s inline shell commands as it loads, which gives administrators a veto before anything runs. Held messages from other sessions get an “Always deliver” option, and a footer line stays visible while a flagged message has the session on a different model until the model is picked with /model. Computer use on macOS moves to newer safety rules, so some actions are refused and typing can be slower. The sonnet alias now points to Sonnet 5.5 on Google Cloud’s Agent Platform and Microsoft Foundry, while Bedrock keeps Sonnet 4.5, and Sonnet 5.5 replaces Sonnet 4.5 as the second model in the Claude apps gateway. Tap-mode voice dictation keeps the microphone on until 60 seconds without new words or 10 minutes, up from 15 seconds and 2 minutes. A smaller change with real daily effect: /update-config now uses about 13,000 tokens of context instead of 93,000.

The November 16 Claude Code entry, version 2.1.326, tightened the sandbox. Sandboxed commands on macOS, Linux and WSL no longer write to some sensitive home folders by default, with sandbox.filesystem.allowWrite as the way back in for a specific path. Sessions with no mode set start in auto mode when the organization’s policy has not loaded yet, and HIPAA-configuration sessions start in auto mode by default. Auto mode now ignores wildcard shell allow rules that name no program or start with $HOME, and a hook’s "decision": "block" holds in more cases. File tools refuse writes to Claude Code’s own sign-in files, such as .credentials.json.

Read together, the two weeks tell a story about where each vendor is spending effort. OpenAI is smoothing the terminal itself: completion, navigation, resumable sessions, remote execution. Anthropic is tightening control: hooks that can refuse work before it starts, skills that arrive through MCP, and a sandbox that writes to fewer places by default.

Models on offer

Codex runs OpenAI’s models. GPT-6.2 Sol became the default catalog selection in 0.171.0, with GPT-6.2 Astra as the heavier option for complex projects. The catalog also lists GPT-6.1 Sol and Terra, GPT-6 Astra and Sol, and GPT-6 Luna as the light, cheap model. Built-in providers cover Ollama and LM Studio for local models, plus Amazon Bedrock and Google Cloud Vertex AI, with other providers through config.toml. A developer who wants a local model behind the same interface can point Codex at one without leaving the tool.

Claude Code runs Anthropic’s models. The current defaults are Opus 5.5 and Sonnet 5.5, and the November 25 changelog finishes the migration of the sonnet alias to Sonnet 5.5 on most cloud platforms. Claude Fable 5.2, released November 9, is the default Fable model with a 1M-token context window, priced at $8 per million input tokens and $40 per million output tokens, with $0.20 per million cache reads. Anthropic’s pricing page lists the context window as up to 1M tokens, varying by model.

Neither vendor publishes a context number for the other’s models, and this comparison does not invent one. The usable fact is the shape of the choice. Codex offers a wider shelf: several model generations at several price points, plus local and third-party providers. Claude Code offers a narrower shelf: three model families on one vendor’s API, with the top model gated behind the higher plans or usage credits. A team that wants to swap models to control cost will find more levers in Codex. A team that wants one default and a clear upgrade path will find less to configure in Claude Code.

Price and limits at the $20 entry point

Both tools start at $20 a month, and both stop being simple at that point.

Codex CLIClaude Code
Entry planChatGPT Plus, $20/monthClaude Pro, $20/month ($17 on annual billing)
What the entry plan includesCodex on web, CLI, IDE extension and iOS; cloud code review and SlackClaude Code on all paid plans; shares one usage pool with chat, desktop and mobile
Model allowance on entryEstimated 17-180 local messages per 5 hours with GPT-6.2 Sol; 6-50 with GPT-6.2 Astra; 350-3,000 with GPT-6 Luna1x Pro usage baseline; 5-hour and weekly limits; Fable only through usage credits
Next step upChatGPT Pro $100/$200/$500 a month; no 5-hour limit currentlyMax $100/month, 5x Pro usage; Ultra $200/month, 10x weekly usage, no 5-hour limit for verified accounts
Pay as you goAPI key: GPT-6.2 Sol $2 input / $10 output per million tokens; no cloud featuresUsage credits at standard API rates past the limit; Opus 5.5 is the default model

Codex counts usage in estimated local messages per five-hour window, and the estimate depends heavily on the model. OpenAI’s own table puts GPT-6.2 Sol at 17 to 180 messages per five hours on Plus, a range wide enough that a developer cannot plan a week around it. GPT-6 Luna stretches the same allowance to 350 to 3,000 messages, which is the practical answer for routine work that does not need the strongest model. Pro tiers remove the five-hour limit, though weekly limits may still apply, and OpenAI does not publish how much Codex use each Pro tier includes. Past the allowance, Plus and Pro users can buy ChatGPT credits. GPT-6.2 Sol costs 50 credits per million input tokens and 250 per million output tokens.

Claude Code counts usage the same way Anthropic counts chat: a rolling five-hour window plus a weekly limit, with no published message count. Pro is the baseline. Max multiplies it by five for $100 a month and adds Fable up to half the weekly limit plus $100 a month in API credits. Ultra multiplies the weekly allowance by ten for $200 a month, drops the five-hour limit for verified accounts, and adds $200 a month in API credits. On Pro, Fable runs only on usage credits, which makes the top model a paid extra at the entry tier. The pricing page is explicit that chat, desktop, mobile and Claude Code all draw from one pool, so heavy terminal use eats the same allowance as a long chat session.

The honest summary is that $20 buys a different shape of allowance on each side. Codex publishes message estimates per model, so a developer can see that Luna lasts roughly twenty times longer than Sol on the same plan. Claude Code publishes multipliers between plans, so a developer can see that $100 buys five times the $20 allowance. Codex also offers a genuine pay-as-you-go route: sign in with an API key and pay $2 per million input tokens for GPT-6.2 Sol, with no subscription at all. Claude Code’s equivalent is usage credits past the subscription limit, which still needs a paid plan underneath.

Sandboxes and permissions

This is where the November releases diverge most clearly. Both tools sandbox shell commands and ask before risky actions. They disagree about how much the developer should have to configure.

Codex has been building its sandbox outward. The 0.172.0 changelog lists Guardian review routing, per-tool approval reviewers, and sandbox permission restoration on resume. The 0.169.0 release changed how codex exec decides trust, so --sandbox workspace-write alone no longer enables project config or MCP. The direction is toward a permission system that an administrator can shape per tool and per review, with the sandbox as the default place where commands run.

Claude Code’s November 16 release moved the other way: it narrowed what the sandbox allows without asking. Sandboxed commands lost write access to some sensitive home folders. Wildcard allow rules that name no program stopped working in auto mode. Hooks that block now actually block. The Bash sandbox keeps its state within a session, so a permission decision sticks until /sandbox or /cd runs. The November 25 entry adds a hook that can refuse a skill’s shell commands before the skill loads. The direction is toward fewer silent permissions and more explicit gates.

For a solo developer, the difference is mostly friction. Codex asks less often once configured, and its remote execution and resume support mean a long session survives interruptions. Claude Code asks more often after the November 16 changes, and the new defaults will break setups that relied on broad wildcard rules or writes to home folders. The changelog itself warns that a hook that always prints a block decision may start blocking calls it used to let through. For a team, the difference is governance. Claude Code’s hooks and managed settings give an administrator more places to say no before work starts. Codex’s Guardian reviews and per-tool approvers give an administrator more places to shape how work is approved. The safer choice is the one whose defaults match the team’s tolerance for interruption.

Day-to-day workflow

The terminal experience is where a developer feels the difference. Codex 0.172.0 is a release about staying in the flow: Tab completes slash commands, thread links reopen old conversations, the command center groups tasks and lets the developer jump between them with Shift+Up and Shift+Down. The TUI workspace, on by default since 0.171.0, puts document previews, image previews and subagent transcripts beside the main conversation. Voice arrived in 0.170.0 as a live input mode in the terminal. The picture is a tool becoming a place to work, with the transcript, the previews and the task list sharing one screen.

Claude Code’s recent releases are about extending the tool rather than smoothing the terminal. Skills from MCP servers mean a team can publish a workflow once and have it appear in every developer’s slash menu as server:skill. The plugin system, the /status diagnostics that now list broken agent, skill and command files, and the /update-config context saving all point at a tool that expects to be customized and maintained. Voice exists too, in tap-mode dictation, and the November 25 entry extends it, but it is a dictation feature rather than the live conversation mode Codex added.

Subagents work on both sides, and both tools let a developer run several agents at once. Codex’s agent command center is the more visible supervisor: one view that lists running and finished tasks, marks unread results, and now supports task-group navigation. Claude Code’s equivalent is spread across the transcript, Remote Control to a phone or browser, and the session list. A developer who runs three agents in parallel will notice the command center. A developer who runs one agent at a time will not.

One more workflow difference is worth naming. Codex is the same allowance as ChatGPT Work, so a developer who already pays for Plus gets the CLI, the IDE extension, cloud code review and Slack integration without a second subscription. Claude Code shares its allowance with Claude chat, so a developer who already pays for Pro gets the terminal agent without a second subscription too. The tie-breaker is which chat product the developer already uses. Switching costs come down to the subscription already on the card.

The pick

Claude Code is the pick for most developers buying a terminal agent today. The November releases give it the stronger story: MCP skills that turn a team’s workflows into slash commands, hooks that can refuse work before it runs, and a sandbox that narrowed by default instead of widening. The subscription ladder is also easier to reason about. Pro at $20, Max at $100 for five times the usage, Ultra at $200 for ten times the weekly usage with no five-hour limit. Fable 5.2 sits at the top of that ladder with a 1M-token context window, and the pricing page states the multipliers plainly.

Codex CLI is the pick for two specific buyers. The first is a developer already paying for ChatGPT Plus or Pro, who gets the CLI, the IDE extension and cloud code review inside the plan they already hold. The second is a developer who wants pay-as-you-go billing without a subscription: an API key runs the CLI at $2 per million input tokens for GPT-6.2 Sol, and the model catalog includes a cheap Luna tier that stretches a Plus allowance to an estimated 350 to 3,000 local messages per five hours. The terminal itself is also the more polished of the two right now, with Tab completion, thread links and the agent command center landing in the last three releases.

The gap is not large, and it is not permanent. Both tools shipped meaningful releases in the same week, and both are adding the other’s strengths: Codex is adding the permission and review machinery Claude Code already has, and Claude Code is adding the workflow polish Codex just shipped. A developer choosing today should pick on the subscription they already pay and the model catalog they already trust, because the tools themselves will look different again by the next changelog. Readers who want the Copilot side of this market should read Claude Code vs GitHub Copilot, and readers weighing the editor-based alternative should read Cursor vs Claude Code. The Devin Desktop comparison, Cursor vs Devin Desktop, covers the cloud-agent end of the same market.