Shortcuts: Alt+H home · Alt+/ search · Alt+G top
Saved in this browser only.
Pick a machine type and region to see on-demand, 1- and 3-year committed use and Spot prices side by side, for one VM or a whole pool. Or start from an example:
The Google Cloud Billing Catalog API: USD list prices for every machine type and region, refreshed every Monday, the same data as the Google Cloud VM Pricing by Machine Type pages.
On-demand is the hourly rate × hours per month × instances, less Google's sustained use discount where it applies. A commitment is billed for every hour of its term whether the VM runs or not, so it is always counted at 730 hours a month. Per year is per month × 12.
Only when the VM runs more hours than the break-even point shown with each result. A 3-year term usually breaks even at well under half the month; a 1-year term needs closer to two thirds. For VMs that are stopped at night, on-demand is often cheaper.
Persistent disks, network egress, OS licences, flexible committed use discounts, taxes and negotiated discounts.
The on-demand hourly rate times the hours it runs, times the number of VMs, less the sustained use discount Google applies automatically to N1, M1, M2, N2, N2D and C2 machines that run more than a quarter of the month. An always-on VM runs about 730 hours a month.
A resource-based commitment is billed for every hour of its 1- or 3-year term, even when the VM is stopped. It pays off above the break-even hours shown with the result. For series with a sustained use discount, the gap to on-demand is smaller, so the break-even is higher.
Each quarter of the month is billed at a lower share of the base rate once a VM has run for that long: for N1, M1 and M2 up to 30% off for a full month, for N2, N2D and C2 up to 20%. Newer series such as E2, N4, C3, C4 and C4A have no sustained use discount.
Spot VMs are much cheaper but Google can stop them at any time, and their price can change up to once a month. They fit batch jobs and fault-tolerant workloads, not servers that must stay up, so the comparison picks the lowest of on-demand and the commitments.