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
[Fix] UI - Settings: clarify Max-subscription vs BYOK toggle descriptions (independent of each other)
Yuneng Jiang6fe79035d9cd
diff --git a/litellm/proxy/ui_crud_endpoints/proxy_setting_endpoints.py b/litellm/proxy/ui_crud_endpoints/proxy_setting_endpoints.pyindex dd2b5aea7c8..1523e1cb9be 100644--- a/litellm/proxy/ui_crud_endpoints/proxy_setting_endpoints.py+++ b/litellm/proxy/ui_crud_endpoints/proxy_setting_endpoints.py@@ -97,15 +97,23 @@ class UISettings(BaseModel):forward_client_headers_to_llm_api: bool = Field(default=False,- description="If enabled, forwards client headers (e.g. Authorization) to the LLM API. Required for Claude Code with Max subscription.",+ description=(+ "Forwards client headers (Authorization, anthropic-beta, and x-* "+ "custom headers) to the upstream LLM. Enable for Claude Code with a "+ "Max subscription (forwards the OAuth token) or to pass custom/tracing "+ "headers through to the provider. Independent of the BYOK toggle — "+ "enable only the one(s) you need."+ ),)forward_llm_provider_auth_headers: bool = Field(default=False,description=(- "If enabled, forwards LLM provider auth headers (x-api-key, "- "x-goog-api-key, api-key, ocp-apim-subscription-key) to the upstream "- "provider. Required for Claude Code BYOK (bring-your-own-key) flows."+ "Forwards provider auth headers (x-api-key, x-goog-api-key, api-key, "+ "ocp-apim-subscription-key) to the upstream LLM, overriding any "+ "deployment-configured key for that request. Enable for Claude Code "+ "BYOK (clients bring their own API key). Independent of the "+ "client-headers toggle — enable only the one(s) you need."),)diff --git a/ui/litellm-dashboard/src/components/Settings/AdminSettings/UISettings/UISettings.tsx b/ui/litellm-dashboard/src/components/Settings/AdminSettings/UISettings/UISettings.tsxindex 9751ad435d5..c1042e3cd35 100644--- a/ui/litellm-dashboard/src/components/Settings/AdminSettings/UISettings/UISettings.tsx+++ b/ui/litellm-dashboard/src/components/Settings/AdminSettings/UISettings/UISettings.tsx@@ -295,7 +295,7 @@ export default function UISettings() {<Typography.Text strong>Forward client headers to LLM API</Typography.Text><Typography.Text type="secondary">{forwardClientHeadersProperty?.description ??- "If enabled, forwards client headers (e.g. Authorization) to the LLM API. Required for Claude Code with Max subscription."}+ "Forwards client headers (Authorization, anthropic-beta, and x-* custom headers) to the upstream LLM. Enable for Claude Code with a Max subscription (forwards the OAuth token) or to pass custom/tracing headers through to the provider. Independent of the BYOK toggle — enable only the one(s) you need."}</Typography.Text></Space></Space>@@ -315,7 +315,7 @@ export default function UISettings() {<Typography.Text strong>Forward LLM provider auth headers</Typography.Text><Typography.Text type="secondary">{forwardLLMProviderAuthHeadersProperty?.description ??- "If enabled, forwards provider auth headers (x-api-key, x-goog-api-key, api-key) to the LLM provider. Required for Claude Code BYOK."}+ "Forwards provider auth headers (x-api-key, x-goog-api-key, api-key, ocp-apim-subscription-key) to the upstream LLM, overriding any deployment-configured key for that request. Enable for Claude Code BYOK (clients bring their own API key). Independent of the client-headers toggle — enable only the one(s) you need."}</Typography.Text></Space></Space>