PREreview of "Analyzing and Mitigating Cost-Inefficient Behaviors in Coding Agents"
This Zenodo record is a permanently preserved version of a PREreview. You can view the complete PREreview at https://prereview.org/reviews/23011395 . This paper looks at 1,200 trajectories from Claude Code and Mini-SWE-Agent on SWE-bench Verified. Three cost-inefficient behaviors (subsumed retrieval, similar script generation, test re-execution) show up in 79 to 98% of tasks and take up to 22.75% of task cost (Table 1). What I liked - tasks split by creation date, baselines run three times before an effect is called robust, and the negative CodeGraph result reported openly. I read it as a practitioner who runs coding agents every day. In my company the software development is done by AI agents and I measure what they cost me, so maybe my practical side is useful here. My four comments: where the cost sits, subagents and re-reads, re-running tests, and the skill set size. 1. Regarding where the cost sits - in Section 4.1, Figure 6, task cost moves more than behavior-attributed cost, slopes 2.83 on Verified-200 and 1.33 on Pro-100. One reason you give is that a shorter trajectory means less repeated cache reading of earlier context (the other is blocking unflagged actions). In 722 of my own sessions (150,902 model calls) more than 85% of the modeled spend was cache reads plus cache writes (sessions I ran myself, cost modeled from list prices, not bills; technical report, not peer-reviewed, DOI 10.5281/zenodo.22759216). In a separate 168-session run 94.4% of paid tokens were re-reads of context already sent (DOI 10.5281/zenodo.22712985, tokens, not the bill). So my numbers agree with your first explanation. Maybe splitting per-trajectory cost into cache reads, cache writes, fresh input and output, for baseline and DevSkills, would show how much of the 2.83 slope is shorter re-reading and how much is unflagged actions. 2.
- Link
- https://zenodo.org/records/23011395
- Found by
- Zenodo
- Authors
- Evgenii Arsentev
- Categories
- agentic
- Published
- 2026-09-28
- Last seen by the radar
- 2026-09-28
- Downloads
- 0
- Views
- 0
- Radar score
- 34.39 / 100 (how it is scored)
- Why it scored so
- Matched: agent~bench; Recency discount: updated event ×0.5; Primary record: Zenodo
- Related links
- https://doi.org/10.5281/zenodo.23011395