g5.2xlarge

GPU instance · g5 series · AMD EPYC 7R32

vCPU
8
Memory
32 GiB
Linux / hour
$1.21
Per month
$885
Per vCPU-hour
$0.1515
Per GiB-hour
$0.0379

Analysis

The g5.2xlarge is a gpu instance instance in the g5 series with 8 vCPUs and 32 GiB of memory on AMD EPYC 7R32 (up to 2.8 GHz), which makes it balanced at 4 GiB of memory per vCPU.

Within the same generation and size, the g5g.2xlarge on AWS Graviton2 costs $0.5560/hour, 54% less ($479 a month), though switching means rebuilding software for arm64.

Running it in N. Virginia instead of São Paulo saves $619 a month per instance: $1.21/hour against $2.06/hour, a 70% spread. It is not offered in Singapore, so plan around that if you need a presence there.

The newer g6.2xlarge on AMD EPYC 7R13 is 19% cheaper at $0.9776/hour, which makes the g5.2xlarge hard to justify for new deployments.

It carries 1 GPU with 24 GB of GPU memory, so most of the price is the accelerator rather than the CPUs. It has local instance storage (1 x 450 GB NVMe SSD), which is fast but lost when the instance stops. Network: Up to 10 Gigabit.

It is size 2 of 8 in the g5 series. Stepping up to the g5.4xlarge gives 16 vCPUs and 64 GiB for $301 more a month. Dropping to the g5.xlarge saves $150 a month. Unit price is not flat across the series ($0.0640 to $0.2515 per vCPU-hour), so the size changes the rate you pay.

Price by region (USD per hour)

RegionLinuxWindows1-yr RI3-yr RI
N. Virginia us-east-1$1.21$1.58$0.7636$0.5236
Ohio us-east-2$1.21$1.58$0.7636$0.5236
Oregon us-west-2$1.21$1.58$0.7636$0.5236
Canada Central ca-central-1$1.35$1.71$0.8478$0.5814
São Paulo sa-east-1$2.06$2.43$1.30$0.8900
Ireland eu-west-1$1.35$1.72$0.8524$0.5845
London eu-west-2$1.54$1.91$0.9692$0.6646
Frankfurt eu-central-1$1.52$1.88$0.9548$0.6547
Mumbai ap-south-1$1.46$1.82$0.9169$0.6287
Sydney ap-southeast-2$1.58$1.94$0.9928$0.6808
Tokyo ap-northeast-1$1.76$2.13$1.11$0.7593

Shared tenancy, no pre-installed software. Reserved rates are standard, no upfront, per hour. Prices as of 2026-11-04.

Same shape, other types

TypevCPUMemory$/hourvs g5.2xlarge
g6f.2xlarge
AMD EPYC 7R13 Processor
832 GiB$0.4750-61%
g4ad.2xlarge
AMD EPYC 7R32
832 GiB$0.5412-55%
g4dn.2xlarge
Intel Xeon Family
832 GiB$0.7520-38%
g6.2xlarge
AMD EPYC 7R13 Processor
832 GiB$0.9776-19%
trn1.2xlarge
Intel Xeon Scalable (Icelake)
832 GiB$1.34+11%
g7.2xlarge
Intel Xeon Scalable (Granite Rapids)
832 GiB$2.52+108%

Cost calculator

Specs

vCPU8
Memory32 GiB (4.0 per vCPU)
ProcessorAMD EPYC 7R32
Clock2.8 GHz
GPUs1 · 24 GB
Storage1 x 450 GB NVMe SSD
NetworkUp to 10 Gigabit

g5 sizes

g5.xlarge4 vCPU$1.01
g5.2xlarge8 vCPU$1.21
g5.4xlarge16 vCPU$1.62
g5.8xlarge32 vCPU$2.45
g5.12xlarge48 vCPU$5.67
g5.16xlarge64 vCPU$4.10
g5.24xlarge96 vCPU$8.14
g5.48xlarge192 vCPU$16.29