jeu. 30 juil. 2026
LiteLLM
ai
llm apis
OSS

LiteLLM

Unified LLM API gateway

1,345 likesopen-sourceOpen source
Vue d'ensemble

Call 100+ LLM providers with OpenAI-compatible API. Budget tracking and fallbacks built-in.

Essential glue layer when your stack uses more than one LLM provider.

Fonctionnalités clés

  • Single OpenAI-compatible endpoint for 100+ providers
  • Budget caps, rate limits, and fallback routing
  • Spend tracking per API key and team
  • Drop-in replacement for OpenAI SDK calls

Cas d'usage

  1. 01Multi-model routing (GPT-4o → Claude → local Ollama)
  2. 02Centralized LLM gateway for microservices
  3. 03Cost control for AI features in production SaaS

Démarrage rapide

pip — quick start
pip install litellm
litellm --model gpt-4o-mini

Compatibilité stack

Ollama
Open WebUI
LangChain
Vercel AI SDK

Tags

Articles associés