> For the complete documentation index, see [llms.txt](https://docs.vngcloud.vn/vng-cloud-document/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.vngcloud.vn/vng-cloud-document/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](/vng-cloud-document/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>


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://docs.vngcloud.vn/vng-cloud-document/vn/ai-stack/ai-gateway/ai-gateway/rate-limit-coming-soon.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
