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.dev20260120144144.tar.gz (37.5 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.dev20260120144144-py3-none-any.whl (45.9 kB view details)

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for vllm_sr-0.1.0b2.dev20260120144144.tar.gz
Algorithm Hash digest
SHA256 69576540aae0a5eb235b4a9741da25ca0c243f45a3fdbc3082506d5a9363553f
MD5 48b6a9822ddda1b42de58b07805b617b
BLAKE2b-256 a6d3d19c728e0b42a2db789e9b0243aa22e73615a30733fa2bc5d57ad0393840

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for vllm_sr-0.1.0b2.dev20260120144144-py3-none-any.whl
Algorithm Hash digest
SHA256 10dab2edde72b769b370d2d242cae65cb4319e27635d6e7bd7d8e7e97a417d48
MD5 d5aac3ff473bfd542b9e44e6f6ef4681
BLAKE2b-256 53b99fafb8f3e75c6ceebd332d06292ae93c8dd06aee806e0e8dc39b1455d509

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