Hạn mức
Sử dụng bộ sưu tập để sắp xếp ngăn nắp các trang
Lưu và phân loại nội dung dựa trên lựa chọn ưu tiên của bạn.
Tài liệu này liệt kê các hạn mức và giới hạn hệ thống áp dụng cho Gemini Code Assist.
- Hạn mức chỉ định số lượng tài nguyên dùng chung có thể đếm được mà bạn có thể sử dụng.
- Giới hạn hệ thống là các giá trị cố định mà bạn không thể thay đổi.
Hạn mức cho Gemini Code Assist
Gemini Code Assist áp dụng hạn mức cho một số tính năng.
Hạn mức |
Giá trị |
Nhận biết cơ sở mã cục bộ |
Cửa sổ ngữ cảnh 1.000.000 token |
Kho lưu trữ tuỳ chỉnh mã
|
20.000 |
Hạn mức cho chế độ tác nhân và Gemini CLI
Hạn mức cho các yêu cầu từ chế độ tác nhân Gemini Code Assist và Gemini CLI được kết hợp. Khi ở chế độ tác nhân hoặc khi sử dụng Gemini CLI, một câu lệnh có thể dẫn đến nhiều yêu cầu.
Hạn mức |
Phiên bản Gemini Code Assist |
Giá trị |
Số yêu cầu mỗi phút trên mỗi người dùng |
Cá nhân |
60 |
Chuẩn |
120 |
Doanh nghiệp |
120 |
Số yêu cầu trên mỗi người dùng mỗi ngày |
Cá nhân |
1000 |
Chuẩn |
1500 |
Doanh nghiệp |
2000 |
Hạn mức cho Gemini trong BigQuery
Đối với các tính năng hỗ trợ mã, hạn mức cho Gemini Code Assist và Gemini trong BigQuery đối với các yêu cầu về mã cho các tính năng như hoàn thành mã và tạo mã là như nhau.
Đối với những khách hàng sử dụng Gemini trong BigQuery với BigQuery Compute theo yêu cầu hoặc với phiên bản Enterprise hoặc Enterprise Plus, hạn mức cho các tính năng nâng cao như thông tin chi tiết về dữ liệu được cung cấp dựa trên mức sử dụng trung bình hằng ngày của TiB được quét hoặc số giờ sử dụng của các vị trí trong tháng dương lịch đầy đủ gần nhất. Hạn mức này áp dụng cho cấp tổ chức và có sẵn cho tất cả các dự án trong tổ chức đó. Hạn mức được làm tròn lên đến 100 giờ sử dụng khe cắm gần nhất.
Hạn mức cho mỗi 100 giờ sử dụng (mức sử dụng trung bình hằng ngày của phiên bản Enterprise hoặc Enterprise Plus) hoặc cho mỗi TiB được quét bằng mô hình điện toán theo yêu cầu |
Giá trị |
Số yêu cầu mỗi ngày đối với các yêu cầu về cuộc trò chuyện, hình ảnh hoá, quét bảng và các yêu cầu khác hiển thị phản hồi trong bảng điều khiển Cloud Assist trong Google API Console.
|
5 |
Ví dụ: Một tổ chức có đặt chỗ phiên bản Enterprise với 100 vị trí làm cơ sở sẽ sử dụng trung bình 2.400 giờ vị trí mỗi ngày (100 vị trí * 24 giờ = 2.400 giờ vị trí). Do đó, trong tháng tiếp theo, họ sẽ nhận được hạn mức hằng ngày như sau:
- 120 lượt quét cuộc trò chuyện, hình ảnh trực quan, bảng thông tin chi tiết về dữ liệu và lượt tạo siêu dữ liệu tự động mỗi ngày
Nếu tổ chức của bạn chưa mua bất kỳ vị trí nào của phiên bản BigQuery Enterprise, phiên bản Enterprise Plus hoặc điện toán theo yêu cầu (TiB) cho đến nay, thì sau lần sử dụng đầu tiên, bạn sẽ nhận được hạn mức mặc định sau đây cho tháng dương lịch đầu tiên:
- 250 lượt quét bảng dữ liệu, hình ảnh trực quan, thông tin chi tiết về dữ liệu và lượt tạo siêu dữ liệu tự động mỗi ngày
Nếu bạn bắt đầu sử dụng tài nguyên điện toán theo yêu cầu, phiên bản Enterprise hoặc phiên bản Enterprise Plus vào giữa tháng, thì hạn mức mặc định sẽ áp dụng cho đến hết tháng tiếp theo.
Yêu cầu tăng hạn mức
Để điều chỉnh hầu hết các hạn mức, bạn phải
mua phiên bản Standard hoặc Enterprise của Gemini Code Assist.
Để biết thêm thông tin, hãy xem bài viết
Xem và quản lý hạn mức.
Trừ phi có lưu ý khác, nội dung của trang này được cấp phép theo Giấy phép ghi nhận tác giả 4.0 của Creative Commons và các mẫu mã lập trình được cấp phép theo Giấy phép Apache 2.0. Để biết thông tin chi tiết, vui lòng tham khảo Chính sách trang web của Google Developers. Java là nhãn hiệu đã đăng ký của Oracle và/hoặc các đơn vị liên kết với Oracle.
Cập nhật lần gần đây nhất: 2025-08-31 UTC.
[[["Dễ hiểu","easyToUnderstand","thumb-up"],["Giúp tôi giải quyết được vấn đề","solvedMyProblem","thumb-up"],["Khác","otherUp","thumb-up"]],[["Thiếu thông tin tôi cần","missingTheInformationINeed","thumb-down"],["Quá phức tạp/quá nhiều bước","tooComplicatedTooManySteps","thumb-down"],["Đã lỗi thời","outOfDate","thumb-down"],["Vấn đề về bản dịch","translationIssue","thumb-down"],["Vấn đề về mẫu/mã","samplesCodeIssue","thumb-down"],["Khác","otherDown","thumb-down"]],["Cập nhật lần gần đây nhất: 2025-08-31 UTC."],[],[],null,["This document lists the quotas and system limits that apply to Gemini Code Assist.\n\n\u003cbr /\u003e\n\n- *Quotas* specify the amount of a countable, shared resource that you can use.\n- *System limits* are fixed values that cannot be changed.\n\nQuotas for Gemini Code Assist\n\nGemini Code Assist enforces quotas for certain features.\n\n| Quota | Value |\n|---------------------------------|--------------------------------|\n| Local codebase awareness | 1,000,000 token context window |\n| Code customization repositories | 20,000 |\n\nQuotas for agent mode and the Gemini CLI\n\nQuotas for requests from Gemini Code Assist agent mode and the\nGemini CLI are combined. When in agent mode or when using the\nGemini CLI, one prompt might result in multiple requests.\n\n| Quota | Gemini Code Assist edition | Value |\n|------------------------------|----------------------------|-------|\n| Requests per user per minute | Individuals | 60 |\n| Requests per user per minute | Standard | 120 |\n| Requests per user per minute | Enterprise | 120 |\n| Requests per user per day | Individuals | 1000 |\n| Requests per user per day | Standard | 1500 |\n| Requests per user per day | Enterprise | 2000 |\n\nQuotas for Gemini in BigQuery\n\nFor code assistance features, the quota for Gemini Code Assist\nand Gemini in BigQuery code requests for features\nlike code completion and code generation is the same.\n\nFor customers using Gemini in BigQuery with\nBigQuery on-demand compute or with Enterprise or Enterprise Plus editions,\nthe quotas for advanced features such as data insights are provided based upon\nthe daily average use of TiB scanned or the slot-hours for the last full\ncalendar month. This quota applies to the organization level and is available to\nall projects in that organization. Quotas are rounded up to the nearest 100\nslot-hour usage.\n\n| Quotas per 100 slot-hours (Enterprise or Enterprise Plus edition daily average usage) or per TiB scanned using on-demand compute model | Value |\n|-----------------------------------------------------------------------------------------------------------------------------------------------------------|-------|\n| Requests per day for chat, visualization, table scans, and other requests that display responses in the **Cloud Assist** panel in the Google API Console. | 5 |\n\n**Example**: An organization that has an Enterprise edition reservation\nwith 100 slots as its baseline will use an average of 2,400 slot-hours each\nday (100 slots \\* 24 hours = 2,400 slot-hours). As a result, in the following\nmonth they get the following daily quotas:\n\n- 120 chat, visualizations, data insights table scans and automated metadata generations per day\n\nIf your organization has not purchased any BigQuery Enterprise edition, Enterprise\nPlus edition slots, or on-demand compute (TiB) until now, then after your first usage you will receive the default quota of the following for the first full calendar month:\n\n- 250 chat, visualizations, data insights table scans, and automated metadata generations per day\n\nIf you start using on-demand compute, Enterprise edition or Enterprise Plus edition reservations mid-month, then the\ndefault quota applies until the end of the following month.\n\nRequest a quota increase To adjust most quotas, you must [purchase the Standard or Enterprise edition of Gemini Code Assist](https://cloud.google.com/gemini/docs/discover/set-up-gemini#purchase-subscription). For more information, see [View and manage quotas](https://cloud.google.com/docs/quotas/view-manage)."]]