Rate limits and quota
Each workspace has a monthly request quota and a per-minute rate limit, shared by all of its live keys. Your plan sets both. The quota resets at midnight UTC on the first day of each month.
Headers on every response
| Header | Meaning |
|---|---|
X-RateLimit-Limit | Requests allowed per minute. |
X-RateLimit-Remaining | Requests left in the current minute. |
X-Quota-Limit | Requests allowed this month. |
X-Quota-Remaining | Requests left this month. |
Retry-After | Only on 429: seconds to wait before trying again. |
X-Request-Id | This request's id, as shown in your request logs. |
At the limit
Over the per-minute limit, calls return 429 with the code rate_limited: wait the number of seconds in Retry-After. Once the monthly quota is used up, live keys get 429 with the code quota_exceeded until it resets. Test keys keep working.
Owners can turn on emails at 80% and 100% of the quota.
What counts towards the quota
- Successful requests with live keys, and live requests that return
400or404. - Not counted:
304 Not Modifiedresponses, key and permission errors,429s, and errors on our side. - Not counted: anything made with a test key. Test keys also have their own per-minute limit, so testing never slows down production.
Every successful response carries an
ETag. Send it back as If-None-Match and an unchanged response returns 304, which doesn't count towards your quota.