> For the complete documentation index, see [llms.txt](https://docs.greennode.ai/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.greennode.ai/vn/ai-stack/ai-gateway/ai-gateway/rate-limit-coming-soon.md).

# Giới Hạn rate

## 1. Truy cập tính năng giới hạn Rate

1. Sau khi đã [tạo Authentication Token](/vn/ai-stack/ai-gateway/ai-gateway/lam-viec-voi-authentication-token.md#tao-moi-authentication-token), tại danh sách các token chọn icon ở cột Hành Động như hình dưới để mở cấu hình giới hạn Rate

<figure><img src="/files/e4sQZCKFZpUqv953iXb6" alt=""><figcaption></figcaption></figure>

2. Hoặc có thể chọn Configure Rate limit khi tạo Authentication Token.

<figure><img src="/files/IghnhfC4oklfwvL41Qg4" alt=""><figcaption></figcaption></figure>

## 2. Tạo mới **Rate Limit Token**

1. **Limit by** (chọn một hoặc cả hai):

* **Requests**: Đặt giới hạn cho các Request.
  * Tối thiểu 1 Request - tối đa 1.000.00 Requests . Trong thời gian (1 Phút, 1 Giờ, 1 Ngày, 1 Tháng).
  * Window time type: chỉ hỗ trợ Fixed.
* **Tokens**: Đặt giới hạn cho các Token.
  * Tôi thiểu 100 Token - tối đa 5.000.00.000 Token . Trong thời gian (1 Phút, 1 Giờ, 1 Ngày, 1 Tháng).
  * Window time type: chỉ hỗ trợ Fixed.

2 Nhấn **Lưu** cấu hình.<br>

<figure><img src="/files/5SIFSZDQ1B01kKH5xxFz" alt=""><figcaption></figcaption></figure>
