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

# Rate limits and queue

> Request limits, active-chapter caps, and how the shared GPU queue works.

## One queue, first come, first served

Every chapter, from the website or the API, from every customer, goes into **one GPU queue in arrival order**. There are no priority lanes and no paid fast queue. Your chapter's place is fixed when you call `start`.

While a chapter is `queued`, it shows:

```json theme={null}
"queue": {"position": 3, "estimated_start_at": "2026-11-25T14:11:30Z", "gpu": "online"}
```

* `position` counts the whole queue. It never shows whose chapters are ahead.
* `estimated_start_at` is based on the work ahead of you and measured GPU speed. It's an estimate.
* `gpu` is `online`, `cooling` (a short planned pause) or `offline`. When it isn't `online`, the estimate includes the planned resume time if one is known.

`GET /v1/status` (no authentication) shows the GPU state and the current estimated wait, so you can check before starting.

If the GPU is unavailable and a queued chapter hasn't started within 48 hours, it is canceled with a full refund (`chapter.error.code = gpu_unavailable_timeout`, event `chapter.canceled`).

## Limits

| Limit | Default | When exceeded |
| - | - | - |
| Requests per key | 120 per minute, of which up to 60 writes | `429 rate_limited` with `Retry-After` |
| Active chapters per key (`queued` + `processing`) | 3 | `429 concurrency_limit` at `start` |
| Active chapters per account (all keys and the site) | 6 | `429 concurrency_limit` at `start` |
| Chapters in `awaiting_upload` per account | 10 | `429 concurrency_limit` at create |
| Queue guard | New starts are refused while the estimated wait is over 12 hours | `503 capacity_unavailable` with `Retry-After` and `estimated_wait_s`. Nothing is held. |

The concurrency caps limit what you can **start**, not what's running: anything already queued or running always finishes. To translate many chapters, start up to your cap and start the next one when a chapter finishes (the `chapter.succeeded` webhook is the natural trigger).

Calls that don't use the GPU (validation, quotes, re-translation, result URLs) are not limited by the GPU caps. Test-mode traffic has its own limits and never uses the GPU.

## Rate limit headers

Every response carries:

| Header | Meaning |
| - | - |
| `RateLimit-Limit` | Requests allowed in the current window |
| `RateLimit-Remaining` | Requests left in the window |
| `RateLimit-Reset` | Seconds until the window resets |

On a `429` or `503`, wait for `Retry-After` seconds before retrying.

## Polling cheaply

A `304 Not Modified` (from `If-None-Match` with the chapter's `ETag`) counts as **0.2** of a request. Recommended intervals:

| Status | Poll every |
| - | - |
| `validating` | 2–5 s |
| `queued` | 30–60 s |
| `processing` | 5–10 s |

Or don't poll at all: use [webhooks](https://docs.relettr.com/webhooks.md).


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