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 non-preemptible f1-micro VM instance per month in one of the following US regions:
    • Oregon: us-west1
    • Iowa: us-central1
    • South Carolina: us-east1
  • 30 GB of Standard persistent disk storage per month.
  • 5 GB of snapshot storage per month. Limited to the following regions:
    • Oregon: us-west1
    • Iowa: us-central1
    • South Carolina: us-east1
    • Taiwan: asia-east1
    • Belgium: europe-west1
  • Network Traffic Limits:
    • You must use Premium Tier. You cannot use Standard Tier.
    • Traffic must be sent from a GCP region in North America.
    • You can send up to 1GB of egress traffic, in aggregate, to regions except for those in Oceania 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, August has 744 Hours (31 days x 24 hours). Therefore, you would receive 744 instance hours of free usage for the month.

Preemptible VM instances are not included in the Google Cloud Platform Free Tier.

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

Billing model

The following billing model applies to all vCPUs, GPUs, and memory resources. The billing model also applies to several premium images that you run on Compute Engine instances.

  1. All vCPUs, GPUs, and GB of memory 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.

Resource-based pricing

Each vCPU and each GB of memory on Compute Engine is billed separately rather than as part of a single machine type. You still create instances using predefined machine types, but your bill reports them as individual vCPUs and memory used per hour.

Resource-based pricing allows Compute Engine to apply sustained use discounts to all of your predefined machine type usage in a region collectively rather than to individual machine types.

Compute Engine machine resources can be broken down into the following categories:

  • Predefined vCPUs and memory, which are used in n1-standard, n1-highcpu, and n1-highmem machine types as well as sole-tenant nodes.
  • Custom vCPUs and memory, which are used in custom machine types that allow you to select a specific number of vCPUs and memory.
  • Memory-optimized vCPUs and memory, which are used in n1-megamem and n1-ultramem machine types that have preset number of vCPUs and a high ratio of memory for each vCPU.
  • Shared-core machine types, which use partial vCPUs and are cost-effective for running small, non-resource intensive applications. Shared-core machine types are still billed as a single unit rather than as separate vCPU and memory resources.

Your vCPU and memory usage for each of these categories can receive one of the following discounts:

Discount types cannot be combined. Preemptible VM instances cannot receive sustained use discounts or committed use discounts.

The following sections describe prices for machine types based on vCPU and memory resources, but also include the calculated cost for each machine type. You can also use the Google Cloud Pricing Calculator to better understand prices for different configurations.

Predefined vCPUs and memory

Compute Engine offers several predefined machine types in each region. Predefined machine types have a preset number of vCPUs and amount of memory, but are billed using the resource-based pricing model.

Compute Engine provides automatic sustained use discounts for all of the predefined vCPU and memory resources that you use in a region. Sustained use discounts for predefined machine types are calculated separately from custom machine types, memory-optimized machine types, and shared-core machine types.

For information about reserving predefined machine types in a specific zone, with or without a commitment, see Reserving zonal resources.

Iowa (us-central1) Los Angeles (us-west2) Oregon (us-west1) Northern Virginia (us-east4) South Carolina (us-east1) Montréal (northamerica-northeast1) São Paulo (southamerica-east1) Belgium (europe-west1) Finland (europe-north1) Frankfurt (europe-west3) London (europe-west2) Netherlands (europe-west4) Zürich (europe-west6) Mumbai (asia-south1) Singapore (asia-southeast1) Sydney (australia-southeast1) Hong Kong (asia-east2) Taiwan (asia-east1) Tokyo (asia-northeast1) Osaka (asia-northeast2)
Monthly
Hourly
Item On-demand price Preemptible price 1 year commitment price 3 year commitment price
Predefined vCPUs
Predefined Memory
If you pay in a currency other than USD, the prices listed in your currency on Cloud Platform SKUs apply.

The following tables show the calculated cost for n1-standard, n1-highcpu, and n1-highmem machine types. 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

Standard machine types have 3.75 GB of memory per vCPU.

Iowa (us-central1) Los Angeles (us-west2) Oregon (us-west1) Northern Virginia (us-east4) South Carolina (us-east1) Montréal (northamerica-northeast1) São Paulo (southamerica-east1) Belgium (europe-west1) Finland (europe-north1) Frankfurt (europe-west3) London (europe-west2) Netherlands (europe-west4) Zürich (europe-west6) Mumbai (asia-south1) Singapore (asia-southeast1) Sydney (australia-southeast1) Hong Kong (asia-east2) Taiwan (asia-east1) Tokyo (asia-northeast1) Osaka (asia-northeast2)
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
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-memory machine types

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

Iowa (us-central1) Los Angeles (us-west2) Oregon (us-west1) Northern Virginia (us-east4) South Carolina (us-east1) Montréal (northamerica-northeast1) São Paulo (southamerica-east1) Belgium (europe-west1) Finland (europe-north1) Frankfurt (europe-west3) London (europe-west2) Netherlands (europe-west4) Zürich (europe-west6) Mumbai (asia-south1) Singapore (asia-southeast1) Sydney (australia-southeast1) Hong Kong (asia-east2) Taiwan (asia-east1) Tokyo (asia-northeast1) Osaka (asia-northeast2)
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
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 vCPU for every 0.90 GB of memory. High-CPU machine types are ideal for tasks that require more virtual CPUs relative to memory.

Iowa (us-central1) Los Angeles (us-west2) Oregon (us-west1) Northern Virginia (us-east4) South Carolina (us-east1) Montréal (northamerica-northeast1) São Paulo (southamerica-east1) Belgium (europe-west1) Finland (europe-north1) Frankfurt (europe-west3) London (europe-west2) Netherlands (europe-west4) Zürich (europe-west6) Mumbai (asia-south1) Singapore (asia-southeast1) Sydney (australia-southeast1) Hong Kong (asia-east2) Taiwan (asia-east1) Tokyo (asia-northeast1) Osaka (asia-northeast2)
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
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.

Custom vCPUs and memory

Custom machine types allow you to set a specific number of vCPUs and GB of memory for your instances to match the needs of your workload. Custom machine types save you the cost of running on a larger and more expensive machine type if your application does not require all of the resources provided by that machine type.

For example, instead of using an n1-standard-8 machine type when you need a machine type with 6 vCPUs, you can create an instance with a custom machine type that has 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.

Read the Creating Instances with Custom Machine Types to learn how to use these machine types.

Sustained use discounts for custom machine types are calculated separately from predefined machine types, memory-optimized types, and shared-core machine types.

For information about reserving custom machine types in a specific zone, with or without a commitment, see Reserving zonal resources.

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

Iowa (us-central1) Los Angeles (us-west2) Oregon (us-west1) Northern Virginia (us-east4) South Carolina (us-east1) Montréal (northamerica-northeast1) São Paulo (southamerica-east1) Belgium (europe-west1) Finland (europe-north1) Frankfurt (europe-west3) London (europe-west2) Netherlands (europe-west4) Zürich (europe-west6) Mumbai (asia-south1) Singapore (asia-southeast1) Sydney (australia-southeast1) Hong Kong (asia-east2) Taiwan (asia-east1) Tokyo (asia-northeast1) Osaka (asia-northeast2)
Monthly
Hourly
Item On-demand price Preemptible price 1 year commitment price 3 year commitment price
Custom vCPUs
Custom Memory
If you pay in a currency other than USD, the prices listed in your currency on Cloud Platform SKUs apply.

Extended custom memory

For custom machine types, any memory up to and including 6.5 GB of memory per vCPU is charged at the standard custom vCPU and memory pricing rate. Any memory above the 6.5 GB per vCPU is charged according to the extended memory prices that are described in detail below. See the Extended Memory page to learn how to create instances with custom machine types and extended memory.

Iowa (us-central1) Los Angeles (us-west2) Oregon (us-west1) Northern Virginia (us-east4) South Carolina (us-east1) Montréal (northamerica-northeast1) São Paulo (southamerica-east1) Belgium (europe-west1) Finland (europe-north1) Frankfurt (europe-west3) London (europe-west2) Netherlands (europe-west4) Zürich (europe-west6) Mumbai (asia-south1) Singapore (asia-southeast1) Sydney (australia-southeast1) Hong Kong (asia-east2) Taiwan (asia-east1) Tokyo (asia-northeast1) Osaka (asia-northeast2)
Monthly
Hourly
Item Price (USD) Preemptible price (USD)
Extended custom memory
If you pay in a currency other than USD, the prices listed in your currency on Cloud Platform SKUs apply.

Memory-optimized vCPUs and memory

Memory-optimized machine types are ideal for tasks that require intensive use of memory with higher memory to vCPU ratios than n1-highmem machine types. Memory-optimized machine types are available in select regions only. See the Machine Types page to learn more about memory-optimized machine types.

Sustained use discounts for memory-optimized machine types are calculated separately from predefined machine types, custom machine types, and shared-core machine types.

For information about reserving memory-optimized machine types in a specific zone, with or without a commitment, see Reserving zonal resources.

Iowa (us-central1) Los Angeles (us-west2) Oregon (us-west1) Northern Virginia (us-east4) South Carolina (us-east1) Montréal (northamerica-northeast1) São Paulo (southamerica-east1) Belgium (europe-west1) Finland (europe-north1) Frankfurt (europe-west3) London (europe-west2) Netherlands (europe-west4) Zürich (europe-west6) Mumbai (asia-south1) Singapore (asia-southeast1) Sydney (australia-southeast1) Hong Kong (asia-east2) Taiwan (asia-east1) Tokyo (asia-northeast1) Osaka (asia-northeast2)
Monthly
Hourly
Item On-demand price Preemptible price 1 year commitment price 3 year commitment price
Memory-optimized vCPUs
Memory-optimized Memory
If you pay in a currency other than USD, the prices listed in your currency on Cloud Platform SKUs apply.

The following table shows the calculated cost for n1-megamem, and n1-ultramem machine types. The vCPUs and memory from each of these machine types are billed by their individual memory-optimized vCPUs and memory prices, but these tables provide the cost that you can expect using a specific machine type.

Memory-optimized machine types

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

Iowa (us-central1) Los Angeles (us-west2) Oregon (us-west1) Northern Virginia (us-east4) South Carolina (us-east1) Montréal (northamerica-northeast1) São Paulo (southamerica-east1) Belgium (europe-west1) Finland (europe-north1) Frankfurt (europe-west3) London (europe-west2) Netherlands (europe-west4) Zürich (europe-west6) Mumbai (asia-south1) Singapore (asia-southeast1) Sydney (australia-southeast1) Hong Kong (asia-east2) Taiwan (asia-east1) Tokyo (asia-northeast1) Osaka (asia-northeast2)
Monthly
Hourly
Machine type Virtual CPUs Memory Price (USD) Preemptible price (USD)
n1-ultramem-40 40
n1-ultramem-80 80
n1-ultramem-160 160
Machine type Virtual CPUs Memory Price (USD) Preemptible price (USD)
n1-megamem-96 96
Committed Use Discounts apply to memory-optimized machine types only if you buy the commitment type specifically for memory-optimized machine types. You must request access to use committed use discounts for memory-optimized 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

Compute Engine offers shared-core machine types, which are more cost-effective for running smaller applications that do not require as many resources as provided by the other machine types.

Unlike predefined machine types, custom machine types, and memory-optimized machine types, shared-core machine types are not billed on their individual resources. Each machine type has a defined price for both vCPUs and memory.

Sustained use discounts for shared-core machine types are calculated separately from predefined machine types, custom machine types, and memory-optimized 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 (us-central1) Los Angeles (us-west2) Oregon (us-west1) Northern Virginia (us-east4) South Carolina (us-east1) Montréal (northamerica-northeast1) São Paulo (southamerica-east1) Belgium (europe-west1) Finland (europe-north1) Frankfurt (europe-west3) London (europe-west2) Netherlands (europe-west4) Zürich (europe-west6) Mumbai (asia-south1) Singapore (asia-southeast1) Sydney (australia-southeast1) Hong Kong (asia-east2) Taiwan (asia-east1) Tokyo (asia-northeast1) Osaka (asia-northeast2)
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.

Sustained use discounts

Sustained use discounts are calculated for each individual vCPU and GB of memory that you use. When you use a vCPU or a GB of memory for more than 25% of a month, Compute Engine automatically gives you a discount for every incremental second that you continue to use those resources. The discount increases with usage and you can get up to a 30% net discount off of the vCPU and memory cost for instances that run the entire month.

Additionally, vCPU and memory usage in each region is calculated separately for each of the following categories:

For example, if you use predefined machine types, custom machine types, and memory-optimized machine types in us-west1, Compute Engine calculates the sustained use discount for each of those categories separately. Other regions are also calculated separately from us-west1 resources.

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 heavily discounted prices for VM usage. These discounts are known as committed use discounts. Read the purchasing a commitment page to learn how to create a commitment.

Committed use discounts are available in the following categories:

  • General purpose: Committed use discounts for standard, highmem, highcpu, custom machine types, and general purpose sole-tenant nodes, with or without GPUs and local SSDs.
  • Memory-optimized: Committed use discounts for memory-optimized machine types

Commitments are appropriate for predictable and steady state usage where you will use a specific amount of vCPUs 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 for most machine types or custom machine types. The discount is up to 70% for memory-optimized machine types. You commit to the entire usage term and are billed for each month regardless of whether usage has occurred.

To see vCPU and memory pricing for 1 and 3 year commitments compared with other Compute Engine pricing options, see the resource pricing tables.

Combining commitments with reservations

A Committed Use Discount provides a 1- or 3-year discounted price agreement, but it does not reserve capacity in a specific zone. A reservation ensures that capacity is held in a specific zone even if the reserved VMs are not running. By combining a reservation with a commitment, you get discounted, reserved resources.

See Purchasing a commitment with an attached reservation.

Sole-tenant nodes

Sole-tenant nodes are physical Compute Engine servers dedicated to hosting only VM instances from your specific project. When you create nodes, you pay for the vCPU and memory that your node occupies as well as a 10% sole-tenancy premium on those resources. After you create the node, you can place your VM instances on that node. These instances run for no additional cost except for the cost of the instances' other resources such as persistent disks and premium images that you use with your instances.

The price of vCPUs and memory in a sole-tenant node is a base resource price plus a 10% sole-tenancy premium. For example, each vCPU and each GB of memory in the us-west1 region has the following price per hour:

$0.031611 for 1 vCPU + $0.0031611 for the 10% premium = $0.0347721/hour
$0.004237 for 1 GB of memory + $0.0004237 for the 10% premium = $0.0046607/hour

Sole-tenant vCPU, memory, and premium costs

The following table compares the base values for vCPUs, memory, and the 10% sole-tenancy premium charge. The vCPUs and memory not covered by a committed use discount are eligible for sustained use discounts. If you do use committed use discounts, the base prices for these resources are the commitment prices. The 10% sole-tenancy premium for committed use vCPUs and memory is the same as the premium for non-committed use.

The following table shows the base price for sole-tenant vCPUs and memory and also shows the 10% sole-tenancy premium. The base vCPU and memory prices are eligible for either sustained use discounts or committed use discounts. The 10% sole-tenancy premium is eligible only for sustained use discounts.

For the purposes of calculating sustained use discounts, the vCPUs and memory used by sole-tenant nodes also are billed as predefined vCPUs and memory.

Iowa (us-central1) Los Angeles (us-west2) Oregon (us-west1) Northern Virginia (us-east4) South Carolina (us-east1) Montréal (northamerica-northeast1) São Paulo (southamerica-east1) Belgium (europe-west1) Finland (europe-north1) Frankfurt (europe-west3) London (europe-west2) Netherlands (europe-west4) Zürich (europe-west6) Mumbai (asia-south1) Singapore (asia-southeast1) Sydney (australia-southeast1) Hong Kong (asia-east2) Taiwan (asia-east1) Tokyo (asia-northeast1) Osaka (asia-northeast2)
Monthly
Hourly
vCPUs Memory
Base price
Premium 10% cost
If you pay in a currency other than USD, the prices listed in your currency on Cloud Platform SKUs apply.

Calculating sole-tenancy pricing including discounts

Sustained use discounts apply to the vCPU, memory, and the sole-tenancy premium. For example, if you create an n1-node-96-624 node and run it for a full 730 hours per month in the us-west1 region, you receive the following sustained use discount price using the calculated vCPU and memory hourly prices:

(((96vCPUs * ($0.031611 base) + (624GB * $0.004237) base) + ((96vCPUs * $0.0031611 premium) + (624GB * $0.0004237 premium)) * 0.7 discount) * 730.0 hours  = 3191.9095824

For committed use discounts, your commitments on vCPUs and memory cover the cost of vCPUs and memory on sole-tenant nodes. You still pay the 10% sole-tenancy premium for resources consumed by the sole-tenant nodes, but those premiums are eligible for sustained use discounts even if the vCPUs and memory are already covered by a committed use discount. You can calculate the price of an n1-node-96-624 node using a formula similar to the following example, which shows a 3 year committed use discount on 96 vCPUs and 624 GB of memory as well as a separately calculated sustained use discount on the sole-tenancy premium for running this node for a full 730 hours during the month:

(((96vCPUs * $0.014225 commitment price) + (624GB * $0.001907 commitment price)) + ((96vCPUs * $0.0031611 premium) + (624GB * $0.0004237 premium)) * 0.7 discount) * 730.0 hours  = 2155.7382384

The following table shows the predicted total cost per vCPU and memory to run sole-tenant nodes using either hourly pricing, monthly pricing with the sustained use discount, or one of the committed use discount options. These values include the 10% sole-tenancy premium, and any applicable sustained use discounts.

Iowa (us-central1) Los Angeles (us-west2) Oregon (us-west1) Northern Virginia (us-east4) South Carolina (us-east1) Montréal (northamerica-northeast1) São Paulo (southamerica-east1) Belgium (europe-west1) Finland (europe-north1) Frankfurt (europe-west3) London (europe-west2) Netherlands (europe-west4) Zürich (europe-west6) Mumbai (asia-south1) Singapore (asia-southeast1) Sydney (australia-southeast1) Hong Kong (asia-east2) Taiwan (asia-east1) Tokyo (asia-northeast1) Osaka (asia-northeast2)
Monthly
Hourly
Item Price (USD) 1 year commitment price (USD) 3 year commitment price (USD)
Total cost per vCPU
Total cost per GB of memory
If you pay in a currency other than USD, the prices listed in your currency on Cloud Platform SKUs apply.

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. GPUs are subject to the same billing policy as vCPUs and memory.

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. To receive committed use discounts on GPUs, you must define a reservation when creating the commitment; the reservation cannot be deleted for the duration of the commitment.

GPU prices are listed by region. GPU devices are available only in specific zones within some regions. Read GPUs on Compute Engine to see a complete list of regions and zones where GPU devices are available.

You can reserve GPU resources in a specific zone, with or without a commitment. Without a commitment, you pay normal on-demand prices, including sustained use discounts. For committed use discounted pricing for GPUs, a reservation must be created when purchasing the commitment. See Reserving zonal resources for more information.

Iowa (us-central1) Los Angeles (us-west2) Oregon (us-west1) Northern Virginia (us-east4) South Carolina (us-east1) Montréal (northamerica-northeast1) São Paulo (southamerica-east1) Belgium (europe-west1) Finland (europe-north1) Frankfurt (europe-west3) London (europe-west2) Netherlands (europe-west4) Zürich (europe-west6) Mumbai (asia-south1) Singapore (asia-southeast1) Sydney (australia-southeast1) Hong Kong (asia-east2) Taiwan (asia-east1) Tokyo (asia-northeast1) Osaka (asia-northeast2)
Monthly
Hourly
Model GPUs GPU memory GPU price Preemptible GPU price 1 year commitment price 3 year commitment price
NVIDIA® Tesla® T4 1 GPU 16 GB GDDR6