Learn LiteLLM
LiteLLM gives you one OpenAI-compatible interface for 100+ LLM providers. Start with the path that matches your setup.
Start Here
Pick one path first.
Gateway Quickstart
Run LiteLLM as a shared gateway.
- Start the gateway
- Add models and keys
- Connect clients
SDK Quickstart
Use LiteLLM directly in application code.
- Install
- First request
- Next SDK features
Enterprise Quickstart
Roll out LiteLLM Enterprise for all the teams in your company.
- Deploy and give access
- Connect clients and secure auth
- Set up chargeback
Cookbook
Step-by-step recipes that combine features into a complete workflow.
Connect apps and providers
Set provider keys and call models from different providers.
Control access
Give access to teams and users, and connect your identity provider.
Control cost and capacity
Add fallbacks and use prompt caching.
Control content
Add guardrails and mask personal data.
Connect tools and agents
Use file search, vector stores, and realtime audio.
See what happened
Send logs to observability tools and compare models.
To see every recipe on one page, go to All Recipes.