Page Summary
-
Google Chat API uses quotas and limitations to ensure fair usage and performance.
-
Two quota types apply: per-space quotas (shared among apps in a space) and per-project quotas (for a single Chat app).
-
Exceeding quotas results in a
429: Too many requestserror; use exponential backoff to retry. -
Per-space quotas limit the rate of reads and writes per minute within a space.
-
Per-project quotas limit the rate of various Chat API actions per minute for a project.
Because the Google Chat API is a shared service, we apply quotas and limitations to make sure that it's used fairly by all users and to protect the overall performance of Google Workspace.
If you exceed a quota, you'll receive a 429: Too many requests HTTP
status code response. Additional rate limit checks on the Chat
backend might also generate the same error response. If this error happens, you
should use an
exponential backoff algorithm
and try again later. For Chat API REST requests, there's no limit to
the number of requests you can make per day if you stay within the per-minute
quotas listed in the following tables. For the Chat MCP server
daily limit, see
Chat MCP server quotas.
Multiple quota types may apply to Chat API methods: per-project, per-space, and per-user quotas.
Per-project quotas
Per-project quotas limit the rate of queries for a Google Cloud project, and thus apply to a single Chat app calling the specified Chat API methods for each quota.
The following table details per-project query limits. You can also find these limits on the Quotas page.
Per-project Quota |
Chat API methods |
Limit (per 60 seconds) |
|---|---|---|
Message writes per minute |
|
3000 |
Message reads per minute |
|
3000 |
Message searches per minute |
|
300 |
Membership writes per minute |
|
300 |
Membership reads per minute |
|
3000 |
Space writes per minute |
|
60 |
Space reads per minute |
|
3000 |
Space search reads per minute (without administrator privileges) |
|
300 |
Attachment writes per minute |
|
600 |
Attachment reads per minute |
|
3000 |
Reaction writes per minute |
|
600 |
Reaction reads per minute |
|
3000 |
CustomEmoji writes per minute |
|
600 |
CustomEmoji reads per minute |
|
3000 |
Section writes per minute |
|
600 |
Section reads per minute |
|
3000 |
Availability reads per minute |
|
3000 |
Availability writes per minute |
|
3000 |
Read state writes per minute |
|
3000 |
Read state reads per minute |
|
3000 |
Per-space quotas
Per-space quotas limit the rate of queries in a given space and are shared among all Chat apps acting in that space calling the listed Chat API methods for each quota.
The following table details per-space query limits:
Per-space Quota |
Chat API methods |
Limit (per second) |
|---|---|---|
Reads per second |
|
15 |
Writes per second |
|
1 |
Create Reaction writes per second |
|
5 |
Message writes per second while importing data to Google Chat |
|
10 |
Per-user quotas
Per-user quotas limit the rate of queries for a Google Chat user. Queries pertain to all Chat apps that call a Chat API method on behalf of a user (using user authentication).
The following table details per-user query limits:
Per-user Quota |
Chat API methods |
Limit (per second) |
|---|---|---|
CustomEmoji writes per second |
|
1 |
CustomEmoji reads per second |
|
15 |
Writes per second |
|
1 |
Reads per second |
|
15 |
Additional usage limits
High API traffic targeting the same space can trigger additional internal limits that aren't visible in the Quotas page.
Resolve time-based quota errors
For all time-based errors (maximum of N requests per X minutes), we recommend your code catches the exception and uses a truncated exponential backoff to make sure your devices don't generate excessive load.
Exponential backoff is a standard error handling strategy for network applications. An exponential backoff algorithm retries requests using exponentially increasing wait times between requests, up to a maximum backoff time. If requests are still unsuccessful, it's important that the delays between requests increase over time until the request is successful.
Example algorithm
An exponential backoff algorithm retries requests exponentially, increasing the wait time between retries up to a maximum backoff time. For example:
- Make a request to Google Chat API.
- If the request fails, wait 1 +
random_number_millisecondsand retry the request. - If the request fails, wait 2 +
random_number_millisecondsand retry the request. - If the request fails, wait 4 +
random_number_millisecondsand retry the request. - And so on, up to a
maximum_backofftime. - Continue waiting and retrying up to some maximum number of retries, but don't increase the wait period between retries.
where:
- The wait time is
min(((2^n)+random_number_milliseconds), maximum_backoff), withnincremented by 1 for each iteration (request). random_number_millisecondsis a random number of milliseconds less than or equal to 1,000. This helps to avoid cases in which many clients are synchronized by some situation and all retry at once, sending requests in synchronized waves. The value ofrandom_number_millisecondsis recalculated after each retry request.maximum_backoffis typically 32 or 64 seconds. The appropriate value depends on the use case.
The client can continue retrying after it has reached the maximum_backoff time.
Retries after this point don't need to continue increasing backoff time. For
example, if a client uses a maximum_backoff time of 64 seconds, then after reaching
this value, the client can retry every 64 seconds. At some point,
clients should be prevented from retrying indefinitely.
The wait time between retries and the number of retries depend on your use case and network conditions.
Request a per-project quota increase
Depending on your project's resource usage, you might want to request a quota adjustment. API calls by a service account are considered to be using a single account. Applying for an adjusted quota doesn't guarantee approval. Quota adjustment requests that would significantly increase the quota value can take longer to be approved.
Not all projects have the same quotas. As you increasingly use Google Cloud over time, your quota values might need to increase. If you expect a notable upcoming increase in usage, you can proactively request quota adjustments from the Quotas & System Limits page in the Google Cloud console.
To learn more, see the following resources:
To request higher quotas for the Chat MCP server, you must first enroll your Google Cloud project in the Scaled Tier.
Chat MCP server quotas
The Chat MCP server uses a query cost allocation metric for per-minute quotas and a request count metric for daily quotas. The following tables detail these quotas and the query cost for each Chat MCP server tool.
Chat MCP quotas
Three types of quotas are enforced:
Per minute per project: The maximum query cost your Cloud project can use in one minute.
Per minute per user per project: The maximum query cost that any single user can use within your Cloud project in one minute.
Per day per project on the Standard Tier: The maximum number of requests your Cloud project can make in one day on the Standard Tier, resetting at midnight Pacific Time (PT). Requesting higher MCP quotas requires enrolling your Cloud project in the Scaled Tier with a linked Google Cloud Billing account and submitting a quota increase request. Scaled Tier per-request billing currently applies only to the Gmail, Google Calendar, and Google Drive MCP servers. For policy details and rollout dates, see Usage tiers and quotas for Google Workspace APIs and MCP servers.
The following table details these quotas:
| Usage limit type | Limit |
|---|---|
| Per minute per project | 3,000 query cost units |
| Per minute per user per project | 300 query cost units |
| Per day per project on the Standard Tier | 5,000 requests |
Failed MCP tools/call requests that return HTTP 200 with isError: true in
the JSON-RPC response don't count toward Scaled Tier billing where applicable.
This exclusion covers tool execution and argument-translation errors such as
invalid arguments, missing resources, permission denials, and declined user
confirmations. HTTP 3xx, 4xx, and 5xx responses also don't count toward
billing. Non-billed responses and failed MCP tools/call requests still count
toward 1-minute rate-limit quotas and the Standard Tier daily MCP limit of
5,000 requests per day, per project.
Chat MCP toolset quotas
The following table details the query cost for each chatmcp.googleapis.com
toolset. Each tool call counts as 1 request toward the Standard Tier daily
limit:
Endpoint |
Tool |
Query cost |
|---|---|---|
/mcp/v1 |
|
1 |
|
1 |
|
|
1 |
|
|
10 |
|
|
10 |
|
|
10 |
|
|
10 |
|
|
10 |
|
|
5 |
For more information, see the Chat MCP API Reference.