Stay organized with collections
Save and categorize content based on your preferences.
This document lists the quotas and system limits that apply to
Batch.
Quotas specify the amount of a countable, shared resource that you
can use. Quotas are defined by Google Cloud services such as
Batch.
System limits are fixed values that cannot be changed.
Batch jobs run on Compute Engine resources,
so Batch is also subject to
Compute Engine quotas and limits. If your
Batch
job also uses other Google Cloud services, then it is subject to the
quotas for those services too. Attempts to exceed a quota or limit
return an error.
For more information, see the Cloud Quotas documentation.
In addition to the quotas and limits from other Google Cloud services,
Batch has the following quotas and limits, which cannot
be changed.
Rate quotas
The following limits apply to Batch requests. These limits
appear as quotas–for example, in the Google Cloud console–however, they can not be
increased.
Limit
Value
Agent requests per minute per region
30,000
Mutation requests per minute per region
6,000
Read requests per minute per region
15,000
Job limits
The following limits apply to Batch jobs.
Limit
Value
Tasks per task group
100,000
Parallel tasks per job
5,000
Concurrent VMs per single-zone job*
2,000
Concurrent VMs per multi-zone job*
4,000
Size of the job definition†
1 MB
Wait time (duration of QUEUED job state) before automatic failure
2 days
Run time (duration of RUNNING job state) before automatic failure
14 days
* The terms single-zone job and multi-zone job here
refer to the number of zones allowed for a job's VMs, which might be
different than the zones for a job's location. For more information, see
Batch locations.
† For example, roughly the size of the REST request to the
jobs.create method
or gcloud CLI --config file.
You can work around this limit by the dividing the tasks across multiple
jobs—for example, learn how to
schedule dependent jobs
(Preview).
[[["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-08-25 UTC."],[[["\u003cp\u003eBatch has specific quotas and system limits that apply to its operations, defining the amount of shared resources and fixed values that users can utilize.\u003c/p\u003e\n"],["\u003cp\u003eBatch is subject to Compute Engine quotas and limits, as well as quotas from any other Google Cloud services that a Batch job may interact with.\u003c/p\u003e\n"],["\u003cp\u003eBatch request quotas include limits for agent, mutation, and read requests per minute per region, all with specific fixed values.\u003c/p\u003e\n"],["\u003cp\u003eBatch job limits are also present, such as the maximum number of tasks per task group, parallel tasks per job, concurrent VMs, the job definition size, and the maximum wait and run times before automatic job failure.\u003c/p\u003e\n"],["\u003cp\u003eSingle-zone and multi-zone jobs have different limits on the maximum concurrent number of virtual machines allowed.\u003c/p\u003e\n"]]],[],null,["# Quotas and limits\n\nThis document lists the quotas and system limits that apply to\nBatch.\n\n- *Quotas* specify the amount of a countable, shared resource that you can use. Quotas are defined by Google Cloud services such as Batch.\n- *System limits* are fixed values that cannot be changed.\n\nBatch jobs run on Compute Engine resources,\nso Batch is also subject to\n[Compute Engine quotas and limits](/compute/quotas). If your\nBatch\njob also uses other Google Cloud services, then it is subject to the\nquotas for those services too. Attempts to exceed a quota or limit\nreturn an [error](/batch/docs/troubleshooting#insufficient-quota).\nFor more information, see the [Cloud Quotas documentation](/docs/quotas/overview).\n\nIn addition to the quotas and limits from other Google Cloud services,\nBatch has the following quotas and limits, which cannot\nbe changed.\n\nRate quotas\n-----------\n\nThe following limits apply to Batch requests. These limits\nappear as quotas--for example, in the Google Cloud console--however, they can not be\nincreased.\n\nJob limits\n----------\n\nThe following limits apply to Batch jobs.\n\n^\\*^ The terms *single-zone job* and *multi-zone job* here\nrefer to the number of zones allowed for a job's VMs, which might be\ndifferent than the zones for a job's location. For more information, see\n[Batch locations](/batch/docs/locations).\n\n^†^ For example, roughly the size of the REST request to the\n[`jobs.create` method](/batch/docs/reference/rest/v1/projects.locations.jobs/create)\nor gcloud CLI [`--config` file](/sdk/gcloud/reference/batch/jobs/submit#--config).\nYou can work around this limit by the dividing the tasks across multiple\njobs---for example, learn how to\n[schedule dependent jobs](/batch/docs/create-run-dependent-job)\n([Preview](/products#product-launch-stages))."]]