Lattice
Skip to content

LiteLLM

litellm.ailibraryself-hosted

LiteLLM is a self-hosted library in the Routing & Gateways layer of the AI stack. OpenAI-format proxy translating across 100+ model providers.

By Lattice editorial · Facts verified · method

licence
MIT
language
Python
cost
free
owned by
ML Platform

Use LiteLLM when

The widest provider coverage, deployed the least committal way.

Skip LiteLLM when

You want routing policy to live in a SaaS console.

Decides which model answers, and what it costs. — that is what this layer of the stack is answerable for. See the full Routing & Gateways section for the rest of the options.

Visit litellm.aiCompare with another tool
Badge this entry
Lattice badge: LiteLLM verified 2026-09
[![LiteLLM on Lattice: verified 2026-09](https://lattice.kunjshah.in/routing-gateways/litellm/badge.svg)](https://lattice.kunjshah.in/routing-gateways/litellm)

Quick answers

Is LiteLLM open source?
Yes. LiteLLM is open source under the MIT licence. It is free to use.
What are the alternatives to LiteLLM?
The closest alternatives to LiteLLM are Portkey, Cloudflare AI Gateway and Envoy AI Gateway.

Compared in

Reading on routing

Alternatives to LiteLLM

compare 3 →

Listed as an alternative to

  • Portkey
  • OpenRouter
  • Envoy AI Gateway
  • Bifrost

Also in routing

  • Portkey
  • Cloudflare AI Gateway
  • OpenRouter
  • Martian
  • Envoy AI Gateway
  • Bifrost
  • RouteLLM
  • Not Diamond
  • TrueFoundry