Skip to content
The Daily Repo

Open-source LLM gateways and LiteLLM alternatives (2026)

Our pick

Start with LiteLLM if you want one OpenAI-format API in front of many LLM providers. It works as a Python SDK or as a proxy server for a team, with virtual keys, spend tracking, guardrails and load balancing. You install the proxy with uv (uv tool install 'litellm[proxy]') and start it with one litellm command. The table shows each gateway's licence, last commit and latest release, and how the others compare.

Best for

The repos compared

Checked on Nov 28, 2026: the oldest day any repo in the table was last read from GitHub.

Open-source LLM gateways and LiteLLM alternatives (2026): repos compared
RepoStarsLast commitLatest releaseLicenceNeeds
BerriAI / litellm

A Python SDK and proxy server that call many LLM providers in the OpenAI format.

64,283
GitHub (opens in new tab)
Active Dec 2, 2026v1.112.0, Dec 1, 2026Custom
Portkey-AI / gateway

An AI gateway that routes to many models with retries, fallbacks and guardrails.

13,471
GitHub (opens in new tab)
Inactive May 25, 2026v1.15.2, Jan 12, 2026MIT
maximhq / bifrost

An OpenAI-compatible AI gateway with failover, load balancing and a web UI.

10,147
GitHub (opens in new tab)
Active Dec 1, 2026helm-chart-v2.1.50, Nov 25, 2026Apache-2.0
theopenco / llmgateway

A self-hostable API gateway that routes LLM requests and tracks usage and cost.

1,769
GitHub (opens in new tab)
Active Dec 2, 2026v1.27.0, Nov 23, 2026Custom
Kong / kong

A cloud-native API gateway, extended with plugins, that also routes LLM and MCP traffic.

44,437
GitHub (opens in new tab)
Active Nov 23, 20263.9.5, Nov 19, 2026Apache-2.0
agentgateway / agentgateway

A proxy for MCP, A2A and LLM traffic with guardrails and budget controls.

6,577
GitHub (opens in new tab)
Active Dec 1, 2026v1.7.0, Oct 27, 2026Apache-2.0
katanemo / plano

A proxy and data plane for agent apps, with agent routing, LLM routing and guardrails.

7,131
GitHub (opens in new tab)
Active Dec 1, 20260.4.40, Nov 30, 2026Apache-2.0

Install commands

Copied from each repo. Read its setup steps before you run anything.

Portkey-AI/gateway

# Run the gateway locally (needs Node.js and npm)
npx @portkey-ai/gateway

Questions

What is an LLM gateway?

A service that sits between your app and LLM providers and gives you one API for all of them. LiteLLM, Bifrost and LLM Gateway all expose an OpenAI-compatible API, so you can switch provider without rewriting your code.

What are the best open-source LiteLLM alternatives?

Portkey's gateway, Bifrost, LLM Gateway, Kong, agentgateway and Plano are all open-source gateways in the table above. Portkey and Bifrost start with one npx command, and LLM Gateway ships as a Docker image.

Can I self-host an LLM gateway?

Yes. LiteLLM runs as a proxy server you host, Bifrost runs from npx or Docker, and LLM Gateway offers a self-hosted Docker setup next to its hosted version.

Is a gateway the same as a library like LiteLLM's SDK?

No. A library is code you import in one app, while a gateway is a server many apps and teams call. LiteLLM offers both: a Python SDK and a proxy server.

Can an LLM gateway also manage MCP servers?

Some can. Portkey's gateway has an MCP gateway, Kong handles MCP traffic, and agentgateway proxies MCP and A2A. For MCP only, see the guide on MCP gateways and managers.

Which AI gateway is the best?

It depends on what you already run. LiteLLM, the pick on this page, is both a Python SDK and a proxy server that calls many LLM providers in the OpenAI format. Portkey's gateway (MIT) and Bifrost (Apache-2.0) start with one npx command, LLM Gateway tracks usage and cost and can be self-hosted with Docker, and Kong (Apache-2.0) suits teams that already run an API gateway.

More

Type to search.

Try