Rate limits
Rate limits protect the service for everyone. They are applied per account and per API key.
When you exceed a limit the API returns 429 Too Many Requests. Back off and
retry — the official SDKs do this automatically.
Best practices
Section titled “Best practices”- Retry
429responses with exponential backoff and jitter. - Spread batch jobs over time instead of sending them all at once.
- Use streaming for long generations so connections stay healthy.
- Use one key per application so that a runaway job does not block others.
Need higher limits for production traffic? Write to [email protected] with your expected requests per minute and the models you use.