Rate limits
Limits apply per credential, per minute:
| Kind of request | Limit per minute |
|---|---|
Reads (GET) |
300 |
Writes (other POST, PATCH, DELETE) |
60 |
Paid starts and quotes (POST /v1/generations, POST /v1/quotes) |
15 |
These sit inside the account’s own ceilings, which the account shares with the app.
Authenticated responses carry X-RateLimit-Limit: the limit for this credential and this kind of request.
When you exceed a limit
Section titled “When you exceed a limit”The answer is 429 rate_limited with Retry-After. Wait that many seconds, then retry with the same Idempotency-Key. Spread requests out rather than retrying at once.
429 is used only for rate limits. Spending limits and balances answer 402 or 403, never 429; see Spending limits.
Stay under the limits
Section titled “Stay under the limits”- Wait for results with webhooks, or poll at
poll_after_secondswithPrefer: wait=60, instead of polling quickly. - Read lists with
?limit=100and?cursor=rather than one object at a time. - Quote only when you need the price before starting;
POST /v1/generationswithmax_costquotes and starts in one request.