TokenRouter: Efficient Serving System for Token-Level LLM Routing
cs.CL
Submitted: 2026-10-08
Updated: 2026-10-08
Comments: Accepted by NeurIPS 2026
Code: https://github.com/thu-nics/TokenRouter
License: http://creativecommons.org/licenses/by/4.0/
The gist: Large language model (LLM) routing distributes inference work across different models, advancing the cost-quality Pareto frontier of LLM serving.
Terminology
Abstract
Large language model (LLM) routing distributes inference work across different models, advancing the cost-quality Pareto frontier of LLM serving. While coarse-grained routing at the session or query level has been widely adopted in production systems, recent algorithmic work shows that fine-grained token-level routing can yield substantial efficiency and quality gains. However, efficiently serving token-level routed inference poses significant challenges to existing systems. Built on single-LLM assumptions, current systems suffer from severe step desynchronization and frequent batch admission delays under token-level routing, and they also impose high implementation complexity on developers. To address these challenges, we design TokenRouter, an efficient and developer-friendly serving system for token-level routed LLM inference. TokenRouter follows the principle of request-centric programming, model-centric execution: developers describe routing logic from the perspective of a single request, while the runtime launches a subserver for each LLM and dispatches requests asynchronously. Each subserver employs a delayed-batching scheduler, whose optimal hyperparameters are derived from a mathematical throughput model of the system. Across diverse routing algorithms, workloads, and model pairs, TokenRouter achieves 2.01-64.15x higher decoding throughput than existing systems, substantially advancing the serving efficiency of token-level LLM routing. Our code is available at https://github.com/thu-nics/TokenRouter.
Sources
- OpenAI GPT-5 System Card
- RouteLLM: Learning to Route LLMs with Preference Data
- Think-at-Hard: Dynamic Looped Transformers for Improved Reasoning
- R2R: Efficiently Navigating Divergent Reasoning Paths with Small-Large Model Token Routing
- RelayLLM: Efficient Reasoning via Collaborative Decoding
- Collaborative decoding of critical tokens for boosting factuality of large language models
- TARo: Token-level Adaptive Routing for LLM Test-time Alignment
- Token-Level LLM Collaboration via FusionRoute
- CITER: Collaborative Inference for Efficient Large Language Model Decoding with Token-Level Routing
- Cache-to-Cache: Direct Semantic Communication Between Large Language Models
- FrugalGPT: How to Use Large Language Models While Reducing Cost and Improving Performance
- Hybrid LLM: Cost-Efficient and Quality-Aware Query Routing
- Eagle: Efficient Training-Free Router for Multi-LLM Inference
- RouterBench: A Benchmark for Multi-LLM Routing System
- RouterEval: A Comprehensive Benchmark for Routing LLMs to Explore Model-level Scaling Up in LLMs
- GraphRouter: A Graph-based Router for LLM Selections
- Mixture-of-Agents Enhances Large Language Model Capabilities
- ToolOrchestra: Elevating Intelligence via Efficient Model and Tool Orchestration
- SplitReason: Learning To Offload Reasoning
- R-Stitch: Dynamic Trajectory Stitching for Efficient Reasoning
Related papers
- Exploring Solution Divergence and Its Effect on Large Language Model Problem Solving
- Ishigaki-IDS-Bench: A Benchmark for Generating Information Delivery Specification from BIM Information Requirements
- Subliminal Steering: Stronger Encoding of Hidden Signals
- MedStruct-S: A Benchmark for Key Discovery, Key-Conditioned QA and Semi-Structured Extraction from OCR Clinical Reports
- The End of Transformers? On Challenging Attention and the Rise of Sub-Quadratic Architectures
- Untangling the Mechanisms of Misleading Context in Medical Question Answering