Quotas and limits
Stay organized with collections
Save and categorize content based on your preferences.
This document lists the quotas and system limits that apply to
Gemini Code Assist.
- Quotas specify the amount of a countable, shared resource that you can use.
- System limits are fixed values that cannot be changed.
Quotas for Gemini Code Assist
Gemini Code Assist enforces quotas for certain features.
Quota |
Value |
Local codebase awareness |
1,000,000 token context window |
Code customization repositories
|
20,000 |
Quotas for agent mode and the Gemini CLI
Quotas for requests from Gemini Code Assist agent mode and the
Gemini CLI are combined. When in agent mode or when using the
Gemini CLI, one prompt might result in multiple requests.
Quota |
Gemini Code Assist edition |
Value |
Requests per user per minute |
Individuals |
60 |
Standard |
120 |
Enterprise |
120 |
Requests per user per day |
Individuals |
1000 |
Standard |
1500 |
Enterprise |
2000 |
Quotas for Gemini in BigQuery
For code assistance features, the quota for Gemini Code Assist
and Gemini in BigQuery code requests for features
like code completion and code generation is the same.
For customers using Gemini in BigQuery with
BigQuery on-demand compute or with Enterprise or Enterprise Plus editions,
the quotas for advanced features such as data insights are provided based upon
the daily average use of TiB scanned or the slot-hours for the last full
calendar month. This quota applies to the organization level and is available to
all projects in that organization. Quotas are rounded up to the nearest 100
slot-hour usage.
Quotas per 100 slot-hours (Enterprise or Enterprise Plus edition daily
average usage) or per TiB scanned using on-demand compute model |
Value |
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 |
Example: An organization that has an Enterprise edition reservation
with 100 slots as its baseline will use an average of 2,400 slot-hours each
day (100 slots * 24 hours = 2,400 slot-hours). As a result, in the following
month they get the following daily quotas:
- 120 chat, visualizations, data insights table scans and automated metadata generations per day
If your organization has not purchased any BigQuery Enterprise edition, Enterprise
Plus 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:
- 250 chat, visualizations, data insights table scans, and automated metadata generations per day
If you start using on-demand compute, Enterprise edition or Enterprise Plus edition reservations mid-month, then the
default quota applies until the end of the following month.
Request a quota increase
To adjust most quotas, you must
purchase the Standard or Enterprise edition of Gemini Code Assist.
For more information, see
View and manage quotas.
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-08-29 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-29 UTC."],[],[],null,["# Quotas and limits\n\nThis 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-----------------------------\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----------------------------------------\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-----------------------------\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\n------------------------\n\nTo 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)."]]