# Source: https://docs.venice.ai/api-reference/rate-limiting.md

# Rate Limits

> This page describes the request and token rate limits for the Venice API.

## Failed Request Rate Limits

Failed requests including 500 errors, 503 capacity errors, 429 rate limit errors are should be retried with exponential back off.

For 429 rate limit errors, please use `x-ratelimit-reset-requests` and `x-ratelimit-remaining-requests` to determine when to next retry.

To protect our infrastructure from abuse, if an user generates more than 20 failed requests in a 30 second window, the API will return a 429 error indicating the error rate limit has been reached:

```
Too many failed attempts (> 20) resulting in a non-success status code. Please wait 30s and try again. See https://docs.venice.ai/api-reference/rate-limiting for more information.
```

## Paid Tier Rate Limits

Rate limits apply to users who have purchased API credits or staked VVV to gain Diem.

Helpful links:

* [Real time rate limits](https://docs.venice.ai/api-reference/endpoint/api_keys/rate_limits?playground=open)
* [Rate limit logs](https://docs.venice.ai/api-reference/endpoint/api_keys/rate_limit_logs?playground=open) - View requests that have hit the rate limiter

<Note>We will continue to monitor usage. As we add compute capacity to the network, we will review these limits. If you are consistently hitting rate limits, please contact [**support@venice.ai**](mailto:support@venice.ai) or post in the #API channel in Discord for assistance and we can work with you to raise your limits.</Note>

### Paid Tier - LLMs

***

| Model                 | Model ID          | Req / Min | Req / Day | Tokens / Min |
| --------------------- | ----------------- | :-------: | :-------- | :----------: |
| Llama 3.2 3B          | llama-3.2-3b      |    500    | 288,000   |   1,000,000  |
| Venice Small          | qwen3-4b          |    500    | 288,000   |   1,000,000  |
| Venice Uncensored 1.1 | venice-uncensored |     75    | 54,000    |    750,000   |
| Venice Medium (3.1)   | mistral-31-24b    |     75    | 54,000    |    750,000   |
| Llama 3.3 70B         | llama-3.3-70b     |     50    | 36,000    |    750,000   |
| Venice Large 1.1      | qwen3-235b        |     20    | 15,000    |    750,000   |

### Paid Tier - Image Models

***

| Model            | Model ID | Req / Min | Req / Day |
| ---------------- | -------- | --------- | :-------- |
| All Image Models | All      | 20        | 28,800    |

### Paid Tier - Audio Models

***

| Model            | Model ID | Req / Min | Req / Day |
| ---------------- | -------- | :-------: | :-------: |
| All Audio Models | All      |     60    |   86,400  |

### Paid Tier - Embedding Models

***

| Model  | Model ID              | Req / Min | Req / Day | Tokens / Min |
| ------ | --------------------- | :-------: | :-------- | :----------: |
| BGE-M3 | text-embedding-bge-m3 |    500    | 288,000   |   1,000,000  |

## Rate Limit and Consumption Headers

You can monitor your API utilization and remaining requests by evaluating the following headers:

<div style={{ overflowX: 'auto' }}>
  | Header                                                                       | Description                                                                             |
  | ---------------------------------------------------------------------------- | --------------------------------------------------------------------------------------- |
  | <div style={{whiteSpace: 'nowrap'}}>**x-ratelimit-limit-requests**</div>     | The number of requests you've made in the current evaluation period.                    |
  | <div style={{whiteSpace: 'nowrap'}}>**x-ratelimit-remaining-requests**</div> | The remaining requests you can make in the current evaluation period.                   |
  | <div style={{whiteSpace: 'nowrap'}}>**x-ratelimit-reset-requests**</div>     | The unix time stamp when the rate limit will reset.                                     |
  | <div style={{whiteSpace: 'nowrap'}}>**x-ratelimit-limit-tokens**</div>       | The number of total (prompt + completion) tokens used within a 1 minute sliding window. |
  | <div style={{whiteSpace: 'nowrap'}}>**x-ratelimit-remaining-tokens**</div>   | The remaining number of total tokens that can be used during the evaluation period.     |
  | <div style={{whiteSpace: 'nowrap'}}>**x-ratelimit-reset-tokens**</div>       | The duration of time in seconds until the token rate limit resets.                      |
  | <div style={{whiteSpace: 'nowrap'}}>**x-venice-balance-diem**</div>          | The user's Diem balance before the request has been processed.                          |
  | <div style={{whiteSpace: 'nowrap'}}>**x-venice-balance-usd**</div>           | The user's USD balance before the request has been processed.                           |
</div>