Skip to content

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]

docs: sidebar updates, letta resources links, Google GenAI SDK, cost tracking order

Mr. Ånand12822f14ab93
diff --git a/docs/my-website/docs/guides/index.md b/docs/my-website/docs/guides/index.md
index b39234e4c87..1641600dab2 100644
--- a/docs/my-website/docs/guides/index.md
+++ b/docs/my-website/docs/guides/index.md
@@ -11,34 +11,6 @@ import NavigationCards from '@site/src/components/NavigationCards';
---
-## Start Here
-
-<NavigationCards
-columns={3}
-items={[
- {
- icon: "🐍",
- title: "SDK Quickstart",
- description: "Install LiteLLM, make your first call, then branch into feature guides.",
- to: "/docs/learn/sdk_quickstart",
- },
- {
- icon: "🖥️",
- title: "Gateway Quickstart",
- description: "Start the proxy, add keys, then move into proxy-specific guides.",
- to: "/docs/learn/gateway_quickstart",
- },
- {
- icon: "🛠️",
- title: "Need Walkthroughs?",
- description: "Use Tutorials for end-to-end integrations instead of feature references.",
- to: "/docs/tutorials",
- },
-]}
-/>
-
----
-
## Build With LiteLLM
<NavigationCards
diff --git a/docs/my-website/docs/integrations/letta.md b/docs/my-website/docs/integrations/letta.md
index 2afb82542f2..9711999df5e 100644
--- a/docs/my-website/docs/integrations/letta.md
+++ b/docs/my-website/docs/integrations/letta.md
@@ -920,9 +920,9 @@ for model in models:
## Resources
-- [Letta Documentation](https://docs.letta.ai/)
-- [LiteLLM Proxy Documentation](../proxy/quick_start.md)
-- [LiteLLM SDK Documentation](../completion/input.md)
-- [Function Calling Guide](../completion/function_call.md)
-- [Observability Setup](../observability/langfuse_integration.md)
-- [Router Configuration](../routing.md)
\ No newline at end of file
+- [Letta Documentation](https://docs.letta.com/)
+- [LiteLLM Proxy Documentation](/docs/simple_proxy)
+- [LiteLLM SDK Documentation](/docs/#litellm-python-sdk)
+- [Function Calling Guide](/docs/completion/function_call)
+- [Observability Setup](/docs/integrations/observability_integrations)
+- [Router Configuration](/docs/routing)
\ No newline at end of file
diff --git a/docs/my-website/docs/learn/index.md b/docs/my-website/docs/learn/index.md
index e36ec906f32..159c43c7d0b 100644
--- a/docs/my-website/docs/learn/index.md
+++ b/docs/my-website/docs/learn/index.md
@@ -127,7 +127,7 @@ items={[
Use these when you already know the type of doc you want.
<NavigationCards
-columns={3}
+columns={2}
items={[
{
icon: "📚",
@@ -141,12 +141,6 @@ items={[
description: "Step-by-step integrations.",
to: "/docs/tutorials",
},
- {
- icon: "🌐",
- title: "Providers",
- description: "Provider-specific auth and params.",
- to: "/docs/providers",
- },
]}
/>
diff --git a/docs/my-website/docs/tutorials/index.md b/docs/my-website/docs/tutorials/index.md
index 9c3fc7a35b6..7f80cc760ee 100644
--- a/docs/my-website/docs/tutorials/index.md
+++ b/docs/my-website/docs/tutorials/index.md
@@ -11,34 +11,6 @@ import NavigationCards from '@site/src/components/NavigationCards';
---
-## Start Here
-
-<NavigationCards
-columns={3}
-items={[
- {
- icon: "🐍",
- title: "SDK Quickstart",
- description: "Use this if you want to make your first LiteLLM call before following integration tutorials.",
- to: "/docs/learn/sdk_quickstart",
- },
- {
- icon: "🖥️",
- title: "Gateway Quickstart",
- description: "Use this if your tutorial depends on the LiteLLM proxy or shared infrastructure.",
- to: "/docs/learn/gateway_quickstart",
- },
- {
- icon: "📚",
- title: "Need Feature References?",
- description: "Use Guides when you know the capability you need and just want the doc for it.",
- to: "/docs/guides",
- },
-]}
-/>
-
----
-
## Getting Started
<NavigationCards
@@ -74,8 +46,14 @@ items={[
},
{
icon: "🐍",
- title: "Provider Tutorials",
- description: "Set up Azure OpenAI, HuggingFace, TogetherAI, local models, Gradio, and more.",
+ title: "Python SDK",
+ description: "Gradio, fallbacks, provider-specific params — no proxy required.",
+ to: "/docs/tutorials/python_sdk",
+ },
+ {
+ icon: "🔌",
+ title: "Provider Setup",
+ description: "Azure OpenAI, HuggingFace, TogetherAI, local models, and more.",
to: "/docs/tutorials/provider_tutorials",
},
]}
@@ -83,38 +61,38 @@ items={[
---
-## Production
+## Proxy
<NavigationCards
columns={2}
items={[
{
- icon: "🖥️",
- title: "Proxy & Gateway",
- description: "Access control, SSO, SCIM, tag management, and prompt caching.",
- to: "/docs/tutorials/proxy_gateway",
+ icon: "👥",
+ title: "Proxy: Admin & Access",
+ description: "User and team management, SSO, SCIM, and routing rules.",
+ to: "/docs/tutorials/proxy_admin_access",
},
{
- icon: "🔍",
- title: "Observability & Safety",
- description: "Logging to Elasticsearch, Aporia guardrails, Presidio PII masking, and evaluation suites.",
- to: "/docs/tutorials/observability_safety",
+ icon: "🛡️",
+ title: "Proxy: Features & Safety",
+ description: "Prompt caching, passthrough APIs, realtime, guardrails, and PII masking.",
+ to: "/docs/tutorials/proxy_features_safety",
},
]}
/>
---
-## Advanced Features
+## Observability & Evaluation
<NavigationCards
columns={2}
items={[
{
- icon: "⚙️",
- title: "Advanced Features",
- description: "Model fallbacks, provider-specific parameters, and realtime audio.",
- to: "/docs/tutorials/advanced_features",
+ icon: "🔍",
+ title: "Observability & Evaluation",
+ description: "Logging to Elasticsearch, benchmarking, and evaluation suites.",
+ to: "/docs/tutorials/observability_evaluation",
},
]}
/>
diff --git a/docs/my-website/sidebars.js b/docs/my-website/sidebars.js
index 27d7c6b34f3..39d59d73e68 100644
--- a/docs/my-website/sidebars.js
+++ b/docs/my-website/sidebars.js
@@ -138,14 +138,13 @@ const sidebars = {
},
"tutorials/opencode_integration",
"tutorials/openclaw_integration",
- "tutorials/cost_tracking_coding",
"tutorials/cursor_integration",
"tutorials/github_copilot_integration",
"tutorials/litellm_gemini_cli",
- "tutorials/google_genai_sdk",
"tutorials/litellm_qwen_code_cli",
"tutorials/openai_codex",
- "tutorials/retool_assist"
+ "tutorials/retool_assist",
+ "tutorials/cost_tracking_coding"
]
},
{
@@ -162,6 +161,7 @@ const sidebars = {
"tutorials/claude_agent_sdk",
"tutorials/copilotkit_sdk",
"tutorials/google_adk",
+ "tutorials/google_genai_sdk",
"tutorials/livekit_xai_realtime",
{ type: "doc", id: "tutorials/instructor", label: "Instructor with LiteLLM" },
{ type: "doc", id: "langchain/langchain", label: "LangChain with LiteLLM" },
@@ -1085,6 +1085,7 @@ const sidebars = {
"projects/Codium PR Agent",
"projects/Prompt2Model",
"projects/SalesGPT",
+ "projects/Softgen",
"projects/Quivr",
"projects/Langstream",
"projects/Otter",
@@ -1341,78 +1342,91 @@ const learnSidebar = {
},
{
type: "category",
- label: "Provider Tutorials",
+ label: "Python SDK",
collapsed: true,
link: {
type: "generated-index",
- title: "Provider Tutorials",
- description: "Set up Azure OpenAI, HuggingFace, TogetherAI, local models, and more",
+ title: "Python SDK",
+ description: "Tutorials using only the Python SDK — no proxy server required",
+ slug: "/tutorials/python_sdk"
+ },
+ items: [
+ "tutorials/gradio_integration",
+ "tutorials/provider_specific_params",
+ "tutorials/model_fallbacks",
+ "tutorials/fallbacks",
+ ],
+ },
+ {
+ type: "category",
+ label: "Provider Setup",
+ collapsed: true,
+ link: {
+ type: "generated-index",
+ title: "Provider Setup",
+ description: "Connect LiteLLM to Azure OpenAI, HuggingFace, TogetherAI, local models, and more",
slug: "/tutorials/provider_tutorials"
},
items: [
"tutorials/azure_openai",
"tutorials/TogetherAI_liteLLM",
- "tutorials/huggingface_codellama",
"tutorials/huggingface_tutorial",
+ "tutorials/huggingface_codellama",
"tutorials/finetuned_chat_gpt",
- "tutorials/gradio_integration",
- "tutorials/compare_llms",
- "tutorials/litellm_Test_Multiple_Providers",
"tutorials/oobabooga",
],
},
{
type: "category",
- label: "Proxy & Gateway",
+ label: "Proxy: Admin & Access",
collapsed: true,
link: {
type: "generated-index",
- title: "Proxy & Gateway",
- description: "Access control, SSO, SCIM, tag management, and prompt caching",
- slug: "/tutorials/proxy_gateway"
+ title: "Proxy: Admin & Access",
+ description: "User and team management, SSO, SCIM, and routing rules",
+ slug: "/tutorials/proxy_admin_access"
},
items: [
"tutorials/default_team_self_serve",
"tutorials/msft_sso",
"tutorials/scim_litellm",
"tutorials/tag_management",
- "tutorials/prompt_caching",
- "tutorials/anthropic_file_usage",
],
},
{
type: "category",
- label: "Observability & Safety",
+ label: "Proxy: Features & Safety",
collapsed: true,
link: {
type: "generated-index",
- title: "Observability & Safety",
- description: "Logging, guardrails, PII masking, and evaluation suites",
- slug: "/tutorials/observability_safety"
+ title: "Proxy: Features & Safety",
+ description: "Prompt caching, passthrough APIs, realtime, guardrails, and PII masking",
+ slug: "/tutorials/proxy_features_safety"
},
items: [
- "tutorials/elasticsearch_logging",
+ "tutorials/prompt_caching",
+ "tutorials/anthropic_file_usage",
+ "tutorials/gemini_realtime_with_audio",
"tutorials/litellm_proxy_aporia",
"tutorials/presidio_pii_masking",
- "tutorials/eval_suites",
- "tutorials/lm_evaluation_harness",
],
},
{
type: "category",
- label: "Advanced Features",
+ label: "Observability & Evaluation",
collapsed: true,
link: {
type: "generated-index",
- title: "Advanced Features",
- description: "Model fallbacks, provider-specific params, and realtime audio",
- slug: "/tutorials/advanced_features"
+ title: "Observability & Evaluation",
+ description: "Logging, monitoring, benchmarking, and evaluation suites",
+ slug: "/tutorials/observability_evaluation"
},
items: [
- "tutorials/model_fallbacks",
- "tutorials/fallbacks",
- "tutorials/provider_specific_params",
- "tutorials/gemini_realtime_with_audio",
+ "tutorials/elasticsearch_logging",
+ "tutorials/compare_llms",
+ "tutorials/litellm_Test_Multiple_Providers",
+ "tutorials/eval_suites",
+ "tutorials/lm_evaluation_harness",
],
},
],