Technology

Claude beats Codex

22 Sep 2026

at least for a very simple app, but by quite a lot -- same prompt, two coding agents, quite different results.

I gave the exact same prompt to Codex and to Claude, both running their top models with their respective UI-building skills switched on:

I would like to create a golang computer monitor (monitoring CPU, memory and disk usage) with both an API and a TUI. The API should be a rest API. It should be possible to set thresholds, which should trigger some action, in the beginning just marking any values that are past the threshold should show with a red background. Later we will add RabbitMQ and threshold violations will trigger the sending of a RabbitMQ message, but no need to think about that right away.

Same prompt, same task, same day. The results were not close.

Codex: 30+ minutes, a plain table

Codex mulled this over for a little over 30 minutes and produced a functional but minimal table-based TUI, but at first it would not run since codex decided the application should require CGO_ENABLED=0 to run (not a huge issue, but why would it do that by default?):

Codex's first TUI: a plain table of CPU, memory and disk usage against their thresholds

It works — CPU, memory and disk usage against their thresholds, with a status column — but there's no visualization at all, just numbers in a table.

Claude: 5 minutes 20 seconds, with visualization

Claude took the identical prompt and produced this in 5 minutes and 20 seconds:

Claude's first TUI: colored bar gauges for CPU, memory and disk usage against their thresholds

Bar gauges, color, a running REST API log underneath — from a five-minute first pass, against Codex's 30-minute plain table. Claude clearly understood the shape of the problem better: a "monitor" implies something you glance at, not a table you read line by line.

Codex, eventually

To be fair to Codex, it did eventually get there — after roughly another 20 minutes of prompting and iterating, it produced this:

Codex's refined TUI: boxed panels per metric with a sparkline for CPU history

This is a genuinely nice result — boxed panels, a CPU sparkline — but it took a lot of back-and-forth to get there, on top of the initial 30 minutes.

Then I asked for history

As a follow-up, I asked both to add a history view. Claude handled it in under 2 minutes:

Claude's TUI with a history section added below the live gauges, showing recent trends for CPU, memory and disk

It's not quite as polished as what Codex eventually produced above — but Codex needed a lot of prompting to get to its result, while this was Claude's practically-first attempt.

Conclusion

Claude understood the task better on the very first, minimal prompt — it reached for visualization (bar gauges, later a sparkline-style history) where Codex reached for a table. And it did it in a fraction of the time: 5 minutes 20 seconds versus 30-plus minutes for a comparable first pass, and under 2 minutes for a follow-up feature that Codex would likely have needed significant further prompting to match.

Both models were the top available tier, both with their respective UI-building skills enabled. Same prompt, same day, very different amounts of hand-holding required.

Comments

No comments yet.

Log in to leave a comment.