Agents KeeperFree beta
ES
Download

Claude Code vs Codex: the differences that matter day to day

By Nicolás Pinzón Aparicio · Updated

Claude Code is Anthropic's coding agent and needs a paid Claude plan (Pro, $20 a month, or higher) or an API account, while Codex is OpenAI's open-source (Apache-2.0) coding agent included in every ChatGPT plan, Free included; both run in the terminal on macOS, Windows and Linux, read an instructions file (CLAUDE.md, or AGENTS.md for both), and resume old sessions, and Agents Keeper is a free desktop app that runs the two side by side.

Which one writes better code changes with almost every model release, so this page leaves benchmarks out. It compares what changes slowly and what you notice every day: what you pay, how you install it, how it runs on Windows, where it reads your project's rules, and how it handles sessions and parallel work. Facts from Anthropic's and OpenAI's own docs and pricing pages, checked on November 11, 2026.

Claude Code and Codex at a glance

Claude Code vs Codex CLI, per Anthropic's and OpenAI's docs on November 11, 2026
Claude CodeCodex CLI
Made byAnthropicOpenAI; open source under Apache-2.0
Plans that include itPro, Max, Ultra, Team, Enterprise, or a Console (API) account; not the free planEvery ChatGPT plan: Free, Go, Plus, Pro, Business, Edu and Enterprise; or an API key
Individual pricesPro $20/month ($17 billed annually), Max $100, Ultra $200Free $0, Go $8, Plus $20, Pro from $100
Install (macOS, Linux)curl -fsSL https://claude.ai/install.sh | bashcurl -fsSL https://chatgpt.com/codex/install.sh | sh
Install (Windows PowerShell)irm https://claude.ai/install.ps1 | iexirm https://chatgpt.com/codex/install.ps1 | iex
Package managersHomebrew, WinGet, apt, dnf, apk, npmnpm, Homebrew
On WindowsNative or inside WSL; sandboxing needs WSL2Native in PowerShell with a Windows sandbox; WSL if you need Linux tooling
Project instructionsCLAUDE.md; reads AGENTS.md when there's no CLAUDE.mdAGENTS.md (32 KiB by default); other names only if you list them
Resume a sessionclaude --resumecodex resume
Check your plan limits/usage/status
Parallel workclaude --worktree, background sessions and agent view (claude agents)Worktree chats in the ChatGPT desktop app (Codex); Codex Cloud tasks

What you pay

Claude Code needs a Pro, Max, Ultra, Team or Enterprise plan, or a Console account billed per token; Anthropic's setup docs say the free Claude plan doesn't include it. On claude.com/pricing, Pro is $20 a month ($17 a month billed annually), Max $100 and Ultra $200. Claude Code shares the plan's limits with your Claude chats: see Claude Code usage limits.

Codex is included in every ChatGPT plan on OpenAI's pricing page, from Free and Go ($8 a month) to Plus ($20), Pro (from $100), Business, Edu and Enterprise. You can also sign in with an API key and pay API rates, which OpenAI suggests for automation such as CI.

If you already pay for one of the two, start there: both work with your existing subscription, and both can run side by side if you have both.

Installing them, and Windows

Both install with one command. Claude Code supports macOS 13+, Windows 10 1809+, Ubuntu 20.04+, Debian 10+ and Alpine 3.19+. Codex's GitHub releases cover macOS and Linux on x64 and ARM64, and it has its own Windows installer.

On Windows the two differ. Anthropic lets you run Claude Code natively from PowerShell or CMD, or inside WSL, and its table says sandboxing works only in WSL2. OpenAI's Windows page says Codex can run natively in PowerShell with a Windows sandbox, recommends that by default, and suggests WSL when you need Linux tooling or already work in WSL2. Windows 11 is OpenAI's recommended baseline.

Step by step for Codex: Codex CLI on Windows. Want both in one Windows app? See Claude Code and Codex on Windows.

CLAUDE.md vs AGENTS.md

Each agent reads a Markdown file of project rules at the start of a session. Codex reads AGENTS.md (and AGENTS.override.md), from ~/.codex and from each folder between the Git root and where you started it, up to 32 KiB by default. Running /init in Codex writes one for you.

Claude Code reads CLAUDE.md. Since version 2.1.277, Anthropic's docs say it also reads AGENTS.md as your project instructions when there's no CLAUDE.md in the folder or above it. To keep one set of rules for both agents, write AGENTS.md and either leave CLAUDE.md out or import AGENTS.md from it.

Sessions, background work and parallel agents

Coming back to old work
claude --resume opens Claude Code's session picker; codex resume reopens a recent Codex chat from the current repository or searches your local chats. Neither lists the other's sessions. More in Claude Code sessions.
Working with the terminal closed
Claude Code has background sessions: claude --bg and agent view (claude agents). For Codex in a terminal, tmux does the job. See run Claude Code in the background.
Several tasks at once
claude --worktree <name> gives each Claude Code session its own git worktree and branch; Codex in the ChatGPT desktop app (where the Codex app merged on July 9, 2026) can put each chat in its own worktree, and Codex Cloud runs tasks remotely. See Claude Code worktrees.

Using both: Claude Code and Codex side by side in Agents Keeper

Plenty of people keep both: one for the work it's better at this month, the other when a plan's limit runs out. (Setups for running them on one project: use Claude Code and Codex together.) The cost is two sets of terminals, two session lists and two usage meters. Agents Keeper is a free desktop app for macOS, Windows (native, no WSL) and Linux that runs the official Claude Code and Codex with your own login, in one place.

One list
Every Claude Code and Codex session in one Inbox, grouped by status, with the ones that need you on top and one notification when an agent needs you or finishes.
Both limits
The Usage page shows your 5-hour and weekly windows with the reset time, and an approximate cost across Claude and Codex, worked out on your computer.
Ask both
Council puts one question to two to five members, each with its own agent and model, so Claude Code and Codex answer side by side, review each other anonymously, and a chair writes the verdict. Council's agents can't change your files.
Running in the background
Sessions of both agents keep running in its background service when you close the window.
The Agents Keeper Inbox with Claude Code and Codex sessions grouped by status.
Claude Code and Codex sessions in one Inbox.

More on Agents Keeper for Codex users, and the Claude Code and Codex managers compared.

Questions about Claude Code vs Codex

Is Claude Code better than Codex?
It depends on the task and changes with each model release, so test both on your own repository. The fixed differences are plans and price, Windows support and instruction files: see the table above.
Is Codex free?
Codex is included in every ChatGPT plan, the Free plan too, per OpenAI's pricing page, with usage limits that depend on the plan. Claude Code isn't included in the free Claude plan.
Can I use Claude Code and Codex on the same project?
Yes. Give each its own git worktree so they don't edit the same files, and keep shared rules in AGENTS.md, which both can read.
Does Codex read CLAUDE.md?
Not by default. Codex reads AGENTS.md; other file names are read only if you add them to project_doc_fallback_filenames in ~/.codex/config.toml.
Is Agents Keeper free?
Yes. Agents Keeper is a free beta with no account. Claude Code and Codex use your own Claude or ChatGPT plan, or an API key.

Sources

Checked on

Your agents are waiting. Find out which one.

Download Agents KeeperCompared: Terminal tabs, tmux, Agents KeeperGetting started on WindowsGuide