LiteLLM
berriai/litellmThe fastest, litest AI Gateway. Rust core with Python SDK. Call 100+ LLM APIs in OpenAI (or native) format with cost tracking, guardrails, load balancing, and logging [Bedrock, Azure, OpenAI, Anthropi
LiteLLM vs OpenRouter
LLM GatewayOpen sourceLLM Gateway is a free, self-hostable alternative to OpenRouter. Here's how running it yourself compares with paying for the managed product.
Switching from OpenRouter
If you've moved from OpenRouter to LLM Gateway, tell us how it went below.
| Feature | LLM Gateway | OpenRouter |
|---|---|---|
| Source code | Open source (custom license) | Proprietary |
| Hosting | Self-hosted | Managed by the vendor |
| Cost | Free software; you pay for your own servers | See openrouter.ai pricing |
| Your data lives | On your infrastructure | On the vendor's servers |
| Bring your OpenRouter data | Not checked yet | — |
| Lock-in | Low: fork it or move hosts any time | Tied to the vendor |
| Setup & maintenance | You install, update and back it up | Handled for you |
| Community | 1,769 stars · 200 forks | — |
| Last code change | Active | — |
| Written in | — |
LLM Gateway is an open-source route, manage, and analyze your LLM requests across multiple providers with a unified API interface. It covers the same ground as OpenRouter while letting you host it yourself and keep full control of your data. It has 1,769 stars on GitHub.
Yes. LLM Gateway is open source under its own license, so the software is free to use. Running it yourself costs whatever your server or cloud provider charges.
Yes. LLM Gateway can be installed on your own server; see its repository for instructions.
The fastest, litest AI Gateway. Rust core with Python SDK. Call 100+ LLM APIs in OpenAI (or native) format with cost tracking, guardrails, load balancing, and logging [Bedrock, Azure, OpenAI, Anthropi
LiteLLM vs OpenRouterOpen-source, high-performance AI gateway that works as your LLM gateway, MCP gateway and agent gateway. One OpenAI-compatible API for 10,000+ models, with failover, load balancing, semantic caching, v
Bifrost vs OpenRouter