Stay organized with collections
Save and categorize content based on your preferences.
Quotas and limits
This document describes API Gateway's quota limits.
Limits on APIs, API configs, and gateways
API Gateway enforces the following limits on APIs, API configs, and gateways:
APIs - 50 total
API Configs - 100 per API
Gateways - 5 per region
If you attempt to create a second API config before the first API config
creation for the same API completes, one or both configs may not be available
for later use in a Gateway.
Request rate limits
A rate limit of 10,000,000 quota units per 100 seconds per service producer project is enforced by default.
One quota unit is consumed for each call to services.check
and for each operation reported by
services.report.
Payload size limits
The following limits apply specifically to max payload size for traffic through deployed gateways:
Limit
Amount
Request size
32 megabytes
Response size
32 megabytes
gRPC transcoding response size
1 megabyte
gRPC transcoding request size
1 megabyte
Streaming is not supported.
Header size limits
The following limits apply specifically to max header size for traffic through deployed gateways:
Limit
Amount
Request headers size
60 kilobytes
The backend service called by API Gateway may have lower limits.
How to increase quota
To increase quotas above the defaults listed on this page:
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-03-05 UTC."],[[["API Gateway enforces limits on the number of APIs (50 total), API configurations (100 per API), and gateways (5 per region)."],["The default rate limit is 10,000,000 quota units per 100 seconds per service producer project, with one unit consumed per `services.check` call or `services.report` operation, though APIs can support higher volumes due to caching."],["Payload size limits for traffic through deployed gateways are 32 megabytes for both request and response sizes, while gRPC transcoding requests and responses are limited to 1 megabyte each, and streaming is not supported."],["Request header size is limited to 60 kilobytes for traffic through deployed gateways, and the backend service may enforce lower limits."],["Quotas can be increased above the defaults by accessing the Quotas page and submitting a request to edit specific limits."]]],[]]