Dev.to AI 🤖 Ai 👁 0 📖 9 min read

Where Gemini 4 Neon Fits Next to Claude Opus 5.5

Gemini 4 Neon wrote the best implementations in this comparison. Handed only an issue and the codebase, neon-4-high scored 91.5 out of 100, ahead of Claude Opus 5.5 high at 85.5. Handed a finished design document, neon-4

Gemini 4 Neon wrote the best implementations in this comparison. Handed only an issue and the codebase, neon-4-high scored 91.5 out of 100, ahead of Claude Opus 5.5 high at 85.5. Handed a finished design document, neon-4-medium scored 94.5 for $3.58.

The ranking reversed on design. Both Neon runs proposed designs that brought back the very approach the issue had ruled out, finishing seventh and eighth out of eight. Opus wrote the strongest designs in about seven minutes for under $2.50.

Review sat in the middle. neon-4-high caught a state bug that all four Claude runs missed, while missing a duplication bug that Opus traced cleanly. I would run it alongside an Opus review.

The issue I replayed

Oven Spring is a software factory where coding agents take issues through design, implementation, review, and merge, and an owner approves merges from Slack. Issue #83 targeted a costly loop: whenever one pull request merged, the factory sent every other waiting pull request back to merge the latest base branch. Each one was pushed again, CI and review bots ran again, and the owner's merge approval (bound to the head commit) had to be requested again.

The issue asked the factory to bring in the base branch only before a pull request opens and when GitHub says it cannot merge the pull request as it stands. It also ruled out the tempting shortcut: act on GitHub's answer, and do not predict mergeability with local git.

Making that work cleanly is harder than it looks on paper. The intent to bring in the base on the next push has to survive a daemon restart, GitHub's merge refusals (conflict, behind the base, blocked by a rule) each call for a different response, and the guarantee that only an approved head gets merged has to hold throughout.

Agents had already shipped this change in PR #94, leaving behind a flawed first design and a buggy first implementation. I replayed the work as five independent phases:

Phase Input
Design The issue and the code before the change
Design review The flawed design the original agent wrote
Implementation The final design from the Opus/Codex review loop on PR #94
Implementation without a design The issue and the code (high effort only)
Code review The original agent's first implementation

Every run received the same input in each phase, so a weak design never fed a later implementation. The main comparison is Gemini 4 Neon (in Antigravity CLI) against Claude Opus 5.5 (in Claude Code), alongside Claude Sonnet 5.5 as the budget baseline and Gemini 4 Carbon as the slow, heavy-duty option, each at medium and high effort. I stripped out repository instruction files and personal skills so each agent worked only with its CLI defaults, and ran each phase once.

Claude Opus 5.5 and Gemini 4 Neon scored the anonymized outputs separately against the requirements, the repository, and a shared rubric, without an answer key. For the review phases, each evaluator first verified which problems actually existed in the target (including issues no candidate found) and scored every review against that list. The phase tables rank configurations by their average score across the two evaluators. The evaluation notes give the full results, rubrics, and token breakdowns.

Given only the issue

If you hand an issue straight to an agent and review what comes back, this is the phase that matters.

Rank (of 4) Model Score Time Cost
1 neon-4-high 91.5 30 min $4.94
2 carbon-4-high 87.5 73 min $14.20
3 opus-5.5-high 85.5 19 min $4.00
4 sonnet-5.5-high 62.0 16 min $0.96

Removing the design document hit each model differently. Compared with their own scores when given the design, Neon dropped only 1.5 points, Carbon dropped 6.5, Opus dropped 7.5, and Sonnet fell 28.5.

Without a design, each agent had to decide how to persist the intent to bring in the base branch and how to react when GitHub refuses a merge. Neon stored the intent in persistent workflow state so a restart could not drop it, covered edge cases like recreating a closed pull request and keeping branch-only conflict fixes from pulling in the base, and re-read the pull request after a refused merge to classify why it failed. Its tests exercised the main failure modes end to end.

Neon's weaknesses showed up in maintainability and restraint. It spread flag updates across two layers, which makes future edits easier to break. And as a last resort after repeated merge refusals, it fell back to checking with local git whether the branch contained the base, quietly reintroducing a narrow version of the prediction the issue had excluded.

Opus took the opposite approach: tighter scope, fewer moving parts, and faster execution (19 minutes, $4.00). It kept the decision in one function and left the workflow state alone, which made the diff easy to follow. The cost was missed edge cases. It checked whether a pull request existed using the recorded PR number, so a replacement PR after a close ran CI on a stale base; it brought in the base even while CI was failing; and it treated every merge refusal other than "head changed" as a reason to push again, risking wasted push loops on draft PRs or repository rules.

Sonnet high stored the intent only in memory, so a daemon restart erased it. It wrote no new tests, and one rewritten test passed without setting up the condition it claimed to verify.

Given a design document

When you write the design first (or have a planning agent write it) and hand implementation to an agent, two separate skills matter: following a design well, and writing one worth following.

Following a design

Once the design settled the hard calls, seven of the eight runs scored above 90.

Rank (of 8) Model Score Time Cost
1 neon-4-medium 94.5 26 min $3.58
3 (tie) opus-5.5-high 93.0 26 min $5.58
3 (tie) neon-4-high 93.0 39 min $5.62
6 opus-5.5-medium 91.0 27 min $4.88

One requirement separated the implementations. The design specified the outcome and left the mechanism open: if a human closes a pull request, the factory is told to retry, and the daemon restarts before the replacement PR is recorded, the work still has to resume. In the existing code, the first poll after restart sees the closed pull request and halts the issue before the retry push can run. Both Neon runs (and carbon-4-high) traced that interaction and fixed it. Both Opus runs implemented strictly what the design specified and left that restart path broken.

Even the two evaluators split along the same line: the Claude evaluator treated Neon's extra guard as an unrequested behavior change and put opus-5.5-high first, while the Gemini evaluator penalized every run that left the acceptance criterion broken. Reading the daemon code settles it: without that guard, the restart requirement fails.

Between Neon's two effort settings, medium was the clear winner. neon-4-medium stayed strictly within the design's scope and scored highest overall, while neon-4-high added extra clearing points and cost 1.6 times as much for 1.5 times the runtime.

Writing the design

Handing the design phase to the same models flipped the leaderboard.

Rank (of 8) Model Score Time Cost
1 opus-5.5-high 90.0 7 min $2.44
2 opus-5.5-medium 88.5 6 min $2.20
7 neon-4-high 75.0 16 min $4.34
8 neon-4-medium 74.0 8 min $1.96

Opus kept the design simple and faithful to the issue. It modeled the intent as a single flag, isolated the decision in a pure function easy to unit-test (in opus-5.5-medium), and handled merge refusals by waiting for the next poll.

Both Neon runs added a local-git fallback after repeated refusals, bringing back the prediction mechanism the issue had explicitly ruled out. neon-4-high wrapped that fallback in an in-memory refusal counter and a new stop path. neon-4-medium went further and triggered the fallback even while GitHub was still computing mergeability, so a brief refusal caused a push, a CI run, and a new approval request: the exact cycle the issue was filed to eliminate.

That matches what Neon did in the issue-only implementation. Left to make architectural calls on its own, Neon tends to add defensive fallbacks even when the prompt forbids them. When a written design explicitly rules them out, Neon follows the design.

Opus medium ranked second on design, and Neon medium ranked first on implementation from the reviewed design. For that split, the separate runs give an estimated total of $5.78 and about 32 minutes. Using Opus medium for both phases comes to $7.08.

As a second reviewer

The original first implementation from PR #94 had one major defect: the "bring the base in" flag stayed set on paths where it should have been cleared (after an opening conflict, after retrying a closed pull request, and after work was sent back to be redone). Later pushes then pulled in the base unnecessarily, recreating the loop the issue was meant to stop.

All four Gemini runs caught at least one of those leak paths, and neon-4-high and carbon-4-medium found all three. All four Claude runs missed the bug completely. They checked the code against the design's state transitions one by one, and Opus high and Sonnet high concluded there were no major problems.

Rank (of 8) Model Score Time Cost
1 carbon-4-medium 77.0 48 min $7.44
2 neon-4-high 69.5 22 min $6.63
4 opus-5.5-high 59.0 19 min $4.55
7 neon-4-medium 55.0 13 min $2.48

Neon and Opus caught different classes of bugs. neon-4-high gave the clearest explanation of the main state leak and proposed a clean fix that added no new state, though it split one root cause into two findings and missed a duplicated piece of closed-PR handling. Opus missed the state leak, yet it was the reviewer that traced the duplicated close handling through the daemon's processing order and proposed the smallest fix.

Effort mattered sharply for Neon here: neon-4-medium returned one accurate finding and missed the rest, 14.5 points behind high. carbon-4-medium was the strongest reviewer overall, taking more than twice as long as neon-4-high.

Design review showed a similar split in style. neon-4-high dug into surrounding existing code and surfaced real problems around the design, whereas Opus high challenged whether the design's new state was necessary at all. Only the two Carbon runs checked the design against the broader product requirements and caught that it assumed compatibility those requirements had already excluded.

Time and cost

Phase neon-4-medium neon-4-high opus-5.5-medium opus-5.5-high
Design 74.0 / 8 min / $1.96 75.0 / 16 min / $4.34 88.5 / 6 min / $2.20 90.0 / 7 min / $2.44
Design review 51.0 / 13 min / $2.73 65.5 / 21 min / $5.49 57.0 / 8 min / $2.97 60.5 / 10 min / $3.67
Implementation 94.5 / 26 min / $3.58 93.0 / 39 min / $5.62 91.0 / 27 min / $4.88 93.0 / 26 min / $5.58
Implementation without a design 91.5 / 30 min / $4.94 85.5 / 19 min / $4.00
Code review 55.0 / 13 min / $2.48 69.5 / 22 min / $6.63 55.5 / 15 min / $3.09 59.0 / 19 min / $4.55

Each cell shows score, wall-clock time, and API-equivalent cost at list prices. neon-4-high is the expensive setting: it costs more than opus-5.5-high in every phase where both ran. Within Neon, raising effort from medium to high added 14.5 points in design review and 14.5 in code review. With a design in hand, the higher effort cost $2.04 more and scored 1.5 points lower. The same dependence on the task showed up in Reasoning Effort Is Not a Quality Setting. For Opus, medium and high stayed within 3.5 points of each other everywhere.

Sonnet 5.5 was the cheapest option by a wide margin: sonnet-5.5-high cost $6.82 across the four main phases, against $16.24 for opus-5.5-high and $22.08 for neon-4-high, and scored 90.5 once a design was in place. Carbon produced the deepest review findings and thickest test suites, at 33 minutes to over two hours per phase.

Where Neon fits

  • Implementing from a written design: neon-4-medium. It scored highest, stayed in scope, and caught an under-specified restart path that Opus missed.
  • Implementing directly from an issue: neon-4-high. Review its error and fallback paths against any constraints you stated, because that is where it tends to add back what you ruled out.
  • Writing the design: Opus at medium effort. It ranked second, finished in six minutes for $2.20, and respected the issue's limit on local git checks.
  • Reviewing code: neon-4-high alongside Opus. Neon caught state that outlived the path that created it, while Opus checked conformance to the design and proposed smaller fixes. For a design review against broader product requirements, use Carbon.
📰 Read the original article on Dev.to AI

Originally published by Dev.to AI. Aggregated on AIWithGhost for educational purposes — full credit and traffic to the original publisher.