OpenRouter error
OpenRouter 504 timeout: what it means and how to fix it
504 timeoutRetry? Not statedLast verified 0 documented fixes1 source
What it means
The provider did not respond within the allowed time. On the Anthropic Messages skin this maps to overloaded_error.
Causes
- Provider did not respond in time
How to fix it
The official docs list no specific fix for this error. Check the causes above and the provider's error docs under Sources.
More OpenRouter errors
All 32 OpenRouter errors400 invalid_requestRetry? Not stated400 invalid_promptRetry? Not stated400 context_length_exceededRetry? Not stated400 max_tokens_exceededRetry? Not stated400 token_limit_exceededRetry? Not stated400 string_too_longRetry? Not stated400 invalid_imageRetry? Not stated400 image_too_largeRetry? Not stated
HTTP 504 at other providers
FAQ
What does the OpenRouter error "504 timeout" mean?
The provider did not respond within the allowed time. On the Anthropic Messages skin this maps to overloaded_error.
How do I fix OpenRouter "504 timeout"?
The official docs list no specific fix for this error. Documented cause: Provider did not respond in time
Should I retry OpenRouter "504 timeout"?
Not stated. The official docs do not say whether this error is retryable.
Which other AI APIs return HTTP 504?
Per their official error docs: Anthropic API (504 timeout_error), Gemini API (504 deadline_exceeded; 504 DEADLINE_EXCEEDED), Mistral API (504 Gateway timeout), Vertex AI (504 DEADLINE_EXCEEDED).
Sources
Last verified against 1 source: OpenRouter's official docs and official SDK repositories.
Newsletter
Know when the APIs change
One email per week. New model releases, API changes, what broke, and how developers are working around it.