LiteLLMOpen-source AI gateway and Python SDK for 100+ LLM providers
New APISelf-hosted AI gateway with unified model APIs
LiteLLM vs New API
How LiteLLM and New API 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 53k).
- Both are actively maintained (last commits today and yesterday).
- LiteLLM uses MIT (permissive); New API uses AGPL-3.0 (copyleft).
- Both can be self-hosted.
Side by side
| LiteLLM | New API | |
|---|---|---|
| GitHub stars | ★ 64,478 +662 in 10 days | ★ 53,009 +483 in 9 days |
| Forks | 13,810 | 12,998 |
| Last commit | today | yesterday |
| Latest version | v1.112.1 | v1.0.0-rc.52 |
| Repository started | July 2023 | November 2023 |
| License | MIT · permissive | AGPL-3.0 · copyleft |
| Self-hosted | Yes | Yes |
| Platforms | Linux, macOS, Windows, Docker, CLI | Docker |
| Main language | Python | Go |
| 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
New API
New API connects upstream LLM providers behind one consistent API and web console. Teams manage routing, keys, quotas, and costs without reconfiguring every client.
Key features
- OpenAI, Anthropic, and Gemini compatible endpoints
- Weighted channel routing with retries
- Quotas, subscriptions, and usage logging
- OAuth, OIDC, passkeys, and API key controls
- Web console with model playground
- JavaScript plugins for async media tasks