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.
Each billing account comes with 2,500 free build-minutes per month.1
Machine type | Virtual CPUs | Memory (GB) | Quick Start | Price (USD) per minute |
---|---|---|---|---|
e2-medium | 1 | 4 | No | USD 0.003 |
e2-standard-2 | 2 | 8 | Yes | USD 0.006 |
e2-highcpu-8 | 8 | 8 | No | USD 0.016 |
e2-highcpu-32 | 32 | 32 | No | USD 0.064 |
1This promotional free tier is for e2-standard-2 machine types in the default pool, and the limit is subject to change.
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.
You can request extra SSD storage for the VM that runs your build. The first 100GB is free, and you can request up to 4000GB. The price can differ per region, as shown in the tables on this page. For default pools, diskSizeGb is nested under BuildOptions, but for private pools it's a property of the pool WorkerConfig.
The following tables show the calculated cost for predefined private pool machine types:
E2 standard machine types
Machine type | Virtual CPUs | Memory (GB) | Price (USD) |
---|---|---|---|
e2-medium | 1 | 4 | USD 0.00485 / 1 minute |
e2-standard-2 | 2 | 8 | USD 0.0097 / 1 minute |
e2-standard-4 | 4 | 16 | USD 0.0194 / 1 minute |
e2-standard-8 | 8 | 32 | USD 0.0388 / 1 minute |
e2-standard-16 | 16 | 64 | USD 0.0776 / 1 minute |
e2-standard-32 | 32 | 128 | USD 0.1552 / 1 minute |
E2 high-memory machine types
Machine type | Virtual CPUs | Memory (GB) | Price (USD) |
---|---|---|---|
e2-highmem-2 | 2 | 16 | USD 0.01306 / 1 minute |
e2-highmem-4 | 4 | 32 | USD 0.02612 / 1 minute |
e2-highmem-8 | 8 | 64 | USD 0.05224 / 1 minute |
e2-highmem-16 | 16 | 128 | USD 0.10448 / 1 minute |
E2 high-CPU machine types
Machine type | Virtual CPUs | Memory (GB) | Price (USD) |
---|---|---|---|
e2-highcpu-2 | 2 | 2 | USD 0.00718 / 1 minute |
e2-highcpu-4 | 4 | 4 | USD 0.01436 / 1 minute |
e2-highcpu-8 | 8 | 8 | USD 0.02872 / 1 minute |
e2-highcpu-16 | 16 | 16 | USD 0.05744 / 1 minute |
e2-highcpu-32 | 32 | 32 | USD 0.11488 / 1 minute |
SSD for E2 machine types
The following table shows the pricing for builds run in the private pool:
SSD | Price (USD) |
---|---|
Private Pools SSD | USD 0.000232877 / 1 gibibyte hour |
N2D standard machine types
Machine type | Virtual CPUs | Memory (GB) | Price (USD) |
---|---|---|---|
n2d-standard-2 | 2 | 8 | USD 0.007562 / 1 minute |
n2d-standard-4 | 4 | 16 | USD 0.015124 / 1 minute |
n2d-standard-8 | 8 | 32 | USD 0.030248 / 1 minute |
n2d-standard-16 | 16 | 64 | USD 0.060496 / 1 minute |
n2d-standard-32 | 32 | 128 | USD 0.120992 / 1 minute |
n2d-standard-48 | 48 | 192 | USD 0.181488 / 1 minute |
n2d-standard-64 | 64 | 256 | USD 0.241984 / 1 minute |
n2d-standard-80 | 80 | 320 | USD 0.30248 / 1 minute |
n2d-standard-96 | 96 | 384 | USD 0.362976 / 1 minute |
n2d-standard-128 | 128 | 512 | USD 0.483968 / 1 minute |
n2d-standard-224 | 224 | 896 | USD 0.846944 / 1 minute |
N2D high-memory machine types
Machine type | Virtual CPUs | Memory (GB) | Price (USD) |
---|---|---|---|
n2d-highmem-2 | 2 | 16 | USD 0.01109 / 1 minute |
n2d-highmem-4 | 4 | 32 | USD 0.02218 / 1 minute |
n2d-highmem-8 | 8 | 64 | USD 0.04436 / 1 minute |
n2d-highmem-16 | 16 | 128 | USD 0.08872 / 1 minute |
n2d-highmem-32 | 32 | 256 | USD 0.17744 / 1 minute |
n2d-highmem-48 | 48 | 384 | USD 0.26616 / 1 minute |
n2d-highmem-64 | 64 | 512 | USD 0.35488 / 1 minute |
n2d-highmem-80 | 80 | 640 | USD 0.4436 / 1 minute |
n2d-highmem-96 | 96 | 768 | USD 0.53232 / 1 minute |
N2D high-CPU machine types
Machine type | Virtual CPUs | Memory (GB) | Price (USD) |
---|---|---|---|
n2d-highcpu-2 | 2 | 2 | USD 0.004916 / 1 minute |
n2d-highcpu-4 | 4 | 4 | USD 0.009832 / 1 minute |
n2d-highcpu-8 | 8 | 8 | USD 0.019664 / 1 minute |
n2d-highcpu-16 | 16 | 16 | USD 0.039328 / 1 minute |
n2d-highcpu-32 | 32 | 32 | USD 0.078656 / 1 minute |
n2d-highcpu-48 | 48 | 48 | USD 0.117984 / 1 minute |
n2d-highcpu-64 | 64 | 64 | USD 0.157312 / 1 minute |
n2d-highcpu-80 | 80 | 80 | USD 0.19664 / 1 minute |
n2d-highcpu-96 | 96 | 96 | USD 0.235968 / 1 minute |
n2d-highcpu-128 | 128 | 128 | USD 0.314624 / 1 minute |
n2d-highcpu-224 | 224 | 224 | USD 0.550592 / 1 minute |
SSD for N2D machine types
The following table shows the pricing for builds run in the private pool:
SSD | Price (USD) |
---|---|
Private Pools SSD | USD 0.000232877 / 1 gibibyte hour |
C3 standard machine types
Machine type | Virtual CPUs | Memory (GB) | Price (USD) |
---|---|---|---|
c3-standard-4 | 4 | 16 | USD 0.01772 / 1 minute |
c3-standard-8 | 8 | 32 | USD 0.03544 / 1 minute |
c3-standard-22 | 22 | 88 | USD 0.09746 / 1 minute |
c3-standard-44 | 44 | 176 | USD 0.19492 / 1 minute |
c3-standard-88 | 88 | 352 | USD 0.38984 / 1 minute |
c3-standard-176 | 176 | 704 | USD 0.77968 / 1 minute |
C3 high-memory machine types
Machine type | Virtual CPUs | Memory (GB) | Price (USD) |
---|---|---|---|
c3-highmem-4 | 4 | 32 | USD 0.025272 / 1 minute |
c3-highmem-8 | 8 | 64 | USD 0.050544 / 1 minute |
c3-highmem-22 | 22 | 176 | USD 0.138996 / 1 minute |
c3-highmem-44 | 44 | 352 | USD 0.277992 / 1 minute |
c3-highmem-88 | 88 | 704 | USD 0.555984 / 1 minute |
c3-highmem-176 | 176 | 1408 | USD 1.111968 / 1 minute |
C3 high-CPU machine types
Machine type | Virtual CPUs | Memory (GB) | Price (USD) |
---|---|---|---|
c3-highcpu-4 | 4 | 8 | USD 0.013944 / 1 minute |
c3-highcpu-8 | 8 | 16 | USD 0.027888 / 1 minute |
c3-highcpu-22 | 22 | 44 | USD 0.076692 / 1 minute |
c3-highcpu-44 | 44 | 88 | USD 0.153384 / 1 minute |
c3-highcpu-88 | 88 | 176 | USD 0.306768 / 1 minute |
c3-highcpu-176 | 176 | 352 | USD 0.613536 / 1 minute |
SSD for C3 machine types
The following table shows the pricing for builds run in the private pool:
SSD | Price (USD) |
---|---|
Private Pools SSD | USD 0.000232877 / 1 gibibyte hour |
When using Cloud Build, you might also incur costs for: