Add routing policy
Router mode
Call /v1/chat/completions or /v1/messages.
Routes Chat, Messages and Responses to your backends, with native decisions alongside.
vllm-sr serve vllm-sr/vela3-fastAn open, programmable decision layer for models and compute.
For humans
Development channelMatches the latest docs, including the built-in model runtime.
curl -fsSL https://vllm-sr.ai/install.sh | bash -s -- --channel devSignals in. The right model out.
One frontend, two modes: the Router routes chat, the Engine answers questions directly.
Router mode · every chat request
Any OpenAI or Anthropic SDK: /v1/chat/completions, /v1/messages


Projections and decisions apply your policy; an algorithm picks the model.
Prompts, memory, caching and safety; streaming and routing headers.
vLLM, SGLang or any OpenAI-compatible API: cloud, private or edge.
Engine mode · a direct question
POST /v1/systemone: risky? Which team? Done?


Vela 3.0 and Decision 3.0, on CPU or GPU: text, images and video.
A probability for each option, no generated text.
Allow, ask, route or stop, at your threshold.
Your application acts on the answer; its LLM keeps its tokens for the work.
One install, two places to plug in, on the stack you already run.
Add routing policy
Call /v1/chat/completions or /v1/messages.
Routes Chat, Messages and Responses to your backends, with native decisions alongside.
vllm-sr serve vllm-sr/vela3-fastUse model intelligence directly
Call /v1/systemone with an explicit published model.
The same frontend and workers, routing off. Your application owns the next step.
vllm-sr serve -e vllm-sr/d3-edgeDevelopment channelChoose the composition at CLI startup.
Open sourceYour hardwareYour policy
Demos, deployments, and ideas from the community.
Private knowledge stays on your GPUs. Frontier models only when your policy allows.
Internal domain knowledgeKeep on-prem
Public researchExternal eligible
Quality · latency · cost
Domain knowledge stays on-prem
The ideas that move inference forward.
vLLM Semantic Router Team
arXiv Technical Report
We introduce vLLM Semantic Router, a signal-driven decision routing framework for Mixture-of-Modality deployments that composes heterogeneous signals into deployment-specific routing policies across cost, privacy, latency, and safety constraints.
Huamin Chen, Xunzhuo Liu, Bowei He, Fuyuan Lyu, Yankai Chen, Xue Liu, Yuhan Liu, Junchen Jiang
arXiv Technical Report
We synthesize the project’s recent routing, fleet, multimodal, and governance results into the Workload-Router-Pool (WRP) architecture, connecting signal-driven routing to a full-stack inference optimization framework and outlining future research directions across workload, router, and pool design.
Xunzhuo Liu, Bowei He, Xue Liu, Andy Luo, Haichen Zhang, Huamin Chen
arXiv Technical Report
We formalize the visual confused deputy as a security failure mode in computer-using agents and introduce a dual-channel guardrail that independently checks click targets and action reasoning before execution.
Huamin Chen, Xunzhuo Liu, Junchen Jiang, Bowei He, Xue Liu
arXiv Technical Report
We introduce Outcome-Aware Tool Selection (OATS), an offline embedding refinement method that improves semantic-router tool ranking under single-digit millisecond CPU budgets without adding serving-time model inference.
Xunzhuo Liu, Bowei He, Xue Liu, Andy Luo, Haichen Zhang, Huamin Chen
arXiv Technical Report
We propose Adaptive VLM Routing (AVR), which estimates action difficulty and routes computer-use agent steps to the cheapest model that still satisfies a target reliability threshold.
Xunzhuo Liu, Bowei He, Xue Liu, Andy Luo, Haichen Zhang, Huamin Chen
arXiv Technical Report
We combine Flash Attention, prompt compression, and near-streaming body processing to cut routing latency from seconds to tens of milliseconds while keeping the router lightweight enough to share hardware with serving.
Huamin Chen, Xunzhuo Liu, Yuhan Liu, Junchen Jiang, Bowei He, Xue Liu
arXiv Technical Report
We present a queueing-theory-grounded fleet planner and discrete-event simulator for sizing multi-pool LLM GPU fleets against P99 TTFT targets, without requiring hardware profiling runs up front.
Huamin Chen, Xunzhuo Liu, Yuhan Liu, Junchen Jiang, Bowei He, Xue Liu
arXiv Technical Report
We derive the minimum-cost two-pool LLM fleet directly from the workload CDF and P99 TTFT target, then use Compress-and-Route to make the optimal boundary deployable in practice.
Huamin Chen, Xunzhuo Liu, Yuhan Liu, Junchen Jiang, Bowei He, Xue Liu
arXiv Technical Report
We derive the 1/W law showing that tokens per watt roughly halve whenever the serving context window doubles, making context-length routing topology a larger energy-efficiency lever than a pure GPU generation upgrade.
Ádám Kovács, Bowei He, Xue Liu, István Boros, Szilveszter Tóth, Gábor Recski
EMNLP 2026 - GroundLM Workshop
We introduce a unified benchmark for span-level hallucination detection over code, tool output, structured documents, and existing natural-language RAG datasets, built by injecting localized hallucinations with exact character labels into grounded correct answers. Our fine-tuned Qwen3.5-2B detector reaches 0.689 span-F1 on the unified test set and 0.60 on the code-agent source, substantially outperforming LettuceDetect-large and the strongest zero-shot LLM judges evaluated.
Xunzhuo Liu, Hao Wu, Huamin Chen, Bowei He, Xue Liu
arXiv Technical Report
We show how probabilistic ML predicates in policy languages can silently co-fire on the same query, and implement conflict detection plus a softmax-based prevention mechanism in the Semantic Router DSL.
Huamin Chen, Xunzhuo Liu, Bowei He, Xue Liu
arXiv Technical Report
We extend the Semantic Router DSL from stateless, per-request routing to multi-step agent workflows, emitting verified decision nodes for orchestration frameworks, Kubernetes artifacts, YANG/NETCONF payloads, and protocol-boundary gates from a single declarative source file.
Xunzhuo Liu, Bowei He, Xue Liu, Andy Luo, Haichen Zhang, Huamin Chen
arXiv Technical Report
We show that conversational memory and retrieval-grounded routing let a lightweight 8B model recover most of a 235B model’s performance on persistent user-specific queries while cutting effective inference cost by 96%.
Xunzhuo Liu, Bowei He, Xue Liu, Haichen Zhang, Huamin Chen
SIGIR 2026 Industry Track
We present a real-time verification component for long-document RAG that processes contexts up to 32K tokens, balancing latency and grounding coverage so interactive systems can detect unsupported answers without falling back to truncated checks.
Huamin Chen, Xunzhuo Liu, Junchen Jiang, Bowei He, Xue Liu
arXiv Technical Report
We propose token-budget-aware pool routing, which estimates each request’s total token budget using a self-calibrating bytes-per-token ratio and dispatches it to short or long vLLM pools to cut fleet cost while avoiding KV-cache failures.
Chen Wang, Xunzhuo Liu, Yuhan Liu, Yue Zhu, Xiangxi Mo, Junchen Jiang, Huamin Chen
NeurIPS - MLForSys
We present a semantic router that classifies queries based on their reasoning requirements and selectively applies reasoning only when beneficial.
Chen Wang, Xunzhuo Liu, Yue Zhu, Alaa Youssef, Priya Nagpurkar, Huamin Chen
We present a category-aware semantic caching where similarity thresholds, TTLs, and quotas vary by query category, with a hybrid architecture separating in-memory HNSW search from external document storage.
Huamin Chen, Luay Jalil
Internet Engineering Task Force (IETF)
This document specifies the Semantic Inference Routing Protocol (SIRP), a framework for content-level classification and semantic routing in AI inference systems.
H. Chen, L. Jalil, N. Cocker
Internet Engineering Task Force (IETF) - Network Management Research Group
This document specifies multi-provider extensions for agentic AI inference APIs. Published: 20 October 2025. Intended Status: Informational. Expires: 23 April 2026.
“Think of it as a meta model, right? That’s the most important thing.”
The future is multi-models and you’ll want to customize your router the same way you customize your code!
Researchers and builders, working together.
The libraries and platforms beneath vLLM Semantic Router.
Explore intelligent routing in System Duo. Bring it to your own stack when you're ready.