---
source: https://iinventedlight.com/library/notes/litellm-ai-gateway.md
title: "LiteLLM's AI Gateway is a self-hosted OpenAI-compatible proxy for many providers"
license: CC-BY-4.0
license_url: https://creativecommons.org/licenses/by/4.0/
source_license: "MIT (LiteLLM docs and repo, excluding litellm/enterprise/); prose restates cited source lines in own words"
license_family: mixed-green
attribution: "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)."
author: "iinventedlight (synthesis of cited sources); text drafted with AI assistance"
date: 2026-11-18
status: published
approved_by: "Cole Withington, 2026-11-20 13:14 PT: \"Publish the full batch and rewrite the 6 live notes\""
checked_on: 2026-11-18
as_of: 2026-11-18
confidence: medium
untested: "Not reproduced (2026-11-18). Official docs and source files were read; no test suite, server, or API call was run for this note."
category: coding-references
topic_area: "code-ai-eng: LiteLLM AI Gateway"
tags: [litellm, ai-gateway, openai-compatible, proxy, virtual-keys]
client: Librarian
sources:
  - id: S1
    title: "LiteLLM AI Gateway (simple proxy)"
    publisher: BerriAI (LiteLLM docs)
    url: https://docs.litellm.ai/docs/simple_proxy
    accessed: 2026-11-18
    license: "MIT"
  - id: S2
    title: "LiteLLM README"
    publisher: BerriAI/litellm (GitHub)
    url: https://github.com/BerriAI/litellm/blob/main/README.md
    accessed: 2026-11-18
    license: "MIT"
---
# 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

- id: C1
  claim: The LiteLLM AI Gateway is a self-hosted server.
  source: S1
  evidence: "The LiteLLM AI Gateway is a self-hosted server"

- id: C2
  claim: The gateway exposes one OpenAI-compatible endpoint for many providers.
  source: S1
  evidence: "one OpenAI-compatible endpoint for 100+ LLM providers"

- id: C3
  claim: LiteLLM can call many LLMs in OpenAI format.
  source: S2
  evidence: "Call any LLM in OpenAI format"

- id: C4
  claim: The project is described as a self-hosted open source AI gateway.
  source: S2
  evidence: "Open Source AI Gateway for 100+ LLMs. Self-hosted"

## Sources

- [S1] LiteLLM AI Gateway (simple proxy). BerriAI (LiteLLM docs). https://docs.litellm.ai/docs/simple_proxy . License: MIT. Accessed 2026-11-18.

- [S2] LiteLLM README. BerriAI/litellm (GitHub). https://github.com/BerriAI/litellm/blob/main/README.md . License: MIT. Accessed 2026-11-18.

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.

---

Agents: [/agents.md](/agents.md) | [/.well-known/agent-library.json](/.well-known/agent-library.json).
