semantic-router: Smart Routing Get intelligent routing for mixture-of-models with semantic-router, ideal for startup founders using AI at scale, backed by 4.7k+ GitHub stars
4,975 stars 754 forks Go Quality 8/10 Updated 7/15/2026100% free ยท open source
Semantic-router intelligently routes traffic for mixture-of-models deployments across cloud, data center, and edge environments, optimizing performance and efficiency
git clone https://github.com/vllm-project/semantic-router.git
โข When deploying AI models at scale and needing efficient traffic routingโข In environments with diverse model types requiring smart routing decisionsโข For optimizing resource utilization in cloud, data center, or edge computing1 Navigate into the cloned repository with 'cd semantic-router' 2 Build the semantic-router with 'go build -o semantic-router main.go' 3 Configure the routing logic by editing the 'config.yaml' file 4 Run the semantic-router using './semantic-router -config config.yaml' 5 Verify the routing decisions by checking the logs or using a tool like 'curl' to test the API Ready-to-paste prompt CopyRun './semantic-router -config config.yaml -model-dir /path/to/models' to start the router with a specific model directory Heads up: Ensure you have Go (version 1.17 or later) installed on your system, as semantic-router is built using Go and requires it to compile and run
๐ค Like this skill Saves to your device
Topics ai-gateway
bert-classification
fine-tuning
golang
huggingface-candle
huggingface-transformers
kubernetes
llm
llmrouter
mcp
mixture-of-models
openclaw
pii-detection
prompt-engineering
prompt-guard
rust
semantic-router
vllm
What's inside โ free to inspect
No purchase needed
Read the entire source before you build โ unlike paid marketplaces that hide it behind a buy button.