g5.4xlarge
GPU instance · g5 series · AMD EPYC 7R32
- vCPU
- 16
- Memory
- 64 GiB
- Linux / hour
- $1.62
- Per month
- $1,186
- Per vCPU-hour
- $0.1015
- Per GiB-hour
- $0.0254
Analysis
The g5.4xlarge is a gpu instance instance in the g5 series with 16 vCPUs and 64 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.4xlarge on AWS Graviton2 costs $0.8280/hour, 49% less ($581 a month), though switching means rebuilding software for arm64.
Running it in N. Virginia instead of São Paulo saves $830 a month per instance: $1.62/hour against $2.76/hour, a 70% spread. It is not offered in Singapore, so plan around that if you need a presence there.
The newer g6.4xlarge on AMD EPYC 7R13 is 19% cheaper at $1.32/hour, which makes the g5.4xlarge 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 600 GB NVMe SSD), which is fast but lost when the instance stops. Network: Up to 25 Gigabit.
It is size 3 of 8 in the g5 series. Stepping up to the g5.8xlarge gives 32 vCPUs and 128 GiB for $602 more a month. Dropping to the g5.2xlarge saves $301 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)
| Region | Linux | Windows | 1-yr RI | 3-yr RI | |
|---|---|---|---|---|---|
| N. Virginia us-east-1 | $1.62 | $2.36 | $1.02 | $0.7016 | |
| Ohio us-east-2 | $1.62 | $2.36 | $1.02 | $0.7016 | |
| Oregon us-west-2 | $1.62 | $2.36 | $1.02 | $0.7016 | |
| Canada Central ca-central-1 | $1.80 | $2.54 | $1.14 | $0.7790 | |
| São Paulo sa-east-1 | $2.76 | $3.50 | $1.74 | $1.19 | |
| Ireland eu-west-1 | $1.81 | $2.55 | $1.14 | $0.7832 | |
| London eu-west-2 | $2.06 | $2.80 | $1.30 | $0.8906 | |
| Frankfurt eu-central-1 | $2.03 | $2.77 | $1.28 | $0.8773 | |
| Mumbai ap-south-1 | $1.95 | $2.69 | $1.23 | $0.8424 | |
| Sydney ap-southeast-2 | $2.11 | $2.85 | $1.33 | $0.9122 | |
| Tokyo ap-northeast-1 | $2.36 | $3.09 | $1.48 | $1.02 |
Shared tenancy, no pre-installed software. Reserved rates are standard, no upfront, per hour. Prices as of 2026-11-04.
Same shape, other types
| Type | vCPU | Memory | $/hour | vs g5.4xlarge |
|---|---|---|---|---|
| g4ad.4xlarge AMD EPYC 7R32 | 16 | 64 GiB | $0.8670 | -47% |
| g6f.4xlarge AMD EPYC 7R13 Processor | 16 | 64 GiB | $0.9500 | -42% |
| g4dn.4xlarge Intel Xeon Family | 16 | 64 GiB | $1.20 | -26% |
| g6.4xlarge AMD EPYC 7R13 Processor | 16 | 64 GiB | $1.32 | -19% |
| g7.4xlarge Intel Xeon Scalable (Granite Rapids) | 16 | 64 GiB | $3.04 | +87% |
Cost calculator
Specs
| vCPU | 16 |
|---|---|
| Memory | 64 GiB (4.0 per vCPU) |
| Processor | AMD EPYC 7R32 |
| Clock | 2.8 GHz |
| GPUs | 1 · 24 GB |
| Storage | 1 x 600 GB NVMe SSD |
| Network | Up to 25 Gigabit |
g5 sizes
| g5.xlarge | 4 vCPU | $1.01 |
| g5.2xlarge | 8 vCPU | $1.21 |
| g5.4xlarge | 16 vCPU | $1.62 |
| g5.8xlarge | 32 vCPU | $2.45 |
| g5.12xlarge | 48 vCPU | $5.67 |
| g5.16xlarge | 64 vCPU | $4.10 |
| g5.24xlarge | 96 vCPU | $8.14 |
| g5.48xlarge | 192 vCPU | $16.29 |