Skip to content
All guidesOpen

Docs / For renters

Rate limits and caps

The fixed limits on keys, requests, length and rentals, and how to stay under them.

These limits are enforced on the server and are the same for every account.

Limit, Value, What happens past it
LimitValueWhat happens past it
Requests per key60 a minute429 rate_limited, retry after 5 seconds
Requests in flight per key8 at once429 too_many_concurrent, retry after 2 seconds
API keys per account10Creating an eleventh is refused. Revoke one first.
max_tokens4,096 (1,024 if you leave it out)Larger values are cut to 4,096, not refused
Time for one request120 secondsThe reply stops and ends with finish_reason: "length"
Request body2 MB, 256 messages413 request_too_large or 400 invalid_request
Open dedicated rentals3Starting a fourth is refused
Smallest credit top-up$5The Billing page will not start a smaller checkout

Staying under them

  • Back off when you see a 429 or 503 and wait for Retry-After. Add a little random delay so parallel workers do not retry together.
  • Limits are per key. If one service needs more than 60 a minute, that is a sign to talk to us through Support before spreading load across keys.
  • Revoking a key takes effect within 5 seconds, so a leaked key can be shut off quickly from API keys.

Something here wrong or missing? Tell us on Support.