d3 and HiRoute Test Local-to-Cloud Model Routing
vLLM Semantic Router maintainer Zhou Jinyu integrated the d3 decision model with HiRoute, enabling per-turn routing between a local Qwen3.8-27B deployment and Alibaba Cloud Bailian's Qwen4-Max. In an 11-turn session, the local model handled seven turns and Qwen4-Max handled four; separate endpoint tests showed d3 and d3-mini passing all 12 System One cases and all eight HiRoute decision-service tests. The author notes that tasks and simple-step prompts were preselected, one cloud-routing turn lacked a recorded reason, and the evaluation was small and author-run.
The report provides a reproducible local-to-cloud routing setup for coding agents, showing how a locally hosted decision model can select between local and hosted Qwen models without changing the agent.
作者:周瑾瑜(zhoujinyu),同济大学硕士研究生,开源项目 vLLM Semantic Router 核心 Maintainer
本文已收录至开源项目 Alibaba AI Agent Handbook,更多实践可访问:github.com/aliyun/ai-a…
我们记录一次小规模的集成实测:我把 vLLM Semantic Router 的决策模型 d3 接入了 HiRoute。HiRoute 是位于 Coding Agent 与模型之间的网关,接入 d3 之后,它会逐轮判断:这一轮任务留给本地的 Qwen3.8-27B,还是交给云端的 Qwen4-Max。
下面的截图来自其中一次会话,共十一轮:七轮由本地模型完成(模型部署在我们内网的一台 GPU 节点上),其余四轮由阿里云百炼的 Qwen4-Max 完成。步骤是我事先写好的,哪一步简单、哪一步难,我心里有数;但每一轮用哪个模型,我都没有指定,全部交给路由决定。
#vLLM Semantic Router#d3#d3-mini#HiRoute#Qwen3.8-27B#Qwen4-Max#Alibaba Cloud Bailian#Codex#System One#vLLM