Model routing desk
Short clean invoice
Source record
- Public model eligibility: approved
- printed English
- 1 page
Decision
Route to the compact endpoint
Inspect the reasoning
It meets the task-specific quality and timing thresholds for this document class. Record the route and model version.
Restricted handwritten note
Source record
- Private processing required
- handwriting
- uncertainty high
Decision
Route to private review
Inspect the reasoning
Exclude external endpoints first. If no permitted model passes the handwriting gate, hold the note for the assigned reviewer.
Which workloads can move to another model without changing the user decision?
- Bring to discovery
- Bring task mix, input lengths, quality thresholds, latency limits, region restrictions and the existing fallback behavior.
- Evidence to proceed
- Test difficult cases and outages under the same approval rules. Keep the current route when a cheaper model cannot meet a material constraint.
What the engagement delivers
A reproducible benchmark, a model eligibility matrix and a tested routing policy that records model version, selected route and reasons for escalation.
Implementation decisions
Single endpoint or task-based routing?
Single endpoint
One qualified endpoint keeps operations simple and avoids routing overhead on a narrow workload.
task-based routing
Routing by eligibility and task class can lower cost or improve quality but adds fallback paths and calibration work.
Use paired comparisons on identical records and review the disagreements. Strong overall performance can conceal a weakness on Arabic names, handwriting or unusually long forms. Put a decision owner and an expiry date on each benchmark result.
Where to start in your organization
A small team
Compare two models on the same small batch and include review time. Use one endpoint if routing adds little measurable value.
Across an enterprise
Benchmark languages, document length and data classes separately. Record version, price assumptions and results for degraded-provider simulations.
Agree the data locations and providers permitted for each request. Build a task benchmark with representative document lengths, languages and uncommon formats. Give candidates identical inputs and define ground truth before examining which model produced an answer.
Review a failure or missing evidence
Exception to inspect
When a strong benchmark model is prohibited for the document's data class, exclude it before scoring latency or cost.
Run an acceptance test
Replay realistic bursts and idle intervals. Record accepted pages per hour, the slowest routine requests, failed retries, reviewer effort and cost for the complete billing period. Recheck results after a model, hardware, workload or provider-price change.
What happens when an eligible model is unavailable?
Choose a fallback with the same privacy permissions and enough evidence for the task. When no qualifying route remains, hold the job or assign a human review. Include rejected requests, retries and reviewer corrections in the cost of each route.
Who owns release and recovery?
Decision owner
The data owner approves endpoint eligibility. The service owner accepts score thresholds, routing changes and fallback behavior.
Acceptance criteria
The operator can replay a routing decision, verify that an ineligible endpoint receives no data, and demonstrate the approved fallback when an endpoint is slow or unavailable.
Trace the source and destination
Source evidence
Build a replay from representative page counts, scan quality, language, request lengths, arrival times and permitted processing locations. Keep cold periods as well as the morning peak. Identify the deadline and the business consequence of letting documents queue.
Reviewed handoff
Benchmark the current model, a smaller alternative and staged processing on identical document batches. Separate setup time from steady operation and include human review required to correct errors. The service owner can choose a different route for a short clean document and a difficult scan.