This documentation is not accurate and is currently under development.

API Rate Limits

To ensure fair usage and maintain the quality of service for all users, Fewzen AI implements rate limits on API requests. This guide explains our rate limiting policy, how to work within these limits, and best practices for optimizing your API usage.

API Rate Limits Visualization

Current Rate Limits

PlanRequests per MinuteRequests per HourRequests per Day
Free601,00010,000
Basic3005,00050,000
Professional1,00020,000200,000
EnterpriseCustomCustomCustom

Note: Enterprise customers can contact our sales team for custom rate limits tailored to their specific needs.

Understanding Rate Limit Headers

Fewzen AI includes rate limit information in the response headers of each API request. You can use these headers to track your current usage and avoid exceeding the limits:

HeaderDescription
X-RateLimit-LimitThe maximum number of requests allowed in the current time window
X-RateLimit-RemainingThe number of requests remaining in the current time window
X-RateLimit-ResetThe time at which the current rate limit window resets, in UTC epoch seconds

Handling Rate Limit Errors

If you exceed the rate limit, the API will return a 429 Too Many Requests response. The response will include a Retry-After header indicating the number of seconds to wait before making another request.

Rate Limit Exceeded Response
HTTP/1.1 429 Too Many Requests
Content-Type: application/json
Retry-After: 60

{
  "error": {
    "message": "Rate limit exceeded. Please try again later.",
    "type": "rate_limit_error"
  }
}

Best Practices for Managing Rate Limits

Implement Retry Logic
When receiving a 429 response, implement exponential backoff retry logic using the Retry-After header value.
Monitor Your Usage
Keep track of your API usage and stay well below the limits. Set up alerts when approaching rate limits.
Cache Responses
Implement caching for frequently requested data to reduce the number of API calls and improve performance.
Use Bulk Operations
Whenever possible, use bulk operations to perform multiple actions in a single API request, reducing overall request count.

Rate Limit Increase Requests

If you find that your current rate limits are insufficient for your use case, you can request an increase by following these steps:

  1. Log in to your Fewzen AI dashboard
  2. Navigate to the "API Settings" section
  3. Click on "Request Rate Limit Increase"
  4. Fill out the form, providing details about your use case and required limits
  5. Submit the request for review

Our team will review your request and get back to you within 2-3 business days. Please note that rate limit increases may require upgrading to a higher tier plan.

Need Help Managing Your API Usage?

Our team is here to help you optimize your Fewzen AI integration and work effectively within the rate limits. If you have any questions or need assistance, don't hesitate to reach out.

Contact Support