Organízate con las colecciones
Guarda y clasifica el contenido según tus preferencias.
Cuotas y límites
En este documento se describen los límites de cuota de la pasarela de APIs.
Límites de las API y sus configuraciones, y pasarelas
API Gateway aplica los siguientes límites a las API y a sus configuraciones, y pasarelas:
APIs: 50 en total.
Configuraciones de APIs: 100 por API.
Pasarelas: 50 por región.
Si intentas crear una segunda configuración de API antes de que se complete la creación de la primera para la misma API, es posible que una o ambas configuraciones no estén disponibles para usarlas más adelante en una pasarela.
Límites de frecuencia de solicitudes
De forma predeterminada, se aplica un límite de frecuencia de 10 millones de unidades de cuota por cada 100 segundos en cada proyecto del productor de servicios.
Se consume una unidad de cuota por cada llamada a services.check y por cada operación de la que se informe a través de services.report.
Límites de tamaño de la carga útil
Los siguientes límites se aplican de forma específica al tamaño de carga útil máxima del tráfico a través de pasarelas desplegadas:
Límite
Cantidad
Tamaño de la solicitud
32 megabytes
Tamaño de la respuesta
32 megabytes
Tamaño de la respuesta de transcodificación a gRPC
1 megabyte
Tamaño de la solicitud de transcodificación a gRPC
1 megabyte
No se admite el streaming.
Límites de tamaño de los encabezados
Los siguientes límites se aplican de forma específica al tamaño máximo del encabezado del tráfico a través de pasarelas desplegadas:
Límite
Importe
Tamaño de los encabezados de solicitud
60 kilobytes
El servicio de backend al que llama API Gateway puede tener límites más bajos.
Aumentar las cuotas
Sigue estos pasos para aumentar las cuotas por encima de los valores predeterminados que se describen en esta página:
[[["Es fácil de entender","easyToUnderstand","thumb-up"],["Me ofreció una solución al problema","solvedMyProblem","thumb-up"],["Otro","otherUp","thumb-up"]],[["Es difícil de entender","hardToUnderstand","thumb-down"],["La información o el código de muestra no son correctos","incorrectInformationOrSampleCode","thumb-down"],["Me faltan las muestras o la información que necesito","missingTheInformationSamplesINeed","thumb-down"],["Problema de traducción","translationIssue","thumb-down"],["Otro","otherDown","thumb-down"]],["Última actualización: 2025-08-19 (UTC)."],[[["\u003cp\u003eAPI Gateway enforces limits on the number of APIs (50 total), API configurations (100 per API), and gateways (5 per region).\u003c/p\u003e\n"],["\u003cp\u003eThe default rate limit is 10,000,000 quota units per 100 seconds per service producer project, with one unit consumed per \u003ccode\u003eservices.check\u003c/code\u003e call or \u003ccode\u003eservices.report\u003c/code\u003e operation, though APIs can support higher volumes due to caching.\u003c/p\u003e\n"],["\u003cp\u003ePayload 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.\u003c/p\u003e\n"],["\u003cp\u003eRequest header size is limited to 60 kilobytes for traffic through deployed gateways, and the backend service may enforce lower limits.\u003c/p\u003e\n"],["\u003cp\u003eQuotas can be increased above the defaults by accessing the Quotas page and submitting a request to edit specific limits.\u003c/p\u003e\n"]]],[],null,["# Quotas and limits\n=================\n\nThis document describes API Gateway's quota limits.\n\nLimits on APIs, API configs, and gateways\n-----------------------------------------\n\nAPI Gateway enforces the following limits on APIs, API configs, and gateways:\n\n- **APIs** - 50 total\n- **API Configs** - 100 per API\n- **Gateways** - 50 per region\n\nIf you attempt to create a second API config before the first API config\ncreation for the same API completes, one or both configs may not be available\nfor later use in a Gateway.\n\nRequest rate limits\n-------------------\n\nA rate limit of 10,000,000 quota units per 100 seconds per service producer project is enforced by default.\nOne quota unit is consumed for each call to [`services.check`](/service-control/reference/rest/v1/services/check)\nand for each operation reported by\n[`services.report`](/service-control/reference/rest/v1/services/report).\n| **Note:** API Gateway employs efficient caching algorithms so it doesn't call Service Control every time your API is called. So while the default limit is 10,000,000 per 100 seconds, your API can support a much higher volume.\n\nPayload size limits\n-------------------\n\nThe following limits apply specifically to max payload size for traffic through deployed gateways:\n\nStreaming is not supported.\n\nHeader size limits\n------------------\n\nThe following limits apply specifically to max header size for traffic through deployed gateways:\n\nThe backend service called by API Gateway may have lower limits.\n\nHow to increase quota\n---------------------\n\nTo increase quotas above the defaults listed on this page:\n\n1. Go to the\n [Quotas page](https://console.cloud.google.com/iam-admin/quotas?orgonly=true&supportedpurview=project&pageState=(%22expandableQuotasTable%22:(%22f%22:%22%255B%257B_22k_22_3A_22Service_22_2C_22t_22_3A10_2C_22v_22_3A_22_5C_22API%2520Gateway%2520API_5C_22_22_2C_22s_22_3Atrue_2C_22i_22_3A_22serviceTitle_22%257D%255D%22)22)).\n\n2. Select the quota(s) you want to modify and click **EDIT QUOTAS** at the top of the page.\n\n3. Supply your user information if prompted, and enter the new quota limit for each quota you selected."]]