What this thread does
Do first: Set timeout: 30 under router_settings.
When you need it
The router timeout bounds the entire call and is passed to the completion layer. The page shows a global proxy configuration for this case.
Steps
1. Put the page's global router setting in /path/to/config.yaml:
router_settings:
timeout: 30
2. Start the proxy using that file:
litellm --config /path/to/config.yaml
Check it worked
The page annotates this setting as a 30-second timeout for the entire call. It provides no separate proxy confirmation command; look at the configured router_settings.timeout value.
Limits
This is the full-call timeout. Per-request and deployment-specific timeouts can take precedence over router defaults. The page separately describes first-chunk streaming timeouts and idle-connection keepalives. The page does not name a version.
Not for: keeping an idle stream connected; see litellm-set-idle-stream-keepalive.
Sources
- Timeouts, LiteLLM documentation, read 2026-11-24: "sets a 30s timeout for the entire call"
Checked
2026-11-24; read <https://docs.litellm.ai/docs/proxy/timeout#global-timeouts>; no command was run.
Started from a post by @LiteLLM, packaged by the editor. Original post