← Engineering notes
Cost & architecture · Advisory note

Most of your agent’s model calls are decisions: stop paying frontier prices for them

Inside a typical production agent loop, the vast majority of LLM calls make narrow decisions: route this ticket, check whether a tool call is safe, score urgency, verify formatting. Only a fraction require open-ended reasoning, yet most teams send every single call to a frontier model. Here is how to split the two, cut latency and token spend, and keep control flow in code.

For: CTOs, heads of engineering, finance leads watching AI spendRelated engagement: AI Opportunity Sprint, Agent MVP, Managed AI Operations

Two fundamentally different kinds of model call

Inspect the trace of almost any multi-step agent and you will find two distinct workloads. Reasoning calls synthesise messy context, plan multi-step actions and draft nuanced prose. Decision calls classify an intent, pick a route, check a policy constraint or grade whether an output matches a schema. Across the production agents we build and audit, narrow decision calls outnumber open-ended reasoning calls by four or five to one.

When teams route every step of that loop through a frontier model, both cost and tail latency compound on each iteration. Small language models, fine-tuned encoders and calibrated decision models (such as TypeSafe’s Jev, currently in early access) can execute those structured decisions at a fraction of the cost and latency, provided the surrounding architecture is designed to bound their risk.

Why single-model agent loops burn budget and drift

Five architectural habits keep token spend high while leaving decision quality unmeasured.

PRACTICEPROBLEMCONSEQUENCE
Calling one frontier model for every stepPaying reasoning prices and latency for binary or 5-way classificationsUnit economics break as soon as traffic scales
Bundling multiple criteria into one prompt (“is this safe to auto-resolve?”)The model blends three distinct policy checks into one opaque guessBusiness logic is hidden inside prompt phrasing instead of tested code
Using a single confidence threshold everywhereA harmless read-only lookup and an irreversible payout are gated the same wayThe system is either too timid on routine work or reckless on high-stakes actions
Never benchmarking router accuracy on its ownA misrouted ticket rarely throws an exception; it just produces a slow, second-rate answerClassification drift goes unnoticed for months
Letting a classifier authorise high-risk actions directlyAdversarial text in the ticket can nudge a model’s probability over the lineA swayed classification executes an unauthorised tool call

Seven steps to separate decisions from reasoning

We decompose the agent loop so small, fast models handle structured classification while deterministic code owns every permission and routing boundary.

  1. Audit a week of production traces. Tag every LLM call as either open-ended reasoning or a structured decision to see immediately what share of your token bill and latency can move.
  2. Move the four high-frequency decision points to small calibrated models. Route intent classification, pre-execution guardrail checks, output schema grading and ticket triage to a fast classifier, falling back to a frontier model only when confidence is low.
  3. Keep hard authorisation in application code. A classifier may score intent or urgency, but deterministic `if` statements enforce account ownership, session state and monetary caps.
  4. Decompose bundled prompts into atomic questions. Ask the classifier single, testable questions and combine the boolean or numeric answers in code where weights are explicit.
  5. Calibrate thresholds to the cost of an error. Allow a read-only knowledge lookup to proceed at 0.6 confidence, require 0.95 for an automated account change, and escalate anything in between.
  6. Benchmark routers continuously against a labelled golden set. Treat every model router as a production classifier with its own precision, recall and drift alerts.
  7. Treat classifier inputs as untrusted user data. Run small decision models alongside your architectural security controls, never as a replacement for them.

Our recommendation

Pull one week of traces from your busiest agent and count how many calls simply classify, route or validate. If more than half are narrow decisions, you are overpaying in both cost and latency, and the architectural fix takes weeks rather than quarters.