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.
| Size | vCPU | Memory | $/hour | $/month | Regions |
|---|---|---|---|---|---|
| g5.xlarge | 4 | 16 GiB | $1.01 | $734 | 11 |
| g5.2xlarge | 8 | 32 GiB | $1.21 | $885 | 11 |
| g5.4xlarge | 16 | 64 GiB | $1.62 | $1,186 | 11 |
| g5.8xlarge | 32 | 128 GiB | $2.45 | $1,787 | 11 |
| g5.12xlarge | 48 | 192 GiB | $5.67 | $4,141 | 11 |
| g5.16xlarge | 64 | 256 GiB | $4.10 | $2,990 | 11 |
| g5.24xlarge | 96 | 384 GiB | $8.14 | $5,945 | 11 |
| g5.48xlarge | 192 | 768 GiB | $16.29 | $11,890 | 11 |