# Timeouts

Source: https://zshot-cli.com/reference/timeouts/
Markdown: https://zshot-cli.com/reference/timeouts/index.md
Section: [Reference](https://zshot-cli.com/reference/)

`--timeout SECONDS` caps the total time for the entire render, including
encoding. It counts from when ZShot receives the request, so time waiting in the
server's queue and resolving a WARC's sitemap count against it. Pass `0`, or use
`--no-timeout`, to disable the cap. Without an explicit
value the default is chosen from the output type:

| Output | Default |
| --- | --- |
| Static content (PNG, JPEG, PDF, …) | 10s |
| LLM output (`llm_text`, `llm_json`) | 10s, plus the formatter's reply timeout: 45s unless set |
| Animated images and video | `max(duration × 10, 60s)` |
| LLM navigation (`--navigate`) | the output's default, plus `--navigator-max-steps × (reply timeout + --navigator-step-timeout)`: 610s unless set |
| WARC and WACZ | none. Each page is bounded by `--crawl-page-timeout`, default `max(10s, --wait-for + 10s)`. |

A `--wait-for` adds its wait to the 10s.

An LLM output's default allows its formatter one reply: the model's
[reply timeout](/reference/llm_connections/options), or 35s where it has
none.

A navigation's default allows each of its steps one reply from the model and one
action on the page. The reply timeout is the longest among its navigators: each
one's [`?timeout=`](/reference/llm_connections/options), or
[`--navigator-step-timeout`](/reference/flags/navigator/navigator-step-timeout) where
none is given.

A model with `?timeout=0` waits without limit, so its request has no default timeout.
Every other limit still applies: each action on the page has `--navigator-step-timeout`,
and each other model its own reply timeout.

## Navigation

- [Examples](https://zshot-cli.com/examples/)
- [Download](https://zshot-cli.com/download/)
- [Purchase](https://zshot-cli.com/purchase/)
- [Reference](https://zshot-cli.com/reference/)
  - [Formats](https://zshot-cli.com/reference/formats/)
  - [Flags](https://zshot-cli.com/reference/flags/)
  - [Agents](https://zshot-cli.com/reference/agents/)
  - [Configuration](https://zshot-cli.com/reference/configuration/)
  - [Crawling](https://zshot-cli.com/reference/crawling/)
  - [Docker](https://zshot-cli.com/reference/docker/)
  - [Exit Codes](https://zshot-cli.com/reference/exit_codes/)
  - [Linux](https://zshot-cli.com/reference/linux/)
  - [LLM Connections](https://zshot-cli.com/reference/llm_connections/)
  - [LLM Formatting](https://zshot-cli.com/reference/llm_formatting/)
  - [Local Inputs](https://zshot-cli.com/reference/inputs/)
  - [Navigator](https://zshot-cli.com/reference/navigator/)
  - [Security](https://zshot-cli.com/reference/security/)
  - [Server](https://zshot-cli.com/reference/server/)
  - [Shell completions](https://zshot-cli.com/reference/shell_completions/)
  - [Storage](https://zshot-cli.com/reference/storage/)
  - **Timeouts**
  - [Web Bot Auth](https://zshot-cli.com/reference/web_bot_auth/)
- [Support](https://zshot-cli.com/support/)
- [Changelog](https://zshot-cli.com/changelog/)

Site index: https://zshot-cli.com/llms.txt

