- If capacity is briefly saturated you'll receive an HTTP
429or503. Back off with exponential jitter and retry — in practice a second or two is usually enough. - Very long-running generations (certain audio / image models) may
return
504past the internal timeout; retry with the same prompt. - Per-client quotas, if configured, are enforced via HTTP
403with a descriptive message. Contact your administrator to raise your limit.
Quickstart: the first request · Models and prices · Get an API key