Rate Limiting
Eden AI applies rate limits to API usage. Rate limiting ensures fair usage and helps maintain optimal performance for all users.
Rate Limit
The maximum number of API calls allowed per second is: 7 calls/second
What Happens if You Exceed the Limit?
If your API usage exceeds the rate limit, the API will return a 429 Too Many Requests error. This error indicates that your application is making requests faster than the allowed limit.
Response Example:
{
"error": {
"code": 429,
"message": "Rate limit exceeded. Please wait before making additional requests."
}
}
Recommendations for Handling Rate Limits
- Implement Retry Logic: If you encounter a 429 error, use exponential backoff to wait before retrying the request.
- Optimize Your Requests: Consolidate requests when possible to reduce the overall number of API calls.
- Contact our sales team: If you frequently hit the rate limit, you can contact our sales team to discuss about the Entreprise plan.
By understanding and managing rate limits effectively, you can ensure uninterrupted usage of the Eden AI API.
Updated 21 days ago