This page describes the cost of running a Compute Engine VM instance with any of the following machine types, as well as other VM instance-related pricing. To see the pricing for other Google Cloud products, see the Google Cloud pricing list.
Note: This page covers the cost of running a VM instance. It does not cover pricing for any disk and images, networking costs, or the cost of any sole-tenant or GPUs used by the VM instance.
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 JEDEC binary gigabytes (GB), or IEC gibibytes (GiB), where 1 GiB is 230 bytes. Similarly, 1 TiB is 240 bytes, or 1024 JEDEC GBs.
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:
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.
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 STOPPING. In some cases, your instance can suffer from a failure and be marked as STOPPING by the system; in these cases, you will not be charged for usage after the instance reaches the STOPPING 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 console.
In the case of reservations, instance uptime is measured as the number of seconds between when you create a reservation and when you delete that reservation. Reserved resources are billed at standard rates, whether they are started or not.
Note that Compute Engine bills for a minimum of 1 minute of usage, so if you use 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.
Note: If you are a Microsoft licensee with a contract that includes Software Assurance, you might be able to move your existing SQL Server licenses to Compute Engine, instead of paying a per-hour license fee. To find out more information about License Mobility, see the documentation for Using Existing Microsoft Licenses.
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. If you change the number of threads per core, you are billed for the number of vCPUs defined by a VM's machine type, not the number of threads used by the VM.
The pricing tables in the machine family and machine type sections on this page 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.
vCPU and memory usage for each machine type use the on-demand price unless that usage qualifies for a discount. vCPU and memory usage for each machine type can receive one of the following discounts:
Discount types cannot be combined. For more information, see Order of discount application.
Spot prices provide 60-91% discounts for most machine types and GPUs as well as smaller discounts for some other resources used by the VM. Spot prices are automatically applied to all Spot VMs and preemptible VMs. However, Compute Engine can preempt Spot VMs and preemptible VMs at any time, so they are only recommended for fault-tolerant applications that can handle VM preemption.
Spot prices can change up to once every 30 days and don't appear in most pricing tables for Compute Engine. For the latest prices, see the Spot VMs pricing page.
For more information, see the documentation for Spot VMs.
Compute Engine offers resources at deeply discounted prices in return for purchasing committed use contracts (also known as commitments). When you purchase a commitment, you commit either to a minimum amount of resource usage or to a minimum spend amount for a specified term of one or three years.
Depending on your resource usage requirements, you can purchase 1-year or 3-year commitments and receive CUDs for Compute Engine resources in either of the following ways:
Compute Engine offers a flat committed use discount percentage on its VMs across all regions. When you purchase vCPUs, memory, or both on a 1-year commitment, you get the resources at a discount of 37% over the on-demand prices. When you purchase your resources on a 3-year commitment, the discount increases to 70% over the on-demand prices for memory-optimized machine types and to 55% over the on-demand prices for all other machine types.
Resource-based CUDs are available for the following machine types in each machine family, with the exception of Memory Optimized Upgrade Premium SKUs:
For a more detailed breakdown, see Commitment types.
A commitment 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. To get zonal resources at discounted prices and also ensure that capacity is reserved for them, you must do both of the following: purchase commitments and create reservations for those zonal resources.
You can also attach reservations to your resource-based commitments to ensure that Compute Engine reserves capacity for your committed resources. When you commit to GPU or Local SSD resources, you must also reserve those resources and attach those reservations to your commitment.
For more information, see Combine reservations with committed use discounts.
To learn how to purchase resource-based commitments, see the following:
After you purchase a resource-based commitment, you're billed monthly for your commitment and must pay your monthly commitment fee even if you don't use all of your committed resources. Your commitment fee is the sum of the discounted prices of all your committed resources. Compute Engine calculates the discounted price of each resource by using its prevailing on-demand price on the day your commitment becomes active. Your monthly commitment fee and the discounted prices for your resources stay the same until the end of your commitment term, even if the on-demand prices change.
If you use your commitments to run custom machine types, then Compute Engine charges a 5% premium over the commitment prices. Compute Engine charges this premium for the portion and duration of your commitment that you run these custom machine type VMs.
Note: If you merge or split your commitments, then the discounted prices for your committed resources might change on the day your merged or split commitments become active.
Compute flexible CUDs are spend-based CUDs that you receive when you commit to a minimum amount of hourly spend on one or more of the following services:
For Compute Engine, you can receive flexible CUDs for your vCPU and memory usage in any of the projects within your Cloud Billing account, across any region, and belonging to any eligible machine types.
You purchase flexible commitments for your Cloud Billing account and commit to a minimum hourly spend amount across these products for a 1-year or 3-year term duration. Specifically, you commit to spend on eligible resources or services that are worth a specified minimum amount of on-demand price, per hour, throughout the commitment's term. Depending on your commitment's term, you receive the following CUDs on that minimum hourly spend amount:
Note: The discounts that you receive may differ for Cloud Billing accounts that have other on-demand VM savings in effect.
Your commitment becomes active within the first hour of its purchase. This discounted committed spend amount becomes your hourly commitment fee. In return, you receive hourly credits on your Cloud Billing account that are worth your total committed spend amount. Google Cloud uses these credits to offset your hourly spend on usage that is eligible for flexible CUDs. At the end of each month, Google Cloud calculates your total commitment fee for that month and bills you that amount.
Your hourly commitment fee remains your minimum hourly expenditure throughout the commitment term and you have to pay it even if you don't use resources whose on-demand prices total up to your committed hourly spend. Your commitment fee remains the same even if the on-demand prices for your resources change during your commitment term.
Important: A single flexible commitment covers your eligible spend across Compute Engine, GKE, and Cloud Run . For any given flexible commitment, the credits from flexible CUDs that you receive are distributed across these services in proportion to their individual eligible spend amounts. Depending on whether your Google Cloud usage is limited to Compute Engine or also spans across these other services, you might see differences in the flexible CUD credits that you receive for your commitment.
For Compute Engine, only memory and vCPUs of the following machine series are eligible for flexible CUDs. For every listed machine series, all available machine types and sole-tenant node types are eligible.
For more information, see the following documents:
Compute Engine offers sustained use discounts (SUDs) on resources that are used for more than 25% of a billing month and are not receiving any other discounts. Whenever you use an applicable resource for more than a fourth of a billing month, you automatically receive a discount for every incremental hour that you continue to use that resource. The discount increases incrementally with usage and you can get up to a 30% net discount off of the resource cost for virtual machine (VM) instances that run the entire month.
Compute Engine automatically calculates and applies SUDs to resource usage within a Cloud Billing account, so there is no action required on your part to enable these discounts.
You receive SUDs in the form of monthly credits. At the end of every month, for every eligible Compute Engine resource that you use, you receive applicable SUDs as credits based on the duration of time for which you used that resource. Any credits that you receive for your SUDs have no cash value. Compute Engine uses these credits to offset your monthly resource usage costs. You can't store or use these credits beyond the month in which you receive them.
To learn more about sustained use discounts, see the SUDs documentation.
You can view all your earned credits during a particular month in the cost table report for your Cloud Billing account on the Google Cloud console. To learn more about credits and how to view them, see View and analyze your credits.
You can purchase both resource-based and flexible commitments to cover Compute Engine resources for projects within your Cloud Billing account. However, the discount types that Google Cloud offers on your Compute Engine resources are mutually exclusive and can't be combined. At any given point, a resource is eligible for only one kind of discount. If you're receiving a specific type of discount for a portion of your resource usage, then that portion of usage doesn't qualify for any other type of discount.
You can use your resource-based commitments to cover your predictable and stable resource usage that is specific to a project, region, and a machine series. You can use flexible commitments to cover any resource usage that isn't specific to any one machine series, project, or region. If you purchase both resource-based commitments and flexible commitments for your Compute Engine resources, then Google Cloud optimizes the use of your commitments, on an hourly basis, in the following way:
After utilizing all of your commitments, Google Cloud uses the on-demand rates to charge any additional hourly usage. This overage hourly usage might be eligible for any applicable SUDs.
Additionally, spot prices apply to all Spot VMs (and preemptible VMs), so Spot VMs (and preemptible VMs) cannot receive CUDs or SUDs.
The pricing tables in the machine family and machine type sections on this page compare the on-demand prices for machine types in each machine family with the discounted prices for each of the following:
The Google Cloud console provides a transaction history for each of your projects. This history describes your current balance and estimated resource usage for that particular project.
To view a project's transaction history, go to the estimated billing invoice page.
General-purpose machine-types offer predefined and custom 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. Custom machine types are billed according to the resource-based pricing.
Not all machine types are available in all zones all the time. To ensure that a machine type is available when you need it, you can preemptively reserve the machine type in a certain zone. For information about reserving predefined machine types in a specific zone, see Reservations of Compute Engine zonal resources.
Item | On-demand price (USD) | 1-year resource-based commitment price (USD) | 3-year resource-based commitment price (USD) | 1-year flexible CUD consumption rate (USD) | 3-year flexible CUD consumption rate (USD) |
---|---|---|---|---|---|
Predefined vCPUs | $0.03465 / 1 hour | $0.02183 / 1 hour | $0.015593 / 1 hour | $0.024948 / 1 hour | $0.018711 / 1 hour |
Predefined Memory | $0.003938 / 1 gibibyte hour | $0.002481 / 1 gibibyte hour | $0.001772 / 1 gibibyte hour | $0.00283536 / 1 hour | $0.00212652 / 1 hour |
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 provide discounts of 60-91% off of the corresponding on-demand price for most machine types and GPUs. Spot prices also provide smaller discounts for local SSDs and A3 machine types. For more information, see the Spot VMs documentation.
Machine type | Virtual CPUs | Memory | Price (USD) |
---|---|---|---|
c4-standard-2 | 2 | 7 GiB | $0.096866 / 1 hour |
c4-standard-4 | 4 | 15 GiB | $0.19767 / 1 hour |
c4-standard-8 | 8 | 30 GiB | $0.39534 / 1 hour |
c4-standard-16 | 16 | 60 GiB | $0.79068 / 1 hour |
c4-standard-32 | 32 | 120 GiB | $1.58136 / 1 hour |
c4-standard-48 | 48 | 180 GiB | $2.37204 / 1 hour |
c4-standard-96 | 96 | 360 GiB | $4.74408 / 1 hour |
c4-standard-192 | 192 | 720 GiB | $9.48816 / 1 hour |
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 provide discounts of 60-91% off of the corresponding on-demand price for most machine types and GPUs. Spot prices also provide smaller discounts for local SSDs and A3 machine types. For more information, see the Spot VMs documentation.
Machine type | Virtual CPUs | Memory | Price (USD) |
---|---|---|---|
c4-highmem-2 | 2 | 15 GiB | $0.12837 / 1 hour |
c4-highmem-4 | 4 | 31 GiB | $0.260678 / 1 hour |
c4-highmem-8 | 8 | 62 GiB | $0.521356 / 1 hour |
c4-highmem-16 | 16 | 124 GiB | $1.042712 / 1 hour |
c4-highmem-32 | 32 | 248 GiB | $2.085424 / 1 hour |
c4-highmem-48 | 48 | 372 GiB | $3.128136 / 1 hour |
c4-highmem-96 | 96 | 744 GiB | $6.256272 / 1 hour |
c4-highmem-192 | 192 | 1488 GiB | $12.512544 / 1 hour |
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 provide discounts of 60-91% off of the corresponding on-demand price for most machine types and GPUs. Spot prices also provide smaller discounts for local SSDs and A3 machine types. For more information, see the Spot VMs documentation.
Machine type | Virtual CPUs | Memory | Price (USD) |
---|---|---|---|
c4-highcpu-2 | 2 | 4 GiB | $0.085052 / 1 hour |
c4-highcpu-4 | 4 | 8 GiB | $0.170104 / 1 hour |
c4-highcpu-8 | 8 | 16 GiB | $0.340208 / 1 hour |
c4-highcpu-16 | 16 | 32 GiB | $0.680416 / 1 hour |
c4-highcpu-32 | 32 | 64 GiB | $1.360832 / 1 hour |
c4-highcpu-48 | 48 | 96 GiB | $2.041248 / 1 hour |
c4-highcpu-96 | 96 | 192 GiB | $4.082496 / 1 hour |
c4-highcpu-192 | 192 | 384 GiB | $8.164992 / 1 hour |
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 provide discounts of 60-91% off of the corresponding on-demand price for most machine types and GPUs. Spot prices also provide smaller discounts for local SSDs and A3 machine types. For more information, see the Spot VMs documentation.
C4A machine types
Item | On-demand price (USD) | 1-year resource-based commitment price (USD) | 3-year resource-based commitment price (USD) | 1-year flexible CUD consumption rate (USD) | 3-year flexible CUD consumption rate (USD) |
---|---|---|---|---|---|
Predefined vCPUs | $0.03086 / 1 hour | $0.02037 / 1 hour | $0.01389 / 1 hour | $0.0222192 / 1 hour | $0.0166644 / 1 hour |
Predefined Memory | $0.00351 / 1 gibibyte hour | $0.00231 / 1 gibibyte hour | $0.00158 / 1 gibibyte hour | $0.0025272 / 1 hour | $0.0018954 / 1 hour |
Predefined local Titanium SSD storage | $0.00016438 / 1 gibibyte hour | $0.00010849 / 1 gibibyte hour | $0.00007397 / 1 gibibyte hour | $0.00011836 / 1 gibibyte hour | $0.00008877 / 1 gibibyte hour |
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 provide discounts of 60-91% off of the corresponding on-demand price for most machine types and GPUs. Spot prices also provide smaller discounts for local SSDs and A3 machine types. For more information, see the Spot VMs documentation.
Machine type | Virtual CPUs | Memory | Price (USD) |
---|---|---|---|
c4a-standard-1 | 1 | 4 GiB | $0.0449 / 1 hour |
c4a-standard-2 | 2 | 8 GiB | $0.0898 / 1 hour |
c4a-standard-4 | 4 | 16 GiB | $0.1796 / 1 hour |
c4a-standard-8 | 8 | 32 GiB | $0.3592 / 1 hour |
c4a-standard-16 | 16 | 64 GiB | $0.7184 / 1 hour |
c4a-standard-32 | 32 | 128 GiB | $1.4368 / 1 hour |
c4a-standard-48 | 48 | 192 GiB | $2.1552 / 1 hour |
c4a-standard-64 | 64 | 256 GiB | $2.8736 / 1 hour |
c4a-standard-72 | 72 | 288 GiB | $3.2328 / 1 hour |
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 provide discounts of 60-91% off of the corresponding on-demand price for most machine types and GPUs. Spot prices also provide smaller discounts for local SSDs and A3 machine types. For more information, see the Spot VMs documentation.
Machine type | Virtual CPUs | Memory | Price (USD) |
---|---|---|---|
c4a-highmem-1 | 1 | 8 GiB | $0.05894 / 1 hour |
c4a-highmem-2 | 2 | 16 GiB | $0.11788 / 1 hour |
c4a-highmem-4 | 4 | 32 GiB | $0.23576 / 1 hour |
c4a-highmem-8 | 8 | 64 GiB | $0.47152 / 1 hour |
c4a-highmem-16 | 16 | 128 GiB | $0.94304 / 1 hour |
c4a-highmem-32 | 32 | 256 GiB | $1.88608 / 1 hour |
c4a-highmem-48 | 48 | 384 GiB | $2.82912 / 1 hour |
c4a-highmem-64 | 64 | 512 GiB | $3.77216 / 1 hour |
c4a-highmem-72 | 72 | 576 GiB | $4.24368 / 1 hour |
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 provide discounts of 60-91% off of the corresponding on-demand price for most machine types and GPUs. Spot prices also provide smaller discounts for local SSDs and A3 machine types. For more information, see the Spot VMs documentation.
Machine type | Virtual CPUs | Memory | Price (USD) |
---|---|---|---|
c4a-highcpu-1 | 1 | 2 GiB | $0.03788 / 1 hour |
c4a-highcpu-2 | 2 | 4 GiB | $0.07576 / 1 hour |
c4a-highcpu-4 | 4 | 8 GiB | $0.15152 / 1 hour |
c4a-highcpu-8 | 8 | 16 GiB | $0.30304 / 1 hour |
c4a-highcpu-16 | 16 | 32 GiB | $0.60608 / 1 hour |
c4a-highcpu-32 | 32 | 64 GiB | $1.21216 / 1 hour |
c4a-highcpu-48 | 48 | 96 GiB | $1.81824 / 1 hour |
c4a-highcpu-64 | 64 | 128 GiB | $2.42432 / 1 hour |
c4a-highcpu-72 | 72 | 144 GiB | $2.72736 / 1 hour |
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 provide discounts of 60-91% off of the corresponding on-demand price for most machine types and GPUs. Spot prices also provide smaller discounts for local SSDs and A3 machine types. For more information, see the Spot VMs documentation.
VM Shape | vCPUs | Memory | Local SSD | Price (USD) |
---|---|---|---|---|
c4a-standard-4-lssd | 4 | 16 GiB | 375 GiB | $0.24124384 / 1 hour |
c4a-standard-8-lssd | 8 | 32 GiB | 750 GiB | $0.48248767 / 1 hour |
c4a-standard-16-lssd | 16 | 64 GiB | 1500 GiB | $0.96497534 / 1 hour |
c4a-standard-32-lssd | 32 | 128 GiB | 2250 GiB | $1.80666301 / 1 hour |
c4a-standard-48-lssd | 48 | 192 GiB | 3750 GiB | $2.77163836 / 1 hour |
c4a-standard-64-lssd | 64 | 256 GiB | 5250 GiB | $3.7366137 / 1 hour |
c4a-standard-72-lssd | 72 | 288 GiB | 6000 GiB | $4.21910137 / 1 hour |
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 provide discounts of 60-91% off of the corresponding on-demand price for most machine types and GPUs. Spot prices also provide smaller discounts for local SSDs and A3 machine types. For more information, see the Spot VMs documentation.
VM Shape | vCPUs | Memory | Local SSD | Price (USD) |
---|---|---|---|---|
c4a-highmem-4-lssd | 4 | 32 GiB | 375 GiB | $0.29740384 / 1 hour |
c4a-highmem-8-lssd | 8 | 64 GiB | 750 GiB | $0.59480767 / 1 hour |
c4a-highmem-16-lssd | 16 | 128 GiB | 1500 GiB | $1.18961534 / 1 hour |
c4a-highmem-32-lssd | 32 | 256 GiB | 2250 GiB | $2.25594301 / 1 hour |
c4a-highmem-48-lssd | 48 | 384 GiB | 3750 GiB | $3.44555836 / 1 hour |
c4a-highmem-64-lssd | 64 | 512 GiB | 5250 GiB | $4.6351737 / 1 hour |
c4a-highmem-72-lssd | 72 | 576 GiB | 6000 GiB | $5.22998137 / 1 hour |
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 provide discounts of 60-91% off of the corresponding on-demand price for most machine types and GPUs. Spot prices also provide smaller discounts for local SSDs and A3 machine types. For more information, see the Spot VMs documentation.
N4 machine types
Item | On-demand price (USD) | 1-year resource-based commitment price (USD) | 3-year resource-based commitment price (USD) | 1-year flexible CUD consumption rate (USD) | 3-year flexible CUD consumption rate (USD) |
---|---|---|---|---|---|
Predefined vCPUs | $0.032578 / 1 hour | $0.02052414 / 1 hour | $0.0146601 / 1 hour | $0.02345616 / 1 hour | $0.01759212 / 1 hour |
Predefined Memory | $0.003702 / 1 gibibyte hour | $0.00233226 / 1 gibibyte hour | $0.0016659 / 1 gibibyte hour | $0.00266544 / 1 hour | $0.00199908 / 1 hour |
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 provide discounts of 60-91% off of the corresponding on-demand price for most machine types and GPUs. Spot prices also provide smaller discounts for local SSDs and A3 machine types. For more information, see the Spot VMs documentation.
The following table shows the calculated costs for standard predefined machine types in the N4 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 GiB of memory per vCPU.
Machine type | Virtual CPUs | Memory | Price (USD) |
---|---|---|---|
n4-standard-2 | 2 | 8 GiB | $0.094772 / 1 hour |
n4-standard-4 | 4 | 16 GiB | $0.189544 / 1 hour |
n4-standard-8 | 8 | 32 GiB | $0.379088 / 1 hour |
n4-standard-16 | 16 | 64 GiB | $0.758176 / 1 hour |
n4-standard-32 | 32 | 128 GiB | $1.516352 / 1 hour |
n4-standard-48 | 48 | 192 GiB | $2.274528 / 1 hour |
n4-standard-64 | 64 | 256 GiB | $3.032704 / 1 hour |
n4-standard-80 | 80 | 320 GiB | $3.79088 / 1 hour |
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%. For more information, see Custom vCPU and memory.
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 provide discounts of 60-91% off of the corresponding on-demand price for most machine types and GPUs. Spot prices also provide smaller discounts for local SSDs and A3 machine types. For more information, see the Spot VMs documentation.
The following table shows the calculated cost for the N4 high-memory predefined 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.
High-memory machine types have 8 GiB of memory per vCPU. High-memory instances are ideal for tasks that require more memory relative to virtual CPUs.
Machine type | Virtual CPUs | Memory | Price (USD) |
---|---|---|---|
n4-highmem-2 | 2 | 16 GiB | $0.124388 / 1 hour |
n4-highmem-4 | 4 | 32 GiB | $0.248776 / 1 hour |
n4-highmem-8 | 8 | 64 GiB | $0.497552 / 1 hour |
n4-highmem-16 | 16 | 128 GiB | $0.995104 / 1 hour |
n4-highmem-32 | 32 | 256 GiB | $1.990208 / 1 hour |
n4-highmem-48 | 48 | 384 GiB | $2.985312 / 1 hour |
n4-highmem-64 | 64 | 512 GiB | $3.980416 / 1 hour |
n4-highmem-80 | 80 | 640 GiB | $4.97552 / 1 hour |
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%. For more information, see Custom vCPU and memory.
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 provide discounts of 60-91% off of the corresponding on-demand price for most machine types and GPUs. Spot prices also provide smaller discounts for local SSDs and A3 machine types. For more information, see the Spot VMs documentation.
The following table shows the calculated cost for N4 high-CPU predefined 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.
High-CPU machine types have one vCPU for every 1 GiB of memory. High-CPU machine types are ideal for tasks that require moderate memory configurations for the needed vCPU count.
Machine type | Virtual CPUs | Memory | Price (USD) |
---|---|---|---|
n4-highcpu-2 | 2 | 4 GiB | $0.079964 / 1 hour |
n4-highcpu-4 | 4 | 8 GiB | $0.159928 / 1 hour |
n4-highcpu-8 | 8 | 16 GiB | $0.319856 / 1 hour |
n4-highcpu-16 | 16 | 32 GiB | $0.639712 / 1 hour |
n4-highcpu-32 | 32 | 64 GiB | $1.279424 / 1 hour |
n4-highcpu-48 | 48 | 96 GiB | $1.90803 / 1 hour |
n4-highcpu-64 | 64 | 128 GiB | $2.558848 / 1 hour |
n4-highcpu-80 | 80 | 160 GiB | $3.19856 / 1 hour |
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%. For more information, see Custom vCPU and memory.
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 provide discounts of 60-91% off of the corresponding on-demand price for most machine types and GPUs. Spot prices also provide smaller discounts for local SSDs and A3 machine types. For more information, see the Spot VMs documentation.
Custom machine types let you set a specific number of vCPUs and GiB 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.
Read Creating a VM instance with a custom machine type to learn how to use these machine types.
The on-demand prices for custom machine types include a 5% premium over the on-demand prices for standard machine types. For an accurate estimate of your billing with custom machine types, use the Google Cloud Pricing Calculator.
Item | On-demand price (USD) | Resource-based commitment price premium (USD) | 1-year flexible CUD consumption rate (USD) | 3-year flexible CUD consumption rate (USD) |
---|---|---|---|---|
Custom vCPUs | $0.0342069 / 1 hour | $0.000733 / 1 hour | $0.02462897 / 1 hour | $0.01847173 / 1 hour |
Custom Memory | $0.0038871 / 1 gibibyte hour | $0.0000833 / 1 gibibyte hour | $0.00279871 / 1 hour | $0.00209903 / 1 hour |
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 provide discounts of 60-91% off of the corresponding on-demand price for most machine types and GPUs. Spot prices also provide smaller discounts for local SSDs and A3 machine types. For more information, see the Spot VMs documentation.
The CUDs prices for Custom Machine Types reflect a 5% premium over predefined shapes. The premium applies only for the duration and amount of CMTs used and covered by the CUDs. More details please refer to the documentation for Resource-based committed use discounts.
For custom machine types, any memory up to and including 8 GiB of memory per vCPU is charged at the standard custom vCPU and memory pricing rate. Any memory above 8 GiB per vCPU is charged according to the following extended memory prices. To learn how to create instances with custom machine types and extended memory, see Adding extended memory to a machine type.
The on-demand prices for custom machine types include a 5% premium over the on-demand prices for standard machine types. For an accurate estimate of your billing with custom machine types, use the Google Cloud Pricing Calculator.
Item | Price (USD) | 1 year resource-based commitment price (USD) | 3 year resource-based commitment price (USD) | 1-year flexible CUD consumption rate (USD) | 3-year flexible CUD consumption rate (USD) |
---|---|---|---|---|---|
Extended custom memory | $0.00874598 / 1 gibibyte hour | Unavailable | Unavailable | $0.0062971 / 1 gibibyte hour | $0.00472283 / 1 gibibyte hour |
If you pay in a currency other than USD, the prices listed in your currency on Cloud Platform SKUs apply.
Spot prices, which typically offer the largest discounts—up to 91% off of the corresponding on-demand price—are listed separately on the Spot VMs pricing page.
C3 machine types
Item | On-demand price (USD) | 1-year resource-based commitment price (USD) | 3-year resource-based commitment price (USD) | 1-year flexible CUD consumption rate (USD) | 3-year flexible CUD consumption rate (USD) |
---|---|---|---|---|---|
Predefined vCPUs | $0.03465 / 1 hour | $0.02183 / 1 hour | $0.015593 / 1 hour | $0.024948 / 1 hour | $0.018711 / 1 hour |
Predefined Memory | $0.003938 / 1 gibibyte hour | $0.002481 / 1 gibibyte hour | $0.001772 / 1 gibibyte hour | $0.00283536 / 1 hour | $0.00212652 / 1 hour |
If you pay in a currency other than USD, the prices listed in your currency on Cloud Platform SKUs apply.
Spot prices, which typically offer the largest discounts—up to 91% off of the corresponding on-demand price—are listed separately on the Spot VMs pricing page.
Machine type | Virtual CPUs | Memory | Price (USD) |
---|---|---|---|
c3-standard-4 | 4 | 16 GiB | $0.201608 / 1 hour |
c3-standard-8 | 8 | 32 GiB | $0.403216 / 1 hour |
c3-standard-22 | 22 | 88 GiB | $1.108844 / 1 hour |
c3-standard-44 | 44 | 176 GiB | $2.217688 / 1 hour |
c3-standard-88 | 88 | 352 GiB | $4.435376 / 1 hour |
c3-standard-176 | 176 | 704 GiB | $8.870752 / 1 hour |
c3-standard-192-metal | 192 | 768 GiB | $9.677184 / 1 hour |
If you pay in a currency other than USD, the prices listed in your currency on Cloud Platform SKUs apply.
Spot prices, which typically offer the largest discounts—up to 91% off of the corresponding on-demand price—are listed separately on the Spot VMs pricing page.
Machine type | Virtual CPUs | Memory | Price (USD) |
---|---|---|---|
c3-highmem-4 | 4 | 32 GiB | $0.264616 / 1 hour |
c3-highmem-8 | 8 | 64 GiB | $0.529232 / 1 hour |
c3-highmem-22 | 22 | 176 GiB | $1.455388 / 1 hour |
c3-highmem-44 | 44 | 352 GiB | $2.910776 / 1 hour |
c3-highmem-88 | 88 | 704 GiB | $5.821552 / 1 hour |
c3-highmem-176 | 176 | 1408 GiB | $11.643104 / 1 hour |
c3-highmem-192-metal | 192 | 1536 GiB | $12.701568 / 1 hour |
If you pay in a currency other than USD, the prices listed in your currency on Cloud Platform SKUs apply.
Spot prices, which typically offer the largest discounts—up to 91% off of the corresponding on-demand price—are listed separately on the Spot VMs pricing page.
Machine type | Virtual CPUs | Memory | Price (USD) |
---|---|---|---|
c3-highcpu-4 | 4 | 8 GiB | $0.170104 / 1 hour |
c3-highcpu-8 | 8 | 16 GiB | $0.340208 / 1 hour |
c3-highcpu-22 | 22 | 44 GiB | $0.935572 / 1 hour |
c3-highcpu-44 | 44 | 88 GiB | $1.871144 / 1 hour |
c3-highcpu-88 | 88 | 176 GiB | $3.742288 / 1 hour |
c3-highcpu-176 | 176 | 352 GiB | $7.484576 / 1 hour |
c3-highcpu-192-metal | 192 | 512 GiB | $8.669056 / 1 hour |
If you pay in a currency other than USD, the prices listed in your currency on Cloud Platform SKUs apply.
Spot prices, which typically offer the largest discounts—up to 91% off of the corresponding on-demand price—are listed separately on the Spot VMs pricing page.
C3D machine types
Item | On-demand price (USD) | 1-year resource-based commitment price (USD) | 3-year resource-based commitment price (USD) | 1-year flexible CUD consumption rate (USD) | 3-year flexible CUD consumption rate (USD) |
---|---|---|---|---|---|
Predefined vCPUs | $0.029563 / 1 hour | $0.018624 / 1 hour | $0.013303 / 1 hour | $0.02128536 / 1 hour | $0.01596402 / 1 hour |
Predefined Memory | $0.003959 / 1 gibibyte hour | $0.002494 / 1 gibibyte hour | $0.001781 / 1 gibibyte hour | $0.00285048 / 1 hour | $0.00213786 / 1 hour |
If you pay in a currency other than USD, the prices listed in your currency on Cloud Platform SKUs apply.
Spot prices, which typically offer the largest discounts—up to 91% off of the corresponding on-demand price—are listed separately on the Spot VMs pricing page.
Machine type | Virtual CPUs | Memory | Price (USD) |
---|---|---|---|
c3d-standard-4 | 4 | 16 GiB | $0.181596 / 1 hour |
c3d-standard-8 | 8 | 32 GiB | $0.363192 / 1 hour |
c3d-standard-16 | 16 | 64 GiB | $0.726384 / 1 hour |
c3d-standard-30 | 30 | 120 GiB | $1.36197 / 1 hour |
c3d-standard-60 | 60 | 240 GiB | $2.72394 / 1 hour |
c3d-standard-90 | 90 | 360 GiB | $4.08591 / 1 hour |
c3d-standard-180 | 180 | 720 GiB | $8.17182 / 1 hour |
c3d-standard-360 | 360 | 1440 GiB | $16.34364 / 1 hour |
If you pay in a currency other than USD, the prices listed in your currency on Cloud Platform SKUs apply.
Spot prices, which typically offer the largest discounts—up to 91% off of the corresponding on-demand price—are listed separately on the Spot VMs pricing page.
Machine type | Virtual CPUs | Memory | Price (USD) |
---|---|---|---|
c3d-highmem-4 | 4 | 32 GiB | $0.24494 / 1 hour |
c3d-highmem-8 | 8 | 64 GiB | $0.48988 / 1 hour |
c3d-highmem-16 | 16 | 128 GiB | $0.97976 / 1 hour |
c3d-highmem-30 | 30 | 240 GiB | $1.83705 / 1 hour |
c3d-highmem-60 | 60 | 480 GiB | $3.6741 / 1 hour |
c3d-highmem-90 | 90 | 720 GiB | $5.51115 / 1 hour |
c3d-highmem-180 | 180 | 1440 GiB | $11.0223 / 1 hour |
c3d-highmem-360 | 360 | 2880 GiB | $22.0446 / 1 hour |
If you pay in a currency other than USD, the prices listed in your currency on Cloud Platform SKUs apply.
Spot prices, which typically offer the largest discounts—up to 91% off of the corresponding on-demand price—are listed separately on the Spot VMs pricing page.
Machine type | Virtual CPUs | Memory | Price (USD) |
---|---|---|---|
c3d-highcpu-4 | 4 | 8 GiB | $0.149924 / 1 hour |
c3d-highcpu-8 | 8 | 16 GiB | $0.299848 / 1 hour |
c3d-highcpu-16 | 16 | 32 GiB | $0.599696 / 1 hour |
c3d-highcpu-30 | 30 | 60 GiB | $1.12443 / 1 hour |
c3d-highcpu-60 | 60 | 120 GiB | $2.24886 / 1 hour |
c3d-highcpu-90 | 90 | 180 GiB | $3.37329 / 1 hour |
c3d-highcpu-180 | 180 | 360 GiB | $6.74658 / 1 hour |
c3d-highcpu-360 | 360 | 720 GiB | $13.49316 / 1 hour |
If you pay in a currency other than USD, the prices listed in your currency on Cloud Platform SKUs apply.
Spot prices, which typically offer the largest discounts—up to 91% off of the corresponding on-demand price—are listed separately on the Spot VMs pricing page.
For N1, N2, and C2 machine types, 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, memory-optimized, compute-optimized, and shared-core machine types. Depending on the machine type, sustained use discounts differ between N1 and N2 machine types:
E2 machine types do not offer sustained use discounts but provide larger savings directly through the on-demand and committed-use prices. E2 machine types provide consistently predictable pricing without the requirement to run a VM for a specific portion of the month.
For more information, see Sustained use discounts.
E2 machine types
E2 machine types do not offer sustained use discounts but provide larger savings directly through the on-demand and committed-use prices. E2 machine types provide consistently predictable pricing without the requirement to run a VM for a specific portion of the month.
E2 machine types are also available as shared-core VMs. For pricing information about E2 shared-core machine types, see E2 shared-core machine types.
Item | On-demand price (USD) | 1-year resource-based commitment price (USD) | 3-year resource-based commitment price (USD) | 1-year flexible CUD consumption rate (USD) | 3-year flexible CUD consumption rate (USD) |
---|---|---|---|---|---|
Predefined vCPUs | $0.02181159 / 1 hour | $0.0137413 / 1 hour | $0.00981522 / 1 hour | $0.01570434 / 1 hour | $0.01177826 / 1 hour |
Predefined Memory | $0.00292353 / 1 gibibyte hour | $0.00184182 / 1 gibibyte hour | $0.00131559 / 1 gibibyte hour | $0.00210494 / 1 hour | $0.00157871 / 1 hour |
If you pay in a currency other than USD, the prices listed in your currency on Cloud Platform SKUs apply.
Spot prices, which typically offer the largest discounts—up to 91% off of the corresponding on-demand price—are listed separately on the Spot VMs pricing page.
The following table shows the calculated cost for standard predefined machine types in the E2 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 GiB of memory per vCPU.
Machine type | Virtual CPUs | Memory | Price (USD) |
---|---|---|---|
e2-standard-2 | 2 | 8 GiB | $0.06701142 / 1 hour |
e2-standard-4 | 4 | 16 GiB | $0.13402284 / 1 hour |
e2-standard-8 | 8 | 32 GiB | $0.26804568 / 1 hour |
e2-standard-16 | 16 | 64 GiB | $0.53609136 / 1 hour |
e2-standard-32 | 32 | 128 GiB | $1.07218272 / 1 hour |
Custom machine type: If your ideal machine shape is in between two predefined types, using a custom E2 machine type could save you as much as 40%. For more information, see E2 custom vCPUs and memory.
If you pay in a currency other than USD, the prices listed in your currency on Cloud Platform SKUs apply.
Spot prices, which typically offer the largest discounts—up to 91% off of the corresponding on-demand price—are listed separately on the Spot VMs pricing page.
The following table shows the calculated cost for the E2 high-memory predefined 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.
High-memory machine types have 8 GiB of memory per vCPU. High-memory instances are ideal for tasks that require more memory relative to virtual CPUs.
Machine type | Virtual CPUs | Memory | Price (USD) |
---|---|---|---|
e2-highmem-2 | 2 | 16 GiB | $0.09039966 / 1 hour |
e2-highmem-4 | 4 | 32 GiB | $0.18079932 / 1 hour |
e2-highmem-8 | 8 | 64 GiB | $0.36159864 / 1 hour |
e2-highmem-16 | 16 | 128 GiB | $0.72319728 / 1 hour |
Custom machine type: If your ideal machine shape is in between two predefined types, using a custom E2 machine type could save you as much as 40%. For more information, see E2 custom vCPUs and memory.
If you pay in a currency other than USD, the prices listed in your currency on Cloud Platform SKUs apply.
Spot prices, which typically offer the largest discounts—up to 91% off of the corresponding on-demand price—are listed separately on the Spot VMs pricing page.
The following table shows the calculated cost for E2 high-CPU predefined 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.
High-CPU machine types have one vCPU for every 1 GiB of memory. High-CPU machine types are ideal for tasks that require moderate memory configurations for the needed vCPU count.
Machine type | Virtual CPUs | Memory | Price (USD) |
---|---|---|---|
e2-highcpu-2 | 2 | 2 GiB | $0.04947024 / 1 hour |
e2-highcpu-4 | 4 | 4 GiB | $0.09894048 / 1 hour |
e2-highcpu-8 | 8 | 8 GiB | $0.19788096 / 1 hour |
e2-highcpu-16 | 16 | 16 GiB | $0.39576192 / 1 hour |
e2-highcpu-32 | 32 | 32 GiB | $0.79152384 / 1 hour |
Custom machine type: If your ideal machine shape is in between two predefined types, using a custom E2 machine type could save you as much as 40%. For more information, see E2 custom vCPUs and memory.
If you pay in a currency other than USD, the prices listed in your currency on Cloud Platform SKUs apply.
Spot prices, which typically offer the largest discounts—up to 91% off of the corresponding on-demand price—are listed separately on the Spot VMs pricing page.
Custom machine types let you set a specific number of vCPUs and GiB 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.
Read Creating a VM instance with a custom machine type to learn how to use these machine types.
Not all machine types are guaranteed to be available in all zones all the time. To ensure that a machine type is available when you need it, you can preemptively reserve the machine type in a certain zone. For information about reserving predefined machine types in a specific zone, see Reservations of Compute Engine zonal resources.
The on-demand prices for custom machine types include a 5% premium over the on-demand prices for standard machine types. For an accurate estimate of your billing with custom machine types, use the Google Cloud Pricing Calculator.
Item | On-demand price (USD) | Resource-based commitment price premium (USD) | 1-year flexible CUD consumption rate (USD) | 3-year flexible CUD consumption rate (USD) |
---|---|---|---|---|
Custom vCPUs | $0.02290217 / 1 hour | $0.00049076 / 1 hour | $0.01648956 / 1 hour | $0.01236717 / 1 hour |
Custom Memory | $0.00306971 / 1 hour | $0.00006578 / 1 gibibyte hour | $0.00221019 / 1 hour | $0.00221019 / 1 hour |
If you pay in a currency other than USD, the prices listed in your currency on Cloud Platform SKUs apply.
Spot prices, which typically offer the largest discounts—up to 91% off of the corresponding on-demand price—are listed separately on the Spot VMs pricing page.
The CUDs prices for Custom Machine Types reflect a 5% premium over predefined shapes. The premium applies only for the duration and amount of CMTs used and covered by the CUDs. More details please refer to the documentation for Resource-based committed use discounts.
N2 machine types
Item | On-demand price (USD) | 1 year resource-based commitment price (USD) | 3 year resource-based commitment price (USD) | 1-year flexible CUD consumption rate (USD) | 3-year flexible CUD consumption rate (USD) |
---|---|---|---|---|---|
Predefined vCPUs | $0.031611 / 1 hour | $0.019915 / 1 hour | $0.014225 / 1 hour | $0.02275992 / 1 hour | $0.01706994 / 1 hour |
Predefined Memory | $0.004237 / 1 gibibyte hour | $0.002669 / 1 gibibyte hour | $0.001907 / 1 gibibyte hour | $0.00305064 / 1 hour | $0.00228798 / 1 hour |
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 provide discounts of 60-91% off of the corresponding on-demand price for most machine types and GPUs. Spot prices also provide smaller discounts for local SSDs and A3 machine types. For more information, see the Spot VMs documentation.
The following table shows the calculated costs for standard predefined machine types in the N2 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 GiB of memory per vCPU.
Machine type | Virtual CPUs | Memory | Price (USD) |
---|---|---|---|
n2-standard-2 | 2 | 8 GiB | $0.097118 / 1 hour |
n2-standard-4 | 4 | 16 GiB | $0.194236 / 1 hour |
n2-standard-8 | 8 | 32 GiB | $0.388472 / 1 hour |
n2-standard-16 | 16 | 64 GiB | $0.776944 / 1 hour |
n2-standard-32 | 32 | 128 GiB | $1.553888 / 1 hour |
n2-standard-48 | 48 | 192 GiB | $2.330832 / 1 hour |
n2-standard-64 | 64 | 256 GiB | $3.107776 / 1 hour |
n2-standard-80 | 80 | 320 GiB | $3.88472 / 1 hour |
n2-standard-96 | 96 | 384 GiB | $4.661664 / 1 hour |
n2-standard-128 | 128 | 512 GiB | $6.215552 / 1 hour |
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%. For more information, see Custom vCPU and memory .
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 provide discounts of 60-91% off of the corresponding on-demand price for most machine types and GPUs. Spot prices also provide smaller discounts for local SSDs and A3 machine types. For more information, see the Spot VMs documentation.
The following table shows the calculated cost for the N2 high-memory predefined 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.
High-memory machine types have 8 GiB of memory per vCPU. High-memory instances are ideal for tasks that require more memory relative to virtual CPUs.
Machine type | Virtual CPUs | Memory | Price (USD) |
---|---|---|---|
n2-highmem-2 | 2 | 16 GiB | $0.131014 / 1 hour |
n2-highmem-4 | 4 | 32 GiB | $0.262028 / 1 hour |
n2-highmem-8 | 8 | 64 GiB | $0.524056 / 1 hour |
n2-highmem-16 | 16 | 128 GiB | $1.048112 / 1 hour |
n2-highmem-32 | 32 | 256 GiB | $2.096224 / 1 hour |
n2-highmem-48 | 48 | 384 GiB | $3.144336 / 1 hour |
n2-highmem-64 | 64 | 512 GiB | $4.192448 / 1 hour |
n2-highmem-80 | 80 | 640 GiB | $5.24056 / 1 hour |
n2-highmem-96 | 96 | 768 GiB | $6.288672 / 1 hour |
n2-highmem-128 | 128 | 864 GiB | $7.706976 / 1 hour |
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%. For more information, see Custom vCPUs and memory .
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 provide discounts of 60-91% off of the corresponding on-demand price for most machine types and GPUs. Spot prices also provide smaller discounts for local SSDs and A3 machine types. For more information, see the Spot VMs documentation.
The following table shows the calculated cost for N2 high-CPU predefined 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.
High-CPU machine types have one vCPU for every 1 GiB of memory. High-CPU machine types are ideal for tasks that require moderate memory configurations for the needed vCPU count.
Machine type | Virtual CPUs | Memory | Price (USD) |
---|---|---|---|
n2-highcpu-2 | 2 | 2 GiB | $0.071696 / 1 hour |
n2-highcpu-4 | 4 | 4 GiB | $0.143392 / 1 hour |
n2-highcpu-8 | 8 | 8 GiB | $0.286784 / 1 hour |
n2-highcpu-16 | 16 | 16 GiB | $0.573568 / 1 hour |
n2-highcpu-32 | 32 | 32 GiB | $1.147136 / 1 hour |
n2-highcpu-48 | 48 | 48 GiB | $1.720704 / 1 hour |
n2-highcpu-64 | 64 | 64 GiB | $2.294272 / 1 hour |
n2-highcpu-80 | 80 | 80 GiB | $2.86784 / 1 hour |
n2-highcpu-96 | 96 | 96 GiB | $3.441408 / 1 hour |
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%. For more information, see Custom vCPU and memory.
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 provide discounts of 60-91% off of the corresponding on-demand price for most machine types and GPUs. Spot prices also provide smaller discounts for local SSDs and A3 machine types. For more information, see the Spot VMs documentation.
Custom machine types let you set a specific number of vCPUs and GiB 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.
Read Creating a VM instance with a custom machine type 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.
Not all machine types are guaranteed to be available in all zones all the time. To ensure that a machine type is available when you need it, you can preemptively reserve the machine type in a certain zone. For information about reserving predefined machine types in a specific zone, see Reservations of Compute Engine zonal resources.
The on-demand prices for custom machine types include a 5% premium over the on-demand prices for standard machine types. For an accurate estimate of your billing with custom machine types, use the Google Cloud Pricing Calculator.
Item | On-demand price (USD) | Resource-based commitment price premium (USD) | 1-year flexible CUD consumption rate (USD) | 3-year flexible CUD consumption rate (USD) |
---|---|---|---|---|
Custom vCPUs | $0.03319155 / 1 hour | $0.00071125 / 1 hour | $0.02389792 / 1 hour | $0.01792344 / 1 hour |
Custom Memory | $0.00444885 / 1 gibibyte hour | $0.00009535 / 1 gibibyte hour | $0.01007917 / 1 hour | $0.00755938 / 1 hour |
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 provide discounts of 60-91% off of the corresponding on-demand price for most machine types and GPUs. Spot prices also provide smaller discounts for local SSDs and A3 machine types. For more information, see the Spot VMs documentation.
The CUDs prices for Custom Machine Types reflect a 5% premium over predefined shapes. The premium applies only for the duration and amount of CMTs used and covered by the CUDs. More details please refer to the documentation for Resource-based committed use discounts.
For custom machine types, any memory up to and including 8 GiB of memory per vCPU is charged at the standard custom vCPU and memory pricing rate. Any memory above 8 GiB per vCPU is charged according to the following extended memory prices. To learn how to create instances with custom machine types and extended memory, see Adding extended memory to a machine type.
The on-demand prices for custom machine types include a 5% premium over the on-demand prices for standard machine types. For an accurate estimate of your billing with custom machine types, use the Google Cloud Pricing Calculator.
Item | Price (USD) | 1 year resource-based commitment price (USD) | 3 year resource-based commitment price (USD) | 1-year flexible CUD consumption rate (USD) | 3-year flexible CUD consumption rate (USD) |
---|---|---|---|---|---|
Extended custom memory | $0.00955 / 1 gibibyte hour | $0.002669 / 1 gibibyte hour | $0.001907 / 1 gibibyte hour | $0.01007917 / 1 hour | $0.00755938 / 1 hour |
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 provide discounts of 60-91% off of the corresponding on-demand price for most machine types and GPUs. Spot prices also provide smaller discounts for local SSDs and A3 machine types. For more information, see the Spot VMs documentation.
N2D machine types
Item | On-demand price (USD) | 1-year resource-based commitment price (USD) | 3-year resource-based commitment price (USD) | 1-year flexible CUD consumption rate (USD) | 3-year flexible CUD consumption rate (USD) |
---|---|---|---|---|---|
Predefined vCPUs | $0.027502 / 1 hour | $0.017326 / 1 hour | $0.012376 / 1 hour | $0.01980144 / 1 hour | $0.01485108 / 1 hour |
Predefined Memory | $0.003686 / 1 gibibyte hour | $0.002322 / 1 gibibyte hour | $0.001659 / 1 gibibyte hour | $0.00265392 / 1 hour | $0.00199044 / 1 hour |
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 provide discounts of 60-91% off of the corresponding on-demand price for most machine types and GPUs. Spot prices also provide smaller discounts for local SSDs and A3 machine types. For more information, see the Spot VMs documentation.
The following table shows the calculated costs for standard predefined machine types in the N2D 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 GiB of memory per vCPU.
Machine type | Virtual CPUs | Memory | Price (USD) |
---|---|---|---|
n2d-standard-2 | 2 | 8 GiB | $0.084492 / 1 hour |
n2d-standard-4 | 4 | 16 GiB | $0.168984 / 1 hour |
n2d-standard-8 | 8 | 32 GiB | $0.337968 / 1 hour |
n2d-standard-16 | 16 | 64 GiB | $0.675936 / 1 hour |
n2d-standard-32 | 32 | 128 GiB | $1.351872 / 1 hour |
n2d-standard-48 | 48 | 192 GiB | $2.027808 / 1 hour |
n2d-standard-64 | 64 | 256 GiB | $2.703744 / 1 hour |
n2d-standard-80 | 80 | 320 GiB | $3.37968 / 1 hour |
n2d-standard-96 | 96 | 384 GiB | $4.055616 / 1 hour |
n2d-standard-128 | 128 | 512 GiB | $5.407488 / 1 hour |
n2d-standard-224 | 224 | 896 GiB | $9.463104 / 1 hour |
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%. For more information, see Custom vCPU and memory.
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 provide discounts of 60-91% off of the corresponding on-demand price for most machine types and GPUs. Spot prices also provide smaller discounts for local SSDs and A3 machine types. For more information, see the Spot VMs documentation.
The following table shows the calculated cost for the N2D high-memory predefined 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.
High-memory machine types have 8 GiB of memory per vCPU. High-memory instances are ideal for tasks that require more memory relative to virtual CPUs.
Machine type | Virtual CPUs | Memory | Price (USD) |
---|---|---|---|
n2d-highmem-2 | 2 | 16 GiB | $0.11398 / 1 hour |
n2d-highmem-4 | 4 | 32 GiB | $0.22796 / 1 hour |
n2d-highmem-8 | 8 | 64 GiB | $0.45592 / 1 hour |
n2d-highmem-16 | 16 | 128 GiB | $0.91184 / 1 hour |
n2d-highmem-32 | 32 | 256 GiB | $1.82368 / 1 hour |
n2d-highmem-48 | 48 | 384 GiB | $2.73552 / 1 hour |
n2d-highmem-64 | 64 | 512 GiB | $3.64736 / 1 hour |
n2d-highmem-80 | 80 | 640 GiB | $4.5592 / 1 hour |
n2d-highmem-96 | 96 | 768 GiB | $5.47104 / 1 hour |
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%. For more information, see Custom vCPU and memory.
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 provide discounts of 60-91% off of the corresponding on-demand price for most machine types and GPUs. Spot prices also provide smaller discounts for local SSDs and A3 machine types. For more information, see the Spot VMs documentation.
The following table shows the calculated cost for the N2D high-cpu predefined 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.
High-cpu machine types have 1 GiB of memory per vCPU. High-cpu instances are ideal for tasks that require more virtual CPUs relative to memory.
Machine type | Virtual CPUs | Memory | Price (USD) |
---|---|---|---|
n2d-highcpu-2 | 2 | 2 GiB | $0.062376 / 1 hour |
n2d-highcpu-4 | 4 | 4 GiB | $0.124752 / 1 hour |
n2d-highcpu-8 | 8 | 8 GiB | $0.249504 / 1 hour |
n2d-highcpu-16 | 16 | 16 GiB | $0.499008 / 1 hour |
n2d-highcpu-32 | 32 | 32 GiB | $0.998016 / 1 hour |
n2d-highcpu-48 | 48 | 48 GiB | $1.497024 / 1 hour |
n2d-highcpu-64 | 64 | 64 GiB | $1.996032 / 1 hour |
n2d-highcpu-80 | 80 | 80 GiB | $2.49504 / 1 hour |
n2d-highcpu-96 | 96 | 96 GiB | $2.994048 / 1 hour |
n2d-highcpu-128 | 128 | 128 GiB | $3.992064 / 1 hour |
n2d-highcpu-224 | 224 | 224 GiB | $6.986112 / 1 hour |
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%. For more information, see Custom vCPUs and memory.
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 provide discounts of 60-91% off of the corresponding on-demand price for most machine types and GPUs. Spot prices also provide smaller discounts for local SSDs and A3 machine types. For more information, see the Spot VMs documentation.
Custom machine types let you set a specific number of vCPUs and GiB 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.
Read Creating a VM instance with a custom machine type 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.
Not all machine types are guaranteed to be available in all zones all the time. To ensure that a machine type is available when you need it, you can preemptively reserve the machine type in a certain zone. For information about reserving predefined machine types in a specific zone, see Reservations of Compute Engine zonal resources.
The on-demand prices for custom machine types include a 5% premium over the on-demand prices for standard machine types. For an accurate estimate of your billing with custom machine types, use the Google Cloud Pricing Calculator.
Item | On-demand price (USD) | Resource-based commitment price premium (USD) | 1-year flexible CUD consumption rate (USD) | 3-year flexible CUD consumption rate (USD) |
---|---|---|---|---|
Custom vCPUs | $0.0288771 / 1 hour | $0.0006188 / 1 hour | $0.02079151 / 1 hour | $0.01559363 / 1 hour |
Custom Memory | $0.0038703 / 1 gibibyte hour | $0.00008295 / 1 gibibyte hour | $0.0087691 / 1 hour | $0.00657682 / 1 hour |
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 provide discounts of 60-91% off of the corresponding on-demand price for most machine types and GPUs. Spot prices also provide smaller discounts for local SSDs and A3 machine types. For more information, see the Spot VMs documentation.
The CUDs prices for Custom Machine Types reflect a 5% premium over predefined shapes. The premium applies only for the duration and amount of CMTs used and covered by the CUDs. More details please refer to the documentation for Resource-based committed use discounts.
For custom machine types, any memory up to and including 8 GiB of memory per vCPU is charged at the standard custom vCPU and memory pricing rate. Any memory above 8 GiB per vCPU is charged according to the following extended memory prices. To learn how to create instances with custom machine types and extended memory, see Adding extended memory to a machine type.
The on-demand prices for custom machine types include a 5% premium over the on-demand prices for standard machine types. For an accurate estimate of your billing with custom machine types, use the Google Cloud Pricing Calculator.
Item | Price (USD) | 1 year resource-based commitment price (USD) | 3 year resource-based commitment price (USD) | 1-year flexible CUD consumption rate (USD) | 3-year flexible CUD consumption rate (USD) |
---|---|---|---|---|---|
Extended custom memory | $0.008309 / 1 gibibyte hour | $0.002322 / 1 gibibyte hour | $0.001659 / 1 gibibyte hour | $0.0087691 / 1 hour | $0.00657682 / 1 hour |
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 provide discounts of 60-91% off of the corresponding on-demand price for most machine types and GPUs. Spot prices also provide smaller discounts for local SSDs and A3 machine types. For more information, see the Spot VMs documentation.
Tau T2D machine types
Item | On-demand price (USD) | 1 year commitment price (USD) | 3 year commitment price (USD) |
---|---|---|---|
Predefined vCPUs | $0.027502 / 1 hour | $0.017326 / 1 hour | $0.012376 / 1 hour |
Predefined Memory | $0.003686 / 1 gibibyte hour | $0.002322 / 1 gibibyte hour | $0.001659 / 1 gibibyte hour |
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 costs for standard predefined machine types in the Tau T2D 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 GiB of memory per vCPU.
Machine type | Virtual CPUs | Memory | Price (USD) |
---|---|---|---|
t2d-standard-1 | 1 | 4 GiB | $0.042246 / 1 hour |
t2d-standard-2 | 2 | 8 GiB | $0.084492 / 1 hour |
t2d-standard-4 | 4 | 16 GiB | $0.168984 / 1 hour |
t2d-standard-8 | 8 | 32 GiB | $0.337968 / 1 hour |
t2d-standard-16 | 16 | 64 GiB | $0.675936 / 1 hour |
t2d-standard-32 | 32 | 128 GiB | $1.351872 / 1 hour |
t2d-standard-48 | 48 | 192 GiB | $2.027808 / 1 hour |
t2d-standard-60 | 60 | 240 GiB | $2.53476 / 1 hour |
If you pay in a currency other than USD, the prices listed in your currency on Cloud Platform SKUs apply.
Tau T2A machine types
Item | On-demand price (USD) |
---|---|
Predefined vCPUs | $0.0249 / 1 hour |
Predefined Memory | $0.0034 / 1 gibibyte hour |
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 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 GiB of memory per vCPU.
Machine type | Virtual CPUs | Memory | Price (USD) |
---|---|---|---|
t2a-standard-1 | 1 | 4 GiB | $0.0385 / 1 hour |
t2a-standard-2 | 2 | 8 GiB | $0.077 / 1 hour |
t2a-standard-4 | 4 | 16 GiB | $0.154 / 1 hour |
t2a-standard-8 | 8 | 32 GiB | $0.308 / 1 hour |
t2a-standard-16 | 16 | 64 GiB | $0.616 / 1 hour |
t2a-standard-32 | 32 | 128 GiB | $1.232 / 1 hour |
t2a-standard-48 | 48 | 192 GiB | $1.848 / 1 hour |
If you pay in a currency other than USD, the prices listed in your currency on Cloud Platform SKUs apply.
N1 machine types
Item | On-demand price (USD) | 1-year resource-based commitment price (USD) | 3-year resource-based commitment price (USD) | 1-year flexible CUD consumption rate (USD) | 3-year flexible CUD consumption rate (USD) |
---|---|---|---|---|---|
Predefined vCPUs | $0.031611 / 1 hour | $0.019915 / 1 hour | $0.014225 / 1 hour | $0.02275992 / 1 hour | $0.01706994 / 1 hour |
Predefined Memory | $0.004237 / 1 gibibyte hour | $0.002669 / 1 gibibyte hour | $0.001907 / 1 gibibyte hour | $0.00305064 / 1 hour | $0.00228798 / 1 hour |
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 provide discounts of 60-91% off of the corresponding on-demand price for most machine types and GPUs. Spot prices also provide smaller discounts for local SSDs and A3 machine types. For more information, see the Spot VMs documentation.
The following table shows the calculated cost for standard predefined machine types in the N1 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 3.75 GiB of memory per vCPU.
Machine type | Virtual CPUs | Memory | Price (USD) |
---|---|---|---|
n1-standard-1 | 1 | 3.75 GiB | $0.04749975 / 1 hour |
n1-standard-2 | 2 | 7.5 GiB | $0.0949995 / 1 hour |
n1-standard-4 | 4 | 15 GiB | $0.189999 / 1 hour |
n1-standard-8 | 8 | 30 GiB | $0.379998 / 1 hour |
n1-standard-16 | 16 | 60 GiB | $0.759996 / 1 hour |
n1-standard-32 | 32 | 120 GiB | $1.519992 / 1 hour |
n1-standard-64 | 64 | 240 GiB | $3.039984 / 1 hour |
n1-standard-96 Skylake Platform only | 96 | 360 GiB | $4.559976 / 1 hour |
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.
Spot prices are dynamic and can change up to once every 30 days, but provide discounts of 60-91% off of the corresponding on-demand price for most machine types and GPUs. Spot prices also provide smaller discounts for local SSDs and A3 machine types. For more information, see the Spot VMs documentation.
The following table shows the calculated cost for the N1 high-memory predefined 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.
High-memory machine types have 6.5 GiB of memory per vCPU. High-memory instances are ideal for tasks that require more memory relative to virtual CPUs.
Machine type | Virtual CPUs | Memory | Price (USD) |
---|---|---|---|
n1-highmem-2 | 2 | 13 GiB | $0.118303 / 1 hour |
n1-highmem-4 | 4 | 26 GiB | $0.236606 / 1 hour |
n1-highmem-8 | 8 | 52 GiB | $0.473212 / 1 hour |
n1-highmem-16 | 16 | 104 GiB | $0.946424 / 1 hour |
n1-highmem-32 | 32 | 208 GiB | $1.892848 / 1 hour |
n1-highmem-64 | 64 | 416 GiB | $3.785696 / 1 hour |
n1-highmem-96 Skylake Platform only | 96 | 624 GiB | $5.678544 / 1 hour |
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.
Spot prices are dynamic and can change up to once every 30 days, but provide discounts of 60-91% off of the corresponding on-demand price for most machine types and GPUs. Spot prices also provide smaller discounts for local SSDs and A3 machine types. For more information, see the Spot VMs documentation.
The following table shows the calculated cost for N1 high-CPU predefined 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.
High-CPU machine types have one vCPU for every 0.90 GiB of memory. High-CPU machine types are ideal for tasks that require moderate memory configurations for the needed vCPU count.
Machine type | Virtual CPUs | Memory | Price (USD) |
---|---|---|---|
n1-highcpu-2 | 2 | 1.80 GiB | $0.0708486 / 1 hour |
n1-highcpu-4 | 4 | 3.60 GiB | $0.1416972 / 1 hour |
n1-highcpu-8 | 8 | 7.20 GiB | $0.2833944 / 1 hour |
n1-highcpu-16 | 16 | 14.40 GiB | $0.5667888 / 1 hour |
n1-highcpu-32 | 32 | 28.80 GiB | $1.1335776 / 1 hour |
n1-highcpu-64 | 64 | 57.60 GiB | $2.2671552 / 1 hour |
n1-highcpu-96 Skylake Platform only | 96 | 86.40 GiB | $3.4007328 / 1 hour |
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.
Spot prices are dynamic and can change up to once every 30 days, but provide discounts of 60-91% off of the corresponding on-demand price for most machine types and GPUs. Spot prices also provide smaller discounts for local SSDs and A3 machine types. For more information, see the Spot VMs documentation.
Custom machine types let you set a specific number of vCPUs and GiB 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 GiB 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.
Not all machine types are guaranteed to be available in all zones all the time. To ensure that a machine type is available when you need it, you can preemptively reserve the machine type in a certain zone. For information about reserving predefined machine types in a specific zone, see Reservations of Compute Engine zonal resources.
The on-demand prices for custom machine types include a 5% premium over the on-demand prices for standard machine types. For an accurate estimate of your billing with custom machine types, use the Google Cloud Pricing Calculator.
Item | On-demand price (USD) | Resource-based commitment price premium (USD) | 1-year flexible CUD consumption rate (USD) | 3-year flexible CUD consumption rate (USD) |
---|---|---|---|---|
Custom vCPUs | $0.03319155 / 1 hour | $0.00071125 / 1 hour | $0.02389792 / 1 hour | $0.01792344 / 1 hour |
Custom Memory | $0.004446 / 1 gibibyte hour | $0.00009535 / 1 gibibyte hour | $0.01007712 / 1 hour | $0.00755784 / 1 hour |
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 provide discounts of 60-91% off of the corresponding on-demand price for most machine types and GPUs. Spot prices also provide smaller discounts for local SSDs and A3 machine types. For more information, see the Spot VMs documentation.
The CUDs prices for Custom Machine Types reflect a 5% premium over predefined shapes. The premium applies only for the duration and amount of CMTs used and covered by the CUDs. More details please refer to the documentation for Resource-based committed use discounts.
For custom machine types, any memory up to and including 6.5 GiB of memory per vCPU is charged at the standard custom vCPU and memory pricing rate. Any memory above the 6.5 GiB 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.
The on-demand prices for custom machine types include a 5% premium over the on-demand prices for standard machine types. For an accurate estimate of your billing with custom machine types, use the Google Cloud Pricing Calculator.
Item | Price (USD) | 1 year resource-based commitment price (USD) | 3 year resource-based commitment price (USD) | 1-year flexible CUD consumption rate (USD) | 3-year flexible CUD consumption rate (USD) |
---|---|---|---|---|---|
Extended custom memory | $0.00955 / 1 gibibyte hour | Unavailable | Unavailable | $0.01007712 / 1 hour | $0.00755784 / 1 hour |
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 provide discounts of 60-91% off of the corresponding on-demand price for most machine types and GPUs. Spot prices also provide smaller discounts for local SSDs and A3 machine types. For more information, see the Spot VMs documentation.
Compute-optimized machine types are ideal for compute-intensive workloads. These machine types offer the highest performance per core on Compute Engine.
H3 machine types
H3 VMs are powered by the 4th generation Intel Xeon Scalable processors (code-named Sapphire Rapids), DDR5 memory, and Google's custom Intel Infrastructure Processing Engine (IPU). The following table describes the pricing per vCPU and GiB of memory for H3 machine types.
Item | On-demand price (USD) | 1-year resource-based commitment price (USD) | 3-year resource-based commitment price (USD) |
---|---|---|---|
Compute-optimized Cores | $0.04411 / 1 hour | $0.03617 / 1 hour | $0.02647 / 1 hour |
Compute-optimized Memory | $0.00296 / 1 gibibyte hour | $0.00243 / 1 gibibyte hour | $0.00178 / 1 gibibyte hour |
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 provide discounts of 60-91% off of the corresponding on-demand price for most machine types and GPUs. Spot prices also provide smaller discounts for local SSDs and A3 machine types. For more information, see the Spot VMs documentation.
The following table shows the calculated cost for h3-standard-88 machine types, which is the H3 predefined machine type. The vCPUs and memory from each of these machine types are billed by their individual compute-optimized vCPUs and memory prices but these tables provide the cost that you can expect using a specific machine type.
Machine type | Cores | Memory | On Demand List Price (USD) | 1yr CUD List Price (USD) | 3yr CUD List Price (USD) |
---|---|---|---|---|---|
h3-standard-88 | 88 | 352 GiB | $4.9236 / 1 hour | $4.03832 / 1 hour | $2.95592 / 1 hour |
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 provide discounts of 60-91% off of the corresponding on-demand price for most machine types and GPUs. Spot prices also provide smaller discounts for local SSDs and A3 machine types. For more information, see the Spot VMs documentation.
C2 machine types
C2 machine types offer Intel Scalable Processors (Cascade Lake) and up to 3.8Ghz sustained all-core-turbo. Currently, C2 machine types are only available in certain regions and zones. The following table describes the pricing per vCPU and GB of memory for C2 machine types.
Item | On-demand price (USD) | 1-year resource-based commitment price (USD) | 3-year resource-based commitment price (USD) | 1-year flexible CUD consumption rate (USD) | 3-year flexible CUD consumption rate (USD) |
---|---|---|---|---|---|
Compute-optimized vCPUs | $0.033982 / 1 hour | $0.021409 / 1 hour | $0.013593 / 1 hour | $0.02446704 / 1 hour | $0.01835028 / 1 hour |
Compute-optimized Memory | $0.004555 / 1 gibibyte hour | $0.002869 / 1 gibibyte hour | $0.001822 / 1 gibibyte hour | $0.0032796 / 1 hour | $0.0024597 / 1 hour |
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 provide discounts of 60-91% off of the corresponding on-demand price for most machine types and GPUs. Spot prices also provide smaller discounts for local SSDs and A3 machine types. For more information, see the Spot VMs documentation.
The following table shows the calculated cost for c2-standard machine types, which are C2 predefined machine types. The vCPUs and memory from each of these machine types are billed by their individual compute-optimized vCPUs and memory prices but these tables provide the cost that you can expect using a specific machine type.
Machine type | Virtual CPUs | Memory | Price (USD) |
---|---|---|---|
c2-standard-4 | 4 | 16 GiB | $0.208808 / 1 hour |
c2-standard-8 | 8 | 32 GiB | $0.417616 / 1 hour |
c2-standard-16 | 16 | 64 GiB | $0.835232 / 1 hour |
c2-standard-30 | 30 | 120 GiB | $1.56606 / 1 hour |
c2-standard-60 | 60 | 240 GiB | $3.13212 / 1 hour |
Spot prices are dynamic and can change up to once every 30 days, but provide discounts of 60-91% off of the corresponding on-demand price for most machine types and GPUs. Spot prices also provide smaller discounts for local SSDs and A3 machine types. For more information, see the Spot VMs documentation.
Item | On-demand price (USD) | 1-year resource-based commitment price (USD) | 3-year resource-based commitment price (USD) | 1-year flexible CUD consumption rate (USD) | 3-year flexible CUD consumption rate (USD) |
---|---|---|---|---|---|
Compute-optimized vCPUs | $0.029563 / 1 hour | $0.018624 / 1 hour | $0.013303 / 1 hour | $0.02128536 / 1 hour | $0.01596402 / 1 hour |
Compute-optimized Memory | $0.003959 / 1 gibibyte hour | $0.002494 / 1 gibibyte hour | $0.001781 / 1 gibibyte hour | $0.00285048 / 1 hour | $0.00213786 / 1 hour |
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 provide discounts of 60-91% off of the corresponding on-demand price for most machine types and GPUs. Spot prices also provide smaller discounts for local SSDs and A3 machine types. For more information, see the Spot VMs documentation.
Machine type | vCPU | Memory | On Demand List Price | 1yr CUD List Price | 3yr CUD List Price |
---|---|---|---|---|---|
c2d-standard-2 | 2 | 8 GiB | $0.090798 / 1 hour | $0.0572 / 1 hour | $0.040854 / 1 hour |
c2d-standard-4 | 4 | 16 GiB | $0.181596 / 1 hour | $0.1144 / 1 hour | $0.081708 / 1 hour |
c2d-standard-8 | 8 | 32 GiB | $0.363192 / 1 hour | $0.2288 / 1 hour | $0.163416 / 1 hour |
c2d-standard-16 | 16 | 64 GiB | $0.726384 / 1 hour | $0.4576 / 1 hour | $0.326832 / 1 hour |
c2d-standard-32 | 32 | 128 GiB | $1.452768 / 1 hour | $0.9152 / 1 hour | $0.653664 / 1 hour |
c2d-standard-56 | 56 | 224 GiB | $2.542344 / 1 hour | $1.6016 / 1 hour | $1.143912 / 1 hour |
c2d-standard-112 | 112 | 448 GiB | $5.084688 / 1 hour | $3.2032 / 1 hour | $2.287824 / 1 hour |
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 provide discounts of 60-91% off of the corresponding on-demand price for most machine types and GPUs. Spot prices also provide smaller discounts for local SSDs and A3 machine types. For more information, see the Spot VMs documentation.
Machine type | vCPU | Memory | On Demand List Price | 1yr CUD List Price | 3yr CUD List Price |
---|---|---|---|---|---|
c2d-highmem-2 | 2 | 16 GiB | $0.12247 / 1 hour | $0.077152 / 1 hour | $0.055102 / 1 hour |
c2d-highmem-4 | 4 | 32 GiB | $0.24494 / 1 hour | $0.154304 / 1 hour | $0.110204 / 1 hour |
c2d-highmem-8 | 8 | 64 GiB | $0.48988 / 1 hour | $0.308608 / 1 hour | $0.220408 / 1 hour |
c2d-highmem-16 | 16 | 128 GiB | $3.42916 / 1 hour | $0.617216 / 1 hour | $0.440816 / 1 hour |
c2d-highmem-32 | 32 | 256 GiB | $1.95952 / 1 hour | $1.234432 / 1 hour | $0.881632 / 1 hour |
c2d-highmem-56 | 56 | 448 GiB | $3.42916 / 1 hour | $2.160256 / 1 hour | $1.542856 / 1 hour |
c2d-highmem-112 | 112 | 896 GiB | $6.85832 / 1 hour | $4.320512 / 1 hour | $3.085712 / 1 hour |
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 provide discounts of 60-91% off of the corresponding on-demand price for most machine types and GPUs. Spot prices also provide smaller discounts for local SSDs and A3 machine types. For more information, see the Spot VMs documentation.
Machine type | vCPU | Memory | On Demand List Price | 1yr CUD List Price | 3yr CUD List Price |
---|---|---|---|---|---|
c2d-highcpu-2 | 2 | 4 GiB | $0.074962 / 1 hour | $0.047224 / 1 hour | $0.03373 / 1 hour |
c2d-highcpu-4 | 4 | 8 GiB | $0.149924 / 1 hour | $0.094448 / 1 hour | $0.06746 / 1 hour |
c2d-highcpu-8 | 8 | 16 GiB | $0.299848 / 1 hour | $0.188896 / 1 hour | $0.13492 / 1 hour |
c2d-highcpu-16 | 16 | 32 GiB | $0.599696 / 1 hour | $0.377792 / 1 hour | $0.26984 / 1 hour |
c2d-highcpu-32 | 32 | 64 GiB | $1.199392 / 1 hour | $0.755584 / 1 hour | $0.53968 / 1 hour |
c2d-highcpu-56 | 56 | 128 GiB | $2.098936 / 1 hour | $1.322272 / 1 hour | $0.94444 / 1 hour |
c2d-highcpu-112 | 112 | 224 GiB | $4.197872 / 1 hour | $2.644544 / 1 hour | $2.644544 / 1 hour |
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 provide discounts of 60-91% off of the corresponding on-demand price for most machine types and GPUs. Spot prices also provide smaller discounts for local SSDs and A3 machine types. For more information, see the Spot VMs documentation.
Memory-optimized machine types are ideal for tasks that require intensive use of memory with higher memory to vCPU ratios than the general-purpose n2-highmem machine types. Memory-optimized machine types are available in certain regions only. To learn more about memory-optimized machine types, see Memory-optimized machine family.
Not all machine types are guaranteed to be available in all zones all the time. To ensure that a machine type is available when you need it, you can preemptively reserve the machine type in a certain zone. For information about reserving predefined machine types in a specific zone, see Reservations of Compute Engine zonal resources.
M3 machine types
M3 machine types offer 3rd Generation Intel Scalable Processors (Ice Lake). Currently, M3 machine types are only available in certain regions and zones. The following table describes the pricing per vCPU and GiB of memory for M3 machine types.
Item | On-demand price (USD) | Spot price* (USD) | 1 year commitment price (USD) | 3 year commitment price (USD) |
---|---|---|---|---|
Memory-optimized vCPUs | $0.0348 / 1 hour | $0.01319 / 1 hour | $0.02055 / 1 hour | $0.01045 / 1 hour |
Memory-optimized Memory | $0.0051 / 1 gibibyte hour | $0.001935 / 1 gibibyte hour | $0.00302 / 1 gibibyte hour | $0.00153 / 1 gibibyte hour |
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 provide discounts of 60-91% off of the corresponding on-demand price for most machine types and GPUs. Spot prices also provide smaller discounts for local SSDs and A3 machine types. For more information, see the Spot VMs documentation.
The following table shows the calculated cost for m3-megamem and m3-ultramem machine types. The vCPUs and memory from each of these machine types are billed by their individual M3 vCPUs and memory prices but these tables provide the cost that you can expect using a specific machine type.
These machine types are only available in select zones.
Note: M3 machine types do not offer sustained use discounts.
Machine type | Virtual CPUs | Memory | Price (USD) | 1 year commitment price (USD) | 3 year commitment price (USD) |
---|---|---|---|---|---|
m3-ultramem-32 | 32 | 976 GiB | $6.0912 / 1 hour | $3.60512 / 1 hour | $1.82768 / 1 hour |
m3-ultramem-64 | 64 | 1952 GiB | $12.1824 / 1 hour | $7.21024 / 1 hour | $3.65536 / 1 hour |
m3-ultramem-128 | 128 | 3904 GiB | $24.3648 / 1 hour | $14.42048 / 1 hour | $7.31072 / 1 hour |
m3-megamem-64 | 64 | 976 GiB | $7.2048 / 1 hour | $4.26272 / 1 hour | $2.16208 / 1 hour |
m3-megamem-128 | 128 | 1952 GiB | $14.4096 / 1 hour | $8.52544 / 1 hour | $4.32416 / 1 hour |
Committed Use Discounts apply to memory-optimized machine types only if you buy the commitment type specifically for M3 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 provide discounts of 60-91% off of the corresponding on-demand price for most machine types and GPUs. Spot prices also provide smaller discounts for local SSDs and A3 machine types. For more information, see the Spot VMs documentation.
M2 machine types
The following table shows the calculated cost for M2 machine types. To use these machine types, you must request quota using one of the following options:
These machine types are only available in select zones.
Machine type | Virtual CPUs | Memory | Evaluative price (USD) | 1 year commitment price (USD) | 3 year commitment price (USD) |
---|---|---|---|---|---|
m2-ultramem-208 | 208 | 5888 GiB | $42.111936 / 1 hour | $26.900896 / 1 hour | $16.026976 / 1 hour |
m2-ultramem-416 | 416 | 11776 GiB | $84.223872 / 1 hour | $53.801792 / 1 hour | $32.053952 / 1 hour |
m2-megamem-416 | 416 | 5888 GiB | $50.291328 / 1 hour | $32.116288 / 1 hour | $19.141568 / 1 hour |
m2-hypermem-416 | 416 | 8832 GiB | $67.2576 / 1 hour | $42.95904 / 1 hour | $25.59776 / 1 hour |
Spot prices are dynamic and can change up to once every 30 days, but provide discounts of 60-91% off of the corresponding on-demand price for most machine types and GPUs. Spot prices also provide smaller discounts for local SSDs and A3 machine types. For more information, see the Spot VMs documentation.
M1 machine types
m1-ultramem and m1-megamem machine types have greater than 14 GiB of memory per vCPU. The following describes the pricing per vCPU and GiB of memory of these machine types.
Item | On-demand price (USD) | Spot price* (USD) | 1 year commitment price (USD) | 3 year commitment price (USD) |
---|---|---|---|---|
Memory-optimized vCPUs | $0.0348 / 1 hour | $0.0073 / 1 hour | $0.02055 / 1 hour | $0.01045 / 1 hour |
Memory-optimized Memory | $0.0051 / 1 gibibyte hour | $0.001074 / 1 gibibyte hour | $0.00302 / 1 gibibyte hour | $0.00153 / 1 gibibyte hour |
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 provide discounts of 60-91% off of the corresponding on-demand price for most machine types and GPUs. Spot prices also provide smaller discounts for local SSDs and A3 machine types. For more information, see the Spot VMs documentation.
The following table shows the calculated cost for m1-megamem and m1-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.
These machine types are only available in select zones.
Machine type | Virtual CPUs | Memory | Price (USD) | 1 year commitment price (USD) | 3 year commitment price (USD) |
---|---|---|---|---|---|
m1-ultramem-40 | 40 | 961 GiB | $6.2931 / 1 hour | $3.72422 / 1 hour | $1.88833 / 1 hour |
m1-ultramem-80 | 80 | 1922 GiB | $12.5862 / 1 hour | $7.44844 / 1 hour | $3.77666 / 1 hour |
m1-ultramem-160 | 160 | 3844 GiB | $25.1724 / 1 hour | $14.89688 / 1 hour | $7.55332 / 1 hour |
m1-megamem-96 | 96 | 1433.60 GiB | $10.65216 / 1 hour | $6.302272 / 1 hour | $3.196608 / 1 hour |
Committed Use Discounts apply to memory-optimized machine types only if you buy the commitment type specifically 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.
Spot prices are dynamic and can change up to once every 30 days, but provide discounts of 60-91% off of the corresponding on-demand price for most machine types and GPUs. Spot prices also provide smaller discounts for local SSDs and A3 machine types. For more information, see the Spot VMs documentation.
The storage-optimized machine family is suitable for workloads that are low in core usage and high in storage density. For example, the Z3 machine series is useful for scale-out analytics workloads, flash-optimized databases, and other database workloads.
Z3 machine types
Z3 VMs are powered by the 4th generation Intel Xeon Scalable processors (code-named Sapphire Rapids), DDR5 memory, Google's custom Intel Infrastructure Processing Engine (IPU), and the latest generation of Local SSD. The following table describes the pricing per vCPU, GB of memory, and GiB of Local SSD for Z3 machine types.
Item | On-demand price (USD) | 1-year resource-based commitment price (USD) | 3-year resource-based commitment price (USD) | 1-year flexible CUD consumption rate (USD) | 3-year flexible CUD consumption rate (USD) |
---|---|---|---|---|---|
Storage-optimized vCPUs | $0.0496531 / 1 hour | $0.0312815 / 1 hour | $0.0223439 / 1 hour | $0.03575023 / 1 hour | $0.02681267 / 1 hour |
Storage-optimized Memory | $0.0066553 / 1 gibibyte hour | $0.0041928 / 1 gibibyte hour | $0.0029949 / 1 gibibyte hour | $0.00479182 / 1 hour | $0.00359386 / 1 hour |
Storage-optimized Local SSD | $0.00010959 / 1 gibibyte hour | $0.00006904 / 1 gibibyte hour | $0.00004932 / 1 gibibyte hour | N/A | N/A |
The following table shows the calculated cost for z3-highmem-88 and z3-highmem-176 machine types, which are the two Z3 predefined machine types. The vCPUs, memory, and Local SSD storage from each of these machine types are billed by their individual storage-optimized vCPU, memory, and Local SSD disk prices, but these tables provide the total cost that you can expect using a specific machine type.
Machine type | Cores | Memory | On Demand List Price | 1yr CUD List Price | 3yr CUD List Price |
---|---|---|---|---|---|
z3-highmem-88 | 88 | 704 GiB | $9.054804 / 1 hour | $5.7045032 / 1 hour | $4.0746728 / 1 hour |
z3-highmem-176 | 176 | 1408 GiB | $18.109608 / 1 hour | $11.4090064 / 1 hour | $8.1493456 / 1 hour |
Accelerator-optimized VMs are optimized for massively parallelized CUDA compute workloads, such as machine learning (ML) and high performance computing (HPC). The accelerator-optimized machine family is available in A3 High machine types, A2 Standard and Ultra machine types, and the G2 machine type.
A3 VMs are preconfigured in one shape with eight of NVIDIA H100 GPUs, A2 VMs are preconfigured with a set number of NVIDIA A100 GPUs, and G2 VMs come with NVIDIA L4 GPUs.
The accelerator-optimized machine types are billed for their attached GPUs, predefined vCPU, memory, and bundled Local SSD storage (if applicable).
The total cost of running each accelerator-optimized machine type is shown in the following tables. For VMs that have custom memory options available, the default memory value is used in the calculation.
All accelerator-optimized machine types are eligible for resource-based committed use discounts. These machine types are not eligible for sustained use discounts or flexible committed use discounts.
A3 High machine types
The following table shows the total calculated cost that you can expect for predefined A3 High machine types. This total cost includes the cost for the GPUs, vCPU, memory, and Local SSD storage.
Machine type | GPUs | vCPUs | Memory | Local SSD | On-demand price (USD) | 1 year commitment price (USD) | 3 year commitment price (USD) |
---|---|---|---|---|---|---|---|
a3-highgpu-1g | 1 | 26 | 234 GiB | 750 GiB | $11.06125002 / 1 hour | $7.67295928 / 1 hour | $4.8580479 / 1 hour |
a3-highgpu-2g | 2 | 52 | 468 GiB | 1500 GiB | $22.12250003 / 1 hour | $15.34591856 / 1 hour | $9.7160958 / 1 hour |
a3-highgpu-4g | 4 | 104 | 936 GiB | 3000 GiB | $44.24500006 / 1 hour | $30.69183712 / 1 hour | $19.4321916 / 1 hour |
a3-highgpu-8g | 8 | 208 | 1872 GiB | 6000 GiB | $88.49000012 / 1 hour | $61.38367423 / 1 hour | $38.8643832 / 1 hour |
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 provide discounts of 60-91% off of the corresponding on-demand price for most machine types and GPUs. Spot prices also provide smaller discounts for local SSDs and A3 machine types. For more information, see the Spot VMs documentation.
A2 Ultra machine types (total cost)
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 storage.
Machine type | GPUs | vCPUs | Memory | Local SSD | On-demand price (USD) |
---|---|---|---|---|---|
a2-ultragpu-1g | 1 | 12 | 170 GiB | 375 GiB | $5.06879789 / 1 hour |
a2-ultragpu-2g | 2 | 24 | 340 GiB | 750 GiB | $10.13759578 / 1 hour |
a2-ultragpu-4g | 4 | 48 | 680 GiB | 1500 GiB | $20.27519156 / 1 hour |
a2-ultragpu-8g | 8 | 96 | 1360 GiB | 3000 GiB | $40.55038312 / 1 hour |
**For committed use discounts pricing on the A2 Ultra machine series, connect with your sales account team.
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 provide discounts of 60-91% off of the corresponding on-demand price for most machine types and GPUs. Spot prices also provide smaller discounts for local SSDs and A3 machine types. For more information, see the Spot VMs documentation.
A2 Standard machine types (total cost)
The following table shows the total calculated cost that you can expect for these predefined A2 machine types. This total cost includes the cost for the GPUs, vCPU, and memory.
Machine type | GPUs | vCPUs | Memory | On-demand price (USD) | 1 year commitment price (USD) | 3 year commitment price (USD) |
---|---|---|---|---|---|---|
a2-highgpu-1g | 1 | 12 | 85 GiB | $3.673385 / 1 hour | $2.31423255 / 1 hour | $1.28568475 / 1 hour |
a2-highgpu-2g | 2 | 24 | 170 GiB | $7.34677 / 1 hour | $4.6284651 / 1 hour | $2.5713695 / 1 hour |
a2-highgpu-4g | 4 | 48 | 340 GiB | $14.69354 / 1 hour | $9.2569302 / 1 hour | $5.142739 / 1 hour |
a2-highgpu-8g | 8 | 96 | 680 GiB | $29.38708 / 1 hour | $18.5138604 / 1 hour | $10.285478 / 1 hour |
a2-megagpu-16g | 16 | 96 | 1360 GiB | $55.739504 / 1 hour | $35.11588752 / 1 hour | $19.5088264 / 1 hour |
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 provide discounts of 60-91% off of the corresponding on-demand price for most machine types and GPUs. Spot prices also provide smaller discounts for local SSDs and A3 machine types. For more information, see the Spot VMs documentation.
G2 machine types (total cost)
The following table shows the total calculated cost that you can expect for these predefined G2 machine types. This total cost includes the cost for the GPUs, vCPU, and default memory.
The on-demand prices for custom machine types include a 5% premium over the on-demand prices for standard machine types. If you are specifying custom memory, use the Google Cloud Pricing Calculator to calculate the total cost.
Machine type | GPUs | vCPUs | Memory | On-demand price (USD) | 1 year commitment price (USD) | 3 year commitment price (USD) |
---|---|---|---|---|---|---|
g2-standard-4 | 1 | 4 | 16 GiB | $0.70683228 / 1 hour | $0.44530434 / 1 hour | $0.31807452 / 1 hour |
g2-standard-8 | 1 | 8 | 32 GiB | $0.85362431 / 1 hour | $0.53778332 / 1 hour | $0.38413094 / 1 hour |
g2-standard-12 | 1 | 12 | 48 GiB | $1.00041635 / 1 hour | $0.6302623 / 1 hour | $0.45018736 / 1 hour |
g2-standard-16 | 1 | 16 | 64 GiB | $1.14720838 / 1 hour | $0.72274129 / 1 hour | $0.51624377 / 1 hour |
g2-standard-24 | 2 | 24 | 96 GiB | $2.0008327 / 1 hour | $1.26052461 / 1 hour | $0.90037471 / 1 hour |
g2-standard-32 | 1 | 32 | 128 GiB | $1.73437653 / 1 hour | $1.09265722 / 1 hour | $0.78046944 / 1 hour |
g2-standard-48 | 4 | 48 | 192 GiB | $4.00166539 / 1 hour | $2.52104921 / 1 hour | $1.80074942 / 1 hour |
g2-standard-96 | 8 | 96 | 384 GiB | $8.00333078 / 1 hour | $5.04209842 / 1 hour | $3.60149885 / 1 hour |
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 provide discounts of 60-91% off of the corresponding on-demand price for most machine types and GPUs. Spot prices also provide smaller discounts for local SSDs and A3 machine types. For more information, see the Spot VMs documentation.
Unlike predefined machine types and custom 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.
Shared-core machine types offer bursting capabilities that allow instances to use additional physical CPU for short periods of time. Bursting doesn't incur any additional charges. You are charged the listed on-demand price for your VMs.
E2 shared-core machine types
When you use E2 shared-core machine types, your VM runs two vCPUs simultaneously shared on one physical core for a specific fraction of time in the following ways, depending on the machine type:
Each vCPU can burst up to 100% of CPU time, for short periods, before returning to its prescribed CPU time limitation.
E2 shared-core VMs are eligible for discounts from resource-based CUDs and spot VMs. These VMs are not eligible for flexible CUDs and SUDs.
When you purchase a commitment for vCPUs, you need to commit to a minimum of 1 vCPU. e2-micro and e2-small machine types effectively consume less than 1 vCPU. As a result, when you purchase a commitment for either of these machine types, ensure that your commitment meets the following minimum VM requirements:
For more information, see E2 shared core machine types and CPU bursting.
Machine type | vCPUs | Memory | Price (USD) | 1 year commitment (USD) | 3 year commitment (USD) |
---|---|---|---|---|---|
e2-micro | 2 | 1 GiB | $0.00837643 / 1 hour | $0.00527715 / 1 hour | $0.00376939 / 1 hour |
e2-small | 2 | 2 GiB | $0.01675286 / 1 hour | $0.0105543 / 1 hour | $0.00753879 / 1 hour |
e2-medium | 2 | 4 GiB | $0.03350571 / 1 hour | $0.0211086 / 1 hour | $0.01507757 / 1 hour |
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 provide discounts of 60-91% off of the corresponding on-demand price for most machine types and GPUs. Spot prices also provide smaller discounts for local SSDs and A3 machine types. For more information, see the Spot VMs documentation.
N1 shared-core machine types
N1 shared-core VMs are available as f1-micro and g1-small machine types. VMs of both machine types run a single vCPU for a specific fraction of time in the following manner:
Each vCPU can burst up to 100% of CPU time, for short periods, before returning to its prescribed CPU time limitations.
Discounts for N1 shared-core machine types apply in the following way:
Learn more about N1 shared-core machine types.
Machine type | Virtual CPUs | Memory | Price (USD) |
---|---|---|---|
f1-micro | 0.2 | 0.60 GiB | $0.0076 / 1 hour |
g1-small | 0.5 | 1.70 GiB | $0.0257 / 1 hour |
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 provide discounts of 60-91% off of the corresponding on-demand price for most machine types and GPUs. Spot prices also provide smaller discounts for local SSDs and A3 machine types. For more information, see the Spot VMs documentation.
You can configure your N2, N2D, C2, C2D, C3, C3D, C4, C4A, Z3 and M3 machine types to use per VM Tier_1 networking performance. The following machine series require a minimum number of vCPUs to use this feature:
Pricing is also dependent upon the regions and zones where the VM is located.
Item | Price (USD) |
---|---|
50 Gbps (N2, N2D, C2, C2D, M3) | $0.44895 / 1 hour |
75 Gbps (N2 only) | $0.673425 / 1 hour |
100 Gbps (N2, N2D, C2, C2D, M3) | $0.8979 / 1 hour |
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. For more information about Spot VM pricing, see the Spot VMs documentation.
C3
The cost of using Tier_1 networking with C3 is described below.
Item | Price (USD) |
---|---|
50 Gbps | $0.18 / 1 hour |
100 Gbps | $0.38 / 1 hour |
200 Gbps | $1 / 1 hour |
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. For more information about Spot VM pricing, see the Spot VMs documentation.
C3D
The cost of using Tier_1 networking with C3D is described in the following table.
Item | Price (USD) |
---|---|
50 Gbps | $0.3 / 1 hour |
75 Gbps | $0.35 / 1 hour |
100 Gbps | $0.4 / 1 hour |
150 Gbps | $0.5 / 1 hour |
200 Gbps | $1 / 1 hour |
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. For more information about Spot VM pricing, see the Spot VMs documentation.
C4
The cost of using Tier_1 networking with C4 is described in the following table.
Item | Price (USD) |
---|---|
50 Gbps | $0.16 / 1 hour |
100 Gbps | $0.33 / 1 hour |
200 Gbps | $1 / 1 hour |
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. For more information about Spot VM pricing, see the Spot VMs documentation.
C4A
The cost of using Tier_1 networking with C4A is described in the following table.
Item | Price (USD) |
---|---|
50 Gbps (32vCPU) | $0.27 / 1 hour |
50 Gbps (48vCPU) | $0.16 / 1 hour |
75 Gbps | $0.3 / 1 hour |
100 Gbps | $0.5 / 1 hour |
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. For more information about Spot VM pricing, see the Spot VMs documentation.
Z3
The cost of using Tier_1 networking with Z3 is described in the following table.
Item | Price (USD) |
---|---|
50 Gbps | $0.18 / 1 hour |
100 Gbps | $0.38 / 1 hour |
200 Gbps | $1 / 1 hour |
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. For more information about Spot VM pricing, see the Spot VMs documentation.
Starting February 10, 2020, there is no cost to running simulated maintenance events.
Note: Normal 1-minute-minimum usage charges for machine types and premium images still apply to instances that you stop or Spot VMs (or preemptible VMs) during a simulated maintenance event. See the machine type billing model and premium image pricing for details.
Prior to this date, the following charges apply:
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:
Note: Suspended Instance and Local SSD state are stored in Persistent Disk volumes and as such are subject to Persistent Disk pricing. All preserved state charges in this section are prorated based on a granularity of seconds. For example, if you suspended 1 GB of space for half the month, then you are charged for only half of the month.
Type | Price (USD) |
---|---|
Instance memory and device state | $0.00023288 / 1 gibibyte hour |