#34 · Primary category: AI Gateway & API Infrastructure

semantic-router

ai-gateway guardrails inference kubernetes llm llmrouter mixture-of-models pytorch semantic-router transformer vllm

A programmable Mixture-of-Models router for heterogeneous LLM inference

Project last updated:08/29/26

GitHub Stars

5.4K

Forks

854

Contributors

169

License

Apache-2.0

Why we included this project

Once you run more than one LLM provider, routing is where the quality, cost, and latency trade-offs actually land. This project turns that routing into a programmable layer: it reads request signals, user preferences, and application policies, then picks or composes the right model path per request, so you don't hard-code model choices into your application. Sitting in front of heterogeneous inference infrastructure, a single policy can keep private data on-prem while sending routine traffic to a cheaper cloud model, or route safety-sensitive prompts to a guard model. The OpenAI-compatible API and drop-in deployment modes, either as an Envoy ExtProc filter or a local service, mean existing clients keep working with minimal changes. If model selection across your stack needs to be repeatable and policy-driven, this is a concrete place to start.

Articles for this project

No articles for this project yet.

To suggest a topic or contribute an article, contact us.

Related projects in this category