Quotas and limits

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 128,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.