AI model routing: a quality and cost contract instead of a provider leaderboard

Sending some tasks to a less expensive model can improve process economics only when the organisation can identify which work tolerates that choice. Routing is a production decision. It changes the distribution of quality, latency and risk, so it needs its own evaluation set, owner and rollback path.

Start with task classes, not model names

Segment work by the capability required and the consequence of failure. Message classification, field extraction, multi-document synthesis and drafting a commercial argument are different tasks. They may also require different context sources, permissions and completion deadlines. A single general benchmark ranking does not describe their suitability for your company.

Define the minimum acceptable result for each class. Include format, completeness, data correctness and abstention when evidence is missing. A task affecting a company commitment may permit the model only to prepare a draft for approval. The router must not silently remove that boundary.

Validate the routing rules themselves

An initial router can use explicit rules based on language, document length, task type or available fields. That makes a selection easier to explain. A more sophisticated classifier adds its own failure modes and cost, so it should demonstrate an advantage over the simpler policy.

Do not treat model-generated confidence as a calibrated probability of correctness. If routing uses an evaluation score, test its behaviour on held-out examples and high-consequence segments. Borderline cases may deserve a fixed expert path rather than successive attempts across several models.

The policy should identify what happens when a request cannot be classified. Defaulting every unknown case to the most powerful model can hide a broken taxonomy and create unbounded expenditure. A controlled hold or human review may provide a better operational outcome.

Fallback changes behaviour

Switching providers during an outage can change tool handling, instruction interpretation and output structure. A fallback therefore needs the same quality and data-access contract. If that cannot be established, waiting, reducing functionality or handing work to a person may be the correct response.

Record the selection path: router version, task class, actual model, fallback reason and attempt count. This permits calculation of the real case cost. A cheap first call does not save money when it repeatedly triggers expensive review and reprocessing.

Measure quality by segment

MeasureWhy it matters
Critical errors by classAverages can hide an unacceptable segment
Escalation rateExposes the cost of the additional path
Cost per correct caseIncludes every attempt and review
Change in p95 latencyReveals the long tail of repeated calls

Compare the router with a credible alternative, such as one model or a simpler policy. The evaluation dataset should not consist exclusively of examples used to tune the rules. Retain incorrect routing decisions and examine whether the cause was model selection, missing information or a poorly defined task contract.

Release and ownership

First replay routing decisions on existing cases without altering business consequences. Then release to a limited cohort and compare both expenditure and outcome. The process owner should accept allowable quality differences; the platform owner should approve limits and outage responses. Make both decisions visible in the release record.

Define the condition for disabling routing and the path back to the last accepted policy. Avoid changing routing, prompts and knowledge sources simultaneously when that would obscure the cause of a regression. Release granularity is part of risk control.

Keep routing separate from authorisation

A router chooses which model prepares an output; it should not expand data access. If an expert path exposes additional tools, those tools must still check the user's permissions and case scope. Difficulty classification is not permission to execute a riskier operation.

Test unsupported languages, oversized documents and cases whose classification changes after a routing update. Acceptance evidence should combine each path's cost and error distribution with its workload. When a difficult class has too few examples, expose uncertainty rather than presenting a reassuring overall average. Narrowing automation may be preferable to adding another selection layer.

After launch, compare incoming task distributions with the evaluation sample. Another sales channel or language can shift work into a class with weaker quality evidence. The router may remain technically healthy while its original justification no longer applies.

Define who responds to that shift by collecting examples, adding review or narrowing a path. Automatically raising model expenditure is not a universal remedy. First establish whether the task became harder, the data deteriorated or the business meaning of the input changed. The response should address that cause rather than merely conceal its symptoms.

Match models to the process with Geekforce

We evaluate model quality and economics against real business tasks. Together, we can design routing with a business rationale, measurable acceptance criteria and a controlled response to unavailable services.

Sources and further reading

Don't just take our word for it — read what our clients say on independent platforms.