> ## Documentation Index
> Fetch the complete documentation index at: https://docs.fapihub.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Rate Limit

FAPIHub's RemoveBG API (and related image processing endpoints) enforces two types of usage limits to ensure service stability and fair usage:

### 1. Minute Limits (Rate Limiting)

* These control the maximum number of requests you can make per minute.
* Purpose: Prevent abuse and maintain overall API performance.

### 2. Monthly Limits

* These define the total number of requests allowed within a billing month.
* Limits reset at the start of each billing cycle.

Limits are tiered based on your subscription plan. Specific values include:

| Plan             | Monthly Requests        | Minute Limit |
| ---------------- | ----------------------- | ------------ |
| **Basic (Free)** | 100                     | 100          |
| **Pro**          | 7,500                   | 150          |
| **Ultra**        | 52,000                  | 180          |
| **Mega**         | 255,000                 | 210          |
| **Per Usage**    | Custom / Lifetime quota | Custom       |

* Free tier accounts are limited to up to 100 images per minute.
* Paid plans offer significantly higher limits; enterprise/custom plans may provide unlimited throughput or dedicated resources.

Exact limits for higher tiers are described as "higher" or "custom" and may vary—check your dashboard or plan details for precise quotas.

### Rate Limit Exceeded Response

When you hit a rate limit (minute or monthly), the API returns:

* **HTTP Status**: `429 Too Many Requests`
* **Response Body** example:
  ```json theme={null}
  {
    "error": {
      "code": "rate_limit_exceeded",
      "message": "Too many requests. Please wait before making more requests.",
      "request_id": "req_abc123",
      "retry_after": 60
    }
  }
  ```
