AIToday
Large Language ModelsQiita 機械学習Published: Oct 13, 2026, 01:00 JST

Tsinghua's TokenRouter switches small and big LLMs token by token

Tsinghua's TokenRouter switches small and big LLMs token by token

3 Key Points

  1. What happened

    Tsinghua University published TokenRouter on October 8, 2026 as an inference server that lets small and large models like Qwen3-0.6B and Qwen3-32B trade turns mid-answer, with throughput 2.01–64.15x faster than existing token-routing setups.

  2. Why it matters

    It turns model routing from a one-time decision into a running one, so the large model is called on the hardest tokens only — an independent reproduction found 28.3% of tokens went to Qwen3-32B and the run took about 56% of the time of Qwen3-32B alone.

Not sure about something? Ask the AI

Questions and answers are published on this page.

Summaries like this, in your inbox every morning.

Context & Analysis

TokenRouter arrives as an answer to a practical limit. Request-level routing, where a decision model assigns each incoming question to one model at the start, became common thanks to tools like RouteLLM and OpenAI's Decisions API, but it commits the whole answer to one model even when only a small part is genuinely hard. Token-level routing — deciding per token — was already proposed by methods such as R2R, CITER, Co-LLM and R-Stitch, but existing servers assume a single model handles each request end to end, so switching models mid-answer wasted time on step misalignment, batch admission waits and cache management.

The paper's framing is "request-centric authoring, model-centric execution." TokenRouter keeps a sub-server per model, adds a third loop for passing requests between them, and avoids shipping KV caches across models, instead sending only the tokens the other model has not seen. The paper also adds delayed batching so the large model can accumulate requests before processing, with a math model that predicts the optimal threshold B per concurrency level.

An independent Mac reproduction of the R2R flow with Qwen3-0.6B and Qwen3-32B, on 30 MATH-500 problems, found 23 correct versus 20 for the small model alone and 27 for the large model alone, with the large model writing 28.3% of tokens and the run taking about 56% of the large-model-only time. Two findings stand out: the tokens routed to the large model were reasoning-direction words like "since," "But" and "Wait," not numbers; and the speedup collapsed on a single Mac versus a decision-model request router.

FAQ
What hardware does TokenRouter actually require?
It is built on SGLang 0.5.1 and depends on PyTorch 2.8, CUDA and FlashInfer, so it is NVIDIA GPU only. The official Qwen3-0.6B/Qwen3-32B config loads the 32B model in bf16 across two GPUs for tensor parallelism.
How do you run a new routing method on TokenRouter?
You write three functions — route(), send() and receive() — and register a scheduler class per model. Batching, async execution and delayed batching are handled by the platform, so you do not write them yourself.
Does token-level routing always beat the large model alone?
No. In the original papers' settings, R2R improved from 145.30 to 244.56 tokens/sec, but Co-LLM and R-Stitch fell below the large model alone, though both finished faster in wall-clock time.
Qiita 機械学習Read Original Article

AI news that matters for your work, delivered every morning.

Pick your industry and the AI tools you use, and get news related to your work every day.

Free · 30 seconds with Google · unsubscribe anytimeWhat is AIToday? →

Ask AI

Ask AI anything about this article. The AI reads this article, earlier AIToday articles, and Wikipedia, and cites its sources. Q&As are published on this page for other readers too.

Questions and answers are published on this page.

Related Articles

Next articleBuild your own AI agent: three routes, but ChatGPT GPTs end December 11, 2026