Rate limits
Each key has its own bucket of requests per minute: by default 600 for full, 60 for deploy and 300 for read. A project admin can change it.
Every answer carries:
| Header | Meaning |
|---|---|
X-RateLimit-Limit | The key's limit per minute |
X-RateLimit-Remaining | Requests left in the bucket |
X-RateLimit-Reset | Seconds until the bucket is full again |
Over the limit, the answer is 429 rate_limited with Retry-After in seconds: wait that long, then retry. A stream counts as one request, when it opens. Refused and rate-limited calls appear in the key's call log too, so a client stuck retrying is easy to spot.