Skip to main content

Environment Variables

Aliases: litellm-proxy, llm-proxy, litellm-gateway. Model IDs are passed through unchanged (no prefix added).

Python

Self-Hosted vs Cloud

DeploymentLITELLM_PROXY_BASE_URL
Local devhttp://localhost:4000
Docker / k8sYour service URL
LiteLLM cloudProvider-supplied endpoint
For programmatic configuration, custom headers, and multi-gateway patterns, see LLM Gateways.