5 matchesOpen source

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.

Open in directory

Filtered router list

R
RouteLLM

LMSYS (lm-sys)

RouterOpen sourceSelf-hostedCostQuality

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.

VS
vLLM Semantic Router

Red Hat / vLLM Project

RouterOpen sourceSelf-hostedCostLatency

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.

L
LiteLLM

BerriAI

Editorial pick
GatewayOpen sourceSelf-hostedCostReliability

~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.

P
Portkey

Palo Alto Networks

Editorial pick
GatewayOpen sourceHosted SaaSReliabilityCost

~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.

H
Helicone

Helicone

GatewayOpen sourceHosted SaaSReliabilityCost

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

RouterTypeHostingOpennessSelf-host availablePricing modelModelsAPI compatibilityLast checked
RouteLLMRouterSelf-hostedOpen sourceYesFree OSS-OpenAI2026-10-29
vLLM Semantic RouterRouterSelf-hostedOpen sourceYesFree OSS-OpenAI2026-10-29
LiteLLMGatewaySelf-hostedOpen sourceYesFree OSS100 modelsOpenAI2026-10-29
PortkeyGatewayHosted SaaSOpen sourceYesSubscription1.6K modelsOpenAI2026-10-29
HeliconeGatewayHosted SaaSOpen sourceYesSubscription-OpenAI, Anthropic2026-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 pages for routers, the providers they target, and model choices.

Full routers directory

Compare every verified gateway, router, and hybrid.

Same filter in /routers

Use the directory controls to add openness, hosting, API, and routing-scope filters.

OpenAI API

Inspect the provider that one or more listed routers can target.

Anthropic

Inspect the provider that one or more listed routers can target.

Google AI Studio

Inspect the provider that one or more listed routers can target.

GCP Vertex AI

Inspect the provider that one or more listed routers can target.

Open-source LLMs

Choose the model side of a self-hosted stack.

Self-hosted routers

Focus on deployment control instead of license alone.

Cheapest strong LLMs

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.