Sustained use discounts


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.

Limitations

Sustained use discounts have the following limitations:

Eligible resources and discount percentages

The following resources are eligible to receive sustained use discounts:

  • The vCPUs and memory for general-purpose N1, N2, and N2D custom and predefined machine types
  • The vCPUs and memory for compute-optimized C2 machine types
  • The vCPUs and memory for memory-optimized M1 and M2 machine types
  • The vCPUs and memory for sole-tenant nodes
  • The premium cost for sole-tenant nodes, even if the vCPUs and memory in those nodes are covered by CUDs
  • All GPU devices with the exception of NVIDIA H100, A100, and L4 GPU types.

Compute Engine offers a maximum monthly SUD percentage of either 20% or 30% depending on the resource and machine types. The following table shows the list of resources that are eligible for each SUD percentage:

Maximum of 20% monthly SUDs Maximum of 30% monthly SUDs
  • All general-purpose N2 and N2D predefined and custom machine types
  • All general-purpose N2 and N2D sole-tenant node types
  • All compute-optimized C2 machine types
  • All compute-optimized C2 sole-tenant node types
  • All general-purpose N1 predefined and custom machine types
  • All general-purpose N1 sole-tenant node types
  • All memory-optimized M1 and M2 machine types
  • All memory-optimized M1 and M2 sole-tenant node types
  • f1-micro and g1-small shared-core machine types
  • All GPU devices with the exception of NVIDIA H100, A100, and L4 GPU types

How sustained use discounts work

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.

Sustained use discount credits

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.

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.

Sustained resource usage time

To calculates SUDs for your eligible resources, Compute Engine first calculates the total sustained resource usage time during a given month, for all those resources. You then receive SUDs credits for each of those individual resources, based on their usage and maximum monthly SUD percentage.

You don't have to run your VMs continuously throughout the month for them to qualify for sustained resource usage time. Even if you stop your VMs for certain time periods during the month, Compute Engine aggregates all the individual usage times for each resource during that month. For every resource, Compute Engine also aggregates the individual usage times for all usage from that machine family and region. See Example scenario for sustained use discounts calculation for a detailed example.

Incremental usage levels

You receive applicable SUDs on incremental use of your resources. During a month, the discount percentage that you receive for your resources increases after you reach certain usage thresholds. These usage thresholds are set at 25%, 50%, 75%, and 100% of the month. If you use a resource for the full duration of the month, then the incremental discounts add up on that resource and you end up effectively receiving the maximum monthly SUD percentage that is available for that resource.

For example, consider a resource that has a maximum monthly SUD of 30%. If you use the resource for 50% of the month, you get an effective SUD of 10%. If you use it for 75% of the month, you get an effective SUD of 20%. If you use it for 100% of the month, you get an effective SUD of 30%. You can also use the Google Cloud Pricing Calculator to estimate the SUD for any arbitrary workload. This same process also applies to the resources for custom machine types.

Your SUDs reset at the beginning of each month. To take advantage of the maximum available SUD for your resources, create your VM instances on the first day of the month and use them for the full duration of that month. If you don't use your resources for the full month, Compute Engine automatically gives you the best price by calculating the discount based on your usage levels.

Sustained use discounts per usage level for maximum 30% monthly discount

The following table shows the SUDs breakdown per usage level for the resources that receive a maximum monthly discount of 30%. Each row provides information about the resource cost and discount percentage that you receive during that usage level. To calculate your monthly SUDs, Compute Engine aggregates your discounts across the individual usage levels. In this example, the table shows the data for an N1 machine type resource that has an on-demand price of US$0.0475 per hour.

Sustained resource usage level Cost with no discount (US$ per hour) Discounted cost for the usage level (US$ per hour)* Effective cost at the usage threshold (US$ per hour) Overall SUD at the usage threshold
0% to 25% of the month 0.0475 0.0475 (100% of the on-demand price) 0.0475 0%
25% to 50% of the month 0.0475 0.038 (80% of the on-demand price) 0.04275 (average of the first two usage levels) 10%
50% to 75% of the month 0.0475 0.0285 (60% of the on-demand price) 0.038 (average of the first three usage levels) 20%
75% to 100% of the month 0.0475 0.019 (40% of the on-demand price) 0.03325 (average of all the usage levels) 30%
* This cost applies only to the specified usage level. Upon reaching each threshold, the cost for the next usage level is applicable.

Sustained use discounts per usage level for maximum 20% monthly discount

The following table shows the SUDs breakdown per usage level for the resources that receive a maximum monthly discount of 20%. Each row provides information about the resource cost and discount percentage that you receive during that usage level. To calculate your monthly SUDs, Compute Engine aggregates your discounts across the individual usage levels. In this example, the table shows the data for a C2 machine type resource that has an on-demand price of US$0.2088 per hour.

Sustained resource usage level Cost with no discount (US$ per hour) Discounted cost for the usage level (US$ per hour)* Effective cost at the usage threshold (US$ per hour) Overall SUD at the usage threshold
0% to 25% of the month 0.2088 0.2088 (100% of the on-demand price) 0.2088 0%
25% to 50% of the month 0.2088 0.1811 (86.78% of the on-demand price) 0.19495 (average of the first two usage levels) 6.6%
50% to 75% of the month 0.2088 0.1530 (73.3% of the on-demand price) 0.180967 (average of the first three usage levels) 13.3%
75% to 100% of the month 0.2088 0.1252 (60% of the on-demand price) 0.167025 (average of all usage levels) 20%
* This cost applies only to the specified usage level. Upon reaching each threshold, the cost for the next usage level is applicable.

The following graph shows an example scenario where your effective sustained use discount increases with use, up to a maximum of 30% by the end of the month:

Click to enlarge

Example scenario for sustained use discounts calculation

Consider a scenario where you have two VMs or sole-tenant nodes in the same region that have different machine types and run at different times of the month. Compute Engine breaks down the number of vCPUs and amount of memory used across all VMs that use predefined machine types and combines the resources to qualify for the largest sustained usage discounts possible.

Assume you run the following two VMs in the us-central1 region during a month:

  • For the first half of the month, you run an n1-standard-4 VM with 4 vCPUs and 15 GB of memory
  • For the second half of the month, you run a larger n1-standard-16 VM with 16 vCPUs and 60 GB of memory

In this scenario, Compute Engine reorganizes these machine types into individual vCPU and memory resources and combines their usage to create the following resources:

  • 4 vCPUs for a full month
  • 12 vCPUs for half of the month
  • 15 GB of memory for a full month
  • 45 GB of memory for half of the month

For example, you can see how the sustained use discounts apply to the vCPUs for this scenario:

How vCPUs from VMs are combined using resource-based sustained use discounts for predefined machine types.

The monthly bill for these resources would be calculated using the following formulas:

(4 vCPUs x $0.031611 x 730 hours) x 0.7 for the 30% full-month discount = $64.612884

(12 vCPUs x $0.031611 x 365 hours) x 0.9 for the 10% half-month discount = $124.610562

(15 GB x $0.004237 x 730 hours) x 0.7 for the 30% full-month discount = $32.476605

(45 GB x $0.004237 x 365 hours) x 0.9 for the 10% half-month discount = $62.6334525

The total monthly cost of the combined resources is $284.3335035.

Sustained use discounts for GPUs

For GPU devices, Compute Engine calculates sustained use discounts based on the number of a GPU model that you have attached to running VMs during the month. You can receive sustained use discounts only on GPUs of the same model. Sustained use discounts for GPUs are calculated separately from VM machine type, vCPU, and memory discounts.

For example, consider a scenario where you have two VMs with different numbers of GPUs that run at different non-overlapping times of the month. Compute Engine breaks down the number of GPUs used across all VMs and combines them to qualify for the biggest sustained usage discounts possible.

If you run one VM with 1 GPU for the first half of the month, and then run another VM with 4 GPUs for the second half of the month, Compute Engine calculates discounts for these GPUs as if you had used 1 GPU for a whole month and 3 remaining GPUs for half of the month. Compute Engine applies the following sustained use discounts:

  • A 30% discount off the cost of using 1 GPU for a full month
  • A 10% discount off the cost of using the remaining 3 GPUs because you used each resource for half of the month

View sustained use discounts

Sustained use discounts automatically appear on your bill at the end of the billing cycle. Sustained use discounts are a separate line item combining all discounts of all machine types for all projects in your Cloud Billing account.

You can view the total sustained use discounts that you receive for each project and the cost of your VMs in the Google Cloud console billing history.

Sustained use discounts and Always Free usage quotas

Google Cloud offers Always Free usage quotas that provide free use of one e2-micro VM equivalent to the number of total hours within the current month. This is enough to run one VM without interruption for the entire month. You cannot receive sustained use discounts for use of the free tier VM.

What's next