Cloud Build charges for build-minutes consumed above a certain threshold.
A build-minute is incurred for every minute that a build initiated by Cloud Build is in process. Partial minutes are billed at the actual number of seconds consumed. Data transfer networking charges are included in build-minute charges.
Build-minutes are not incurred for the time that a build is queued. Charges are accrued to the billing account associated with the Google Cloud console project that initiated the build.
Machine type | Virtual CPUs | Memory | Quick Start1 | Price (USD) |
---|---|---|---|---|
e2-medium | 1 | 4GB | $0.003 / build-minute | |
e2-standard-2 | 2 | 8GB | $0.006 / build-minute. First 2,500 builds-minutes per month are free.2 | |
e2-highcpu-8 | 8 | 8GB | $0.016 / build-minute | |
e2-highcpu-32 | 32 | 32GB | $0.064 / build-minute |
1 A Quick Start build starts without a provisioning delay.
2 Promotional free tier of 2,500 free build-minutes per month is per billing account and is subject to change.
If you pay in a currency other than USD, the prices listed in your currency on
Cloud Platform SKUs
apply.
Cloud Build continues to offer n1-highcpu-8
and n1-highcpu-32
machine types. They are offered at the same price as e2-highcpu-8
and e2-highcpu-32
.
Private pools pricing
The following table shows the pricing for builds run in the private pool
Item | Virtual CPUs | Memory |
---|---|---|
Price (USD) per build minute | $0.00317 / vCPU | $0.00042 / GB |
The following table shows the calculated cost for predefined private pool machine types:
Machine type | Virtual CPUs | Memory | Price (USD) per build minute |
---|---|---|---|
e2-medium | 1 | 4GB | $0.00485 |
e2-standard-2 | 2 | 8GB | $0.0097 |
e2-standard-4 | 4 | 16GB | $0.0194 |
e2-standard-8 | 8 | 32GB | $0.0388 |
e2-standard-16 | 16 | 64GB | $0.0776 |
e2-standard-32 | 32 | 128GB | $0.1552 |
e2-highcpu-2 | 2 | 2GB | $0.00718 |
e2-highcpu-4 | 4 | 4GB | $0.01436 |
e2-highcpu-8 | 8 | 8GB | $0.02872 |
e2-highcpu-16 | 16 | 16GB | $0.05744 |
e2-highcpu-32 | 32 | 32GB | $0.11488 |
e2-highmem-2 | 2 | 16GB | $0.01306 |
e2-highmem-4 | 4 | 32GB | $0.02612 |
e2-highmem-8 | 8 | 64GB | $0.05224 |
e2-highmem-16 | 16 | 128GB | $0.10448 |
Private pools offers customizable disk sizes and lets you request SSDs of up to 4000GB. The price for additional SSDs is $0.17 per GB per month. SSD charges are prorated to a granularity of seconds.
Additional costs
When using Cloud Build, you might also incur costs for:
BuildOptions supports a
diskSizeGb
field that lets you request SSDs of up to 4000GB beyond the default 100GB. The price for additional SSDs is $0.17 per GB per month. SSD charges are prorated to a granularity of seconds.Storing images and artifacts in Artifact Registry. For more information, see Artifact Registry pricing.
Storing an image in Container Registry. For more information, see Container Registry pricing page.
Networks costs on peered network. For more information, see Networking pricing page.