← All articles

Comparison

Claude Code vs Codex vs Cursor: Benchmarks Measure Good Days. Your Bill Doesn't.

Harness comparisons demo the good day. The money leaves on the bad one: the reread, the retry, the turn you threw away. Five criteria that survive Monday.

Claude Code vs Codex vs Cursor: Benchmarks Measure Good Days. Your Bill Doesn't.

The demo is free, and the habit is what you buy

Somewhere this quarter you will be handed a choice between Claude Code, Codex, Cursor and whatever launches next Tuesday, and someone in the room will ask you to commit a team to one of them for a year. The comparison you get will be a demo: clean repository, friendly bug, narrated fix, one large number with a percent sign. What you actually pay is decided on the other days, the ones where the agent rereads the file it just wrote, apologizes, rewrites it and burns the same window twice. Nobody puts those days in the comparison table, because the vendor does not get to choose them.

I work at HarnessUp, which sells a layer that sits under these agents, so read this as a comparison with a stake in it. That is exactly why the criteria come before the verdict, and why one section below is devoted to the cases where my own product is the wrong buy. The piece is for whoever has to answer for the bill, not for whoever gets to play with the demo. We compare agents the way we compare phones, by the spec sheet, and then live with the battery. So, the criteria, all five of them, before any product touches the page. The cost of a wasted turn, since a good turn is cheap everywhere and a bad one compounds through every round after it. The trust surface, meaning what the thing must be handed: your key, your traffic, your transcripts or your whole repository. The exit, because software you cannot fire on a Monday is a lease. The portability, since the harness you standardize on this year is the one you will want to leave next year. And the proof, meaning what you can see measured on your own history before anyone charges for it. A comparison that skips those five is a brochure with a leaderboard attached, and the earlier token-saving tools comparison on this site exists because so many of them do.

Claude Code and Codex make you pay for their manners

Claude Code is Anthropic's terminal agent, and it earned its reputation the boring way: it reads the repository, plans, edits, runs the tests and keeps the loop going long enough to be useful. If you have not spent a week with it, a full review of Anthropic's Claude Code covers what that loop feels like from the inside, including the parts that make you want to keep it. The loop is also the invoice. Ask for a login fix and you get a paragraph explaining what it is about to do, a summary of what it understood, three possible approaches, the fix, and a restatement of the fix. Every one of those sentences lands in the context and gets read again on the next turn, and the next turn is usually a small edit that drags the whole speech along with it. Nothing in that sequence is broken. It is a careful assistant being careful, at your expense, in a currency you cannot see until the window closes.

Codex has the same skeleton with a different accent and the same talent for paying twice: it fixes the bug, then opens the file again to make sure, which is the behavior documented in what a Codex review actually re-reads. Against the five criteria both harnesses win the ones that are hard to fake. Your code stays as plain files on disk, the exit is a directory you already own, and nothing about a repository is hostage to a vendor. Both hold your key or your session by definition, which is not a scandal but the job description, and pretending otherwise would be the kind of purity that lasts until the first pull request. They lose on the first criterion, and they lose it structurally. A harness cannot cut its own habits, because those habits are how it stays trustworthy on the difficult day, the one where the tests keep failing and the extra reread is the thing that catches it. You find out what the habits cost when the window closes on a Wednesday and the plan you bought for a month is gone in three weeks. The rest of the comparison is easier to write and much less useful, because both products ship improvements monthly and any table of features is stale before the invoice arrives. Criteria, thank goodness, do not ship updates.

Cursor sells the room where you work, not the rent

Cursor competes on a different axis. It sells the editor as the unit of work, the place where you sit, type, ask and accept, with the codebase and the conversation in the same pane. For a lot of developers that is the correct answer and the comparison should stop there. Asking and editing without switching windows removes a tax that no token counter will ever show you, and it is paid in attention rather than in dollars.

Against my criteria, though, the room is the commitment. Moving a team into an editor means moving its habits, its extensions, its shortcuts and its muscle memory, so the exit is priced in retraining. That is a fair trade. It is simply not the trade the benchmark table implies, and nobody advertises the retraining line.

The fourth option refuses to be a harness

What I would add to that list is a layer under the agent you already chose. HarnessUp's token-saving toolkit for Claude Code and Codex runs on the official Anthropic and OpenAI hooks, the same SessionStart, UserPromptSubmit, PreToolUse, PostToolUse and Stop events the harnesses already fire, and it runs on your machine instead of somebody's data center. It blocks the reread, trims the preamble, cuts oversized output before it reaches the context, and hands the cheap work to cheaper models. The vendor claims up to 78% of work tokens saved, more than 132 tools, and a 95th-percentile hook latency under 50 milliseconds, which is the number that decides whether you keep it installed past the first afternoon.

A proxy sees everything you send. A hook sees the event and nothing else. That distinction is the entire trust argument, and unlike most trust arguments it is checkable from a terminal.

On my own criteria this option wins the wasted turn by design and wins the exit, since one key undoes everything and the panel lets you kill any of its switches one at a time. It wins portability too, because it does not care which harness you pick next year, which is more than can be said for anything with an editor attached. It wins the trust surface only in the sense that you can verify the claim by pulling your network cable and watching it work anyway. That is evidence, not proof.

A layer is not a rival; it is a discount on whichever rival you already picked.

The "up to" in front of the number, mine included

Here is the part vendors dislike. "Up to" is a maximum wearing a promise's clothes, and HarnessUp's own page admits the trick: the biggest gains measured in real windows. A maximum is what happens when everything goes right for the tool, which is the same confidence trick as a demo where everything goes right for the model. The honest version is the number you can check without trusting anybody, which is why the measurement is free and asks for no login. How HarnessUp's Deep Scan reads the conversations already saved on your disk and shows where the context went is the only sales pitch I would accept from a competitor. If your waste is small, your savings will be small, and anyone who tells you otherwise is selling. The person quietly winning here is the developer on a fixed plan whose window used to end on Wednesday and now ends on Friday, not the API spender with a dashboard open on a second monitor.

My tool also loses on the things no token saver can fix. It does not make the model reason better, so a genuinely hard debugging session still costs what it costs, and the share it can cut shrinks exactly when the work matters most. It can brake at the wrong moment and block a reread that was necessary, and the answer to that is the undo key, which only helps if you press it instead of cursing at the terminal. It is another install to maintain, another thing that can conflict with the next version of the harness it depends on. Where it earns its place is narrower than the pitch: the predictable waste, the part of the bill that repeats every turn and teaches you nothing. A five-dollar cap that stops the session is a blunt instrument, and blunt is the point when the alternative is discovering the damage on Friday.

Two identical five-hour usage bars side by side, one emptied early by rereads and one still half full, with Claude Code and Codex terminal windows behind them.

The verdict, sorted by the kind of reader you are

Read the table as a shape, not a score. The columns are the same criteria, applied without flattery.

OptionWins onLoses onCost to verify
Claude CodeLoop quality, plain files, easy exitIts own polite rereadsOne month of use
CodexSame strengths, different accentThe same reread habitOne month of use
CursorOne room for editing and askingExit priced in retrainingIts free tier
HarnessUp layerWasted turns, undo, local executionDoes not improve the modelA free scan, no login

If you are a solo developer on a fixed Claude Code or Codex plan and the window runs out before the week does, keep the harness you already trust and put something underneath it. Changing agents to save tokens is buying a new car to save fuel. If a team pays by API and the invoice arrives with line items nobody can explain, start with free measurement, look at your own transcripts, and only then argue about subscriptions. If you live in an editor and the editor is where your thinking happens, stay in Cursor. The tax you would pay to move is real, and no discount on tokens covers it.

And if you switch harnesses every few months because the leaderboard moved, the layer is the only part of the stack that survives the move. That is either the strongest argument for it or a warning about how much of this market is fashion, depending on how honest you are with yourself about your own browsing history.

What I would not do again is choose a harness on a benchmark. The benchmark measures the day the vendor picked. The bill measures every day you did not.

This article was drafted with AI assistance in HarnessUp Publish and approved by the HarnessUp team before publishing.