Own Weights

LLM routing: sending each request to the cheapest model

An LLM router sends easy requests to a cheap model and hard ones to a frontier model. Here is how to set that up and test what it does to accuracy and cost.

Updated

An LLM router sends each request to the cheapest model that can handle it. Easy requests go to a small, cheap model. Hard ones go to a frontier model. A cascade does this in order: it tries the cheap model first, checks the answer, and escalates only when the check fails.

How an LLM router decides which model gets a request

A router needs a signal that predicts difficulty. Three kinds are common. Rules are the simplest: request type, input length, which screen or feature sent the request, or a keyword. Rules are easy to read and audit, but they only guess. A small classifier learns the signal from labeled examples, so it can pick up patterns no rule covers. The third option is the cheap model’s own confidence. That signal only helps if it is calibrated. A model that sounds sure but is often wrong will send the wrong requests to the wrong place. Confidence scores and human review covers how to check that.

Start with rules. They make no model calls, and you can explain each one to a reviewer.

How do you route simple queries to a cheaper model?

Start from your logs, not from a guess about which requests are simple. Then work through these steps:

  1. Group a sample of real requests by type. Pull a few hundred from each type you see often.
  2. Write the correct answer for each sample. This is your test set. Without it, you cannot tell whether the cheap model is good enough.
  3. Score the cheap model on each type, using the same checks you will use in production.
  4. Send only the types that pass your bar to the cheap model. Keep the rest on the stronger model.
  5. Run the test again whenever you change the router or either model.

Begin with the type that has the most volume and the clearest right answer. Extraction, classification and yes-or-no checks are usually easier to score than open-ended writing. Testing an LLM on your own data shows how to build the set.

How does a cascade with a cheap model first work?

A cascade is a router that decides after the cheap call. The cheap model answers first. A check then decides whether to keep that answer or send the request to the frontier model. Good checks are mechanical: does the output parse as valid JSON, does every extracted quote appear in the source text, is the required field present, does a confidence score clear your threshold.

The cost math is simple, and it has one trap. Every escalated request pays for two calls: the cheap one that failed, and the expensive one that answered. Hypothetical example, with round numbers: say a frontier call costs 20 units and a cheap call costs 1 unit. Send 1,000 requests straight to the frontier model and you pay 20,000 units. Run a cascade where 800 requests pass the check and 200 escalate, and you pay 1,000 units for the cheap calls plus 4,000 units for the escalated ones, which is 5,000 units in total. In that case the cascade costs a quarter as much. If the check escalates 900 of the 1,000 requests, the same cascade costs 19,000 units, which is almost the same as sending everything upstairs. Measure the escalation rate before you count the savings.

Does model routing hurt accuracy?

It can. A request sent to the cheap model is a bet that the cheap model gets it right. When the bet loses, the user gets a worse answer, and a router that never checks its own decisions will not notice. So measure the whole system, the router plus both models, on the same test set you would use for either model alone.

A router is a classifier: it reads a request and picks one label, the model that should answer it. Banking77 tests that skill on 1,000 customer messages and 77 intents, and there our fine-tuned model scored 93.3%, ahead of every Claude model we ran, the best of which was Claude Opus 5.5 at 87.6%. Bank intents are not your request types, so score any router or cheap model on labeled requests from your own logs before you trust it. Full results. A trained model can handle the common cases of a narrow task well. It will not handle every hard case.

When to use a cheap model vs an expensive model

Use a cheap model for a task that repeats, has a narrow scope, and produces output you can check. Extraction and classification are common examples. You also need enough labeled examples to test against, and enough volume that the saved tokens matter.

Keep the expensive model for open-ended reasoning, for rare or unusual requests, and for work where the input varies a lot from one call to the next. If you have no test set, do not build a router yet. You have no way to set a threshold or prove the cheap answers are right. Low volume is another case where routing may not pay. The engineering time to build, test and maintain a second model path can cost more than the tokens you save.

Own Weights works on one narrow case at a time. It fine-tunes an open-weight model for one high-volume task a company now sends to a frontier API, tests it against the current model on the company’s own data, and serves it in the customer’s cloud account or on-prem. The customer owns the weights. The trained model is one option in a router, and it goes into production only when it beats the current model on that test. Check current prices on OpenAI, Google and other providers’ pricing pages before you compare costs. You can read more at Own Weights.

If you want to see which of your calls could move to a cheaper model, the free AI cost audit lists them by model and estimated cost, and it runs on your own machine.

Questions

What is an LLM router?

An LLM router picks a model for each request based on a signal such as request type, input length or a classifier. Easy requests go to a cheaper model and hard ones go to a stronger one. It only saves money if the cheap model passes your own test on those requests.

Does model routing hurt accuracy?

It can, when the router sends a hard request to a model that cannot handle it. Score the whole system, router and models together, on labeled examples from your own traffic. A router that is never checked against correct answers can hide its errors.

When to use a cheap model vs an expensive model?

Use a cheap model when the task repeats, the scope is narrow and the output can be checked. Keep the stronger model for open-ended or rare requests. If you have no test set yet, build one before you build a router.

What is an LLM cascade with a cheap model first?

A cascade calls the cheap model first, runs a check on its answer, and escalates to a stronger model only when the check fails. Track the escalation rate, because every escalated request pays for two calls. Savings can disappear if most requests escalate.