What is LLM Routing?
LLM routing is the practice of directing each individual request to the most appropriate large language model out of several available, based on the task's complexity, cost sensitivity, latency requirement, or required capability.
Not every task needs the most expensive frontier model: a simple classification or a short reformatting task can be handled just as accurately by a small, fast, cheap model, while a request that requires deep multi-step reasoning or long-context understanding benefits from a larger model even at higher cost and latency. A routing layer sits in front of the model call and makes this decision automatically — sometimes with a lightweight classifier, sometimes with simple heuristics like input length or detected task type — rather than hardcoding every request to one model.
Routing also serves reliability and vendor-diversification goals beyond pure cost optimization: if a preferred model provider has an outage or hits a rate limit, a routing layer can fail over to an alternate model rather than the whole system going down. Good routing implementations track outcome quality per model per task type over time, so the routing rules can be tuned as new models are released or as a given model's performance on a task type drifts.
In practice with Neotask
Neotask's routing layer sends a quick intent-classification step to a small, fast model but escalates a complex multi-step planning task to a frontier reasoning model, keeping average cost and latency down without sacrificing quality on the tasks that actually need it. If a provider has an outage mid-session, routing fails over to an alternate model rather than stalling the user's request.
Related terms
- large-language-model
- mcp-client
- machine-learning
- long-running-workflow
- knowledge-base-ai
Plans
Free
$0/mo
Download without a card and start for free.
Individual
$50/mo
The full personal agent platform for one person.
Business
$100/mo
One company workspace with room to add your team.
Enterprise
$200/mo
Multiple workspaces and capacity for larger teams.
Continue