g5.xlargevsg5g.xlarge
g5g.xlarge is 58% cheaper than g5.xlarge on demand in US East (N. Virginia), saving $427.78 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.xlarge | g5g.xlarge |
|---|---|---|
| On-demand | $1.006/hr | $0.42/hr58% less |
| Lowest rate | $0.499/hrSpot, can be interrupted | $0.1136/hr77% lessSpot, can be interrupted |
| Size | 4 vCPUs, 16 GiB | 4 vCPUs, 8 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.xlarge | g5g.xlarge | g5g.xlarge vs g5.xlarge |
|---|---|---|---|
| On-demandPay by the hour | $1.006 | $0.42 | ▼ 58% |
| SpotCan be interrupted | 50% off$0.499 | 73% off$0.1136 | ▼ 77% |
| 1-yr reservedNo upfront | 37% off$0.6338 | 37% off$0.2646 | ▼ 58% |
| 3-yr reservedNo upfront | 57% off$0.4346 | 57% off$0.1814 | ▼ 58% |
| 1-yr savings planHourly commitment | 21% off$0.7922 | 21% off$0.3308 | ▼ 58% |
| 3-yr savings planHourly commitment | 46% off$0.5432 | 46% off$0.2268 | ▼ 58% |
Key differences
The biggest lead each one has.
Where g5.xlarge leads
Memory (GiB)16 vs 8
2× higherNetwork baseline2.5 Gbps vs 1.25 Gbps
2× higherGPU memory24 GB vs 16 GB
50% higherSustained clock3.3 GHz vs 2.5 GHz
32% higherWhere g5g.xlarge leads
On-demand price$0.42 vs $1.006 per hour
58% cheaperPhysical cores4 vs 2
2× higherEBS baseline IOPS6,000 vs 3,000
2× higherSpecs
23 of 44 specs differ. Those are in bold.
| Compute8 of 10 differ | g5.xlarge | g5g.xlarge |
|---|---|---|
| vCPUs | 4 | 4 |
| Physical cores | 2 | 4 |
| 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.xlarge | g5g.xlarge |
|---|---|---|
| Memory (GiB) | 16 | 8 |
| Accelerators2 of 3 differ | g5.xlarge | g5g.xlarge |
|---|---|---|
| GPUs | 1 | 1 |
| GPU | 1 × NVIDIA A10G | 1 × NVIDIA T4g |
| GPU memory | 24 GB | 16 GB |
| Networking1 of 8 differ | g5.xlarge | g5g.xlarge |
|---|---|---|
| Network | Up to 10 Gigabit | Up to 10 Gigabit |
| Network baseline | 2.5 Gbps | 1.25 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 |
| Storage9 of 12 differ | g5.xlarge | g5g.xlarge |
|---|---|---|
| Storage | 1 x 250 GB NVMe SSD | EBS only |
| Local disks | 1 × 250 GB SSD | – |
| EBS optimized | Yes | Yes |
| EBS over NVMe | Required | Required |
| EBS throughput | Up to 3500 Mbps | Up to 3500 Mbps |
| EBS baseline bandwidth | 700 Mbps | 1,188 Mbps |
| EBS max bandwidth | 3,500 Mbps | 4,750 Mbps |
| EBS baseline throughput | 87.5 MB/s | 148.5 MB/s |
| EBS max throughput | 437.5 MB/s | 593.75 MB/s |
| EBS baseline IOPS | 3,000 | 6,000 |
| EBS max IOPS | 15,000 | 20,000 |
| Max EBS volumes | 25 | 26 |
| Instance details2 of 10 differ | g5.xlarge | g5g.xlarge |
|---|---|---|
| Family | g5 | g5g |
| Category | GPU instance | GPU instance |
| Current generation | Yes | Yes |
| Normalization factor | 1 | 1 |
| 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.xlarge first. Linux, USD per hour.
| Region | g5.xlarge | g5g.xlarge | Difference |
|---|---|---|---|
| US East (N. Virginia)Used in summaryus-east-1 | $1.006 | $0.42 | ▼ 58% |
| US West (Oregon)us-west-2 | $1.006 | $0.42 | ▼ 58% |
| Europe (Spain)eu-south-2 | $1.06 | $0.4687 | ▼ 56% |
| Asia Pacific (Seoul)ap-northeast-2 | $1.237 | $0.5166 | ▼ 58% |
| EU (Frankfurt)eu-central-1 | $1.258 | $0.5254 | ▼ 58% |
| Asia Pacific (Tokyo)ap-northeast-1 | $1.459 | $0.5669 | ▼ 61% |
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.