Rate Limits
Per-key request limits, the daily credit cap, and the headers we return.
Default limits
Each API key is limited to 60 requests/minute and 10,000 requests/day. Limits are enforced per key, so multiple keys do not share a budget.
Rate limit headers (on every response)
X-RateLimit-Limit: 60
X-RateLimit-Remaining: 59
X-RateLimit-Reset: 1782000000Daily credit cap
Separate from request limits, there is a daily spend cap (default 13,000 credits/day per account). When reached, generation endpoints return 429 until the cap resets at 00:00 UTC. This protects against runaway costs.
429 when a limit is exceeded
// HTTP 429 Too Many Requests
// Retry-After: 23
{
"detail": "Rate limit exceeded. Retry after 23 seconds."
}Handle 429 gracefully
Respect the Retry-After header and back off exponentially. Need higher limits? Contact support to raise the per-key limit or daily cap.