Why Gemini 4 Carbon Is So Slow: Kernel.dev Trace Finds Unnecessary Work and Mechanical Inefficiency
Gemini 4 Carbon's slowness on coding tasks comes from three separable causes, not one: slower per-step inference, a large volume of work the task never asked for, and mechanical inefficiencies such as reading one file per step and re-reading code it has already seen. The evaluation firm kernel.dev published this conclusion in November 2026 after tracing every step of Carbon's runs on a bug-fixing benchmark, and reported that Carbon took close to an hour where Opus and Astra took minutes.
The kernel.dev analysis is notable because it separates how long each model step takes from how many steps each model chooses to take. Slower inference accounts for only 16–30% of Carbon's extra time against GPT-6 Astra and 45–49% against Opus. The remaining gap comes from longer trajectories: Carbon performs roughly seven times as many steps as Astra and eleven times as many tool actions per bug.
The benchmark task rewards engineering judgment, not raw intelligence
kernel.dev's benchmark gives an agent a codebase from just before a bug was fixed, plus a report that describes the bug only by its symptoms. The agent must diagnose the bug and fix it without making unrelated changes.
The firm states that most of the difficulty is engineering judgment: tracing the reported symptoms to the right code path, ruling out rival explanations, placing the fix correctly, and knowing when to stop. That last criterion matters, because the trace analysis found that Carbon's failure mode is largely a failure to stop.
Slower inference explains a minority of the gap against Astra
Per-step latency accounts for 16–30% of Carbon's extra runtime compared with GPT-6 Astra and 45–49% compared with Opus. kernel.dev grouped queueing at the provider, network latency, prompt processing and generation speed into this category.
Against Astra, inference speed is the smaller factor. Against Opus, slower inference explains roughly half the gap. In both comparisons, most of the difference comes from how much work Carbon performs per task.
Carbon does roughly 7x the steps and 16x the input processing per bug
kernel.dev measured the workload of both models per bug and found Carbon far exceeds Astra on every axis:
- Steps (rounds of thinking plus actions): about 7x Astra's count.
- Actions (file reads, commands, edits): about 11x Astra's count.
- Output written: about 7x Astra's token count.
- Input processed: more than 16x Astra's token count, because every step re-sends a longer conversation.
The input figure is a compounding effect rather than a separate defect: a longer trajectory means each subsequent step carries more context, so input tokens grow faster than step counts.
The harness and effort settings do not explain the slowness
kernel.dev tested and rejected two simpler explanations before analyzing the traces.
The harness. Running Carbon inside two other coding agents, opencode and mini-SWE-agent, produced no meaningful difference in behavior.
Mismatched reasoning effort. Effort settings are not standardized across providers, so Carbon's "high" may correspond to another provider's maximum. kernel.dev tested Carbon on low, but reports that Carbon on low often failed to produce a fix at all: it went in circles, re-reading code it had already read instead of making the fix.
Half of Carbon's steps went to work the ticket never requested
kernel.dev labeled every step in the Astra and Carbon runs by its purpose. The traces covered 19 Astra steps and 215 Carbon steps.
Of Carbon's steps, 98 were necessary and 117 were wasted. Astra had 18 necessary steps and 1 wasted step.
| Necessary step type | Astra | Carbon |
|---|---|---|
| Reading the code | 4 | 22 |
| Ruling out other causes | 0 | 5 |
| Writing the fix | 2 | 25 |
| Testing | 11 | 44 |
| Summing up | 1 | 2 |
| Total | 18 | 98 |
| Wasted step type | Astra | Carbon |
|---|---|---|
| Auditing code beyond the bug | 1 | 70 |
| Closing loopholes the ticket ruled out | 0 | 47 |
| Total | 1 | 117 |
The table excludes a further 20 Carbon steps spent re-reading code it had already read, which kernel.dev covers separately as a mechanical inefficiency.
The wasted work falls into two categories that kernel.dev defines precisely:
- Auditing code beyond the bug. After locating the cause, Carbon widened its search, checking every related path through the system and auditing code the fix never needed to touch. This consumed 70 steps.
- Closing loopholes the ticket had already ruled out. Carbon defended against cases the ticket's facts had already excluded, hardening code against problems nobody had reported. This consumed 47 steps.
Carbon identifies the cause early but delays its first edit by 25 minutes
kernel.dev published a sample trial comparing time to find the cause against time to first edit. Both models identified the root cause early: Astra within about one minute, Carbon within about six. Astra had its fix written three minutes later. Carbon did not write any code for another 25 minutes.
To distinguish a knowledge problem from a behavioral habit, kernel.dev re-ran one trial in a modified harness that injected the same check-in every five turns: "do you already have enough to make the fix?"
With check-ins, Carbon finished in 28 minutes instead of 37, and the wait between naming the cause and editing shrank from 25 minutes to about 10. kernel.dev's conclusion is that the slowness comes from how Carbon behaves, not what it knows.
Mechanical inefficiencies cost roughly a quarter of Carbon's runtime
Even inside the necessary steps, kernel.dev found Carbon accomplishes less per step and repeats work:
- Tool calls per step: Astra 2.4, Carbon 1.2. Astra often read several files at once; Carbon usually read a single file.
- Lines re-read per trace: Astra 7%, Carbon 39%.
kernel.dev estimates that these two mechanical inefficiencies alone account for roughly 25% of Carbon's excess runtime.
Independent measurements agree that Carbon is slow but strong when users wait
The kernel.dev post collected public complaints from X, including one from Theo (t3.gg) dated November 11, 2026:
Gemini 4 Carbon is unacceptably slow in real world usage. Gemini 4 Carbon low: 22m21s. Opus 5.5 high: 9m33s
Hacker News commenters reproduced the pattern with their own measurements. Aidan McLaughlin (seizethecheese) reported an analysis of 146 battles from a head-to-head system built on opencode:
Time to complete: 6m 08s for Carbon vs 2m 04s for opponents. Output tokens 16.4k for Carbon vs 6.8k for opponents. Tool calls: 21 for Carbon vs 11 for opponents.
McLaughlin also reported inference speed of 52 tokens per second for Carbon against 73 for opponents, and a split outcome that supports the "good when you wait" framing:
Both finished 83 carbon wins, 52 losses. Early votes 2 carbon wins, 40 losses! Basically, Carbon is good when you're willing to wait.
chriddyp, testing 75 models, ranked Carbon 68th of 75 on slowness and attributed the latency to four components: time-to-first-token of about 5 seconds on a one-line prompt and 11 seconds on a roughly 130K-token cached prompt (against 2–2.5 seconds for Gemini 4 Hydrogen); moderately slower tokens per second; lower verbosity than Hydrogen (about 500 output tokens per request versus 780); and more model calls per question (10.3 versus 7.7 for Hydrogen, and 41 queries on average on a hidden-pattern task against a board median of about 25). chriddyp summarized the behavioral component:
If the task is "find all of the issues", and the model is very exhaustive in its search, then "time per task" calls it slow but in practice we'd call it thorough.
Some users treat Carbon's extra work as a feature
Several commenters argued that the steps kernel.dev labels wasted produce value in practice. bagacrap framed the auditing behavior as deliberate depth:
I thought of it as Carbon "thinking" more "deeply" about the implications of a change. That can be a good thing! Instead of just doing exactly what I ask it, it is able to flag new bugs in far away code that would result
horacemorace described the same behavior as a contrast in style:
the way it solves problems with a light touch while still driving toward sensible architecture is refreshing after claude's bulldozer attitude
Other commenters were less forgiving. Otterly99 identified the loophole-closing behavior as a flaw Anthropic previously shipped and then corrected:
one of the post 4.5 version started to be very proactive, on top of being very verbose. Thankfully, Anthropic did listen to their users and improved things greatly on this front. It seems that Carbon is designed to have the same flaws
Commenters propose infrastructure and incentive explanations for the slowness
Tristanj argued that Google lacks the commercial pressure to make Carbon token-efficient:
Selling inference is an insignificant part of Google's revenue. But for Anthropic and OpenAI, selling inference is their entire business model.
Several commenters pointed at serving infrastructure rather than model behavior. Lerc cited a report of a time-to-first-token problem that compounds across internal subagent queries. ahmadyan reported that requests through OpenRouter time out after five minutes and that the first token often takes more than five minutes. WeZZard noted anecdotal reports that Carbon served by VertexAI is faster. niltecedu suspected prompt caching is broken on at least one third-party provider. dada216 pointed to Carbon's maximum output length as a structural factor, stating that Carbon supports 1 million output tokens against 128k for Opus 5.5.
timtam described hitting an explicit step ceiling through the prompt interface:
500 INTERNAL (TURN_STEPS_EXCEEDED). Gemini couldn't finish this response I'm sorry, this request needed too many steps to finish in time.
mengqijin reported a task-dependent split: Carbon performed better on long and complicated tasks and took almost the same time as Hydrogen at roughly 50% more cost, but was far too slow and expensive on simple tasks.
kernel.dev's conclusion and the implied fixes
kernel.dev attributes the runtime gap to three sources:
- Slower inference. Each step takes longer, explaining 16–30% of the gap against Astra and about half against Opus.
- Unnecessary work. About half of Carbon's steps went to auditing code the fix did not need and closing loopholes the ticket had already ruled out.
- Mechanical inefficiencies. Fewer tool calls per step and frequent re-reading slow Carbon down; kernel.dev estimates fixing these alone would cut runtime by roughly a quarter.
The check-in experiment implies that the unnecessary-work component is addressable through prompting or harness design rather than retraining: injecting a periodic "do you already have enough to make the fix?" check cut a sample trial from 37 minutes to 28. The mechanical component implies changes to batching of tool calls and context reuse. The inference component is a serving and hardware question that kernel.dev's trace data cannot resolve.
Sources
Related
- Dispatch
- Dispatch
- Dispatch
- Dispatch
- Dispatch