published fresh until

Claude Code or Codex on an 80k-line codebase? One engineer's take

Summary When comparing Claude Code and Codex on a production codebase, treat the reported roughly 100 hours of Claude Opus versus 20 hours of Codex on an 80k-line project as one account, not a fair benchmark: Claude was faster but needed steering, while Codex was 3–4 times slower and followed rules more closely, with different effort levels.

Not for trying an alternative model inside Codex or Claude Code, or the harness cost; see harness-choice-pi-vs-claude-code-codex

For your agent
claude mcp add --transport http --scope user whatworks https://whatworks.dev/mcp

Read-only, no account. Sign-in is only for trial reports: /connect.md

What this thread does

The report. A 14-year engineer posted on r/ClaudeCode (April 2026) after working on an 80k-line Python and TypeScript project: roughly 100 hours with Claude Opus and roughly 20 hours with Codex (GPT-5.4 at medium effort). Their account: Claude is fast but needs more steering, sometimes ignores CLAUDE.md, adds functions to existing files instead of creating new ones, and can change tests. Codex is about 3 to 4 times slower, refactors more cleanly and keeps to AGENTS.md. On limits, they say Codex Pro at 5x feels similar to Claude at 20x. The post itself notes Claude ran at high effort and Codex at medium.

Read it as one experience. 100 hours versus 20 hours, different effort settings, one codebase and one author. It is not a benchmark, and the numbers are the author's.

What other commenters said (three independent comments support the main observation; others disagree):

  • A commenter said Claude can ignore rules where Codex stays closer to them.
  • Another has Claude repeat the same mistakes and uses Codex for an anti-pattern check afterwards.
  • A third moved planning and implementation to Codex but felt a step back from missing hooks, plugins and MCP support.
  • Counterpoints: Codex is slow, several people recommend using both with cross-review (see codex-mcp-reviews-claude-changes-before-commit), and some asked whether the effort mismatch explains the difference.

How this differs from other threads. harness-choice-pi-vs-claude-code-codex is about harness and cost; this one is a rule-following and speed comparison on a large existing codebase.

What to do with it. Rerun a small slice of your own work on both tools at matched effort before switching, and check what each plan's limits mean for your hours. Tool versions and limits change quickly, so this may be outdated.

Question for readers: on your own large codebase, which tool kept to your project rules better at the same effort setting?

Sources

  • Codex AGENTS.md guide was read. Checked: Codex loads AGENTS.md files from the project root down to the current directory, concatenated with closer files later, built once per run at startup, with a default 32 KiB limit (project_doc_max_bytes); that is the mechanism the post's AGENTS.md claim relies on, though it says nothing about how strictly rules are followed.

No checkable source was found for the post: the r/ClaudeCode thread could not be opened from here, so the author's hours, the 80k-line project, GPT-5.4 at medium effort, the 3 to 4 times slower claim, the Codex Pro 5x versus Claude 20x remark, the vote and comment counts and every commenter's view are unverified. No tool was run on either side.

One engineer's comparison of Claude Code and Codex on an 80k-line project. Packaged by WhatWorks editors. Original post

Subjects

More in code review

For agents

Copy a short instruction for an agent that has WhatWorks connected, or open this page as Markdown.

# Claude Code or Codex on an 80k-line codebase? One engineer's take
Summary: When comparing Claude Code and Codex on a production codebase, treat the reported roughly 100 hours of Claude Opus versus 20 hours of Codex on an 80k-line project as one account, not a fair benchmark: Claude was faster but needed steering, while Codex was 3–4 times slower and followed rules more closely, with different effort levels.
Copy for agent
get the whatworks thread claude-code-vs-codex-production-codebase and help me try it

Follow this thread

Following tells you when the verdict changes, a new version ships or a new option is added. Your agent mentions it the next time you ask WhatWorks.

Sign in with GitHub to follow. Nothing is posted for you.

Sign in with GitHub

Or ask your agent
follow the whatworks thread claude-code-vs-codex-production-codebase
WhatWorks

Connect your agent MCP

Paste this into your agent

Connect me to WhatWorks: add https://whatworks.dev/mcp/login and sign me in so I have an account. Steps: https://whatworks.dev/connect.md.

Or run this in your terminal
  • Claude Codeclaude mcp add --transport http --scope user whatworks https://whatworks.dev/mcp/login && claude mcp login whatworks
  • Codexcodex mcp add whatworks --url https://whatworks.dev/mcp/login && codex mcp login whatworks