Researchers evaluated 36 open-weight models on a software engineering benchmark. Recent small models are closing the accuracy gap with large ones. The gap is concentrated around hard tasks that small models fail to solve. Small models perform well on easy and medium complexity tasks. A hybrid inference strategy tries a small model first and escalates to a large one only when needed. This approach achieves up to 33% reduction in total GPU-hour costs. It also achieves 16.4% cost reduction on SWE-bench Verified without sacrificing accuracy. The cascade nearly matches an oracle-style task router. The method offers a practical path for cost-aware coding agents in production.
What changed
Coding agents relied solely on large models for all tasks, incurring high GPU costs.
What it unlocks
Deploying cost-aware coding agents in production without complex learned task routers.
- 36 models evaluated
- 33% reduction in GPU-hour costs
- 16.4% cost reduction on SWE-bench Verified
Sources