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