g5.2xlargevsg5g.2xlarge
g5g.2xlarge is 54% cheaper than g5.2xlarge on demand in US East (N. Virginia), saving $478.88 a month. They use different processor architectures (x86_64 and arm64), so software built for one may need rebuilding to run on the other.
| At a glance | g5.2xlarge | g5g.2xlarge |
|---|---|---|
| On-demand | $1.212/hr | $0.556/hr54% less |
| Lowest rate | $0.8303/hrSpot, can be interrupted | $0.2064/hr75% lessSpot, can be interrupted |
| Size | 8 vCPUs, 32 GiB | 8 vCPUs, 16 GiB |
| Processor | AMD EPYC 7R32 | AWS Graviton2 Processor |
| Architecture | x86_64 | arm64 |
Prices in US East (N. Virginia)
“Off” is the discount against each type’s own on-demand price. Linux, USD per hour.
| Option | g5.2xlarge | g5g.2xlarge | g5g.2xlarge vs g5.2xlarge |
|---|---|---|---|
| On-demandPay by the hour | $1.212 | $0.556 | ▼ 54% |
| SpotCan be interrupted | 31% off$0.8303 | 63% off$0.2064 | ▼ 75% |
| 1-yr reservedNo upfront | 37% off$0.7636 | 37% off$0.3503 | ▼ 54% |
| 3-yr reservedNo upfront | 57% off$0.5236 | 57% off$0.2402 | ▼ 54% |
| 1-yr savings planHourly commitment | 21% off$0.9545 | 21% off$0.4379 | ▼ 54% |
| 3-yr savings planHourly commitment | 46% off$0.6545 | 46% off$0.3002 | ▼ 54% |
Key differences
The biggest lead each one has.
Where g5.2xlarge leads
Memory (GiB)32 vs 16
2× higherNetwork baseline5 Gbps vs 2.5 Gbps
2× higherGPU memory24 GB vs 16 GB
50% higherSustained clock3.3 GHz vs 2.5 GHz
32% higherWhere g5g.2xlarge leads
On-demand price$0.556 vs $1.212 per hour
54% cheaperEBS baseline IOPS12,000 vs 3,500
3.4× higherPhysical cores8 vs 4
2× higherSpecs
25 of 44 specs differ. Those are in bold.
| Compute8 of 10 differ | g5.2xlarge | g5g.2xlarge |
|---|---|---|
| vCPUs | 8 | 8 |
| Physical cores | 4 | 8 |
| Threads per core | 2 | 1 |
| Architecture | x86_64 | arm64 |
| Processor | AMD EPYC 7R32 | AWS Graviton2 Processor |
| CPU maker | AMD | AWS |
| Clock speed | 2.8 GHz | 2.5 GHz |
| Sustained clock | 3.3 GHz | 2.5 GHz |
| Processor features | AMD Turbo; AVX; AVX2 | – |
| Burstable | No | No |
| Memory1 of 1 differ | g5.2xlarge | g5g.2xlarge |
|---|---|---|
| Memory (GiB) | 32 | 16 |
| Accelerators2 of 3 differ | g5.2xlarge | g5g.2xlarge |
|---|---|---|
| GPUs | 1 | 1 |
| GPU | 1 × NVIDIA A10G | 1 × NVIDIA T4g |
| GPU memory | 24 GB | 16 GB |
| Networking1 of 8 differ | g5.2xlarge | g5g.2xlarge |
|---|---|---|
| Network | Up to 10 Gigabit | Up to 10 Gigabit |
| Network baseline | 5 Gbps | 2.5 Gbps |
| Network peak | 10 Gbps | 10 Gbps |
| Enhanced networking | Yes (ENA) | Yes (ENA) |
| EFA | No | No |
| IPv6 | Yes | Yes |
| Max network interfaces | 4 | 4 |
| IPv4 addresses per interface | 15 | 15 |
| Storage10 of 12 differ | g5.2xlarge | g5g.2xlarge |
|---|---|---|
| Storage | 1 x 450 GB NVMe SSD | EBS only |
| Local disks | 1 × 450 GB SSD | – |
| EBS optimized | Yes | Yes |
| EBS over NVMe | Required | Required |
| EBS throughput | Up to 3500 Mbps | Up to 4500 Mbps |
| EBS baseline bandwidth | 850 Mbps | 2,375 Mbps |
| EBS max bandwidth | 3,500 Mbps | 4,750 Mbps |
| EBS baseline throughput | 106.25 MB/s | 296.875 MB/s |
| EBS max throughput | 437.5 MB/s | 593.75 MB/s |
| EBS baseline IOPS | 3,500 | 12,000 |
| EBS max IOPS | 15,000 | 20,000 |
| Max EBS volumes | 25 | 26 |
| Instance details3 of 10 differ | g5.2xlarge | g5g.2xlarge |
|---|---|---|
| Family | g5 | g5g |
| Category | GPU instance | GPU instance |
| Current generation | Yes | Yes |
| Normalization factor | 1.204771372 | 1.323809524 |
| Bare metal | No | No |
| Hypervisor | Nitro | Nitro |
| Placement groups | Cluster, Partition, Spread | Cluster, Partition, Spread |
| Hibernation | No | No |
| Nitro Enclaves | Yes | Yes |
| Boot modes | Legacy BIOS, UEFI | UEFI |
On-demand prices by region
Cheapest for g5.2xlarge first. Linux, USD per hour.
| Region | g5.2xlarge | g5g.2xlarge | Difference |
|---|---|---|---|
| US East (N. Virginia)Used in summaryus-east-1 | $1.212 | $0.556 | ▼ 54% |
| US West (Oregon)us-west-2 | $1.212 | $0.556 | ▼ 54% |
| Europe (Spain)eu-south-2 | $1.277 | $0.6205 | ▼ 51% |
| Asia Pacific (Seoul)ap-northeast-2 | $1.49 | $0.6839 | ▼ 54% |
| EU (Frankfurt)eu-central-1 | $1.516 | $0.6955 | ▼ 54% |
| Asia Pacific (Tokyo)ap-northeast-1 | $1.758 | $0.7505 | ▼ 57% |
Keep exploring
Each type’s own page, and how it compares with others.
AWS EC2 Linux prices in USD. Monthly figures use 730 hours. Prices last updated 12 Nov 2026.