g5.xlarge
GPU instance · g5 series · AMD EPYC 7R32
- vCPU
- 4
- Memory
- 16 GiB
- Linux / hour
- $1.01
- Per month
- $734
- Per vCPU-hour
- $0.2515
- Per GiB-hour
- $0.0629
Analysis
The g5.xlarge is a gpu instance instance in the g5 series with 4 vCPUs and 16 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.xlarge on AWS Graviton2 costs $0.4200/hour, 58% less ($428 a month), though switching means rebuilding software for arm64.
Running it in N. Virginia instead of São Paulo saves $514 a month per instance: $1.01/hour against $1.71/hour, a 70% spread. It is not offered in Singapore, so plan around that if you need a presence there.
The newer g6.xlarge on AMD EPYC 7R13 is 20% cheaper at $0.8048/hour, which makes the g5.xlarge 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 250 GB NVMe SSD), which is fast but lost when the instance stops. Network: Up to 10 Gigabit.
Per vCPU it is one of the dearer gpu instance types: 80% of the 78 current types in the family cost less than its $0.2515 per vCPU-hour. The premium mostly pays for the accelerators. On demand it is $1.01/hour in US East (N. Virginia), or $734 for a 730-hour month.
Price by region (USD per hour)
| Region | Linux | Windows | 1-yr RI | 3-yr RI | |
|---|---|---|---|---|---|
| N. Virginia us-east-1 | $1.01 | $1.19 | $0.6338 | $0.4346 | |
| Ohio us-east-2 | $1.01 | $1.19 | $0.6338 | $0.4346 | |
| Oregon us-west-2 | $1.01 | $1.19 | $0.6338 | $0.4346 | |
| Canada Central ca-central-1 | $1.12 | $1.30 | $0.7037 | $0.4825 | |
| São Paulo sa-east-1 | $1.71 | $1.89 | $1.08 | $0.7387 | |
| Ireland eu-west-1 | $1.12 | $1.31 | $0.7075 | $0.4851 | |
| London eu-west-2 | $1.28 | $1.46 | $0.8045 | $0.5517 | |
| Frankfurt eu-central-1 | $1.26 | $1.44 | $0.7925 | $0.5435 | |
| Mumbai ap-south-1 | $1.21 | $1.39 | $0.7610 | $0.5219 | |
| Sydney ap-southeast-2 | $1.31 | $1.49 | $0.8240 | $0.5651 | |
| Tokyo ap-northeast-1 | $1.46 | $1.64 | $0.9192 | $0.6303 |
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.xlarge |
|---|---|---|---|---|
| g6f.xlarge AMD EPYC 7R13 Processor | 4 | 16 GiB | $0.2375 | -76% |
| g4ad.xlarge AMD EPYC 7R32 | 4 | 16 GiB | $0.3785 | -62% |
| g4dn.xlarge Intel Xeon Family | 4 | 16 GiB | $0.5260 | -48% |
| inf2.xlarge AMD EPYC 7R13 Processor | 4 | 16 GiB | $0.7582 | -25% |
| g6.xlarge AMD EPYC 7R13 Processor | 4 | 16 GiB | $0.8048 | -20% |
Cost calculator
Specs
| vCPU | 4 |
|---|---|
| Memory | 16 GiB (4.0 per vCPU) |
| Processor | AMD EPYC 7R32 |
| Clock | 2.8 GHz |
| GPUs | 1 · 24 GB |
| Storage | 1 x 250 GB NVMe SSD |
| Network | Up to 10 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 |