Open-source LLM routers
First listed among open-source LLM routers on LLM Reference: RouteLLM (Self-hosted, Open source); vLLM Semantic Router (Self-hosted, Open source); LiteLLM (Self-hosted, Open source).
Last checked 2026-10-29
Open-source router and gateway projects are the right first stop when you need inspectable routing policy, self-host paths, or a proxy you can adapt. This page keeps open-source rows in one view across gateway, router, and hybrid types.
Filtered router list
LMSYS (lm-sys)
Free OSS
Open-source LLM routing framework from LMSYS that routes simpler queries to a cheaper weak model and harder ones to a stronger frontier model, achieving 35–85% cost reduction on benchmarks.
Red Hat / vLLM Project
Free OSS
Open-source Mixture-of-Models router that semantically classifies each request and routes it to the best backend (local, private, or frontier) by cost, latency, privacy, or safety, deployed as an Envoy External Processor.
BerriAI
~100 models · Free OSS
Open-source Python SDK and proxy server that unifies 100+ LLM APIs behind a single OpenAI-compatible interface, with load balancing, cost tracking, and configurable failover.
Palo Alto Networks
~1.6K models · Subscription
Production AI gateway routing to 1,600+ LLMs with failover, load balancing, caching, and guardrails; MIT-licensed open-source core is self-hostable. Now part of Palo Alto Networks as Prisma AIRS AI Gateway.
Helicone
Subscription
Observability-first AI gateway with routing, caching, rate limiting, and request tracing; Apache-2.0 open-source platform with a managed hosted tier for logging and analytics.
Comparison table
| Router | Type | Hosting | Openness | Self-host available | Pricing model | Models | API compatibility | Last checked |
|---|---|---|---|---|---|---|---|---|
| RouteLLM | Router | Self-hosted | Open source | Yes | Free OSS | - | OpenAI | 2026-10-29 |
| vLLM Semantic Router | Router | Self-hosted | Open source | Yes | Free OSS | - | OpenAI | 2026-10-29 |
| LiteLLM | Gateway | Self-hosted | Open source | Yes | Free OSS | 100 models | OpenAI | 2026-10-29 |
| Portkey | Gateway | Hosted SaaS | Open source | Yes | Subscription | 1.6K models | OpenAI | 2026-10-29 |
| Helicone | Gateway | Hosted SaaS | Open source | Yes | Subscription | - | OpenAI, Anthropic | 2026-10-29 |
When to pick which
- RouteLLM Best for open source, binary cost optimization, research, self-hosting. Open-source LLM routing framework from LMSYS that routes simpler queries to a cheaper weak model and harder ones to a stronger frontier model, achieving 35–85% cost reduction on benchmarks.
- vLLM Semantic Router Best for open source, Kubernetes/OpenShift, privacy-aware routing, on-prem, edge/hybrid cloud. Open-source Mixture-of-Models router that semantically classifies each request and routes it to the best backend (local, private, or frontier) by cost, latency, privacy, or safety, deployed as an Envoy External Processor.
- LiteLLM Best for open source, self-hosting, OpenAI-compatible proxy, developer tooling, cost tracking. Open-source Python SDK and proxy server that unifies 100+ LLM APIs behind a single OpenAI-compatible interface, with load balancing, cost tracking, and configurable failover.
- Portkey Best for production reliability, governance, observability, self-hosting, enterprise. Production AI gateway routing to 1,600+ LLMs with failover, load balancing, caching, and guardrails; MIT-licensed open-source core is self-hostable. Now part of Palo Alto Networks as Prisma AIRS AI Gateway.
- Helicone Best for observability, LLM tracing, cost tracking, self-hosting. Observability-first AI gateway with routing, caching, rate limiting, and request tracing; Apache-2.0 open-source platform with a managed hosted tier for logging and analytics.
Related decision paths
Related pages for routers, the providers they target, and model choices.
Compare every verified gateway, router, and hybrid.
Use the directory controls to add openness, hosting, API, and routing-scope filters.
Inspect the provider that one or more listed routers can target.
Inspect the provider that one or more listed routers can target.
Inspect the provider that one or more listed routers can target.
Inspect the provider that one or more listed routers can target.
Choose the model side of a self-hosted stack.
Focus on deployment control instead of license alone.
Compare model cost before adding routing overhead.
Frequently asked questions
Which open-source LLM routers are open source?
RouteLLM, vLLM Semantic Router, LiteLLM, Portkey, Helicone (open source).
Which open-source LLM routers can be self-hosted?
RouteLLM, vLLM Semantic Router, LiteLLM, Portkey, Helicone (self-host available).
How recent is the data on these open-source LLM routers?
Last checked 2026-10-29.
Machine-readable source
This page is generated from data/seed/router.json. Agents can consume the same catalog through /api/routers.