Google Compute Engine Pricing

This page describes the pricing information for Compute Engine. To see the pricing for other products, read the Pricing documentation.

Google Compute Engine charges for usage based on the following price sheet. A bill is sent out at the end of each billing cycle, listing previous usage and charges. Prices on this page are listed in US dollars (USD).

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:

Always Free Usage Limits

As part of the Google Cloud Platform Free Tier, Compute Engine offers an amount of usage that is free to use, up to a specific limit. These free usage limits are always available even during and after the free trial period. If you go over these usage limits and are no longer in the free trial period, you will be charged according to the price sheet.

  • 1 f1-micro VM instance per month (US regions, excluding Northern Virginia).
  • 30 GB of Standard persistent disk storage per month.
  • 5 GB of snapshot storage per month.
  • 1 GB egress from North America to other destinations per month (excluding Australia and China).

For f1-micro instances, you receive free usage equivalent to the number of total hours within the current month, enough to run one instance without interruption for the entire month. For example, March has 744 Hours (31 days x 24 hours). Therefore, you would receive 744 instance hours of free usage for the month.

All usage is aggregated across regions. Always Free Usage Limits are subject to change. Please see our FAQ for eligibility requirements and other restrictions.

Machine type pricing

Google Compute Engine offers two categories of machine types: predefined machine types and custom machine types. Predefined machine types have preset virtualized hardware properties and a set price, while custom machine types are priced according to the number of vCPUs and memory that the virtual machine instance uses.

Machine type billing model

The following billing model applies to all machine types, predefined or custom. The billing model also applies to several premium images that you run on Compute Engine instances.

  1. All machine types are charged a minimum of 1 minute. For example, if you run your virtual machine for 30 seconds, you will be billed for 1 minute of usage.

  2. After 1 minute, instances are charged in 1 second increments.

Predefined machine types

Google Compute Engine currently offers the following predefined machine types in the US, Europe, and Asia. Compute Engine also provides automatic discounts off these prices for sustained use. You can also use our Google Cloud Pricing Calculator to better understand price for different configurations.

Standard machine types

Iowa Oregon Northern Virginia South Carolina São Paulo Belgium London Frankfurt Mumbai Singapore Sydney Taiwan Tokyo
Monthly
Hourly
Machine type Virtual CPUs Memory Price (USD) Preemptible price (USD)
n1-standard-1
n1-standard-2
n1-standard-4
n1-standard-8
n1-standard-16
n1-standard-32
n1-standard-64
n1-standard-96 (Beta)
Skylake Platform only
Custom machine type

If your ideal machine shape is in between two predefined types, using a custom machine type could save you as much as 40%. Read more about Custom Machine Types.

If you pay in a currency other than USD, the prices listed in your currency on Cloud Platform SKUs apply.

Shared-core machine types

Shared-core machine types are ideal for applications that don't require a lot of resources. Shared-core machine types are more cost-effective for running small, non-resource intensive applications than standard, high-memory or high-CPU machine types.

f1-micro Bursting

f1-micro machine types offer bursting capabilities that allow instances to use additional physical CPU for short periods of time. Bursting happens automatically when your instance requires more physical CPU than originally allocated. During these spikes, your instance will opportunistically take advantage of available physical CPU in bursts. Note that bursts are not permanent and are only possible periodically.

Iowa Oregon Northern Virginia South Carolina São Paulo Belgium London Frankfurt Mumbai Singapore Sydney Taiwan Tokyo
Monthly
Hourly
Machine type Virtual CPUs Memory Price (USD) Preemptible price (USD)
f1-micro 1
g1-small 1
If you pay in a currency other than USD, the prices listed in your currency on Cloud Platform SKUs apply.

High-memory machine types

High-memory machine types have 6.5 GB of RAM per virtual core. High-memory instances are ideal for tasks that require more memory relative to virtual CPUs.

Iowa Oregon Northern Virginia South Carolina São Paulo Belgium London Frankfurt Mumbai Singapore Sydney Taiwan Tokyo
Monthly
Hourly
Machine type Virtual CPUs Memory Price (USD) Preemptible price (USD)
n1-highmem-2 2 13GB
n1-highmem-4 4 26GB
n1-highmem-8 8 52GB
n1-highmem-16 16 104GB
n1-highmem-32 32 208GB
n1-highmem-64 64 416GB
n1-highmem-96 (Beta)
Skylake Platform only
Custom machine type

If your ideal machine shape is in between two predefined types, using a custom machine type could save you as much as 40%. Read more about Custom Machine Types.

If you pay in a currency other than USD, the prices listed in your currency on Cloud Platform SKUs apply.

High-CPU machine types

High-CPU machine types have one virtual core for every 0.90 GB of RAM. High-CPU machine types are ideal for tasks that require more virtual CPUs relative to memory.

Iowa Oregon Northern Virginia South Carolina São Paulo Belgium London Frankfurt Mumbai Singapore Sydney Taiwan Tokyo
Monthly
Hourly
Machine type Virtual CPUs Memory Price (USD) Preemptible price (USD)
n1-highcpu-2 2 1.80GB
n1-highcpu-4 4 3.60GB
n1-highcpu-8 8 7.20GB
n1-highcpu-16 16 14.40GB
n1-highcpu-32 32 28.80GB
n1-highcpu-64 64 57.6GB
n1-highcpu-96 (Beta)
Skylake Platform only
Custom machine type

If your ideal machine shape is in between two predefined types, using a custom machine type could save you as much as 40%. Read more about Custom Machine Types.

If you pay in a currency other than USD, the prices listed in your currency on Cloud Platform SKUs apply.

Mega-memory machine types

Mega-memory machine types are ideal for tasks that require intensive use of memory with higher memory to vCPU ratios than high-memory machine types. Mega-memory machine types are available in select regions only. Learn more about mega-memory machine types.

Iowa Oregon Northern Virginia South Carolina São Paulo Belgium London Frankfurt Mumbai Singapore Sydney Taiwan Tokyo
Monthly
Hourly
Machine type Virtual CPUs Memory Price (USD) Preemptible price (USD)
n1-megamem-96(Private Beta) 96
If you pay in a currency other than USD, the prices listed in your currency on Cloud Platform SKUs apply.

Custom machine types

Create a custom machine type with a specific number of vCPUs and amount of memory if predefined machine types are not optimal for your workloads. Custom machine types also save you the cost of running on a larger, more expensive machine type if you don't need to use all the resources of that machine type.

For example, instead of using an n1-standard-8 machine type when you need a machine type with 6 vCPUs, create a custom machine type instance with 6 vCPUs and 22.5 GB of memory. Creating a custom machine type can save you up to 40% compared to selecting a larger machine type.

Custom machine types are billed according to the number of vCPUs and the amount of memory used. The rates for custom machine types are in the table below.

For an accurate estimate of your billing with custom machine types, use the Google Cloud Pricing Calculator.

Iowa Oregon Northern Virginia South Carolina São Paulo Belgium London Frankfurt Mumbai Singapore Sydney Taiwan Tokyo
Monthly
Hourly
Item Price (USD) Preemptible price (USD)
vCPU
Memory
If you pay in a currency other than USD, the prices listed in your currency on Cloud Platform SKUs apply.

Extended memory

When using a custom machine type, any memory up to and including 6.5 GB of memory per vCPU is charged at the standard custom machine type pricing. Any memory above the 6.5 GB per vCPU will be charged according to the extended memory prices that are described in detail below. Learn more about Extended Memory.

Iowa Oregon Northern Virginia South Carolina São Paulo Belgium London Frankfurt Mumbai Singapore Sydney Taiwan Tokyo
Monthly
Hourly
Item Price (USD) Preemptible price (USD)
Extended Memory
If you pay in a currency other than USD, the prices listed in your currency on Cloud Platform SKUs apply.

Sustained use discounts

If you run an instance for a significant portion of the billing month, your VM instances will automatically qualify for a sustained use discount. When you use an instance for more than 25% of a month, Compute Engine automatically gives you a discount for every incremental second you use for that instance. The discount increases with usage and you can get up to a 30% net discount for instances that run the entire month.

Sustained use discounts are applied automatically and will be calculated and added to your bill as your project earns them. There is no action needed on your part to enable sustained use discounts.

To learn more about sustained use discounts, see the Sustained Use Discounts documentation.

Committed use discounts

Compute Engine offers the ability to purchase a committed use contract in return for deeply discounted prices for VM usage. These discounts are known as committed use discounts . You can purchase a committed use contract by creating a commitment. Commitments are appropriate for predictable and steady state usage where you will use a specific amount of cores and memory for future workloads. Commitments allow you to purchase a specific number of vCPUs and amount of memory at up to a 57% discount over full prices. You commit to the entire usage term and are billed for each month regardless of whether usage has occurred.

You can only use committed use discounts for predefined machine types and custom machine types. Small machine types, such as f1-micro and g1-small, are not eligible for committed use discounts.

Iowa Oregon Northern Virginia South Carolina São Paulo Belgium London Frankfurt Mumbai Singapore Sydney Taiwan Tokyo
Monthly
Hourly
Item 1 year commitment price (USD) 3 year commitment price (USD)
vCPU
Memory
If you pay in a currency other than USD, the prices listed in your currency on Cloud Platform SKUs apply.

With committed use discounts, VM prices can be up to 57% less expensive than regular VM prices. For example, the table below compares the 1 and 3 year prices to regular prices in a US region.

Machine Type Item Full Price 1 year commitment 3 year commitment
Custom machine types vCPU $0.033174 / vCPU hour $0.019915 / vCPU hour $0.014225 / vCPU hour
Memory $0.004446 / GB hour $0.002669 / GB hour $0.001907 / GB hour
Predefined machine types* n1-standard-16 $0.7600 / hour $0.47878 / hour $0.34202 / hour
n1-highmem-16 $0.9472 / hour $0.59622 / hour $0.42593 / hour
n1-highcpu-16 $0.5672 / hour $0.35707 / hour $0.25506 / hour

If you pay in a currency other than USD, the prices listed in your currency on Cloud Platform SKUs apply.

Committed use discounts can apply to all predefined n1- machine types and custom machine types. They do not apply to small machine types, f1-micro and g1-small. For comparison, the tables uses the 16-core machine types prices.

Instance uptime

Instance uptime is measured as the number of seconds between when you start an instance and when you stop an instance, the latter being when the instance state is TERMINATED. In some cases, your instance can suffer from a failure and be marked as TERMINATED by the system; in these cases, you will not be charged for usage after the instance reaches the TERMINATED state. If an instance is idle, but still has a state of RUNNING, it will be charged for instance uptime. The easiest way to determine the status of an instance is to use gcloud compute with the gcloud compute instances list command or to visit the Google Cloud Platform Console.

Note that Google Compute Engine bills for a minimum of 1 minute of usage, so if you run an instance for 30 seconds of uptime, you are billed for 1 minute. After 1 minute, your instance is billed on a per-second basis. For more information, see the billing model.

GPU pricing

Attach one or more GPUs to your instances to accelerate specific workloads or offload work from your vCPUs. Each GPU adds to the cost of your instance in addition to the cost of the machine type.

GPU devices are available only in specific regions and zones. Read GPUs on Compute Engine to see a complete list of regions and zones where GPU devices are available.

GPU devices attached to non-preemptible instances receive sustained use discounts similar to vCPUs. For GPUs attached to preemptible instances, you will be charged at the preemptible prices for GPUs but will not receive sustained use discounts.

Iowa Oregon Northern Virginia South Carolina São Paulo Belgium London Frankfurt Mumbai Singapore Sydney Taiwan Tokyo
Monthly
Hourly
Model GPUs (dies) GPU boards GPU memory GPU price Preemptible GPU (Beta) price
NVIDIA® Tesla® P100 1 GPU 1 board 16 GB HBM2
2 GPUs 2 boards 32 GB HBM2
4 GPUs 4 boards 64 GB HBM2
NVIDIA® Tesla® K80 1 GPUs 1/2 board 12 GB GDDR5
2 GPUs 1 board 24 GB GDDR5
4 GPUs 2 boards 48 GB GDDR5
8 GPUs 4 boards 96 GB GDDR5
If you pay in a currency other than USD, the prices listed in your currency on Cloud Platform SKUs apply.

Use the Google Cloud Platform Pricing Calculator to help determine the total cost of your instances including both the cost of GPUs and machine type c