> ## Documentation Index
> Fetch the complete documentation index at: https://docs.antarah.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# upstream_timeout

> Upstream timeout (HTTP 504)

| | |
| - | - |
| HTTP status | `504` |
| OpenAI `type` | `server_error` |
| Anthropic `type` | `api_error` |
| Retry | Yes. Error responses carry `x-should-retry: true`. |

## What it means

The model runtime took longer than the time budget.

## What to do

Retry with backoff, or ask for less output.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.