A model router is a control plane for inference. It classifies a request, chooses an eligible model and records why that choice was made. The objective is not to use the cheapest model. It is to find the lowest-cost route that meets a measured quality and latency requirement.
There is a familiar failure: teams benchmark a classifier on clean requests and then assume it can route production traffic. Real traffic includes truncated requests, unfamiliar languages, missing context and tool calls that must preserve permissions.
Start with an evaluation set
Build a representative, versioned corpus of requests. Each item needs an expected capability, a required output format, a risk category and a quality rubric. Include ambiguous requests and samples the classifier should abstain from routing.
Evaluate routing decisions against a fixed-model baseline. Report correctness, cost per successful request, p50 and p95 latency, and the rate at which the router must fall back. Savings without a quality denominator are not a meaningful result.
Separate routing from recovery
A router chooses an upstream before the request. A circuit breaker monitors health and changes eligibility when error or latency thresholds are breached. Retries are bounded and must respect idempotency. These are different controls.
A cascade of retries can overload a struggling provider. Add time budgets, exponential backoff with jitter and a cap on total attempts. Every failed route should surface the selected provider, reason code and final disposition without exposing prompt contents unnecessarily.
Measure the whole transaction
Trace the intake, classification, inference, tool execution and synthesis stages under one request identity. Distinguish queued time from service time. Record the model version, token usage and pricing assumptions alongside output-quality measurements.
OpenTelemetry's generative AI semantic conventions provide a shared vocabulary for telemetry. Instrumentation is only useful when its attributes are checked against the actual SDK and provider behavior.
A falsifiable experiment
Compare at least two routing policies on the same held-out traffic. Freeze model versions, prompts and evaluation criteria for the comparison. Track the failure distribution as well as aggregate cost. A routing policy can win on median cost and lose on the worst ten percent of requests.
No universal savings multiplier is asserted here. The result must come from an independently repeatable benchmark on the intended workload.