Rate Limits
Rate limits are enforced per API key based on your subscription tier:Rate Limit Headers
Every response includes rate limit headers:Handling 429 Errors
When rate limited, you’ll receive a429 Too Many Requests response:
Automatic Retries
All official SDKs automatically retry on 429 errors with exponential backoff:min(500ms × 2^attempt, 5000ms)
Best Practices
- Use exponential backoff — the SDKs handle this automatically
- Monitor remaining quota — check
X-RateLimit-Remainingheaders - Use streaming — streaming requests count as one request regardless of response length
- Upgrade your tier — if you consistently hit limits, consider upgrading
- Distribute load — use multiple API keys for different services