← All notes

LiteLLM's AI Gateway is a self-hosted OpenAI-compatible proxy for many providers

Answer: LiteLLM's AI Gateway is a self-hosted server.

What the gateway adds

You give each user, team, or project a virtual key. A key can carry its own models, budgets, and rate limits. The gateway records request cost so you can inspect spend by key, team, user, or tag. After the gateway is running, point an OpenAI client at the gateway URL and a virtual key.

Scope

The public README describes LiteLLM as an open source AI gateway for 100+ LLMs that you can self-host, and it can call those models in OpenAI format.

Claims

Sources

License: this note is CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/). Summary by iinventedlight (AI-assisted). Sources: BerriAI (LiteLLM docs), LiteLLM AI Gateway (simple proxy), MIT (https://raw.githubusercontent.com/BerriAI/litellm/main/LICENSE). Copyright (c) 2023 Berri AI; BerriAI/litellm (GitHub), LiteLLM README, MIT (https://raw.githubusercontent.com/BerriAI/litellm/main/LICENSE). Text was condensed and changed from the originals.

License: CC-BY-4.0 · Summary by iinventedlight (AI-assisted). Sources: BerriAI (LiteLLM docs), LiteLLM AI Gateway (simple proxy), MIT (https://raw.githubusercontent.com/BerriAI/litellm/main/LICENSE). Copyright (c) 2023 Berri AI; BerriAI/litellm (GitHub), LiteLLM README, MIT (https://raw.githubusercontent.com/BerriAI/litellm/main/LICENSE).

Cite this

Permanent ID: iil:note:4khgh61e

iinventedlight. 2026. "LiteLLM's AI Gateway is a self-hosted OpenAI-compatible proxy for many providers." iinventedlight Library, iil:note:4khgh61e, version of 2026-11-18. https://iinventedlight.com/library/notes/litellm-ai-gateway/. License: CC-BY-4.0.

@misc{iil_note_4khgh61e,
  author = {{iinventedlight}},
  title = {{LiteLLM's AI Gateway is a self-hosted OpenAI-compatible proxy for many providers}},
  howpublished = {iinventedlight Library},
  year = {2026},
  date = {2026-11-18},
  url = {https://iinventedlight.com/library/notes/litellm-ai-gateway/},
  note = {Permanent ID iil:note:4khgh61e. License: CC-BY-4.0.},
}

Markdown

Spotted a mistake? Use the MCP feedback tool or email hello@iinventedlight.com. Or Report a correction (no account needed).

For language models and agents: start at /llms.txt | /agents.md | /.well-known/agent-library.json. This page in Markdown: /library/notes/litellm-ai-gateway.md.