Decision Models Cut Agent LLM Calls by 29.6%
Offloading bounded business decisions to a specialized model reduced agent LLM calls by nearly 30% and improved latency for SOP-based workflows.
Deep dive
- Bounded decisions (e.g., email intent) were offloaded to a smaller, specialized model.
- Combined optimizations resulted in a 26.6% reduction in API costs and 19.7% lower latency.
- The system uses an 'insertion point' where the harness evaluates if the agent has sufficient evidence to proceed.
- The pattern requires a fallback mechanism to the main LLM when the decision model's confidence is low.
Decoder
- SOP-Bench: A benchmark focused on Standard Operating Procedure (SOP) execution, common in business process automation.
- Bounded decision: A decision-making task where the set of possible outputs is predefined and limited, making it suitable for classification or narrow logic rather than open-ended text generation.
Original article
Offloading bounded decisions cut agent LLM calls by 29.6% on 360 SOP-Bench cases
Disclosure: I built Proceda, the SOP-execution harness used here, and ran these experiments.
I wanted to see how much work an agent could hand to a decision model when the answer is narrower than general-purpose text generation. I tested Qwen 3.8 27B with hosted Jev on 360 SOP-Bench cases across referral abuse detection, email intent, and patient intake.
I tried two insertion points:
- Step completion after tool calls. Jev checks whether the necessary tool calls have been made and whether the evidence is sufficient to finish the current step. If both yes probabilities reach 0.8, the harness advances without the follow-up LLM turn. Otherwise Qwen continues. Tools still execute.
- Bounded business decisions. For email intent, Jev receives the email, original policy, and allowed outcomes. A valid choice with probability at least 0.8 is accepted; uncertain decisions fall back to Qwen. The rest of the SOP still runs.
With both changes enabled:
- Main-LLM calls fell from 2,537 to 1,785: 29.6% fewer.
- Estimated execution API cost, including Jev, fell from $6.41 to $4.70: 26.6% lower.
- Mean case latency fell from 8.64s to 6.94s: 19.7% lower.
- Final tasks correct were 360/360, compared with 357/360 for Qwen alone.
There is a tradeoff worth separating out: completion checking alone saved 23.8% of LLM calls but finished 356/360 tasks correctly, versus 357/360 for the baseline. The combined result above is from this particular 360-case subset; it does not establish a general accuracy improvement. Including the final structured-plan preparation cost also reduces the estimated cost saving to 24.6%.
The useful architectural pattern is to supply evidence, define allowed choices, validate the result, and keep an LLM fallback. The implementation and experiment reports are public:
- Article: Integrating Decision Models into Agent Harnesses
- Code and reports: Proceda experiment branch
Which decisions in your agents have you successfully offloaded, and how do you validate confidence thresholds before allowing them to bypass the main LLM?
Fresh dev news, AI-digested daily. Never miss a trend at devoured.fyi