Groq API error
Groq API 429 Too Many Requests: what it means and how to fix it
429 Too Many RequestsRetry? YesLast verified 3 documented fixes3 sources
What it means
Too many requests were sent in a given timeframe. Limits apply at the organization level across RPM, RPD, TPM, TPD, ASH, ASD and, for some organizations, ITPM and OTPM, and whichever threshold is reached first triggers the error. The Python SDK raises RateLimitError and retries it automatically.
Causes
- Exceeding requests per minute or per day (RPM, RPD)
- Exceeding tokens per minute or per day (TPM, TPD)
- Exceeding audio seconds per hour or per day (ASH, ASD)
- Exceeding separate input or output token per-minute limits (ITPM, OTPM) where configured
How to fix it
- Fix 1.
Implement request throttling and respect rate limits. The retry-after header (in seconds) is set only when a 429 is returned; x-ratelimit-remaining and x-ratelimit-reset headers are always included.
- Fix 2.
The Python SDK retries 429 2 times by default with a short exponential backoff; configure it with max_retries.
Snippetclient.with_options(max_retries=5).chat.completions.create( - Fix 3.
View your exact limits on the console Limits page. Cached tokens do not count toward rate limits. For higher limits, upgrade to the Developer plan, or use Batch and Flex processing.
More Groq API errors
All 14 Groq API errorsHTTP 429 at other providers
Compare 429 across providers429 ThrottlingExceptionRetry? YesAmazon Bedrock429 ModelNotReadyExceptionRetry? YesAmazon Bedrock429 rate_limit_errorRetry? YesAnthropic API429 rate_limit_error (enforced_spend_limit_reached)Retry? NoAnthropic API429 Too Many Requests (Rate limit is exceeded)Retry? YesAzure OpenAI429 Too Many Requests (System is experiencing high demand)Retry? YesAzure OpenAI429 Too Many Requests (temporary rate limit adjustment)Retry? YesAzure OpenAI429 Too Many Requests (token budget exceeded by request parameters)Retry? Not statedAzure OpenAI429 Too Many RequestsRetry? YesCohere API429 - Rate Limit ReachedRetry? Not statedDeepSeek API429 rate_limit_exceededRetry? YesGemini API429 quota_exceededRetry? YesGemini API
FAQ
What does the Groq API error "429 Too Many Requests" mean?
Too many requests were sent in a given timeframe. Limits apply at the organization level across RPM, RPD, TPM, TPD, ASH, ASD and, for some organizations, ITPM and OTPM, and whichever threshold is reached first triggers the error. The Python SDK raises RateLimitError and retries it automatically.
How do I fix Groq API "429 Too Many Requests"?
There are 3 documented fixes. Start with the first: Implement request throttling and respect rate limits. The retry-after header (in seconds) is set only when a 429 is returned; x-ratelimit-remaining and x-ratelimit-reset headers are always included.
Should I retry Groq API "429 Too Many Requests"?
Yes. The official docs treat this error as retryable.
Which other AI APIs return HTTP 429?
Per their official error docs: Amazon Bedrock (429 ThrottlingException; 429 ModelNotReadyException), Anthropic API (429 rate_limit_error; 429 rate_limit_error (enforced_spend_limit_reached)), Azure OpenAI (429 Too Many Requests (Rate limit is exceeded); 429 Too Many Requests (System is experiencing high demand); 429 Too Many Requests (temporary rate limit adjustment); 429 Too Many Requests (token budget exceeded by request parameters)), Cohere API (429 Too Many Requests), DeepSeek API (429 - Rate Limit Reached), Gemini API (429 rate_limit_exceeded; 429 quota_exceeded; 429 too_many_requests; 429 RESOURCE_EXHAUSTED), Mistral API (429 Too many requests), OpenAI API (429 credit_balance_exhausted; 429 Rate limit reached for requests; 429 rate_limit_error slow_down; 429 organization_spend_limit_exceeded; 429 project_spend_limit_exceeded; 429 organization_usage_limit_exceeded), OpenRouter (429 rate_limit_exceeded), Vertex AI (429 RESOURCE_EXHAUSTED; 429 Resource exhausted, please try again later; 429 Too many requests. Exceeded the Provisioned Throughput), xAI API (429 Too Many Requests).
Sources
Last verified against 3 sources: Groq API's official docs and official SDK repositories.
- console.groq.comhttps://console.groq.com/docs/errors
- console.groq.comhttps://console.groq.com/docs/rate-limits
- github.comhttps://github.com/groq/groq-python
Newsletter
Know when the APIs change
One email per week. New model releases, API changes, what broke, and how developers are working around it.