Skip to main content

Mapping

Two Codes Share 429

rate_limited is a request-rate limit: back off and retry after Retry-After. insufficient_quota is exhausted balance or allowance: retrying does not clear it. Read error.code to tell them apart. model_unavailable returns 400, not 404, with param set to model. A request-rate 429 carries X-RateLimit-* headers and, when computable, Retry-After.