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(intro.md): add a section on 'why pass through endpoints'

Krrish Dholakia39ee4c6bb448
diff --git a/docs/my-website/docs/pass_through/intro.md b/docs/my-website/docs/pass_through/intro.md
new file mode 100644
index 00000000000..885e4bce5a5
--- /dev/null
+++ b/docs/my-website/docs/pass_through/intro.md
@@ -0,0 +1,13 @@
+# Why Pass-Through Endpoints?
+
+These endpoints are useful for 2 scenarios:
+
+1. **Migrate existing projects** to litellm proxy. E.g: If you have users already in production with Anthropic's SDK, you just need to change te base url to get cost tracking/logging/budgets/etc.
+
+
+2. **Use provider-specific endpoints** E.g: If you want to use [Vertex AI's token counting endpoint](https://docs.litellm.ai/docs/pass_through/vertex_ai#count-tokens-api)
+
+
+## How is your request handled?
+
+The request is passed through to the provider's endpoint. The response is then passed back to the client. **No translation is done.**
\ No newline at end of file
diff --git a/docs/my-website/sidebars.js b/docs/my-website/sidebars.js
index 98ce2ba3eef..aac4f6b8ee9 100644
--- a/docs/my-website/sidebars.js
+++ b/docs/my-website/sidebars.js
@@ -287,12 +287,14 @@ const sidebars = {
type: "category",
label: "Pass-through Endpoints (Anthropic SDK, etc.)",
items: [
+ "pass_through/intro",
"pass_through/vertex_ai",
"pass_through/google_ai_studio",
"pass_through/cohere",
"pass_through/anthropic_completion",
"pass_through/bedrock",
"pass_through/langfuse",
+ "proxy/pass_through",
],
},
"rerank",
@@ -302,7 +304,6 @@ const sidebars = {
"realtime",
"fine_tuning",
"moderation",
- "proxy/pass_through",
],
},
{