Rate Limits
Understand and manage how many requests you can run simultaneously on Nunchux
Plan Limits
Every API key belongs to a plan. The plan sets two independent caps: requests per minute, and simultaneous jobs.Checking Your Caps
Read your own caps at any time fromGET /v1/credits, which takes no parameters and returns your own account only. It uses the same API key for authentication as every other endpoint.
200 carries the balance and the caps that apply to your plan. The API returns standard error codes with a JSON error body.
PollingThis poll is free and it never takes a job slot. It still counts toward your requests per minute.
What Counts
Every authenticated request counts toward requests per minute, polls included. Only requests that start a generation take a job slot, and how long they hold it depends on the kind of request.When You Hit a Limit
The API returns a429 for both caps. The error code says which cap you hit.
Requests per Minute
What to doWait, then retry with exponential backoff: 1s, 2s, 4s, 8s. Cap at five attempts. Spreading submits evenly over the minute avoids it altogether.
Simultaneous Jobs
What to doRetrying quickly will not help. Wait, poll your running jobs, and submit again once one has completed.