Hao Li, Lei Bai, Shi Feng, Zihan Wang, Bo Zhang, Shuyue Hu, Yiqun Zhang, Yang, Daling Wang
We lifted 1 functions out of this paper's own repositories and ran 0 of them in a sandbox. "Ran" means the function executed on a synthesized input and returned a value. It is not a reproduction of the paper's results.
| Repository | Role | Ran |
|---|---|---|
| ZhangYiqun018/MTRouter | canonical | 0 of 1 |
| Function | Status | Where it lives |
|---|---|---|
| evaluate_hle_results | Not yet run | ZhangYiqun018/MTRouter/src/miniagenticrouter/eval/hle_judge.py code served (permissive licence) · get_code("c97e56762fbedf9e") |
Some links come from the archived Papers with Code dataset (CC BY-SA 4.0): attribution and licence.
Multi-turn, long-horizon tasks are increasingly common for large language models (LLMs), but solving them typically requires many sequential model invocations, accumulating substantial inference costs. Here, we study costaware multi-turn LLM routing: selecting which model to invoke at each turn from a model pool, given a fixed cost budget. We propose MTRouter, which encodes the interaction history and candidate models into joint history-model embeddings, and learns an outcome estimator from logged trajectories to predict turn-level model utility. Experiments show that MTRouter improves the performance-cost trade-off: on ScienceWorld, it surpasses GPT-5 while reducing total cost by 58.7%; on Humanity's Last Exam (HLE), it achieves competitive accuracy while reducing total cost by 43.4% relative to GPT-5, and these gains even carry over to held-out tasks. Further analyses reveal several mechanisms underlying its effectiveness: relative to prior multi-turn routers, MTRouter makes fewer model switches, is more tolerant to transient errors, and exhibits emergent specialization across models. Code: https: //github.com/ZhangYiqun018/MTRouter.
The same record, over MCP at https://syntology.ai/mcp:
get_harvested_code_for_paper("2604.23530")
get_code_for_paper("2604.23530")
have("2604.23530")
Connect an agent — have() is free.