Skip to main content

vLLM Semantic Router - Intelligent routing for Mixture-of-Models

Project description

vLLM Semantic Router

Intelligent Router for Mixture-of-Models (MoM).

GitHub: https://github.com/vllm-project/semantic-router

Quick Start

Installation

# Install from PyPI
pip install vllm-sr

# Or install from source (development)
cd src/vllm-sr
pip install -e .

Usage

# Initialize vLLM Semantic Router Configuration
vllm-sr init

# Start the router (includes dashboard)
vllm-sr serve

# Open dashboard in browser
vllm-sr dashboard

# View logs
vllm-sr logs router
vllm-sr logs envoy
vllm-sr logs dashboard

# Check status
vllm-sr status

# Stop
vllm-sr stop

Features

  • Router: Intelligent request routing based on intent classification
  • Envoy Proxy: High-performance proxy with ext_proc integration
  • Dashboard: Web UI for monitoring and testing (http://localhost:8700)
  • Metrics: Prometheus metrics endpoint (http://localhost:9190/metrics)

Endpoints

After running vllm-sr serve, the following endpoints are available:

Endpoint Port Description
Dashboard 8700 Web UI for monitoring and Playground
API 8888* Chat completions API (configurable in config.yaml)
Metrics 9190 Prometheus metrics
gRPC 50051 Router gRPC (internal)

*Default port, configurable via listeners in config.yaml

Configuration

File Descriptor Limits

The CLI automatically sets file descriptor limits to 65,536 for Envoy proxy. To customize:

export VLLM_SR_NOFILE_LIMIT=100000  # Optional (min: 8192)
vllm-sr serve

License

Apache 2.0

Project details


Release history Release notifications | RSS feed

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

vllm_sr-0.1.0b2.dev20260119113253.tar.gz (36.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

vllm_sr-0.1.0b2.dev20260119113253-py3-none-any.whl (44.9 kB view details)

Uploaded Python 3

File details

Details for the file vllm_sr-0.1.0b2.dev20260119113253.tar.gz.

File metadata

File hashes

Hashes for vllm_sr-0.1.0b2.dev20260119113253.tar.gz
Algorithm Hash digest
SHA256 694071add41c65f7241f88a41d79340e32fb88e70ad51151fa0ea2fd87e25053
MD5 942099c1c59d839b5e8e97b60453b732
BLAKE2b-256 0148d35011741e8c6705489587f9783d9ee72517125f612a985f6a0cc98d2fe8

See more details on using hashes here.

File details

Details for the file vllm_sr-0.1.0b2.dev20260119113253-py3-none-any.whl.

File metadata

File hashes

Hashes for vllm_sr-0.1.0b2.dev20260119113253-py3-none-any.whl
Algorithm Hash digest
SHA256 341fca3f31e0f2907a820683023f2af6911d5e7cf6926b66b0208721608dfdec
MD5 382111f0d56337bdeaa6ba5900135022
BLAKE2b-256 c57f749cafbd759213b4f207e384f4d3e9ec7a29b8bad57cbd9b1eda3d035662

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page