Model routing
Spend on the steps that need it.
We break a recurring task into stages, test which ones need a model, and route harder cases to a more capable model or a person. Your team can see what each completed task costs.
See a workflowExample workflow
Turning incoming requests into a work queue
Rules first
Ordinary code reads form fields, checks for duplicates, and routes requests with a known category. Those steps use no model tokens.
Small model
A lower-cost model reads short free-text requests and proposes a category. The workflow checks that the category exists and all required fields are present.
Exception review
Ambiguous or conflicting requests go to a more capable model within a set budget. Cases that still need judgment go to a person with the original request attached.
Implementation decisions
- Set a quality threshold
- We label representative requests together and test the routes against those examples. A result can pass a format check and still have the wrong category, so we also review a sample of completed work.
- Count the full run
- The cost of a routed task includes every model call, retry, and escalation. We compare total usage cost per accepted result and track review time alongside it.
- Choose a stopping point
- An extra model call adds time and expense. We set a retry limit, a spending limit, and a human review path. The right thresholds depend on how often the task runs and what a mistake costs.
What your team learns
Your operators follow sample requests through each route, inspect why a request escalated, and compare cost and quality before changing a routing rule.
Price a routed workflow