Skip to content

Core concepts

Rate limits ​

Limits are per account, not per key: five keys do not give five limits. The numbers below are defaults; the service may change them without a new API version.

Requests per minute ​

GroupOperationsLimit
ReadGET /account, /models, /models/{id}, /generations, /generations/{id}120
PricePOST /estimate60
LaunchPOST /generations6
UploadPOST /references20

Over the limit · 429 rate_limit_exceeded with a Retry-After header.

Concurrent generations ​

How many generations of one type may run at once:

TypeAt once
image4
video3
music2
voice2
3d1

All unfinished generations of the account of that type count, including ones started on the site. Over the limit · 429 concurrency_limit: wait for one to finish.

Money per key ​

LimitDefault
Daily key limit300 credits, resets at 00:00 UTC; change it in the console
Daily limit ceiling5000 credits
Ceiling of one launch2000 credits
max_credits in a requestyour cap for that launch

Daily limit used up · 429 daily_limit_exceeded. POST /estimate answers exceeds_daily_limit: true in advance when a launch will not fit into what is left. Current daily_limit and daily_spent are in GET /account.

Request size ​

  • A JSON request body is up to 2 MB by default.
  • POST /references has its own ceiling per file type.
  • Over it · 422 upload_too_large, the ceiling is in details.max_mb.

Keys ​

  • Up to 5 keys per account.
  • Failed sign-in attempts are limited per IP: after a series of 401 from one address the answer becomes 429.