Model routing sends each incoming request to one of several AI models for processing. The choice depends on criteria such as task difficulty, required quality, cost and response time, and the component that makes the decision is called a router.
Services built on large language models use it to balance cost and quality, handing simple requests to smaller, cheaper models and harder ones to more capable models. It differs from the routing inside a mixture-of-experts model, which directs inputs among expert subnetworks within a single model rather than choosing among separate models.