Errors and Limits

File size limits

TypeMax Size
Context windowPer-model limits
ImageAsync request: 15GB
Sync request: 200MB
VideoAsync request: 15GB
Sync request: 200MB

Async max duration: 10 minutes
Sync max duration: 60 seconds
Base64-encoded media20MB

Rate limits

Default rate limit is 5 requests/second. Contact [email protected] to have the limit raised for your organization.

{ "status_code": 429, "message": "Too Many Requests" }

Common errors

Status CodeBehaviorMessage
429Rate limit reached.Too many requests
405Out of balance. Positive Organization credit balance is required.

Contact [email protected] to check your organization status and billing.
Your Organization is currently paused. Please check your account balance, our terms and conditions, or contact [email protected] for more information.
400Input format and JSON structure issues.Invalid payload
401Invalid or expired token.Invalid or expired token