Skip to main content

← Back to AI Papers

Agents & tools

Reducing Inference Cost of Coding Agents with Timeout Cascades

Problem: coding agents burn GPU-hours; small models are cheaper but riskier. Can a small-model-first cascade cut cost without losing resolve rate?
Where the evidence sits: the paper evaluates 36 open-weight models released since 2024 on SWE-bench Verified and finds recent small models close the gap on easy/medium tasks, with the gap concentrated on hard tasks. Using GLM-4.7-Flash first and escalating to GLM-4.7 after a timeout, at a 120-minute timeout, GPU-hours fall from 821 to 546 on easy tasks (-33.5%) and from 2,585 to 2,160 on all tasks (-16.4%) without sacrificing resolve rate; the simple cascade nearly matches an oracle-style router.
What the authors say about limits: single-run evaluations, one primary model pair and one benchmark; the workload must be dominated by easy/medium tasks (91% of SWE-bench Verified), and the cascade degrades when hard tasks dominate; escalation is a cold restart and does not inherit the small model's intermediate state; wall-clock time rises (41.6 min/task to 65.5 or 84.5 min), so it is unsuitable for interactive waiting.
What it does not claim: that every coding agent saves 33%; that small models replace large ones; that a cascade always beats a learned router; that latency also falls.

Key specs

发表 / venue
arXiv 2611.24324(2026-11-18)
评测 / benchmark
SWE-bench Verified(500 题;混合策略用 466 题完整轨迹)
模型 / models
36 个 2024 年后开放权重模型;主对 GLM-4.7-Flash → GLM-4.7
成本 / cost
easy 任务 -33.5%;全部任务 -16.4% GPU-hours
解决率 / resolve
不牺牲整体解决率;简单级联接近 oracle 路由
代价 / trade-off
墙钟 41.6 → 65.5 / 84.5 分钟;适合异步任务
证据位置 / evidence
摘要;第 V–VI 节;结论
复现状态 / reproduction
未复现(只读论文与 HTML 全文)

What the source says

We evaluate 36 popular large and small open-weight models released since 2024 on a software engineering benchmark, and find that recent small models are closing the accuracy gap compared to their large counterparts.
1 https://arxiv.org/abs/2611.24324
by utilizing a hybrid inference strategy that tries a small model first and escalates to a large one only when needed, we can achieve up to 33% reduction in total GPU-hour costs and 16.4% on all tasks from SWE-bench Verified, without sacrificing accuracy.
2 https://arxiv.org/abs/2611.24324
Our conclusions are constrained by single-run evaluations, one primary model pair, and one benchmark.
3 https://arxiv.org/html/2611.24324
The cascade reduces GPU-hour cost and preserves resolve rate, but it does so by spending additional sequential time on tasks that eventually fall back.
4 https://arxiv.org/html/2611.24324

Source and licence

Source checked
2026-11-20
Licence / kind
arxiv-preprint
Licence evidence
https://arxiv.org/abs/2611.24324
Category
Agents & tools

How to read the numbers

Before citing a score, separate what it measures, how it is scored, what it compares against and whether contamination is controlled. If unsure, go back to the experiment setup in the paper. See benchmark cards · See dataset cards

More in this category

Next step

Open the official page →

← Back to AI Papers