LLM gateway tools
LiteLLM review: self-hosted LLM gateway for platform teams
LiteLLM is the strongest fit when a platform team wants to run its own LLM gateway, expose an OpenAI-compatible proxy, centralize provider access, issue virtual keys, and manage spend without putting every application directly on vendor APIs.
LiteLLM is an LLM gateway and provider abstraction layer for teams that want one OpenAI-compatible interface across many model providers. The strongest fit is not a casual single-developer experiment. It is a platform, infrastructure, or GenAI enablement team that wants to centralize access to models, reduce direct provider integration work, and control how internal applications call LLMs.
The LiteLLM Proxy Server is the key product angle for this page. LiteLLM's docs position the proxy as a central service for accessing multiple LLMs, with authentication, authorization, logging, cost tracking, rate limiting, virtual keys, spend management, and admin monitoring. That makes LiteLLM meaningfully different from a hosted model marketplace such as OpenRouter and different from a managed gateway/control plane such as Portkey.
Quick Verdict
Choose LiteLLM if your team wants to own the gateway layer. It is strongest when you need a self-hosted proxy, OpenAI-compatible API surface, virtual keys, project-level cost controls, and provider abstraction across internal teams.
Look at OpenRouter instead if you primarily want hosted access to many models without operating the gateway. Look at Portkey if you want a managed production control plane with deeper packaged governance, guardrails, caching, retries, and policy controls.
Who LiteLLM Is Best For
LiteLLM is best for ML platform teams, infrastructure teams, internal developer platform teams, and AI enablement groups that need to serve many application teams. It is especially relevant when direct provider keys are becoming hard to govern, teams need consistent logging and spend tracking, or product teams want a stable internal API while the provider mix changes behind the scenes.
It is less ideal for teams that want a purely hosted model marketplace, a turnkey vendor procurement experience, or a full enterprise governance suite without owning gateway operations.
Key Features To Cover
- OpenAI-compatible access pattern for many providers.
- Proxy Server for central gateway deployment.
- Authentication and authorization hooks.
- Cost tracking, spend management, budgets, and virtual keys.
- Rate limiting and project-level controls.
- Retry/fallback and routing patterns across provider deployments.
- Admin monitoring and operational visibility.
LiteLLM vs OpenRouter, Portkey, and Helicone
LiteLLM vs OpenRouter: LiteLLM is the better fit for self-hosted gateway ownership. OpenRouter is the better fit for hosted model access and marketplace-style routing.
LiteLLM vs Portkey: LiteLLM is more attractive when the team wants to run and control the proxy. Portkey is more attractive when the team wants a managed gateway control plane with packaged routing, guardrails, budgets, and rate-limit workflows.
LiteLLM vs Helicone: LiteLLM is primarily a gateway/proxy layer. Helicone is more commonly evaluated for LLM observability, usage analytics, and request monitoring. Some teams may use both.
Limitations
LiteLLM adds operational ownership. Teams need to deploy, configure, secure, monitor, and update the gateway. It may be too much infrastructure for a team that only needs quick access to model variety. It also should not be described as a full substitute for every governance, guardrail, or observability workflow without validating the specific deployment.
FAQ
What is LiteLLM used for?
LiteLLM is used to create a unified gateway or SDK interface across many LLM providers. Its Proxy Server is positioned for teams that want a central OpenAI-compatible service with authentication, logging, cost tracking, rate limits, virtual keys, and project-level controls.
Is LiteLLM an LLM gateway?
Yes. LiteLLM's docs describe the Proxy Server as a central service or LLM gateway for accessing multiple LLMs, especially for GenAI enablement and ML platform teams.
Is LiteLLM better than OpenRouter?
LiteLLM is usually a better fit when you want to self-host and control your own gateway. OpenRouter is usually a better fit when you want hosted access to many models and provider routing without operating the gateway yourself.
Does LiteLLM support budgets and virtual keys?
LiteLLM docs list Proxy Server features that include virtual keys, spend management, cost tracking, rate limiting, and per-project controls. Recheck exact edition and deployment requirements before publishing procurement-specific language.
Who should not choose LiteLLM?
Teams that want a fully hosted model marketplace, built-in guardrails suite, or lowest-operations procurement workflow may prefer OpenRouter or Portkey depending on the required controls.
<a id="tools-openrouter"></a>