Abstract. Production AI systems pay frontier-model prices for questions that needed no intelligence at all. We describe deterministic-first routing: a pipeline in which structured intents resolve through direct computation at essentially zero marginal cost, and the expensive model engages only when deterministic resolution genuinely fails. The same mechanism that saves money also reduces error — arithmetic computed over records cannot hallucinate.
1. Two budgets, one mechanism
An assistant that serves a small business fields two kinds of request. "Udhaar Suresh 450" is a structured intent — a parser can decompose it fully and a ledger engine can execute it. "What should I stock more of before the festival season?" requires judgment across context no regex will hold. Paying the same frontier-model price for both is an economic absurdity — and worse, a correctness bug: the model may compute your total correctly 95% of the time, which is a polite way of saying it invents it 5% of the time.
2. The routing rule
Every incoming event is attempted by deterministic resolution first: parsers for known intents, direct queries over scoped state, rule-based composition of the reply. Escalation happens only on verified failure — when no deterministic path claims the input — and the model's draft still passes back through grounding before it can reach a user or an action. The expensive component is a fallback, not a default.
3. Cost and correctness move together
The pleasant surprise is that the two budgets are the same budget. The cheap path is also the path that cannot fabricate: a balance produced by summing ledger rows is right or it throws an error — it cannot be wrong in the fluent way models are. Deterministic-first is thus simultaneously a pricing strategy and a correctness guarantee for the vast majority of interactions.
4. Where it does not apply
Open-domain conversation, ambiguous extraction ("add what's in this photo"), and summarization still require a model — that is what escalation is for. The claim is narrower and stronger: in systems where most requests are structured, the model should be the exception. Systems where most requests are genuinely open-ended should not claim this efficiency.
References
- Chidakash, "Authority separation", Research Notes 001, 2025.
- Lewis et al., "Retrieval-Augmented Generation for Knowledge-Intensive NLP Tasks", NeurIPS 2020.