Loading interactive tool…

This page in plain text

Claude Code or Codex?

Two coding agents, one from Anthropic and one from OpenAI. Claude Code does most of our building. Codex is our second opinion, and what we lean on when we have time for more.

What each one is

  • Claude Code. Best for: building and changing real software. Anthropic’s coding agent. You describe what you want in plain words and it does the work in your project: it reads the files, runs commands, makes the change and checks it, showing you each step. This site was built with it.
  • Codex. Best for: a second opinion when the first agent is stuck. OpenAI’s coding agent. Like Claude Code, it works inside a project: it reads the files, runs commands, makes the change and checks it. We use it as a second opinion: when the first agent is stuck, a different model often sees the problem differently.

Our answer

We use both, and Claude Code does most of the building. How much we use Codex depends on how much time we have. In a busy stretch we hardly open it. When we have a few free weeks, we move to a higher Codex plan and run it alongside Claude Code, partly because we run through our Claude plan’s usage.

When Claude Code gets stuck, we take the problem to Codex or ChatGPT, and sometimes ask it to explain what Claude Code is doing.

If you are starting out with a coding agent, start with Claude Code.

This is what we do ourselves, not a score. We have not run the two side by side on a set of tests.

Start with Claude Code if

  • This is your first coding agent.
  • You want one tool to do most of the building.
  • You are building on a site or a project you already have.

Add Codex when

  • The first agent is stuck and you want a second opinion.
  • You keep running through your plan’s usage.
  • You want someone else to explain what the first agent did.

The fair test is your own task

  1. Write one brief. Take a real job from this week. Write the brief once, with the reader, the facts and the shape you want.
  2. Give it to both. The same words, the same files, on the same day. Change nothing between them.
  3. Keep the one you would use. Not the longer answer or the more polished one. The one you would send without rewriting.

The jobs we list each one for

Other comparisons: ChatGPT or Claude?, The Claude API or the OpenAI API? Or see all the tools we use.

Ask Another AI Guy

I'm just Another AI Guy.

You're chatting with our fast model. Create a free account for the more thorough one, and more messages.