mlsanityData to 24 Nov 2026

Reducing Inference Cost of Coding Agents with Timeout Cascades

arXiv 2611.24324 ↗Submitted 18 Nov 2026Announced 19 Nov 2026cs.AI cs.SEcited by 0

On the map: LLM agents and tool use → Software engineering coding agents also fits: General LLM agent frameworks and benchmarks

Abstract (arXiv)

AI coding agents have become one of the most popular applications of large language models. Yet, agentic AI comes at the cost of a tremendous amount of GPU compute resources, which limits its profitability and its viability at scale. In this paper, we investigate whether smaller, cheaper models can cut this cost without sacrificing accuracy. 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. We investigate the structure of this gap and find that the gap is highly concentrated around hard tasks that small language models fail to solve while achieving remarkably good accuracy for easy and medium complexity tasks. Following this observation, we show that 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. Strikingly, this simple cascade nearly matches an oracle-style task router, highlighting a practical path for deploying cost-aware coding agents in production without complex learned task routers and with minimal engineering complexity.

Key facts. No citing papers in the map yet (data through 24 Nov 2026). Placed in Software engineering coding agents, one of 16 directions in LLM agents and tool use. Builds on 13 of its 15 references that are in the map. Submitted 18 Nov 2026, announced 19 Nov 2026.

Builds on

13 of 15 references.

Closest ancestors · 2

Same direction, newest first

  1. 2024OpenHands: An Open Platform for AI Software Developers as Generalist Agents23 Jul
  2. 2024SWE-agent: Agent-Computer Interfaces Enable Automated Software Engineering6 May

Other references · 11

  1. 2023SWE-bench: Can Language Models Resolve Real-World GitHub Issues?cited by 3,871
  2. 2022Fast Inference from Transformers via Speculative Decodingcited by 1,853
  3. 2023FrugalGPT: How to Use Large Language Models While Reducing Cost and Improving Performancecited by 1,000
  4. 2024RouteLLM: Learning to Route LLMs with Preference Datacited by 809
  5. 2024Hybrid LLM: Cost-Efficient and Quality-Aware Query Routingcited by 421
  6. 2025Small Language Models are the Future of Agentic AIcited by 299
  7. 2024Small Language Models: Survey, Measurements, and Insightscited by 121
  8. 2025Which Economic Tasks are Performed with AI? Evidence from Millions of Claude Conversationscited by 115
  9. 2025BEST-Route: Adaptive LLM Routing with Test-Time Optimal Computecited by 78
  10. 2026When More Thinking Hurts: Overthinking in LLM Test-Time Compute Scalingcited by 23
  11. 2026Mitigating Overthinking in Large Reasoning Models via Difficulty-aware Reinforcement Learningcited by 7

Built on by

Not cited yet.

Similar, not cited

Close in wording, no citation either way

  1. 2026ISO-Bench: Can Coding Agents Optimize Real-World Inference Workloads?
  2. 2026AgentCompress: Task-Aware Compression for Affordable Large Language Model Agents
  3. 2025Reducing Cost of LLM Agents with Trajectory Reduction
  4. 2026Steer, Don't Solve: Training Small Critic Models for Large Code Agents
  5. 2026Beyond Accuracy: How Quantization Affects Coding Agents
  6. 2026CompressionBench: How can your coding agents compress LLMs?
  7. 2026Cross-Model Cross-Language AI Coding Agent Performance: Accuracy and Speed of Parallel CLRS Algorithms
  8. 2026Scaling Agentic Verifier for Competitive Coding