LiteLLMOpen-source AI gateway and Python SDK for 100+ LLM providers
LLM GatewayOpen-source unified API gateway for LLM providers
LiteLLM vs LLM Gateway
How LiteLLM and LLM Gateway compare on popularity, activity, license and platforms: two open-source AI Development Platforms projects, both alternatives to OpenRouter.
At a glance
- LiteLLM has more GitHub stars (64.5k vs 1.8k, about 36× as many).
- Both are actively maintained (last commits today and today).
- LiteLLM uses MIT (permissive); LLM Gateway uses AGPL-3.0 (copyleft).
- Both can be self-hosted.
- LiteLLM is the older project (repository started 2023; LLM Gateway in 2025).
Side by side
| LiteLLM | LLM Gateway | |
|---|---|---|
| GitHub stars | ★ 64,503 +687 in 10 days | ★ 1,773 +9 in 7 days |
| Forks | 13,819 | 201 |
| Last commit | today | today |
| Latest version | v1.112.1 | v1.28.0 |
| Repository started | July 2023 | April 2025 |
| License | MIT · permissive | AGPL-3.0 · copyleft |
| Self-hosted | Yes | Yes |
| Platforms | Linux, macOS, Windows, Docker, CLI | Web, Docker |
| Main language | Python | TypeScript |
| Alternative to | OpenRouter | OpenRouter |
Highlighted: more stars or forks, or a last commit at least two weeks more recent. Data from GitHub, updated 4 December 2026.
LiteLLM
LiteLLM is an open-source AI gateway for calling 100+ LLM providers in the OpenAI format. It runs as a Python SDK or self-hosted proxy with virtual keys, spend tracking, guardrails and load balancing
Key features
- Unified OpenAI-format API for 100+ providers
- Python SDK and proxy server
- Virtual keys with budgets and rate limits
- Spend tracking per team, key and tag
- Guardrails such as PII masking and prompt-injection checks
- Load balancing and fallbacks
LLM Gateway
LLM Gateway sits between applications and multiple model vendors, offering an OpenAI-compatible API, centralized keys, and usage analytics. It can be used hosted or deployed on your own stack.
Key features
- OpenAI-compatible API surface
- Multi-provider routing
- Token and cost analytics
- Performance monitoring
- Self-hosted Docker deployment
- Centralized provider API keys