Compute Pricing Comparison

Side-by-side pricing for general-purpose virtual machines across AWS, Google Cloud, and Azure. All prices are hourly on-demand rates for US East regions.

Instance Family Types

CategoryAWSGCPAzureUse Case
General Purposem7i, m7g, m6in2, n2d, e2Dv5, Dasv5, Bsv2Web servers, app servers, small databases
Compute Optimizedc7i, c7g, c6ic2, c2d, h3Fsv2, FXBatch processing, HPC, game servers
Memory Optimizedr7i, r7g, x2idnm2, m3, n2-highmemEsv5, Easv5, Mv2In-memory databases, real-time analytics
GPU / Acceleratedp5, p4d, g5a2, a3, g2NCasT4v3, NDv5ML training/inference, rendering

Equivalent Instance Pricing (On-Demand, US East)

General-purpose instances with comparable vCPU and memory configurations. Hourly rates.

vCPUsRAM (GB)AWS (m7i)$/hrGCP (n2)$/hrAzure (Dv5)$/hr
28m7i.large$0.1008n2-standard-2$0.0971D2_v5$0.0960
416m7i.xlarge$0.2016n2-standard-4$0.1942D4_v5$0.1920
832m7i.2xlarge$0.4032n2-standard-8$0.3885D8_v5$0.3840
1664m7i.4xlarge$0.8064n2-standard-16$0.7769D16_v5$0.7680
32128m7i.8xlarge$1.6128n2-standard-32$1.5539D32_v5$1.5360
64256m7i.16xlarge$3.2256n2-standard-64$3.1078D64_v5$3.0720

Pricing as of early 2026. Verify current rates on provider pricing pages.

Pricing Models Compared

ModelAWSGCPAzureTypical Discount
On-DemandPer-second billing (60s min)Per-second billing (60s min)Per-second billingBaseline (0%)
Spot / PreemptibleSpot Instances (variable pricing)Spot VMs (fixed 60-91% discount)Spot VMs (variable pricing)60-90%
Reserved / CommittedReserved Instances, Savings PlansCommitted Use Discounts (CUDs)Reserved VM Instances, Savings Plans20-72%
Sustained UseNot availableAutomatic (N1, N2 families)Not availableUp to 30% (GCP only)

Key Considerations

GCP Sustained Use Discounts

GCP automatically applies discounts when instances run more than 25% of a month. N1/N2 instances receive up to 30% off with no commitment required. This makes GCP on-demand pricing effectively lower for always-on workloads.

ARM-Based Instances

AWS Graviton (m7g), GCP Tau T2A, and Azure Cobalt offer ARM-based VMs at 20-40% lower cost than x86 equivalents. Workloads that compile for ARM (containers, interpreted languages) benefit significantly.

Burstable Instances

AWS T3/T4g, GCP e2-micro/small, and Azure B-series provide baseline CPU with burst capability. Cost-effective for variable workloads but can incur charges if burst credits are exhausted.

Egress Costs Matter

Compute pricing is only part of the total cost. Data transfer out (egress) ranges from $0.05-$0.12/GB across providers. For data-heavy workloads, egress can exceed compute costs.