Claude Code vs Codex: Pricing, Features and Workflow Compared
4 October 2026 · Updated 28 November 2026 · 12 min read · by Yang Kai
A sourced comparison of Claude Code and Codex — current plan pricing checked November 2026, how each tool's workflow is shaped, customisation depth, CI support, and a blank scorecard to run your own evaluation.
Template inside: Evaluation scorecard template
Contents
- How we researched this
- Pricing: both start at $20, then diverge
- Workflow shape: supervised session vs delegated task
- Customisation: how much workflow can you build?
- Surfaces and automation
- Model flexibility: the tie nobody wins
- What short tests miss, and a month catches
- Switching costs: what actually transfers
- The scorecard: run your own month
- One-month scorecard — score each 1–5 weekly, per tool
- Month-end decision rules (fill in before you start)
- Verdict by use case
Most Claude Code vs Codex comparisons hand you a winner and a decimal-point score. What they rarely hand you is evidence that would survive contact with your codebase, your tasks and your habits.
This comparison takes the other route: every claim below traces to the two vendors’ own documentation and pricing pages, checked November 2026. We compare pricing, workflow shape, customisation, surfaces and automation — declare a winner per criterion — and finish with a blank scorecard, because the only benchmark that should settle this for you is your own month of real work.
This is a review of published documentation, not a field report, and it does not pretend otherwise. (An earlier framing of this piece implied a month of hands-on testing; it has been retitled to say what it is.)
| Criterion | Winner | Why, in one line |
|---|---|---|
| Pricing at entry | Tie | Both start at $20/month inside a general AI subscription |
| Pricing at the top end | Codex | Pro tiers reach $500/month; Claude’s individual plans stop at $200 |
| Workflow shape | Depends on the task | Claude Code centres on the supervised session; Codex on the delegated cloud task |
| Customisation depth | Claude Code | Instruction files plus skills, hooks and subagents form a deeper system |
| Delegated/background work | Codex | Cloud tasks and automatic GitHub review are its centre of gravity |
| Model flexibility | Tie (neither) | Both run only their own vendor’s models |
How we researched this
Desk research from primary sources: Anthropic’s Claude Code documentation and claude.com pricing, and OpenAI’s Codex documentation and its Codex pricing page, all checked November 2026. Where the two vendors describe the same capability differently, we say so rather than smoothing it over.
What this method cannot give you is how either tool feels on your code at 11pm on a deadline. That is what the scorecard at the end is for. This article is the follow-up to the three-way comparison with Cursor, which covers the wider field and the test protocol in more depth.
Pricing: both start at $20, then diverge
Neither tool has a standalone price. Claude Code is bundled into Claude plans; Codex is bundled into ChatGPT plans. The plan decides how much usage you get, not which features exist.
| Claude Code (via Claude plans) | Codex (via ChatGPT plans) | |
|---|---|---|
| Free access | Not included in the Free plan | Limited access included in Free and Go ($8/mo) |
| Entry paid tier | Pro, $20/mo ($17/mo billed annually) | Plus, $20/mo |
| Mid tier | Max 5x, $100/mo | Pro, $100/mo |
| Top individual tier | Max 20x, $200/mo | Pro, $200/mo and $500/mo (adds an Ultrafast mode) |
| Team seats | Team Standard $25/seat/mo ($20 annual); Premium $125 ($100 annual) | Business $20/user/mo billed annually ($25 monthly) |
| Pay-as-you-go | API key, billed per token | API key, billed per token; cloud features such as GitHub review are not included on API-key usage |
Prices checked November 2026 against claude.com/pricing and OpenAI’s Codex pricing page. Both vendors change plans often; confirm before you buy.
Usage limits deserve a sentence of their own, because they shape daily work more than the sticker price. Both vendors meter paid plans in rolling five-hour windows, with weekly caps on top — Claude states its allowances as multiples of Pro, and OpenAI publishes estimated message ranges per model for each window. In practice, the limit you hit is a function of task length: long agentic runs consume a window far faster than short questions, on either platform. Neither vendor’s window maps cleanly onto the other’s, which is another reason the scorecard below tracks cost per merged task rather than messages sent.
Three differences matter more than the headline numbers. Claude Pro has an annual discount and Codex’s Plus does not. Codex reaches further up-market, with Pro tiers at $200 and $500 for people who run agents all day. And Codex gives limited access away free, which makes it the cheaper tool to evaluate, even though the paid entry points are identical.
Winner: tie at entry, Codex at the extremes. For the full Claude-side breakdown, see the Claude Code cost ladder.
Workflow shape: supervised session vs delegated task
This is the real difference between the tools, and it is structural, not a feature gap.
Claude Code’s centre of gravity is the supervised session: a terminal agent working in your local repository, in a conversation you steer, correct and extend. Sessions can stretch across a long task, branch into subagents, and absorb mid-course corrections. Its instruction system — CLAUDE.md files, skills, hooks — is built to make that session behave more like you over time.
Codex’s centre of gravity is the delegated task: describe the work, let it run in a cloud sandbox, and review the result as a discrete unit when it returns. Its surfaces reflect that — web and app task lists, an IDE extension, a CLI, and automatic review of GitHub pull requests on paid plans.
Winner: neither, in the abstract. Deadline days and unfamiliar code favour supervision; a maintenance backlog of cleanly separable tasks favours delegation. Score your own task mix honestly before you let this criterion decide anything.
Customisation: how much workflow can you build?
Claude Code exposes the deeper system. CLAUDE.md instruction files layer from organisation to user to project; skills package reusable procedures; hooks run your own commands at defined points in the agent’s loop; subagents let you split work across specialised agents. The setup described across the CLAUDE.md structure guide and the hooks reference takes effort up front and is designed to pay rent every week after.
Codex’s equivalent centre is AGENTS.md, a lighter convention: one instruction file format, readable by several tools, with less machinery around it. Whether that lightness is a relief or a ceiling depends on how much workflow you actually want to own. The portability question between the two conventions is mapped in AGENTS.md vs CLAUDE.md.
Winner: Claude Code, for builders of workflow. If you want the tool to stay out of the way, Codex’s lighter convention may be the better fit — that is a preference, not a deficiency.
Surfaces and automation
Both tools now meet you in several places: a CLI, IDE extensions, and web or app surfaces. The sharper difference is in automation.
Anthropic ships an official GitHub Action (anthropics/claude-code-action) that answers @claude mentions in issues and pull requests, or runs a fixed prompt on any event — the full setup is in the Claude Code in CI guide. OpenAI’s delegation model extends the other way: Codex cloud tasks can be assigned from the web or app, and automatic pull-request review on GitHub is a headline feature of its paid plans.
Both tools support MCP (Model Context Protocol) for connecting external tools and data. If your work leans on external systems, weigh what MCP adds to a Claude Code workflow heavily; if your work is self-contained feature delivery, weigh it lightly.
Winner: Codex for fire-and-review delegation inside GitHub; Claude Code for scripted, prompt-driven automation you control event by event.
Model flexibility: the tie nobody wins
Both tools run only their own vendor’s models. Claude Code runs Claude models; Codex runs OpenAI models. Neither lets you route a task to the other vendor’s model, or to a local model, when that would suit the job better.
If model choice itself is the priority, the honest pointer is sideways: Aider is model-agnostic by design and works with almost any hosted or local model, at the cost of the platform features compared above. The open-source option in this category is assessed in OpenCode vs Claude Code.
Winner: tie — and worth naming, because vendor lock-in is a real cost that feature lists hide.
What short tests miss, and a month catches
Short evaluations measure first impressions: setup friction, a few tasks, a vibe. A month measures the things that compound, and three of them decide most real-world switches.
Instruction loyalty over distance. On long tasks, what matters is whether step twelve still honours the constraint from the brief. Both tools drift occasionally; the practical difference to watch is recovery — how each responds to being shown its own violation. Build your own evidence here rather than trusting any reviewer’s impression: this is precisely what the scorecard scores.
Configuration payoff. How much setup have you accumulated by week four, and does it keep paying rent or keep needing repair? A tool whose instruction system you feed weekly should feel measurably more yours at month’s end. If it does not, the depth was overhead, not an asset.
End-of-week feeling. Are you reviewing calm, small diffs, or auditing sprawling ones with your shoulders up? That sensation is data: it tracks diff size, transparency and interruption cost better than any single task timing. The scorecard forces you to write it down weekly, while it is still true.
Switching costs: what actually transfers
If you run the month-long test and switch, what do you carry with you? Less than the vendors imply, and more than nothing.
Your instruction files partly transfer. AGENTS.md is a cross-tool convention, so a Codex-side instruction file can be read by other agents; CLAUDE.md content can be copied into an AGENTS.md with modest edits, though Claude-specific machinery — skills, hooks, subagent definitions — has no Codex equivalent and stays behind. The file-format overlap is covered in AGENTS.md vs CLAUDE.md.
Your habits transfer completely. Prompting with boundaries, reviewing diffs before merging, keeping tasks separable — these are tool-independent skills, and they are most of what a month of evaluation actually builds. Your usage intuition transfers least: the two vendors’ limits are metered differently, so expect a fresh learning curve on whichever plan you land.
The practical conclusion: switching costs are low enough that the $20 tiers are best treated as rentals. The expensive mistake is not picking the “wrong” tool — it is committing to annual team seats before your own scorecard exists.
The scorecard: run your own month
Run both tools on real work for a month — alternate by week or split by task type — and score weekly, in the moment, not from memory at month’s end.
## One-month scorecard — score each 1–5 weekly, per tool
Week of: ____ Tool: ____ Tasks attempted: ____ Merged: ____
[ ] Instruction loyalty: constraints still honoured at task end?
[ ] Diff quality: would I merge most diffs with light review?
[ ] Recovery: when it went wrong, was redirecting cheap?
[ ] Ugly-task behaviour: transparent reasoning on unfamiliar code?
[ ] Setup payoff: did my config/skills save time this week?
[ ] Interruption cost: how often did I babysit or wait?
[ ] Cost per MERGED task (from your own plan/usage — not vibes)
Notes: the one moment this week I trusted it most / least.
## Month-end decision rules (fill in before you start)
- My task mix is mostly: [supervised features / delegated backlog / mixed]
- The criterion worth double weight for me is: ____________
- I will switch my default tool if: ________________________
Weight the ugly-task line most: changes in code you barely remember writing. The differentiator to look for is not success or failure but transparency — can you see why it chose its approach, and can you redirect it cheaply when the approach is wrong? Opaque competence is fragile; inspectable work compounds into trust.
The pre-committed decision rules are the scorecard’s real value. Without them, a month of impressions resolves into whichever tool had the most recent good day. With them, you are running an evaluation instead of collecting anecdotes.
Verdict by use case
- You steer long, customised terminal work closely — Claude Code. Its configuration depth compounds, and the supervised session is its home ground.
- You delegate cleanly separable tasks and review results — Codex. The cloud-task model and automatic GitHub review are built for exactly that day.
- You want one tool and a mixed week — start with the $20 tier of whichever ecosystem you already pay for, run the scorecard for a month, and let your own evidence overrule this page.
- You want model freedom above platform features — neither; look at Aider.
For the work this site documents — content platforms, automation, heavy instruction files, workflows reused for months — the desk evidence points to Claude Code as the default, with Codex the better fit when a task is cleanly separable and can wait in a queue. That sentence describes a task mix, not a ranking. If your month of testing looks different, your sentence should too — and the scorecard, honestly filled in, is how you earn the right to write it.
FAQ
Is Claude Code or Codex better? On the documented evidence: Claude Code for closely steered, highly customised terminal work; Codex for delegated tasks handled in the background and reviewed on return. Your task mix, measured over your own month with the scorecard above, decides — not a benchmark, and not this page.
How much do Claude Code and Codex cost? Both start at $20/month — Claude Pro ($17/month billed annually) and ChatGPT Plus respectively. Claude’s individual plans top out at Max 20x, $200/month. Codex’s Pro tiers run $100, $200 and $500/month. Both also offer per-token API billing. Prices checked November 2026.
Why are there no benchmark numbers in this comparison? Because numbers produced on someone else’s repositories, prompts and habits would not transfer to your work, and presenting them as properties of the tools would be fabrication dressed as rigour. The scorecard exists so you can generate numbers that are actually yours.
Can I use both tools on the same project? Yes, and a month of doing so is the best evaluation there is. Keep instruction files honest for each — CLAUDE.md and AGENTS.md overlap but are not identical — and let each tool take the task shape it suits rather than forcing a single winner prematurely.
Plan and usage details for the OpenAI side are kept current in the Codex tool profile, and the Claude side in the Claude Code tool profile.
Category: Claude Code & Context Engineering · Tags: #claude-code #ai-coding #comparison
Next step: this article is part of Claude Code guides, which covers the full topic from first setup to advanced use.