Compute Engine pricing
This page lists all the pricing for Compute Engine.
Compute Engine charges for usage based on the following price sheet. A bill is sent out at the end of each billing cycle, providing a sum of Google Cloud charges. Prices on this page are listed in U.S. dollars (USD).
For Compute Engine, disk size, machine type memory, and network usage are calculated in gigabytes (GB), where 1 GB is 230 bytes. This unit of measurement is also known as a gibibyte (GiB).
If you pay in a currency other than USD, the prices listed in your currency on Cloud Platform SKUs apply.
You can also find pricing information with the following options:
- See the estimated costs of your instances and Compute Engine resources when you create them in the Google Cloud console.
- Estimate your total project costs with the Google Cloud Pricing Calculator.
- View and download prices from the Pricing Table in the Google Cloud console.
- View more information about costs and usage in Cloud Billing reports.
- Use the Cloud Billing Catalog API for programmatic access to SKU information.
Try it for yourself
If you're new to Google Cloud, create an account to evaluate how Compute Engine performs in real-world scenarios. New customers also get $300 in free credits to run, test, and deploy workloads.
Try Compute Engine freeGeneral-purpose machine types
C3 machine types
*Spot prices are dynamic and can change up to once every 30 days, but always provide discounts of 60-91% off of the corresponding on-demand price for machine types and GPUs. Spot prices also provide smaller discounts for local SSDs. For more information, see the Spot VMs documentation.
C3 standard machine types
*Spot prices are dynamic and can change up to once every 30 days, but always provide discounts of 60-91% off of the corresponding on-demand price for machine types and GPUs. Spot prices also provide smaller discounts for local SSDs. For more information, see the Spot VMs documentation.
C3 high-memory machine types
*Spot prices are dynamic and can change up to once every 30 days, but always provide discounts of 60-91% off of the corresponding on-demand price for machine types and GPUs. Spot prices also provide smaller discounts for local SSDs. For more information, see the Spot VMs documentation.
C3 high-CPU machine types
*Spot prices are dynamic and can change up to once every 30 days, but always provide discounts of 60-91% off of the corresponding on-demand price for machine types and GPUs. Spot prices also provide smaller discounts for local SSDs. For more information, see the Spot VMs documentation.
E2 machine types
*Spot prices are dynamic and can change up to once every 30 days, but always provide discounts of 60-91% off of the corresponding on-demand price for machine types and GPUs. Spot prices also provide smaller discounts for local SSDs. For more information, see the Spot VMs documentation.
E2 standard machine types
*Spot prices are dynamic and can change up to once every 30 days, but always provide discounts of 60-91% off of the corresponding on-demand price for machine types and GPUs. Spot prices also provide smaller discounts for local SSDs. For more information, see the Spot VMs documentation.
E2 high-memory machine types
*Spot prices are dynamic and can change up to once every 30 days, but always provide discounts of 60-91% off of the corresponding on-demand price for machine types and GPUs. Spot prices also provide smaller discounts for local SSDs. For more information, see the Spot VMs documentation.
E2 high-CPU machine types
*Spot prices are dynamic and can change up to once every 30 days, but always provide discounts of 60-91% off of the corresponding on-demand price for machine types and GPUs. Spot prices also provide smaller discounts for local SSDs. For more information, see the Spot VMs documentation.
E2 custom vCPUs and memory
E2 custom and E2 shared-core custom machine types are subject to the same pricing rates. E2 shared-core custom machines have fractional vCPUs with a custom memory range.
- 0.25 vCPU for
micromachines - 0.50 vCPU for
smallmachines - 1 vCPU for
mediummachines
*Spot prices are dynamic and can change up to once every 30 days, but always provide discounts of 60-91% off of the corresponding on-demand price for machine types and GPUs. Spot prices also provide smaller discounts for local SSDs. For more information, see the Spot VMs documentation.
N2 machine types
*Spot prices are dynamic and can change up to once every 30 days, but always provide discounts of 60-91% off of the corresponding on-demand price for machine types and GPUs. Spot prices also provide smaller discounts for local SSDs. For more information, see the Spot VMs documentation.
N2 standard machine types
*Spot prices are dynamic and can change up to once every 30 days, but always provide discounts of 60-91% off of the corresponding on-demand price for machine types and GPUs. Spot prices also provide smaller discounts for local SSDs. For more information, see the Spot VMs documentation.
N2 high-memory machine types
*Spot prices are dynamic and can change up to once every 30 days, but always provide discounts of 60-91% off of the corresponding on-demand price for machine types and GPUs. Spot prices also provide smaller discounts for local SSDs. For more information, see the Spot VMs documentation.
N2 high-CPU machine types
*Spot prices are dynamic and can change up to once every 30 days, but always provide discounts of 60-91% off of the corresponding on-demand price for machine types and GPUs. Spot prices also provide smaller discounts for local SSDs. For more information, see the Spot VMs documentation.
N2 custom vCPUs and memory
*Spot prices are dynamic and can change up to once every 30 days, but always provide discounts of 60-91% off of the corresponding on-demand price for machine types and GPUs. Spot prices also provide smaller discounts for local SSDs. For more information, see the Spot VMs documentation.
N2 extended custom memory
*Spot prices are dynamic and can change up to once every 30 days, but always provide discounts of 60-91% off of the corresponding on-demand price for machine types and GPUs. Spot prices also provide smaller discounts for local SSDs. For more information, see the Spot VMs documentation.
N2D machine types
*Spot prices are dynamic and can change up to once every 30 days, but always provide discounts of 60-91% off of the corresponding on-demand price for machine types and GPUs. Spot prices also provide smaller discounts for local SSDs. For more information, see the Spot VMs documentation.
N2D standard machine types
*Spot prices are dynamic and can change up to once every 30 days, but always provide discounts of 60-91% off of the corresponding on-demand price for machine types and GPUs. Spot prices also provide smaller discounts for local SSDs. For more information, see the Spot VMs documentation.
N2D high-memory machine types
*Spot prices are dynamic and can change up to once every 30 days, but always provide discounts of 60-91% off of the corresponding on-demand price for machine types and GPUs. Spot prices also provide smaller discounts for local SSDs. For more information, see the Spot VMs documentation.
N2D high-CPU machine types
*Spot prices are dynamic and can change up to once every 30 days, but always provide discounts of 60-91% off of the corresponding on-demand price for machine types and GPUs. Spot prices also provide smaller discounts for local SSDs. For more information, see the Spot VMs documentation.
N2D custom vCPUs and memory
*Spot prices are dynamic and can change up to once every 30 days, but always provide discounts of 60-91% off of the corresponding on-demand price for machine types and GPUs. Spot prices also provide smaller discounts for local SSDs. For more information, see the Spot VMs documentation.
N2D extended custom memory
*Spot prices are dynamic and can change up to once every 30 days, but always provide discounts of 60-91% off of the corresponding on-demand price for machine types and GPUs. Spot prices also provide smaller discounts for local SSDs. For more information, see the Spot VMs documentation.
Tau T2D machine types
Tau T2D standard machine types
Tau T2A machine types
Tau T2A standard machine types
The following table shows the calculated costs for standard predefined machine types in the Tau T2A machine family. The vCPUs and memory from each of these machine types are billed by their individual predefined vCPU and memory prices, but these tables provide the cost that you can expect using a specific machine type.
Standard machine types have 4 GB of memory per vCPU.
N1 machine types
*Spot prices are dynamic and can change up to once every 30 days, but always provide discounts of 60-91% off of the corresponding on-demand price for machine types and GPUs. Spot prices also provide smaller discounts for local SSDs. For more information, see the Spot VMs documentation.
N1 standard machine types
*Spot prices are dynamic and can change up to once every 30 days, but always provide discounts of 60-91% off of the corresponding on-demand price for machine types and GPUs. Spot prices also provide smaller discounts for local SSDs. For more information, see the Spot VMs documentation.
N1 high-memory machine types
*Spot prices are dynamic and can change up to once every 30 days, but always provide discounts of 60-91% off of the corresponding on-demand price for machine types and GPUs. Spot prices also provide smaller discounts for local SSDs. For more information, see the Spot VMs documentation.
N1 high-CPU machine types
*Spot prices are dynamic and can change up to once every 30 days, but always provide discounts of 60-91% off of the corresponding on-demand price for machine types and GPUs. Spot prices also provide smaller discounts for local SSDs. For more information, see the Spot VMs documentation.
N1 custom vCPUs and memory
*Spot prices are dynamic and can change up to once every 30 days, but always provide discounts of 60-91% off of the corresponding on-demand price for machine types and GPUs. Spot prices also provide smaller discounts for local SSDs. For more information, see the Spot VMs documentation.
N1 extended custom memory
*Spot prices are dynamic and can change up to once every 30 days, but always provide discounts of 60-91% off of the corresponding on-demand price for machine types and GPUs. Spot prices also provide smaller discounts for local SSDs. For more information, see the Spot VMs documentation.
Compute-optimized machine types
C2 vCPUs and memory
*Spot prices are dynamic and can change up to once every 30 days, but always provide discounts of 60-91% off of the corresponding on-demand price for machine types and GPUs. Spot prices also provide smaller discounts for local SSDs. For more information, see the Spot VMs documentation.
C2 machine types
C2D vCPUs and memory
*Spot prices are dynamic and can change up to once every 30 days, but always provide discounts of 60-91% off of the corresponding on-demand price for machine types and GPUs. Spot prices also provide smaller discounts for local SSDs. For more information, see the Spot VMs documentation.
C2D standard machine types
*Spot prices are dynamic and can change up to once every 30 days, but always provide discounts of 60-91% off of the corresponding on-demand price for machine types and GPUs. Spot prices also provide smaller discounts for local SSDs. For more information, see the Spot VMs documentation.
C2D high-memory machine types
*Spot prices are dynamic and can change up to once every 30 days, but always provide discounts of 60-91% off of the corresponding on-demand price for machine types and GPUs. Spot prices also provide smaller discounts for local SSDs. For more information, see the Spot VMs documentation.
C2D high-CPU machine types
*Spot prices are dynamic and can change up to once every 30 days, but always provide discounts of 60-91% off of the corresponding on-demand price for machine types and GPUs. Spot prices also provide smaller discounts for local SSDs. For more information, see the Spot VMs documentation.
Memory-optimized machine types
vCPUs and memory
*Spot prices are dynamic and can change up to once every 30 days, but always provide discounts of 60-91% off of the corresponding on-demand price for machine types and GPUs. Spot prices also provide smaller discounts for local SSDs. For more information, see the Spot VMs documentation.
M2 memory-optimized machine types
M1 memory-optimized machine types
If you pay in a currency other than USD, the prices listed in your currency on Cloud Platform SKUs apply.
*Spot prices are dynamic and can change up to once every 30 days, but always provide discounts of 60-91% off of the corresponding on-demand price for machine types and GPUs. Spot prices also provide smaller discounts for local SSDs. For more information, see the Spot VMs documentation.
Accelerator-optimized machine type family
A2 standard machine types
A2 ultra machine types
The following table shows the total calculated cost that you can expect for these predefined A2 ultra machine types. This total cost includes the cost for the GPUs, vCPU, memory, and local SSD.
If you pay in a currency other than USD, the prices listed in your currency on Cloud Platform SKUs apply. *Spot prices are dynamic and can change up to once every 30 days, but always provide discounts of 60-91% off of the corresponding on-demand price for machine types and GPUs. Spot prices also provide smaller discounts for local SSDs. For more information, see the Spot VMs documentation.
G2 machine types
Shared-core machine types
E2 shared-core machine types
E2 shared-core custom machine types are subject to the same pricing rates as E2 custom machines. These instances have fractional vCPUs with a custom memory range.
*Spot prices are dynamic and can change up to once every 30 days, but always provide discounts of 60-91% off of the corresponding on-demand price for machine types and GPUs. Spot prices also provide smaller discounts for local SSDs. For more information, see the Spot VMs documentation.
N1 shared-core machine types
N2, N2D, C2, and C2D higher bandwidth configuration
You can configure your N2, N2D, C2, and C2D machine types to use TIER_1 higher bandwidth. This option is only available to N2, N2D, C2, and C2D machine types with greater than 30 vCPUs, and is dependent upon machine type availability in regions and zones.
N2, N2D, C2
*Spot prices are dynamic and can change up to once every 30 days, but always provide discounts of 60-91% off of the corresponding on-demand price for machine types and GPUs. Spot prices also provide smaller discounts for local SSDs. For more information, see the Spot VMs documentation.
C2D
*Spot prices are dynamic and can change up to once every 30 days, but always provide discounts of 60-91% off of the corresponding on-demand price for machine types and GPUs. Spot prices also provide smaller discounts for local SSDs. For more information, see the Spot VMs documentation.
Suspended VM instances
When you suspend an instance, Compute Engine preserves the memory and device state. While you are not charged for the VM instance as if it were running, suspended instances still incur charges for the following:
- Suspended instance memory and device state.
- Any persistent disk usage.
- Any static IPs attached to the VM instance.
Sole-tenant node pricing
Premium images
Red Hat Enterprise Linux (RHEL) and RHEL for SAP images
RHEL images:
- $0.06 USD/hour for instances with 4 or fewer vCPUs
- $0.13 USD/hour for instances with more than 4 vCPUs
RHEL 6 ELS images:
- $0.02 USD/hour for instances with 4 or fewer vCPUs
- $0.05 USD/hour for instances with more than 4 vCPUs
RHEL for SAP with HA and Update Services images:
- $0.10 USD/hour for instances with 4 or fewer vCPUs
- $0.225 USD/hour for instances with more than 4 vCPUs
All RHEL and RHEL for SAP images are charged a 1 minute minimum. After 1 minute, RHEL images are charged in 1 second increments.
You can purchase commitments and receive committed use discounts (CUDs) for your RHEL and RHEL for SAP licenses. Because you commit to a minimum level of resource usage when you purchase your license commitment, you have to pay the agreed-upon prices for the duration of that commitment, even if your resource usage is lower than that minimum level. As a result, to maximize the benefit of your CUDs, ensure that you use all of your committed licenses and run VMs with those licenses for 100% time of your commitment's term. To learn more about CUDs for licenses and how to purchase a commitment, see Purchase commitments for licenses.
SLES and SLES for SAP images
SLES images:
- $0.02 USD/hour for
f1-microandg1-smallmachine types - $0.11 USD/hour for all other machine types
SLES for SAP images:
- $0.17 USD/hour for instances with 1 - 2 vCPUs
- $0.34 USD/hour for instances with 3 - 4 vCPUs
- $0.41 USD/hour for instances with 5 or more vCPUs
All SLES images are charged a 1 minute minimum. After 1 minute, SLES images are charged in 1 second increments.
You can purchase commitments and receive committed use discounts (CUDs) for your SUSE Linux Enterprise Server (SLES) and SLES for SAP licenses. Because you commit to a minimum level of resource usage when you purchase your license commitment, you have to pay the agreed-upon prices for the duration of that commitment, even if your resource usage is lower than that minimum level. As a result, to maximize the benefit of your CUDs, ensure that you use all of your committed licenses and run VMs with those licenses for 100% time of your commitment's term. To learn more about CUDs for licenses and how to purchase a commitment, see Purchase commitments for licenses.
Ubuntu pro images
The following sections outline the license cost for using Ubuntu Pro images on Compute Engine
Memory
License cost for memory is charged at one flat rate of $0.000127 per GB/hour in USD.
vCPULicense cost for vCPU varies by the number of vCPUs that the Ubuntu Pro VM has. The following table summarizes the license cost per hour in USD.
| Number of vCPUs | License cost (USD)/hour |
|---|---|
| 1 | $0.001660 |
| 2 | $0.002971 |
| 4 | $0.005545 |
| 6 - 8 | $0.009970 |
| 10 - 16 | $0.018063 |
| 18 - 48 | $0.033378 |
| 50 - 78 | $0.060548 |
| 80 - 96 | $0.077871 |
| 98 - 222 | $0.102401 |
| >222 | $0.122063 |
Ubuntu pro GPU license
When running VMs that use the Ubuntu Pro images with attached GPUs, you incur license cost for the premium image and a GPU license in addition to the regular cost of running the VM and the cost of the attached GPU.
The following table summarizes the per GPU license rates per month in USD for Ubuntu Pro VMs. The license fee varies based on the number of GPUs attached to the VM but is the same for all GPU models that are available on Compute Engine.
| Number of GPUs | License cost (USD) |
|---|---|
| 1 | $0.035 |
| 2 | $0.066 |
| 4 | $0.120 |
| 8 | $0.208 |
| >8 | $0.300 |
Windows Server images
If you use a Compute Engine Windows Server image or you import a Windows Server image without bringing your own licenses, you are billed based on the machine types you use as follows:
-
f1-microandg1-smallmachine types: $0.023 USD/hour. -
All other machine types: $0.046 USD/hour per visible vCPU. For example,
n2-highcpu-4, andn2-highmem-4have 4 vCPUs, so are charged at $0.184 USD/hour (4 x $0.046 USD/hour).
Windows Server images are charged a 1 minute minimum. After 1 minute, Windows images are charged in 1 second increments.
For information about licensing for Windows Server images, see Microsoft licenses.
SQL Server images
SQL Server images incur costs in addition to the cost for Windows Server images and the cost for the selected machine type.
- $0.399 USD per core/hour for SQL Server Enterprise
- $0.1645 USD per core/hour for SQL Server Standard
- $0.011 USD per core/hour for SQL Server Web
- No additional charge for SQL Server Express
Microsoft SQL Server licensing requires a core license to be assigned to each virtual CPU on your virtual machine instance, with a four core minimum for each instance. Instances with fewer than 4 vCPUs will be charged for SQL Server at 4 x $0.1645 USD/hour ($0.658 USD/hour) to comply with these requirements. For instances with 4 or more vCPUs, Compute Engine charges you for Microsoft SQL Server licenses in increments of 2. However, instances with a custom machine type will be charged for the number of SQL Server licenses that is equal to the number of vCPUs.
Google recommends that you not use SQL Server images on f1-micro or
g1-small machine types based on Microsoft's minimum hardware and software recommendations.
Unlike other premium images, SQL Server images are charged a 10 minute minimum. After 10 minutes, SQL Server images are charged in 1 minute increments.
For information about licensing for SQL Server OS images, see Microsoft licenses.
Disk pricing
Persistent disk space pricing
Local SSD pricing
*Spot prices are dynamic and can change up to once every 30 days, but always provide discounts of 60-91% off of the corresponding on-demand price for machine types and GPUs. Spot prices also provide smaller discounts for local SSDs. For more information, see the Spot VMs documentation.
Custom image storage pricing
If you import or create custom images in Compute Engine, these images incur a storage cost. The cost of these custom images depends on the location where you store the image.
Machine image pricing
GPU pricing
If you pay in a currency other than USD, the prices listed in your currency on
Cloud Platform SKUs
apply.
*Spot prices are dynamic and can change up to once every 30 days, but always
provide discounts of 60-91% off of the corresponding on-demand price for machine types and GPUs.
Spot prices also provide smaller discounts for local SSDs. For more information, see the
Spot VMs
documentation.
What's next
- Read the Compute Engine documentation.
- Get started with Compute Engine.
- Try the Pricing calculator.
- Learn about Compute Engine solutions and use cases.