Reading the headers
Every response carries your remaining budget for the current window:Handling 429
When you exceed the limit the API returns429 with a Retry-After header:
- Pause before retrying. If the response includes
Retry-After, wait at least that long. - Retry with exponential backoff and jitter.
- Reduce concurrency if you keep hitting the limit.
A request that returns
429 was not accepted — nothing was created or
charged, so it’s always safe to retry.