Pretrain Once, Route Anywhere: Towards a Foundation Model for LLM Routing
Not on the map. Why?
Abstract (arXiv)
Large language model (LLM) routing aims to assign each query to the most suitable model from a heterogeneous candidate pool, improving the quality--efficiency trade-off of LLM inference. Existing routers are typically learned through local fitting: a router is optimized for a particular query workload and candidate pool, and often requires additional supervision or retraining as the routing environment changes. We ask whether LLM routing can instead be approached from a foundation-model perspective, learning a reusable routing capability that generalizes across tasks, candidate models, and deployment conditions. To this end, we introduce RouteFM, which learns to characterize anonymous candidate models from behavioral context and infer their target-specific capabilities, rather than binding routing decisions to fixed model identities or a single environment. Through episodic pretraining across heterogeneous routing environments, this capability can be reused by a frozen router and adapted to new environments through context alone. Experiments demonstrate transfer across changes in domains, modalities, candidate pools, and context budgets, with the largest gains when behavioral evidence is limited. On MMR-Bench, which is excluded from pretraining, RouteFM outperforms the strongest baseline by 2.23 quality points with only eight observations per candidate. These results support moving LLM routing from repeated local fitting toward a pretrain once, route anywhere paradigm. Our code is publicly available at https://github.com/LAMDA-Model-Reuse/RouteFM.
Key facts. No citing papers in the map yet (data through 14 Oct 2026). Builds on 23 of its 27 references that are in the map. First posted on arXiv 29 Sep 2026.
Builds on
23 of 27 references.
References · 23
- 2025Qwen3-VL Technical Reportcited by 2,793
- 2023FrugalGPT: How to Use Large Language Models While Reducing Cost and Improving Performancecited by 853
- 2024RouteLLM: Learning to Route LLMs with Preference Datacited by 682
- 2023LLM-Blender: Ensembling Large Language Models with Pairwise Ranking and Generative Fusioncited by 564
- 2024Hybrid LLM: Cost-Efficient and Quality-Aware Query Routingcited by 372
- 2024RouterBench: A Benchmark for Multi-LLM Routing Systemcited by 238
- 2024GraphRouter: A Graph-based Router for LLM Selectionscited by 165
- 2023AutoMix: Automatically Mixing Language Modelscited by 125
- 2025Universal Model Routing for Efficient LLM Inferencecited by 86
- 2025BEST-Route: Adaptive LLM Routing with Test-Time Optimal Computecited by 67
- 2025RouterEval: A Comprehensive Benchmark for Routing LLMs to Explore Model-level Scaling Up in LLMscited by 61
- 2024TensorOpera Router: A Multi-Model Router for Efficient LLM Inferencecited by 60
11 more
- 2024EmbedLLM: Learning Compact Representations of Large Language Modelscited by 48
- 2025IRT-Router: Effective and Interpretable Multi-LLM Routing via Item Response Theorycited by 40
- 2026LLMRouterBench: A Massive Benchmark and Unified Framework for LLM Routingcited by 38
- 2025OmniRouter: Budget and Performance Controllable Multi-LLM Routingcited by 35
- 2025Beyond GPT-5: Making LLMs Cheaper and Better via Performance-Efficiency Optimized Routingcited by 34
- 2025Causal LLM Routing: End-to-End Regret Minimization from Observational Datacited by 28
- 2025ICL-Router: In-Context Learned Model Representations for LLM Routingcited by 28
- 2026When Routing Collapses: On the Degenerate Convergence of LLM Routerscited by 10
- 2026Task-Aware LLM Routing with Multi-Level Task-Profile-Guided Data Synthesis for Cold-Start Scenarioscited by 10
- 2025INFERENCEDYNAMICS: Efficient Routing Across LLMs through Structured Capability and Knowledge Profilingcited by 8
- 2026From Sampled Outcomes to Capability Distributions: Rethinking Supervision for LLM Routingcited by 3
Built on by
Not cited yet.