EC2 g5 instance prices

GPU instance · AMD EPYC 7R32

The g5 series is a gpu instance EC2 line running on AMD EPYC 7R32. It has 8 sizes, from the g5.xlarge with 4 vCPUs and 16 GiB to the g5.48xlarge with 192 vCPUs and 768 GiB, and it is balanced with a median of 4.0 GiB per vCPU.

In US East the Linux on-demand price runs from $1.01/hour to $16.29/hour, or $734 to $11,890 a month. The median price per vCPU-hour across the series is $0.0932.

Price per vCPU-hour is not flat across the series: the g5.16xlarge is the cheapest per vCPU at $0.0640 and the g5.xlarge the dearest at $0.2515, a 293% gap, so the size you choose changes your unit cost as well as your total. All sizes are sold in the same 11 of the 12 regions we track. Each size below links to a page with prices in every tracked region, reserved-instance savings, Windows pricing and cheaper alternatives of the same shape.

SizevCPUMemory$/hour$/monthRegions
g5.xlarge416 GiB$1.01$73411
g5.2xlarge832 GiB$1.21$88511
g5.4xlarge1664 GiB$1.62$1,18611
g5.8xlarge32128 GiB$2.45$1,78711
g5.12xlarge48192 GiB$5.67$4,14111
g5.16xlarge64256 GiB$4.10$2,99011
g5.24xlarge96384 GiB$8.14$5,94511
g5.48xlarge192768 GiB$16.29$11,89011