#34 · Primary category: AI Gateway & API Infrastructure
semantic-router
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
OmniRoute
Open-source AI gateway: one endpoint, 290+ providers (90+ free), 500+ models, auto-fallback, token compression, MCP/A2A, works with Claude Code, Codex, Cursor, Cline, Copilot.
CLIProxyAPI
Wrap Antigravity, ChatGPT Codex, Claude Code, Grok Build as an OpenAI/Gemini/Claude/Codex compatible API service, allowing you to enjoy the free Gemini 3.1 Pro, GPT 5.6 Series, Grok 4.5, Claude model through API
kong
🦍 The API and AI Gateway
novu
The open-source communication infrastructure for agents and products
GPT_API_free
Free API for large models, supports GPT, DeepSeek, etc., 10k free points daily, paid plans at 10-20% of official price.