70% of coding agent token burn is watching compiler output — JetBrains' fix analyzed

AbleBranch6 · reddit · 2026-11-11

The problem: frontier models doing chores

Breaking down an autonomous agent's step logs on a routine bug fix ($5 total): steps 1–12 (searching, tracing logic) cost $1.10, while steps 13–42 (editing, builds, test reruns, fixing imports) cost $3.80. Over 70% of the bill is paying peak frontier rates (Opus 5.5, Grok 4.7) to watch compiler output and rerun tests — work a linter plus a cheap model could do.

Junie Eco Mode: Architect + Builder

JetBrains' Eco Mode (GA in Junie CLI 26.10.20 and IDE betas) uses a single one-way handoff:

Unlike older "cheap model calls a smarter friend when stuck" multi-agent setups — where each escalation re-serializes 50k+ tokens of failed bash logs — the single handoff avoids context explosion.

Benchmarks

Caveat

If the Architect botches its plan in those 15 steps, the Builder faithfully implements the wrong solution — there's no backward loop to re-engage the expensive model.

Original post →

More from coding & agent

coding & agent channel →