Latest / AI Fire Daily / #614 Neil: AI Coding Agent Battle Which One Builds Better Websites?
Transcript
- 0:00It's fascinating to watch the software world
- 0:02right now. We really have to wonder, are we still
- 0:06building software? Or are we just managing the
- 0:09AI builders? It's a profound shift. Right, and
- 0:12it's shifting incredibly fast. Welcome to the
- 0:15deep dive. Today, we're taking you straight into
- 0:18the middle of a massive debate. You see it everywhere
- 0:21online. You really do. We're settling the endless
- 0:24argument between two major AI coding agents.
- 0:28Claude Code and Codex. people get very attached
- 0:31to their tool. Oh, they totally do. Like you
- 0:33read one developer forum and Cloud users swear
- 0:35its design logic is unmatched. Then you check
- 0:38another thread and Codex users say it's faster,
- 0:41cleaner, just superior in every single way. It's
- 0:44honestly exhausting. It is. But today we're setting
- 0:47aside the Internet opinions. We're looking at
- 0:49hard data. Exactly. We are walking you through
- 0:52three rigorous head -to -head tests. We use the
- 0:55exact same source material for both AIs. But
- 0:58we fundamentally change the prompt style. for
- 1:00each test. We used a controlled prompt, an open
- 1:04-ended prompt, and a hyper -detailed prompt.
- 1:06Beat. We want to see how these models behave
- 1:09when we change their constraints. Because that
- 1:12is how you find the truth. Testing an AI in just
- 1:15one environment doesn't tell you the whole story.
- 1:17We're going to see which AI actually performs
- 1:19better under vastly different real -world conditions.
- 1:23Let's start by looking at raw efficiency first.
- 1:25Test number one. The controlled baseline test.
- 1:28This is where we keep things incredibly simple
- 1:31and completely fair. We want to see their raw
- 1:33speed here. We want to observe their baseline
- 1:36decision -making logic. The project was a website
- 1:39for a service called Bowlin Bloom. I really love
- 1:42this concept, by the way. Yeah. Yeah, it's a
- 1:44meal care box service, but it's specifically
- 1:46designed for the first 14 days after bringing
- 1:49a new baby home. It's such a specific, deeply
- 1:52helpful product. It's a very strong concept,
- 1:57and both AI coding agents received the exact
- 1:59same input. They got the business idea, they
- 2:02got the website copy, they got the brand guidelines
- 2:04and the logo, and the technical requirements,
- 2:07plus the specific meal options, which was key.
- 2:09Yes. Four meals in total. Chicken, red lentil,
- 2:13garden greens, and miso mushroom. Sounds good.
- 2:17The prompt asked them to act as a senior product
- 2:19designer. They needed to build a production quality
- 2:22website. make the meals easy to scan, and build
- 2:25a clear, functional checkout flow. But the key
- 2:28here is they were told explicitly not to invent
- 2:31a new visual identity. Right. They had rules.
- 2:34Exactly. They had to use the provided assets.
- 2:37The prompt gave them a goal, but it didn't micromanage
- 2:40them. It didn't tell them where to put every
- 2:42single button. Looking at the data for Claude
- 2:44Code, I'm struck by how heavily it leaned on
- 2:47traditional UI patterns. How exactly did it execute
- 2:51the build? Well, Claude Code did a really solid,
- 2:53safe job. It followed the baseline instructions
- 2:55very well. It broke the how it works section
- 2:58into four very clear, distinct steps. And the
- 3:01meal section had all the right details. Prep
- 3:03times, dietary notes, links to the ingredients.
- 3:06And the interactive elements, like the box builder
- 3:08itself. It worked perfectly. You could choose
- 3:10a box size, change meal quantities, select delivery
- 3:13dates. It was very complete, but there was a
- 3:15massive catch. The computational resources required
- 3:18to get there. A huge resource drain. Claude Code
- 3:21took about two hours to finish this one build.
- 3:24Two hours. Two full hours. It used four separate
- 3:27subagents to get it done. Let's unpack that term
- 3:30quickly. Subagents are smaller specialized AI
- 3:34programs that handle specific subtasks. Yeah,
- 3:37exactly. One might handle HTML, another handle
- 3:40styling, another checks the logic. But all that
- 3:43back and forth communication takes a toll. Right.
- 3:45It generated roughly 500 ,000 output tokens,
- 3:49and the estimated API cost for the single test
- 3:52was $53. Output tokens. For those wondering,
- 3:55that is the exact number of word pieces the AI
- 3:58generates. Exactly. Half a million tokens for
- 4:00a simple landing page is a massive amount of
- 4:03data to process. It's incredibly heavy. It's
- 4:05a total brute force approach to problem solving.
- 4:08It feels like a model constantly second guessing
- 4:10itself. It's running iterative loops, rewriting
- 4:13its own code over and over. Now let's look at
- 4:16Codex. Codex was a completely different story.
- 4:19It was so much faster. How fast? It finished
- 4:22the entire build in just 50 minutes. Wow. Yeah,
- 4:25and it used a single sub -agent for the whole
- 4:27task. It generated only 100 ,000 tokens, an API
- 4:32cost under $20. Whoa, imagine scaling that to
- 4:36a billion queries. The cost difference would
- 4:39be absolutely astronomical. You'd be bankrupting
- 4:41your engineering department running Claude at
- 4:43that scale. You really would. Maybe. Managing
- 4:46this data, should feel smooth. It should feel
- 4:49like stacking Lego blocks of data. Yeah. Codex
- 4:51just did it with far fewer blocks. Right. And
- 4:53the crazy part is, Codex actually looked better.
- 4:56Really? Yeah. It didn't just write linear code.
- 4:58It added these incredibly smart little UI touches.
- 5:01Like, it put a small detail card right on top
- 5:04of the product image. It just noted that the
- 5:06meals are freezer -ready and made for two adults.
- 5:09It synthesized the poppy on its own. Exactly.
- 5:11That clarifies the offer instantly. It shows
- 5:13a semantic understanding of postpartum needs,
- 5:16not just regurgitating strings of text. It really
- 5:19does. It makes the page so much better. The meal
- 5:21section was stronger, too. How so? Codex gave
- 5:25each meal more useful information without crowding
- 5:28the layout. It balanced speed, clarity, and visual
- 5:32polish perfectly. It seems like a clear win for
- 5:34Codex. But let me play devil's advocate here.
- 5:37OK. Beat. If Claude's four sub -agents are constantly
- 5:41double -checking their work, maybe they catch
- 5:43a subtle security flaw in a checkout flow that
- 5:46a single -pass model like Codex simply misses.
- 5:48Are we overvaluing raw speed? I mean, why does
- 5:51token efficiency matter so much for a solo developer?
- 5:54Because of the compounding costs. If you're just
- 5:56building one tiny script as a weekend hobby,
- 5:59a $50 API bill is totally fine. Right. But if
- 6:02you rely on an AI coding agent as your daily
- 6:04creative partner, you're running constant iterations.
- 6:07You're fixing bugs. You're refactoring code all
- 6:09day long. Yeah. That $50 turns into $500, then
- 6:12$5 ,000 very quickly. So high token yes -age
- 6:15quietly drains your budget. and slows everything
- 6:18down. Nailed it. It dictates what you can actually
- 6:21afford to build. When you're waiting two hours
- 6:23for a single iteration, your creative momentum
- 6:26completely stalls out. That makes sense. Which
- 6:28is why Codex took an easy win on this baseline
- 6:31test. It makes complete sense. We've seen how
- 6:34they handle a controlled baseline beat. But enterprise
- 6:38environments are rarely that simple. For the
- 6:41second test, we wanted to completely shift the
- 6:43paradigm. We wanted to measure their actual creative
- 6:46taste. The open -ended design test. This is where
- 6:49we strip away all the guardrails. We wanted to
- 6:51see what happens when the AI has to act as the
- 6:53creative director. No brand guidelines were provided
- 6:56this time. No logos, no layout hints whatsoever.
- 7:00Nothing. The AIs had to invent a consumer brand
- 7:03completely from scratch. Two secs silence. I
- 7:06still wrestle with prompt drift myself. When
- 7:09I give an AI too much freedom, it often loses
- 7:11the core vision entirely. Oh, absolutely. It's
- 7:13a very common struggle. The AI desperately wants
- 7:15to be helpful, so it just starts hallucinating
- 7:17features. It changes color palettes halfway down
- 7:20the page. It completely forgets its own foundational
- 7:22rules. Yeah. But in this test, they had to maintain
- 7:26a cohesive brand from top to bottom. This speaks
- 7:28to the underlying training of the models. What
- 7:31kind of brand did Claude Code build for this
- 7:35open -ended test? Claude invented a brand called
- 7:37FieldNote. It's designed as a short skill learning
- 7:39platform. That's a highly practical concept.
- 7:42Yeah. The pitch is that you learn one practical
- 7:44skill a week. Just 15 to 25 minute lessons. No
- 7:49massive intimidating courses you'll never actually
- 7:51finish. And how was the design execution? How
- 7:54did it handle the aesthetic choices? It was very
- 7:56editorial. It was very, very safe. Safe. Yeah.
- 8:00It used lots of traditional serif fonts. The
- 8:02primary color palette was cream and dark green.
- 8:05It had this specimen card UI that looked perfectly
- 8:08nice, but a bit generic. This makes sense when
- 8:10you understand RLHF. Reinforcement learning from
- 8:13human feedback. Models like Claude are heavily
- 8:16aligned for safety, neutrality, and helpfulness.
- 8:19That often translates directly into aesthetic
- 8:22neutrality. It leans on safe. corporate UI patterns.
- 8:26Exactly. It felt very traditional. The categories
- 8:28were practical, things like at the desk and at
- 8:31the home. Right. It even included a pricing toggle
- 8:34and a syllabus accordion. It was incredibly consistent
- 8:37mechanically. It was a new drift. There was no
- 8:39weird prompt drift at all, but it relied heavily
- 8:42on basic text and standard cards. It lacked any
- 8:46real visual punch. It played it entirely safe.
- 8:49The weights of its training clearly favor standard
- 8:52sauce dashboard templates. What about Codex?
- 8:55Codex went a totally different route. It felt
- 8:57way more adventurous. It invented a brand called
- 9:00Room Weather. And Room Weather, that implies
- 9:02an environmental shift. Yes, it's a fictional
- 9:05home fragrance brand. The core product is a ceramic
- 9:08diffuser with swappable scent fronts. Interesting.
- 9:11It essentially lets you change the mood of an
- 9:13entire room. That sounds like a legitimate modern
- 9:16direct -to -consumer startup. It really does.
- 9:18And the interface design was absolutely brilliant.
- 9:21Codex didn't just build spatic cards, it built
- 9:23this interactive feature called a scent forecast.
- 9:25Let's dig into the mechanics of that. How did
- 9:27that interaction actually work? You could click
- 9:30these different scent profiles directly on the
- 9:32page. It gave you options like clear desk, after
- 9:35rain, green hour, or low tide. Wow. And when
- 9:39you click them, the descriptions and the supporting
- 9:42visual details actually change dynamically on
- 9:44the screen. The interaction itself actually helps
- 9:47you understand the physical product. That requires
- 9:49a sophisticated understanding of state management.
- 9:52It maps specific user clicks to dynamic content
- 9:55rendering. It's a very human design choice. Right.
- 9:58It felt totally launch ready. It wasn't just
- 10:00a basic coding experiment. It felt like a real
- 10:03living consumer brain. Yeah. Codex took the win
- 10:06again here for originality, aesthetic taste,
- 10:10and the sheer quality of the interaction. Looking
- 10:12at these vastly different results, let me ask
- 10:14you this. Are we really evaluating coding ability
- 10:17here? Or are we just grading an AI's default
- 10:20design taste? That is the crucial question. We
- 10:23are absolutely grading their default taste here.
- 10:26The actual underlying React code required for
- 10:29Claude's boring card layout and Codex's beautiful
- 10:33interactive layout is often very similar in complexity.
- 10:36The syntax isn't the differentiator. The difference
- 10:39is the creative choices the AI makes when you
- 10:42leave it alone. Codex simply has better out -of
- 10:45-the -box taste. Right. We're really grading
- 10:47the AI era's default design taste, not just its
- 10:50code. Exactly. It's about design intuition. Codex's
- 10:53latent space seems to heavily favor modern, high
- 10:57-conversion Shopify templates when prompted with
- 11:00consumer products. And Claude. Claude leans toward
- 11:03dry corporate wikis. We will continue exploring
- 11:06how constraints change this dynamic right after
- 11:08this short break. provided separately. Welcome
- 11:12back to the deep dive. So far, Codex has won
- 11:15the rigid baseline test with raw efficiency.
- 11:17Yeah. It has also won the open -ended creative
- 11:19test with superior design taste. It seems to
- 11:22have a massive clear advantage over Claude code.
- 11:24It really does. It feels like a total shutout
- 11:26right now. But test three is where the data gets
- 11:28really fascinating. It is. If Codex thrives in
- 11:32a creative vacuum, we need to test the opposite
- 11:35extreme, beat. What happens to that creative
- 11:38advantage when we lock down every single pixel?
- 11:41We are talking about a hyper detailed specification
- 11:43test. This is the kind of strict unforgiving
- 11:46brief that makes human developers sweat. The
- 11:49project was a fictional sauce brand. It was called
- 11:52Northstar. Right. It's a workspace for independent
- 11:55freelancers to manage projects, invoices, and
- 11:58cash flow. But the prompt was incredibly rigid
- 12:00this time. We dictated the exact layout mechanics.
- 12:03We demanded a 4654 split for the hero section.
- 12:07We gave it exact hex colors to use. The background
- 12:09had to be F4F1EA. The primary green was exactly
- 12:13315E46. Yes. We specified the exact typography
- 12:17stack, DM sans for the body text, instrument
- 12:21serif for the headlines. We even gave it the
- 12:23exact mock data for a complex dashboard interface.
- 12:26It had to build a realistic dashboard using only
- 12:28raw code. No stock images were allowed. Exactly.
- 12:31It had to show exactly $8 ,420 in monthly revenue.
- 12:35And exactly $3 ,200 in outstanding invoices.
- 12:40Wow. It had to render three active projects,
- 12:44a six -month revenue chart, dynamic invoice status
- 12:47pills. This requires deep component architecture.
- 12:51We also require three clickable tabs, projects,
- 12:55invoices, and cash flow. Right. Clicking those
- 12:57tabs had to instantly update the dashboard content
- 13:00without reloading the page. A very strict set
- 13:03of state management rules. We even mandated a
- 13:06horizontal four -step workflow timeline on the
- 13:09desktop view. What were the steps? Add a client,
- 13:11start a project, send the invoice, track the
- 13:13payment. We specified a testimonial from Maya
- 13:16Chen, independent brand designer. We specified
- 13:18two distinct pricing tiers. Solo for $0, Studio
- 13:22for $18. It was so relentlessly strict, it leaves
- 13:25absolutely no room for creative interpretation.
- 13:27So how do you think Cloud Code handled this?
- 13:30Well, given its earlier performance, you'd expect
- 13:32it to struggle with the complex interactivity.
- 13:34And it didn't. It executed it perfectly. Flawlessly,
- 13:37even. It kept the exact two -column layout. Yeah,
- 13:40it used the exact hex colors provided. It built
- 13:44the complex dashboard with the precise revenue
- 13:47numbers. It alternated the text and visual positions
- 13:50for the feature sections exactly as requested.
- 13:52It didn't try to improve the prompt. It didn't
- 13:54try to add hallucinated features. Not at all.
- 13:56It just blindly followed orders. The cream background,
- 14:00the dark green palette, the specific typography.
- 14:03It all stayed perfectly true to the spec. This
- 14:06showcases how attention mechanisms work in large
- 14:09language models. When you provide strict constraints,
- 14:12you're actually narrowing the model's attention
- 14:14heads. beat. It stops searching the latent space
- 14:17for novel ideas and simply executes the localized
- 14:20instructions. Exactly. So how did Codex perform
- 14:23under these exact same constraints? Codex did
- 14:25the exact same thing. A dead tie. A complete
- 14:27and total tie. Both models absolutely nailed
- 14:29the specification. The layouts were remarkably
- 14:32similar. The complex tabs worked perfectly without
- 14:35reloading. The exact hex colors matched perfectly.
- 14:38When you remove the creative freedom entirely,
- 14:40the massive gap between Claude code and Codex
- 14:43completely disappears. That is deeply interesting.
- 14:47What does this dead tie actually reveal about
- 14:50the whole Claude versus Codex debate when we
- 14:53talk about building real enterprise software?
- 14:55It reveals that the entire debate might be focusing
- 14:58on the wrong variables entirely. How so? Well,
- 15:02when you're building enterprise software, you
- 15:04usually have a very strict design system already
- 15:06in place. You have highly specific data requirements.
- 15:10You aren't asking the AI to be a wild creative
- 15:13director. You are asking it to execute a highly
- 15:17detailed, rigid blueprint. And what this third
- 15:20test definitively proves is that both models
- 15:23are incredibly good at executing strict blueprints.
- 15:26Basically, strict instructions level the playing
- 15:28field between different AI models. That is exactly
- 15:30the ultimate takeaway here. It really forces
- 15:32you to rethink how we approach these tools. Let's
- 15:35synthesize this whole deep dive for you. Let's
- 15:37look at the bigger picture. Let's do it. If you're
- 15:39starting with just a rough idea, if you need
- 15:42an AI to act as a creative partner, to handle
- 15:44the design thinking, to invent user interactions
- 15:47from scratch, Codex is the clear undisputed winner.
- 15:50Hands down, it's exponentially faster. It's significantly
- 15:54cheaper in terms of overall token usage. It has
- 15:58much better out of the box visual polish. It
- 16:01handles open -ended ambiguity just like a real
- 16:04senior human designer would. If you have a highly
- 16:08detailed specification, if you know exactly what
- 16:11you want down to the exact hex code, the typography
- 16:15stack, and the precise interaction state, The
- 16:17gap between them totally vanishes. It really
- 16:19does. They both become excellent, obedient executors
- 16:22of your vision. The ultimate lesson here is about
- 16:24control and instruction. When your prompt is
- 16:27meticulously detailed, the quality of your prompt
- 16:30matters far more than which AI coding agent you
- 16:32happen to choose. That is the honest truth of
- 16:34it. We need to stop fighting over which AI brand
- 16:37is inherently better on a forum and start getting
- 16:39better at telling them exactly what we need them
- 16:41to do. The prompt itself is the product now.
- 16:44It leads to an incredibly interesting thought,
- 16:46Bea. If hyper -detailed specs make the choice
- 16:49of AI completely irrelevant, you really have
- 16:52to wonder. Will the entire future of software
- 16:54engineering just be the mastery of writing the
- 16:57perfect specification? Will the whole which AI
- 17:01is better debate eventually become entirely obsolete?
- 17:05That is a massive, highly philosophical question
- 17:08to leave everyone with. I absolutely love it.
- 17:11And hey, do not just take our word for it. Right.
- 17:14Thank you so much for joining us on this deep
- 17:16dive today. I highly encourage you to go test
- 17:18your own prompts, run your hardest, most complex
- 17:21specs on both models, see if your own results
- 17:23match the data we unpack today. You might be
- 17:25very surprised by what you find. Until next time,
- 17:28keep building.