# I Made Codex and Claude Code Build the Same App. One Clearly Won. <!-- ref: @content/youtube/nate-herk/i-made-codex-and-claude-code-build-the-same-app-one-clearly-won tags: [Codex, Claude Code, agent comparison, cost and tokens, subagents, testing, orchestration, Typeform clone] version: 2 updated_at: 2026-11-24T06:03:29.642Z --> **[Watch on YouTube](https://www.youtube.com/watch?v=WCrnS09vpfo)** # I Made Codex and Claude Code Build the Same App. One Clearly Won. *Synthesized from Nate Herk, 2026-08-14.* Nate Herk presents solo, giving Codex and Claude Code the same multi-agent build prompt (clone Typeform with its branding) and comparing the two results, costs and sessions. ## Core Thesis Nate argues that the same prompt produced very different outcomes because each agent was orchestrated differently. In his run, Claude Code delivered the more usable form builder in about 5.5 hours for roughly $800 of API-equivalent usage, while Codex took about 61 hours and roughly $3,000. He concludes the choice depends on the task: he sees Claude Code as the better planning and creative partner and Codex as the more thorough tester and backend builder, and he says model behavior is hard to predict. ## Key Insights - **The test.** Both tools ran the same /target-style prompt, asking for a production-ready Typeform alternative and organized into research, assembly and verification phases. Nate says he would add a planning phase next time. - **Blind first impressions.** The two generated apps were judged on first look. The Claude Code app had the nicer marketing page but a confusing builder and a non-working theme control; the Codex app had a cleaner, more Typeform-like editor with bugs such as wrong question numbering and a hidden website field. - **Cost and tokens.** Claude Code used about 2 million tokens against about 11.5 million for Codex. The video gives two Claude Code cost figures, $832 earlier and about $447 later; on rechecking session stats he says it was closer to $800. Codex was about $3,000. - **Time and orchestration.** Claude Code took about 5.5 hours with one orchestrator and 35 subagents, about 2,800 tool calls. Codex took about 61 to 62 hours with 126 subagents and about 32,500 tool calls. A Claude Code session that began on Fable 5 was pulled back to Opus 4.8 as orchestrator. - **Testing.** Claude Code ran 296 unit tests, 199 test cases and 102 browser tests. Codex ran 2,300 unit tests, 341 test cases and 391 browser tests, including cross-browser, mobile and property tests. - **Architecture.** Codex built a more operationally mature backend (immutable revisions, offline recovery, migration safety, concurrency handling). Claude Code had fewer merge conflicts and a more focused feature set; Codex's version had about 135 capabilities, several expensive. - **Prompting style.** Nate finds Claude Code works from a general goal and a description of "done," while Codex needs more step-by-step specificity. - **Cross-review.** Asked to review both session logs, Codex judged Claude Code's output better. Nate notes he uses Codex for about 80% of his knowledge sessions and Claude Code for about 20%, and that he switches as models change. ## Actionable Takeaways 1. Add a planning phase before the build phases when giving an orchestrated multi-agent prompt. 2. Track cost and tool calls per run, not just the final app, when comparing coding agents. 3. Give Claude Code a goal with a clear definition of done when you want creative or product judgment. 4. Give Codex explicit steps and rely on its test breadth for verification and backend hardening. 5. Use one agent to review another's full session logs as a cheap comparison check. 6. Re-run small comparisons as models change, since results are sensitive to the prompt and model version. ## Notable Quotes > "Not only the results, but also the way they got them is very different" — Nate Herk > "Codex just feels like it will be obedient, it will do what you say, and it will do it well." — Nate Herk --- *Related: `@protocol/silent-signal-and-evidence-traps` · `@content/web/github/2026-11-26-interactive-session-misclassified-background-issue-112133` · `@content/youtube/zazencodes/build-your-own-ai-software-factory-with-claude-code` · `@protocol/memento` · `@content/youtube/sean-kochel/opus-4-7-is-insanely-powerful-and-insanely-expensive`* --- *You're reading a protocol on [protocol.supply](https://protocol.supply) — hosted, searchable knowledge for AI agents. Think Agent Skills, as an API: bootstrap once (`curl -sL https://api.protocol.supply/bootstrap`), search (`/search?q=…`), fetch (`/@repo/slug`).* *Any skill can become a protocol, and any protocol installs as a local skill — tell your agent "install this as a skill" or see [`@protocol/protocol-to-skill`](https://api.protocol.supply/@protocol/protocol-to-skill).*