An LLM router is a layer that sits between your users and your AI models and decides, for each request, which model should answer it. A password-reset question goes to a small, fast, inexpensive model. A multi-step analysis of a client’s network goes to the most capable model you have. Nobody picks a model from a dropdown; the router does it per request.
The short version: most requests do not need the most expensive model. In benchmark tests by the RouteLLM and FrugalGPT teams, trained routers kept answer quality close to the strongest model at a fraction of its cost. For an MSP, routing is what keeps the cost of a managed AI service tied to the work, not to the most expensive model’s price.
How does an LLM router work?
Every router does the same three things:
- Read the request. The router looks at the prompt, and sometimes the conversation so far, the attached files or the tools the task needs.
- Predict which model will do well enough. It estimates whether a cheaper model can answer this request at the quality you need, or whether it needs a stronger one.
- Send it. The request goes to the chosen model, and the answer comes back to the user as if one model had answered everything.
Anthropic’s engineering guide to agents describes routing as a workflow that “classifies an input and directs it to a specialized followup task”, and gives this example: sending easy, common questions to smaller, cost-efficient models and hard or unusual questions to more capable ones (Anthropic, Building effective agents). Our agentic workflows guide covers routing alongside the other four common patterns.
Types of LLM routers
| Router type | How it decides | Strength | Weakness |
|---|---|---|---|
| Rules | Fixed rules: task type, file type, prompt length, keywords | Predictable, easy to audit | Misses requests that break the pattern |
| Classifier | A small model trained to predict which model will answer better | Learns from real traffic | Needs labelled data and retraining as models change |
| Preference-trained | Learns from human votes on which of two answers was better (the RouteLLM approach) | Matches what people actually prefer | Depends on how close your traffic is to its training data |
| Cascade | Calls models in turn and stops at the first answer that passes a reliability check (FrugalGPT) | Pays for later models only when earlier answers fall short | Slower on hard requests, which run on more than one model |
Production routers often combine these: rules for the obvious cases (a request that needs image input can only go to a model that reads images), and a trained router for everything else.
What does the research show?
Two studies measured the savings directly.
RouteLLM (LMSYS, 2024). The team trained four routers on human preference data from Chatbot Arena: a similarity-weighted ranking router, a matrix factorization model, a BERT classifier and a causal LLM classifier. Routing between a strong and a weaker model, they report cost reductions “of over 85% on MT Bench, 45% on MMLU, and 35% on GSM8K as compared to using only GPT-4, while still achieving 95% of GPT-4’s performance” (LMSYS, RouteLLM). The paper’s abstract puts it more conservatively: routing “significantly reduces costs-by over 2 times in certain cases-without compromising the quality of responses” (Ong et al., arXiv 2406.18665).
FrugalGPT (Stanford, 2023). This study tested a cascade. In the paper’s words, a cascade “sends a query to a list of LLM APIs sequentially” and returns the first answer whose reliability score clears a threshold, so later models in the list run only when earlier answers are not reliable enough. FrugalGPT learns which combination of models to try for each query, and the authors report that it “can match the performance of the best individual LLM (e.g. GPT-4) with up to 98% cost reduction or improve the accuracy over GPT-4 by 4% with the same cost” (Chen, Zaharia and Zou, arXiv 2305.05176).
Both studies used benchmark sets and the models of their time, so treat the percentages as evidence of the shape of the savings, not a forecast for your traffic. The finding that holds up: a large share of everyday requests can be answered well by a cheaper model, and a good router finds them.
Why does routing matter for MSPs?
- It decides your margin. If every request goes to the most expensive model, your cost per client is set by that model’s price. Routing moves routine requests to cheaper models, which is where the margin on a managed AI service comes from.
- It makes uncapped plans affordable. Routing lowers the average cost per request, which is what lets a platform leave everyday work without per-seat message limits.
- It protects you from one vendor. A router that can send work to Claude, GPT, Gemini or an open-weight model can also route around one vendor’s outage or price increase.
- It fits agents. An agent run makes many model calls: planning, tool calls, reading results, writing the answer. Routing each step separately means only the hard steps pay for the strongest model.
Questions to ask an AI platform about model routing
- Which models can the router choose from, and from how many vendors?
- Does it route per request, or per conversation?
- Can a user or administrator pin a specific model when they need one?
- Are agent steps routed separately, or does a whole run use one model?
- What happens when a model vendor has an outage?
- Are usage limits per seat, or does the platform rely on routing to keep cost down?
- Do routed calls carry the same data protections, such as zero data retention, on every model?
- Can you see which model answered each request in usage reports?
How does Synthreo route models?
The model catalog includes Claude, GPT and Gemini models alongside open-weight models such as DeepSeek, GLM, Kimi, Qwen and MiniMax. The workspace's Auto model routes each task to a model that fits it, which is how agentic execution and the Auto model stay uncapped today.
Model calls run with Zero Data Retention, and Synthreo does not use customer data to train models.
MSP partners buy at wholesale and set the retail price for each client, with per-client usage reports and spend caps per automation if a client wants a ceiling. More.
Agent runs use the same catalog:
Agentic execution takes a plain-English goal, breaks it into steps, runs the code in an isolated Linux sandbox, recovers from failures and hands back finished work. Jobs are durable: a user can close the laptop and come back to the result. More.
The agentic execution page shows what an agent does with those models. To see routing on your own work, book a demo or start a free trial.
Frequently Asked Questions About LLM Routers
Q: What is an LLM router? A: An LLM router is a layer that decides, for each request, which large language model should answer it. It sends simple requests to smaller, cheaper models and complex requests to more capable ones, so you get close to the best model’s quality at a lower average cost.
Q: How much can an LLM router save? A: It depends on your traffic. On benchmarks, the RouteLLM team reported cost reductions of over 85% on MT Bench, 45% on MMLU and 35% on GSM8K against using only GPT-4, while keeping 95% of its performance. FrugalGPT reported up to 98% cost reduction while matching GPT-4’s performance.
Q: What is the difference between routing and a cascade? A: A router picks one model before the request runs. A cascade calls models one after another and stops at the first answer that passes a reliability check, which saves money when the cheaper models come first. Hard requests take longer, because they run on more than one model.
Q: Does model routing lower answer quality? A: A well-trained router keeps quality close to the strongest model because it only sends a request to a cheaper model when that model is likely to answer it well. Rules for known cases and the option to pin a model for sensitive work reduce the risk further.
Q: What is RouteLLM? A: RouteLLM is an open-source framework from LMSYS for serving and evaluating LLM routers. Its routers learn from human preference data collected on Chatbot Arena and choose between a stronger and a weaker model for each request.
Sources
- Isaac Ong et al., RouteLLM: Learning to Route LLMs with Preference Data, arXiv 2406.18665, June 26, 2024.
- LMSYS, RouteLLM: An Open-Source Framework for Cost-Effective LLM Routing, July 1, 2024.
- Lingjiao Chen, Matei Zaharia and James Zou, FrugalGPT: How to Use Large Language Models While Reducing Cost and Improving Performance, arXiv 2305.05176, May 9, 2023.
- Anthropic, Building effective agents, December 19, 2024.
All read November 28, 2026.