> This page is for version Preview.
> For other versions, use one of these documentation indexes:
> - Current (default): https://docs.paid.ai/current/llms.txt
> - Preview: https://docs.paid.ai/preview/llms.txt

> For clean Markdown of any page, append .md to the page URL.
> For a complete documentation index, see https://docs.paid.ai/llms.txt.
> For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://docs.paid.ai/_mcp/server.

# Rate limits

> Stay within your account's request budget and retry correctly when a request is rate limited.

Paid limits how fast each account can call `https://api.paid.ai/v1`, so one integration's burst of traffic can't slow down everyone else's. Within the limit you never see it. Past it, a request is refused with a `429` that tells you how long to wait.

Use this page to:

* **Know what counts.** Reads and writes have separate budgets.
* **Handle a `429`.** Wait for `Retry-After`, then retry.
* **Avoid hitting the limit.** Spread work out and page through lists instead of polling.

## How limits are counted

Each account has two budgets, counted separately:

| Budget | Spent by                                                                                                                             |
| ------ | ------------------------------------------------------------------------------------------------------------------------------------ |
| Read   | `GET` requests, and the few `POST` operations that only read, such as a metrics query or a search. Their API Reference pages say so. |
| Write  | Every other request: creates, updates, archives and other actions.                                                                   |

Every request costs one unit of its budget, whatever it returns. A budget allows short bursts above its steady rate, then refills over time, so a brief spike is fine but sustained traffic above the rate is not. Running out of the write budget doesn't affect reads, and the other way round.

Limits apply per organization, across all of its API keys, so a sandbox organization has a budget of its own.

## The 429 response

A rate-limited request returns HTTP `429` with a `Retry-After` header, the number of seconds to wait, and the standard error object:

```json
{
  "error": {
    "type": "rate_limit_error",
    "code": "rate_limited",
    "message": "Too many requests. Retry after 2s.",
    "requestId": "req_8f3a2c",
    "docUrl": "https://docs.paid.ai/preview/developers/api/errors#rate_limited"
  }
}
```

The request did nothing: nothing was created or changed. Successful responses carry no rate limit headers, and Paid doesn't publish the budgets, so rely on `Retry-After` rather than counting requests yourself.

## Back off correctly

1. When a request returns `429`, wait for the seconds in `Retry-After` before sending it again.
2. Send the same request, with the same `Idempotency-Key` for a write, so a retry can never act twice.
3. If the retry is refused too, wait longer each time and add a little random jitter, so many clients don't retry at the same moment.

Spread batch jobs out over time rather than sending them all at once, and use [pagination](./pagination) with a large `limit` instead of fetching objects one by one.

## Related

* [Idempotency](./idempotency)
* [Pagination](./pagination)
* [Errors](/preview/developers/api/errors)