---
title: "Limits and the 429 code"
url: https://lumean.app/es/developers/docs/guide/limits
locale: es
description: "Which limits respond with 429, how their responses differ, and how to clear each one."
updated: 2026-10-18
source_locale: en
sources: [get-usage, post-orders, post-orders-order-retry]
errors: ["429", rate-limit-exceeded, token-quota-exceeded, limit-exceeded, concurrency-limit-exceeded, policy-cooldown-active]
spec_version: 1.0.0
---

# Limits and the 429 code

Several different limits respond with `429`. They have different causes and different response
bodies, and each one is cleared in its own way.

## How to tell the cause

Every one of these responses has a `reason` field that names the cause. The `Retry-After` header
comes with the request rate limit, the token quota and the policy cooldown, and tells you how long
to wait. The subscription limit and the concurrent task limit don't send it, and waiting on a
timer won't help there.

```text
HTTP 429  →  смотрите поле "reason" в теле
│
├─ rate_limit_exceeded                     Retry-After: ЕСТЬ
│    → ждать retry_after сек; снизить частоту под окна limits.requests.*
├─ token_quota_exceeded                    Retry-After: ЕСТЬ
│    → ждать retry_after сек; window/limit/used/reset_at в теле
├─ limit_exceeded                          Retry-After: нет
│    → месячный объём плана исчерпан; сверить GET /usage
├─ concurrency_limit_exceeded              Retry-After: нет
│    → ждать завершения СВОИХ активных заказов (limit_type: concurrent)
└─ policy_cooldown_active                  Retry-After: ЕСТЬ
     → перефразировать текст; 5 блокировок = 5 мин, далее 10, затем 15
```

## The limits

| Limit | `reason` | `Retry-After` | What to do |
| --- | --- | --- | --- |
| Key request rate | `rate_limit_exceeded` | yes | Wait `retry_after` seconds, lower the request rate |
| Key token quota | `token_quota_exceeded` | yes, except for the `window: "quota"` pool | Wait `retry_after` seconds |
| Subscription limit | `limit_exceeded` | no | Check `GET /usage`, buy more, or wait for the limit to reset |
| Concurrent tasks | `concurrency_limit_exceeded` | no | Wait for your own orders to finish |
| Content policy cooldown | `policy_cooldown_active` | yes | Fix the text instead of retrying it |

## Key request rate

```json
{
  "success": false,
  "message": "…",
  "reason": "rate_limit_exceeded",
  "error_code": "rate_limit_exceeded",
  "retry_after": 12
}
```

The key exceeded one of its rate windows: `limits.requests.per_minute`, `per_hour` or `per_day`.
The response includes the `Retry-After` and `X-RateLimit-*` headers. Wait `retry_after` seconds
and retry. If you keep hitting the limit, lower your request rate to fit the key's windows.

A key with no rate windows has no request-rate limit. The platform may assign default windows to a
new key created without them. The effective windows are shown in the key settings in your
dashboard.

Some operations have their own limits that return the same response: the chunking preview and
voice clone creation. `POST /broadcasting/auth` has its own limit of 1200 requests per minute and
does not use the key's windows (see [Realtime](/developers/docs/guide/realtime)). If your key has
no windows and the `reason` is `rate_limit_exceeded`, one of these limits was hit.

## Key token quota

```json
{
  "success": false,
  "message": "…",
  "reason": "token_quota_exceeded",
  "error_code": "token_quota_exceeded",
  "window": "per_hour",
  "limit": 100000,
  "used": 99200,
  "requested": 1500,
  "reset_at": "2026-10-18T13:00:00+00:00",
  "retry_after": 1260
}
```

The quota counts tokens, not requests. A token is a unit of work volume, not money and not LMC.
The `per_minute`, `per_hour`, `per_day` and `per_month` windows come from the key's
`limits.tokens.*`. The quota is checked before the order is created, so a rejected order is not
created and nothing is charged.

### 429 · `token_quota_exceeded` — token_quota_exceeded — key token quota used up

| Что произошло | Что делать |
| --- | --- |
| The order was not created. This is the only 429 with window fields: `window` (the first window exceeded), `limit`, `used`, `requested`, `reset_at`, `retry_after`. Windows that reset over time (`per_minute` … `per_month`) also send a `Retry-After` header. For the token pool without a reset (`window: "quota"`), `reset_at` and `retry_after` are `null` and there is no header. | Wait until `reset_at`. It is the same moment as `retry_after` seconds from now. With `window: "quota"`, waiting does not help: the pool does not refill on its own, an administrator tops it up. The `reason` and the window fields in the body tell this case apart from `rate_limit_exceeded`. If you cannot wait, reduce `requested`: split the text so that each part fits into what is left in the window (`limit − used`). |

`Retry-After`: есть. Разбор: https://lumean.app/es/developers/docs/errors/token-quota-exceeded

`window` is the first window exceeded. With `reset_at` and `retry_after` you can schedule the job
for the exact moment instead of polling the API.

The key's token pool (`window: "quota"`) has no time-based reset. Its `reset_at` and
`retry_after` are `null`, and there is no `Retry-After` header. The pool does not refill by
itself: an administrator tops it up.

## Subscription limit

A response with `reason: "limit_exceeded"` means a plan limit for the period is used up. It is not
about the key. The response has no quota fields and no `Retry-After` header. Pausing won't help:
the response stays the same until the limit resets.

`GET /usage` shows the limit type and when it resets, in the `limit_type`, `period_end` and
`resets_in` fields. A limit can be hourly, daily, monthly, per billing cycle, or for the whole
term (`total`).

### GET /usage

Get Usage Limits

Справочник: https://lumean.app/es/developers/docs/api/get-usage

## Concurrent tasks

`concurrency_limit_exceeded` limits how many of your orders run at the same time. A batch of
hundreds of orders sent at once hits this limit. A pause between requests won't help here. Once
any running order finishes, the retry goes through.

`GET /usage` shows the ceiling and the number of active orders in the entry with
`limit_type: "concurrent"`. Its `period_start`, `period_end` and `resets_in` are `null`: this
limit has no period.

## Content policy cooldown

If five orders in a row are blocked by the content policy, creating new orders is restricted for
5 minutes. The next such series restricts it for 10 minutes, then 15. The cooldown never goes above
15 minutes. Orders are counted, not chunks: an order with twenty blocked fragments is one failure.

The response includes the `Retry-After` header and the `retry_after` (seconds) and `retry_at`
(ISO-8601) fields.

Infrastructure failures don't count: only content blocks do. An order that delivers a result, even
partially, resets the counter and returns the cooldown to its first step.

The API does not say what in the text broke the policy. The blocked chunk comes back whole, with
the `policy_flagged` status and no words or position marked. Its text is available from
`GET /orders/{order}/items/{item}/text`. You have to rephrase the whole fragment.

If the order runs on ElevenLabs, each attempt blocked by the policy keeps a small fixed fee. It is
taken from the amount that would otherwise be refunded to you.

**Правильно**

Wait for `retry_at`, and rephrase the blocked fragment as a whole in the meantime.

**Неправильно**

Retry the same text after the cooldown. It gets blocked again, the next series of five failures
brings a longer cooldown, and on ElevenLabs a fee is kept for every attempt.

## Handling 429

1. Read `reason` before `Retry-After`. Only `reason` tells you what was hit: rate, volume, plan,
   concurrent tasks or text.
2. When `Retry-After` is present, wait that long. When it is absent, waiting on a timer won't clear
   the refusal: check `GET /usage` or wait for your orders to finish.
3. Don't confuse `429` with `402`. A `402` is about payment, not a limit: the balance lacks LMC
   (`insufficient_balance`) or paying beyond the quota is closed for the service
   (`insufficient_allowance`). See [Tokens, quotas, LMC and PAYG](/developers/docs/guide/billing).
4. Cap the number of retries. The token pool and a blocked text don't clear on their own, and a
   subscription limit holds until the period ends. An endless retry loop won't complete the order.

If you're not sure which limit you hit, paste the response body into the
[error diagnostic tool](/developers/docs/errors#s-diagnose). It parses `reason` and the headers and
shows the matching card.

---

- Esta página en el navegador: https://lumean.app/es/developers/docs/guide/limits
- Referencia completa legible por máquina: https://api.lumean.app/docs/llm.md
