Quotas and limits
This page 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 - 50 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 |
|---|