selfhost.directory

The index of self-hostable projects — ranked, categorized and served with live updates.
Own your data and stop giving it to big tech.

Self-hosted alternatives to LiteLLM

Teams moving off LiteLLM usually want an OpenAI-compatible gateway they can run on their own infrastructure, with routing, failover and cost control in one place. More about LiteLLM

--sort
13 projects· by score

Projects

About these LiteLLM alternatives

The projects below cover that ground in different ways. OmniRoute routes OpenAI-compatible traffic to 352 providers, with 19 routing strategies and quota-aware fallback. bifrost pairs failover and load balancing with semantic caching and virtual keys, and also works as an MCP and agent gateway. agentgateway is a single self-hosted binary that routes LLM, MCP, A2A and service traffic, adding auth, policy, guardrails and observability. Routerly focuses on multi-policy scoring and budget enforcement, with zero infrastructure dependencies.

13 open-source, self-hosted alternatives to LiteLLM are listed here, ranked by popularity, maintenance and documentation.

Highest rated
OmniRoute (85 621 GitHub stars, MIT license, written in Typescript), followed by agentgateway and bifrost
Docker
10 of the top 12 ship an official Docker image
Easiest to set up
OmniRoute, agentgateway and bifrost
Recently updated
FreeLLMAPI v0.16.22 on 2026-11-08

LiteLLM alternatives compared

ProjectLicenseLanguageStarsDockerSetupLatest releaseScore
OmniRouteMITTypescript85 621YesEasyv3.8.5389
agentgatewayApache-2.0Rust6 036YesEasyv1.7.077
bifrostApache-2.0Go9 433YesEasytransports/v2.5.074
ClawRouterMITTypescript6 656—Moderatev0.12.30966
llm-gatewayOtherTypescript1 732YesModeratev1.24.063
GoModelMITGo1 310YesEasyv0.2.259
FreeLLMAPIMITTypescript49 159Yes—v0.16.2254
1flowbaseApache-2.0Rust292YesAdvancedv0.6.349
LynkrApache-2.0JavaScript639—Easyv9.6.048
OpenGateLLMMITPython218YesModerate0.9.146
RouterlyAGPL-3.0Typescript109YesModeratev0.6.045
voidllmOtherGo147YesModeratev0.0.3043