← Back to Paper Radar

TokenRouter: Efficient Serving System for Token-Level LLM Routing

Tianyu Fu, Tengxuan Liu, Ruoxi Wang, Yixin Dong, Yi Ge, Yichen You, Yu Wang
2026

Reading guide · Based on sections of the original paper

The authors present TokenRouter, a serving system built on SGLang for token-level LLM routing. Developers write per-request route/send/receive functions, while separate per-model subservers run asynchronously with a delayed-batching scheduler whose threshold is chosen by a Markov-chain throughput model.

Why read this

Read this if you serve or study token-level routing methods such as R2R, CITER, Co-LLM or R-Stitch and want to know how much of their theoretical efficiency survives real serving.

What the authors found

  • At concurrency 4, the authors tested 5 algorithms on 3 workloads (15 combinations). TokenRouter reached 2.01–64.15× the throughput of the stronger baseline, either the official code or the authors' own SGLang standard-serving baseline. When maximum output grew from 2,048 to 8,192 tokens, TokenRouter's throughput held steady, while standard serving lost 58.1–85.2%. 5.2 Serving Efficiency
  • In the R2R ablation at concurrency 8, CUDA-graph engineering alone accounts for a 1.71× gain over official R2R (230.79 vs 134.9 token/s). Asynchronous execution and delayed batching then raise the total to 372.48 token/s, or 2.76×. At concurrency 1, those two scheduling features add nothing. 5.3 Ablation Study
  • The throughput model assumes stationary, request-independent routing with geometric run lengths. In a validation on R2R (p=0.35, step latencies of 6.0 and 27.9 ms), the threshold it predicts as optimal matched the measured optimum at every concurrency tested. D.4 Empirical Validation of the Throughput Model

Main limitation

The headline gains are measured against routing baselines, not against simply serving the large model. Under the original algorithm settings at concurrency 4, TokenRouter's Co-LLM throughput (76.02 token/s) and R-Stitch throughput (140.58) fall below LLM-only serving (134.79 and 150.41), although latency is lower. The authors also note that the throughput model depends on a geometric-distribution assumption. 5.2 Serving Efficiency

Where to start

5.2 Serving Efficiency · Table 2 compares the LLM-only, official-code and TokenRouter rows to see when token routing actually beats a single model on throughput, TTFT and latency.

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.

Generated automatically from paper sections on 2026-11-28.