Skip to content
GlanceHall
  • Builds
  • Models
  • Compare
  • How we test
Get the next round
  • Builds
  • Models
  • Compare
  • How we test
  • Journal
  • About
Get the next round

We don't rate. We let you see.

contact@glancehall.com

Watch

  • All builds
  • Models
  • Head to head
  • Journal

Trust

  • How we test
  • About
  • FAQ
  • Contact

Legal

  • Privacy
  • Terms
  • Cookies
© 2026 GlanceHallIndependent. Not affiliated with Anthropic, OpenAI or any model vendor.
Journal/Coding agents

Codex vs Claude Code: 8 identical briefs, 16 unedited builds

Codex vs Claude Code, compared on output: the same eight briefs, each agent running its vendor's top models, one attempt each. How they work, what they cost, and what they built.

By GlanceHall · Published October 22, 2026 · 2 min read

Codex vs Claude Code is the comparison every developer choosing an AI coding agent runs into, and it is usually argued from anecdotes. Here it is argued from builds. Both agents got the same eight briefs, word for word, each running its vendor's two strongest models, one attempt each and nothing edited: sixteen builds per agent, all of them live.

Mobile finance app · same prompt, one shot, unedited
Blind testOpen side by side
Claude Opus 5.5
Open Claude Opus 5.5’s build
GPT-6.1 Sol
Open GPT-6.1 Sol’s build

Claude Code with Claude Opus 5.5 (left) and Codex with GPT-6.1 Sol (right) on the phone finance app.

How do Codex and Claude Code differ?

In how they work, and the difference is large.

CodexClaude Code
MakerOpenAIAnthropic
Models we ranGPT-6 Astra, GPT-6.1 SolClaude Opus 5.5, Claude Fable 5.1
Working style in our runsOne long turn per build, 10 to 33 shell commandsMany short turns, writing, serving, looking and fixing
Time per build7 to 25 minutes25 minutes to the full 150-minute limit
API-equivalent cost per build$0.54 to $7.27about $7 to $25
Public Terminal-Bench 4.058.2% with either GPT-6 model64.8% with Opus 5.5, 57.9% with Fable 5.1

Leaderboard figures are from Terminal-Bench, checked on October 22, 2026. Costs are what each run would have cost at list API prices, from our logs.

What did each agent build?

Sixteen projects each, from the same eight briefs: a landing page, a dashboard, a physics toy, a 3D shooter, a phone finance app, a one-lane MOBA, an invented product's site and a kanban board.

GPT-6.1 Sol · extra high reasoning · Codex CLIAll of GPT-6.1 Sol’s builds
SaaS landing page
Open the saas landing page
Analytics dashboard
Open the analytics dashboard
Balls in a spinning hexagon
Open the balls in a spinning hexagon
First-person shooter
Open the first-person shooter
Mobile finance app
Open the mobile finance app
One-lane MOBA
Open the one-lane moba
Open brief
Open the open brief
Kanban board
Open the kanban board

Codex with GPT-6.1 Sol: all eight builds.

Claude Opus 5.5 · max effort · Claude CodeAll of Claude Opus 5.5’s builds
SaaS landing page
Open the saas landing page
Analytics dashboard
Open the analytics dashboard
Balls in a spinning hexagon
Open the balls in a spinning hexagon
First-person shooter
Open the first-person shooter
Mobile finance app
Open the mobile finance app
Being built right now
One-lane MOBA
Open brief
Open the open brief
Kanban board
Open the kanban board

Claude Code with Claude Opus 5.5: all eight builds.

The pattern holds across the set. Claude Code's builds are larger and more elaborate; Codex's are compact, consistent and quick. Codex's two models often built near-twins, while Claude Code's two models diverged more.

A classic MS-DOS terminal screen displayed on a laptop keyboard with vivid illumination.
Photo by Rafael Minguet Delgado on Pexels.

Which agent should you use?

Codex when speed and cost matter more than the first draft; Claude Code when the first draft has to be the good one. If you iterate with your own eyes on every change, Codex's ten-minute builds let you go round the loop several times before Claude Code finishes once. If you hand off a whole job, Claude Code's self-testing earns its hour. For a brief-by-brief verdict, read is Codex better than Claude Code?, and for how Claude Code differs from the Claude chat app, Claude vs Claude Code.

How was the comparison kept fair?

Same prompt, same limits, same recording, published rules. Claude Code ran with --safe-mode and Codex with --ignore-user-config, so neither saw personal instruction files, plugins or external tools, and every run started in an empty folder outside any repository. Every interrupted attempt, all of them caused by infrastructure such as usage limits and an API outage, is listed on its build. The exact commands are on the methodology page.

Four MOBAs, two from each agent. Play them with the names hidden.

Take the blind test
Close-up of a computer monitor displaying cyber security data and code, indicative of system hacking or programming.
Photo by Tima Miroshnichenko on Pexels.

Frequently asked questions

What is the difference between Codex and Claude Code?

Both are coding agents that read files, write code and run commands. Codex is OpenAI's and runs the GPT models; Claude Code is Anthropic's and runs the Claude models. In our runs Codex worked in one efficient pass per build, while Claude Code iterated, testing its work in a browser over many steps.

Is Codex or Claude Code cheaper?

Codex, by a wide margin on our briefs. At list API prices a Codex build with GPT-6.1 Sol cost $0.54 to $1.12 and with GPT-6 Astra $2.12 to $7.27, while Claude Code builds cost roughly $7 to $21 each.

Which writes better code, Codex or Claude Code?

Claude Code wrote more ambitious, more polished builds and leads the public Terminal-Bench 4.0 leaderboard. Codex wrote smaller, cleaner builds that are easier to read and modify. Watch them side by side and judge the trade-off for your work.

Can I use Codex and Claude Code together?

Yes, and many developers do: Codex for quick scaffolds and small tools, Claude Code for builds that need to be right the first time. Both run in a terminal and in popular editors.

Judge the builds yourself.

Eight briefs, four models, nothing edited. Watch them side by side or take the blind test.

Watch the buildsHow we test

Keep reading

Coding agentsIs Codex better than Claude Code? A per-brief verdict you can checkIs Codex better than Claude Code? Brief by brief, here is which agent did better on identical prompts, by what measure, and the builds behind every call so you can disagree.October 22, 2026Coding agentsClaude vs Claude Code: what's the difference, and does it change what gets built?Claude is the model and the chat app; Claude Code is the agent that writes, runs and tests code on your machine. Here is how they differ, what each costs, and why the harness changes the result.October 22, 2026Coding agentsWhat can Codex do? Watch it build 8 thingsWhat can OpenAI Codex do? Watch it build eight different things from one prompt each: a website, a dashboard, a phone app, a kanban board, a physics toy, a 3D shooter, a MOBA and an invented brand.October 22, 2026