Documentation menu

Rate limits

Last updated: 2026-10-22

Every plan has the same limits.

LimitValueWhen exceeded
Tasks waiting or processing per account50429 inflight_limit_exceeded
Queries per task3 per second429 rate_limited with Retry-After
Queries per account150 per second, across all keys429 rate_limited with Retry-After
Request body64 KiB413 request_too_large
Image URL4,096 bytes422 invalid_image_url
Image file20 MiB; 8,192 px per side; 40 million pxtask fails with invalid_image
Task timestarts within 10 minutes and finishes within 20 minutes of submissiontask fails with processing_timeout

Handling 429

  • inflight_limit_exceeded — the account already has 50 unfinished tasks. Nothing was created or charged. Wait until some of your tasks reach a final status, then submit again.
  • rate_limited — you are querying too often. Wait for the number of seconds in the Retry-After header, then query again. Polling every 1–2 seconds per task stays well within the limit.

Failed tasks return their credit, so tasks that end with invalid_image or processing_timeout cost nothing.