Confidence thresholds fitted on your own agent's traces, not generic accuracy, are what decide whether a small router model helps or hurts. Practitioners building tool-using agents can cut costs by training a small decision model on trajectories their own agent actually reaches, mistakes included. Compared with routing every tool call blindly, the thresholded approach preserved success within 3 points.
#AgentDecision-4B
The key insight is training the decision model on trajectories generated from the agent's own mistakes, which lets a 4B model outperform the larger Jev on out-of-distribution tasks. Builders running agent harnesses with high token bills can apply the fitted-threshold cascade to shave costs without touching task outcomes. The paper is hosted on DAIR.AI's open academy site, so the full write-up is freely available.
The non-obvious trick is labelling training data with the agent's own post-mistake states, which makes the small decision model generalise beyond familiar trajectories. Builders running agentic pipelines can replicate this distillation-and-cascade pattern with any open 4B model to slash inference cost without changing outcomes. Compared with fixed-threshold routing, fitting the confidence threshold on the agent's own trajectories is what preserves task results.