i
News
News · 2026-12-04

Gemini 4 Neon leads debugging, but every model missed one trap

Dataist Dataist

VentureBeat tested nine leading AI models on real-world debugging tasks: Gemini 4 Neon led, Amazon Ergo cost 6.5 times less than Qwen, and no model spotted the trap

Cover: Gemini 4 Neon leads debugging, but every model missed one trap

VentureBeat tested nine leading AI models on five bug-fixing tasks in a closed-source codebase. Gemini 4 Neon passed 10 of 15 tests, Claude Opus 5.5 passed 8, Claude Sonnet 5.5 passed 7, and Amazon Ergo 1.0 and Alibaba Qwen 3.8 Max Prime passed 6 each. Yet a successful fix with Ergo cost $1.17 — about 6.5 times less than with Qwen. No model solved the task where two bugs masked each other: all 27 attempts failed.

Gemini 4 Neon leads in debugging, but every model missed one trap

How the test was run

The VentureBeat team tested the models on a closed internal Python server with 8,443 lines of code. It processes raw survey exports, filters out responses that do not meet the criteria, calculates percentages and checks participant counts against published reports. Because the code is unpublished, the models could not rely on solutions remembered from training.

Each of the nine models attempted five debugging tasks three times. They ran in the same open coding environment, OpenCode 1.19.5, inside an isolated sandbox and through OpenRouter with a single provider selected and no fallback. Reasoning effort was set to high for every model, and temperature was set to zero wherever supported. Each attempt had a 45-minute limit, a maximum of 250,000 output tokens and 70 tool calls. All 135 runs cost $160.47 in total.

The results offer a preliminary guide, not a definitive statistical conclusion. Each model had only three attempts per task, and the 70-call limit may have affected outcomes. As a result, some models’ possible performance ranges overlap: a difference of one or two successful runs is not enough to say confidently which is better. VentureBeat is retesting all nine models with a higher call limit.

Ergo: middling results, low cost

Amazon Ergo 1.0 was introduced at AWS re:Invent earlier that same week. The open-weight model has 1.1 trillion parameters; Amazon touted its high speed for coding agents and low cost. In an earlier report, VentureBeat noted that even high throughput on AWS Trainium3 chips does not make Ergo a replacement for closed leading models on single-pass reasoning tasks.

Ergo was not included in the initial test on November 23: on launch day, OpenRouter rejected all requests to Amazon Bedrock endpoints using tool calls. The first attempt ended after six seconds. After OpenRouter enabled tool support on December 1, Ergo was tested on the same tasks, with the same agent and evaluation conditions.

There is a caveat: Ergo’s Bedrock endpoint does not report which reasoning-effort levels it supports. Amazon’s model card says the setting is fixed, so VentureBeat could not verify whether the provider changed the reasoning level despite accepting the corresponding parameter.

Ergo matched Qwen 3.8 Max Prime on two tasks: both models fixed the original D1 query bug in all three attempts and the X1 whitespace-cleanup bug between layers in all three attempts. On each of the three more difficult tasks, both models had zero successful attempts.

Ergo generated more reasoning tokens than any other model: about 1.03 million output tokens across 15 attempts. In one attempt with an empty status, the output reached 198,000 tokens. But at $3 per million output tokens, generating them cost about $3, and the total bill was $7. A successful fix with Ergo cost $1.17. Among models with six or more successful attempts, only Claude Sonnet 5.5 was cheaper.

Caching changes the cost of runs

Coding agents repeatedly send repository context to a model, so input data can reach tens of millions of tokens over dozens of turns. In the test, Gemini 4 Neon processed up to 59.5 million tokens this way across 15 attempts. For most providers, a cached input token costs twenty times less than a new one, so a drop in the cache-hit rate can sharply increase the bill.

Gemini 4 Neon had the highest accuracy and was the only model to reliably solve the task with two independent bugs: 3 of 3 attempts succeeded, compared with 1 of 3 for Claude Opus 5.5 and zero for the rest. But Neon had the lowest cache-hit rate, at 85%.

Of 59.5 million input tokens, 9 million were not cached. That was just 15% of the volume, but they cost $27.12 — 55% of Neon’s total $49.06 bill. With a 95% cache-hit rate, as Ergo and Qwen achieved, Neon’s entire run would have cost about $31.80, or $3.18 per successful fix. That would be less than Claude Opus 5.5’s $3.44 per success, with Neon delivering a higher score.

The effect was smaller for Gemini 4 Argon: with a 91% cache-hit rate, costs were about $3.40 higher than they would have been at 95%. It is not yet clear whether the cache misses are tied to Google AI Studio’s caching mechanism or to how Gemini models interact with third-party environments such as OpenCode.

Qwen 3.8 Max Prime had a 96% cache-hit rate, but its total bill still came to $45.54. Alibaba charges $0.50 per million cached input tokens — 10–80 times more than its competitors.

85%Neon cache-hit rate
55%Neon bill from uncached tokens
96%Qwen cache-hit rate

Two ways to fail a task

No attempt hit the 250,000-token limit. Instead, the models split into two groups: some exhausted their tool-call allowance, while others stopped early, deciding the task was done.

Five models most often failed after using all 70 calls and being stopped by the proxy:

Gemini 4 Neon — 5 of 5 failed attempts;
Gemini 4 Argon — 9 of 10;
Qwen 3.8 Max Prime — 8 of 9;
Amazon Ergo 1.0 — 8 of 9;
DeepSeek V4.1 Flash — 8 of 11.

The other four models usually decided on their own that the fix was ready and submitted a nonworking version:

Claude Sonnet 5.5 — none of its 8 failed attempts reached the call limit;
GPT-6.2 Sol — 0 of 10;
GPT-6.1 Terra — 1 of 10;
Claude Opus 5.5 — 1 of 7.

Claude Sonnet 5.5 finished attempts faster than the others: the median was 13 turns, compared with 42 for Claude Opus 5.5 and 53 for DeepSeek V4.1 Flash. That made Sonnet the cheapest of the three top-performing models: its seven successful attempts cost $4.33, or $0.62 per success.

The fact that Ergo, Neon, Argon and Qwen most often hit the 70-call limit may mean that a larger budget would change their results. That is what VentureBeat plans to test in its retest.

The bug no model spotted

The hardest task was R5, where two bugs masked each other. In the data-processing layer, some eligible participants with an empty status were mistakenly excluded, while small companies with fewer than 100 employees were no longer filtered out.

The number of rows removed matched the number added, so the final participant count matched the published report. But the data’s composition was wrong, distorting subsequent percentages. Fixing just one of the two bugs initially made the participant count look even less plausible.

All nine models failed the task: none of the 27 attempts succeeded. Each treated the matching final participant count as confirmation that the sample composition had not changed. VentureBeat observed the same approach during preliminary testing in November, even when models were given a clearer description of the bug.

The result is consistent with a data analytics benchmark study from Plotly published that same week. Ergo scored 40 out of 43, or 93%, making it the top US open-weight model on standard analytics tasks. At the same time, all three of Ergo’s errors in that test involved finding hidden patterns in data.

For CTOs and VPs of engineering, the results show that the models have different strengths. Gemini 4 Neon handled multiple bugs at once, but its cost depended heavily on its cache-hit rate. Claude Sonnet 5.5 combined fast attempts with low costs, while Ergo showed that an open-weight model can match the more expensive Qwen in successful fixes at a significantly lower price.

Dataist's take: the test’s main practical limitation emerged in a task where the headline metric looked correct even though the data itself was corrupted. All the models tested trusted that signal and missed the bugs, showing that automated code repair does not eliminate the need for human review and tests that can catch hidden regressions.

Daily AI news

Every day we pick what actually matters in AI and explain it plainly — no hype, no filler. Subscribe if you want to follow where the industry is going.

Only what matters — every day

Follow on X