Ploba logo

Find the right AI tool for the job: apps, agents, APIs, MCP servers and datasets, explained plainly.

Get the AI Digest

Discover

  • Explore
  • Top Charts
  • Categories
  • Agents
  • MCP servers
  • Developer tools

Learn & community

  • Learn AI
  • AI Glossary
  • Blog
  • Hackathons
  • People
  • AI Digest

For makers

  • List your tool
  • Docs
  • Claim a listing
  • Advertise
  • Write for us

Company

  • About
  • Careers
  • Changelog
  • Trust
  • Security
  • Contact

© 2026 Ploba. All rights reserved.

  • Privacy
  • Terms
  • Cookies
  • Advertising
  • All policies
llms.txt
AI glossary
Development

Model Routing

Also called LLM router, Model router, AI gateway

Automatically sending each request to the AI model best suited to it, often a cheap, fast model for easy tasks and a stronger one for hard tasks.

What is model routing?

Model routing means choosing, for each request, which AI model should handle it. Instead of sending everything to one expensive model, a router sends simple requests, like short summaries or classification, to a small, fast model, and saves the most capable (and costly) model for the requests that need it.

How does it work?

Routers decide in different ways:

  • Rules: by task type, user plan, input length or language.
  • A classifier: a small model predicts how hard the request is and picks a model to match.
  • Fallbacks: if one model or provider is down, slow or rate-limited, the request goes to another.

Routing can be built into your own code, offered by an AI gateway that sits between your app and several providers, or done inside a product. Some assistants automatically switch to a reasoning model when a question looks hard.

What is it commonly confused with?

  • Mixture of experts. That routes tokens between parts of a single model. Model routing chooses between separate models.
  • An agent orchestrator. Orchestration splits one task across several agents. Routing picks one model per request.

Why does it matter?

Most requests in a real product are easy, so routing can cut inference costs and latency a lot without users noticing a drop in quality. The risk is sending a hard question to a weak model, so test routing decisions on real examples and watch quality after launch. Routing across providers also reduces your dependence on any single one.

Category
Development
Last reviewed
Nov 3, 2026
Also called
LLM router, Model router, AI gateway

Sources

  • Ong et al.: RouteLLM: Learning to Route LLMs with Preference Data
  • OpenRouter: Quickstart

Related terms

  • DevelopmentInference CostWhat it costs to run an AI model on each request, usually priced per million input and output tokens through an API.
  • DevelopmentLatencyHow long an AI system takes to respond, often measured as time to the first token and then output speed in tokens per second.
  • ModelsSmall Language ModelA compact version of a language model designed to run efficiently on devices with limited computational power.
  • ModelsReasoning ModelAn AI model optimized to spend additional computation time generating intermediate steps before answering complex problems.
  • Models · MoEMixture of ExpertsA model design that splits the network into many specialised sub-networks and uses only a few of them for each token, saving compute.
  • DevelopmentApplication Programming InterfaceA set of rules that allows different software applications to communicate with each other.

Read more on Learn

All articles
  • Illustration of developer integrating API code on a computer screenRoundups · Mar 26, 202610 Best AI APIs for Developers in 2026Compare the best AI APIs for developers to integrate language models, image generation, and audio into your applications.
  • Image showing a man holding phone with different AI ModelsRoundups · Apr 9, 202610 Best AI Models in 2026, Rated by UsersBased on crowdsourced blind tests, discover the 10 best AI models in 2026. Compare GPT-4o, Claude 3.5 Sonnet, Gemini, and top open-weight models.