The fastest, litest AI Gateway. Rust core with Python SDK. Call 100+ LLM APIs in OpenAI (or native) format with cost tracking, guardrails, load balancing, and logging [Bedrock, Azure, OpenAI, Anthropic, OpenAI, VertexAI, vLLM, Nvidia NIM]
Python ai-gatewayanthropicazure-openaibedrockgatewaylangchainlitellmllmllm-gatewayllmopsmcp-gatewayopenaiopenai-proxyrustrust-aivertex-ai
made litellm proxy and sdk difference cleaner in overview (#17790)
Shivam Rawat9d7a255d5534
diff --git a/docs/my-website/docs/index.md b/docs/my-website/docs/index.mdindex c6e335e4cc3..f393b300f73 100644--- a/docs/my-website/docs/index.md+++ b/docs/my-website/docs/index.md@@ -13,36 +13,36 @@ https://github.com/BerriAI/litellm- Track spend & set budgets per project [LiteLLM Proxy Server](https://docs.litellm.ai/docs/simple_proxy)## How to use LiteLLM-You can use litellm through either:-1. [LiteLLM Proxy Server](#litellm-proxy-server-llm-gateway) - Server (LLM Gateway) to call 100+ LLMs, load balance, cost tracking across projects-2. [LiteLLM python SDK](#basic-usage) - Python Client to call 100+ LLMs, load balance, cost tracking-### **When to use LiteLLM Proxy Server (LLM Gateway)**+You can use LiteLLM through either the Proxy Server or Python SDK. Both gives you a unified interface to access multiple LLMs (100+ LLMs). Choose the option that best fits your needs:++<table style={{width: '100%', tableLayout: 'fixed'}}>+<thead>+<tr>+<th style={{width: '14%'}}></th>+<th style={{width: '43%'}}><strong><a href="#litellm-proxy-server-llm-gateway">LiteLLM Proxy Server</a></strong></th>+<th style={{width: '43%'}}><strong><a href="#basic-usage">LiteLLM Python SDK</a></strong></th>+</tr>+</thead>+<tbody>+<tr>+<td style={{width: '14%'}}><strong>Use Case</strong></td>+<td style={{width: '43%'}}>Central service (LLM Gateway) to access multiple LLMs</td>+<td style={{width: '43%'}}>Use LiteLLM directly in your Python code</td>+</tr>+<tr>+<td style={{width: '14%'}}><strong>Who Uses It?</strong></td>+<td style={{width: '43%'}}>Gen AI Enablement / ML Platform Teams</td>+<td style={{width: '43%'}}>Developers building LLM projects</td>+</tr>+<tr>+<td style={{width: '14%'}}><strong>Key Features</strong></td>+<td style={{width: '43%'}}>• Centralized API gateway with authentication & authorization<br />• Multi-tenant cost tracking and spend management per project/user<br />• Per-project customization (logging, guardrails, caching)<br />• Virtual keys for secure access control<br />• Admin dashboard UI for monitoring and management</td>+<td style={{width: '43%'}}>• Direct Python library integration in your codebase<br />• Router with retry/fallback logic across multiple deployments (e.g. Azure/OpenAI) - <a href="https://docs.litellm.ai/docs/routing">Router</a><br />• Application-level load balancing and cost tracking<br />• Exception handling with OpenAI-compatible errors<br />• Observability callbacks (Lunary, MLflow, Langfuse, etc.)</td>+</tr>+</tbody>+</table>-:::tip--Use LiteLLM Proxy Server if you want a **central service (LLM Gateway) to access multiple LLMs**--Typically used by Gen AI Enablement / ML PLatform Teams--:::-- - LiteLLM Proxy gives you a unified interface to access multiple LLMs (100+ LLMs)- - Track LLM Usage and setup guardrails- - Customize Logging, Guardrails, Caching per project--### **When to use LiteLLM Python SDK**--:::tip-- Use LiteLLM Python SDK if you want to use LiteLLM in your **python code**--Typically used by developers building llm projects--:::-- - LiteLLM SDK gives you a unified interface to access multiple LLMs (100+ LLMs)- - Retry/fallback logic across multiple deployments (e.g. Azure/OpenAI) - [Router](https://docs.litellm.ai/docs/routing)## **LiteLLM Python SDK**