Skip to content
AI Skills Central

Type to search Agent Skills, workflows, tutorials, tools and the glossary.

LiteLLM

Open-source SDK and AI gateway that calls 100+ providers through one OpenAI-style API.

By BerriAIChecked
Visit docs.litellm.ai(opens in a new tab)
Bookmark

Bookmarks are kept in your free account, so you can find this page again on any device.

Sign in to bookmark

What it is

LiteLLM translates one request format into the APIs of OpenAI, Anthropic, Gemini, Bedrock, Azure, local servers and many others. Use it as a Python library in your code, or run the proxy server as a central gateway for a team: it issues virtual keys, tracks spend per key or team, enforces budgets and rate limits, load-balances across deployments and falls back to another model when one fails. Many other tools use it under the hood for multi-provider support.

Best for

One internal endpoint with per-team keys and budgets.

Skills it helps with

Learn LiteLLM by doing

  • Move an app to a new model without regressions

    LLM model migration without surprises: freeze a golden set, run old and new models side by side, fix the prompts, compare cost, then roll out behind a flag.

    WorkflowIntermediate5 h7 steps

  • LLM cost levers cheat sheet

    The main ways to cut model spend, ordered by effort, with what each saves, what it risks and how to check quality held. Checked against provider docs.

    Cheat sheetIntermediate

  • DeepSeek

    Chat app and API for DeepSeek's open-weight models.

    Usage-basedDeepSeek

  • Groq

    Fast inference API on Groq's own LPU chips.

    FreemiumGroq

  • OpenRouter

    One API and bill for models from many providers, with routing and fallbacks.

    Usage-basedOpenRouter

  • LLM

    CLI and Python library for prompting many models.

    Open sourceSimon Willison

  • Portkey AI Gateway

    Open-source gateway for routing model requests with retries, fallbacks and guardrails.

    Open sourcePortkey (Palo Alto Networks)

  • vLLM

    High-throughput inference and serving engine for LLMs with an OpenAI-compatible server.

    Open source

All Models and local inference