R2-Router: A New Paradigm for LLM Routing with Reasoning
Abstract
Lay Summary
Modern AI offers many language models, from small and cheap to large and expensive. "Router" tools automatically pick a model for each question to get good answers at low cost, but today's routers assume every model has a single fixed cost, so they often discard powerful models as too expensive. We observed that a model's answer quality and its cost both depend on how long its answer is, and that this length can be controlled simply by telling the model how many words to use. Our method, R2-Router, treats answer length as an extra dial it can turn: instead of only choosing which model to use, it also chooses how long that model's answer should be. This reveals efficient options others miss—for example, a strong model giving a brief answer can beat a weak model at the same cost. We also built R2-Bench, the first dataset recording how each model's quality changes as its answers grow longer or shorter. In experiments, R2-Router matches existing routers' quality at one-fourth to one-fifth of the cost, and ranks first on a public router-comparison leaderboard. By lowering the cost of high-quality AI, this work helps make advanced AI more affordable and energy-efficient.