g5.xlargevsg6.xlarge
g6.xlarge is 20% cheaper than g5.xlarge on demand in US East (N. Virginia), saving $146.88 a month.
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 | g6.xlarge | g6.xlarge vs g5.xlarge |
|---|---|---|---|
| On-demandPay by the hour | $1.006 | $0.8048 | ▼ 20% |
| SpotCan be interrupted | 50% off$0.499 | 52% off$0.3847 | ▼ 23% |
| 1-yr reservedNo upfront | 37% off$0.6338 | 35% off$0.5239 | ▼ 17% |
| 3-yr reservedNo upfront | 57% off$0.4346 | 54% off$0.3694 | ▼ 15% |
| 1-yr savings planHourly commitment | 21% off$0.7922 | 19% off$0.6549 | ▼ 17% |
| 3-yr savings planHourly commitment | 46% off$0.5432 | 43% off$0.4618 | ▼ 15% |
Key differences
The biggest lead each one has.
Where g5.xlarge leads
Clock speed2.8 GHz vs 2.6 GHz
8% higherWhere g6.xlarge leads
On-demand price$0.8048 vs $1.006 per hour
20% cheaperEBS baseline bandwidth1,000 Mbps vs 700 Mbps
43% higherSustained clock3.4 GHz vs 3.3 GHz
3% higherSpecs
13 of 44 specs differ. Those are in bold.
| Compute3 of 10 differ | g5.xlarge | g6.xlarge |
|---|---|---|
| vCPUs | 4 | 4 |
| Physical cores | 2 | 2 |
| Threads per core | 2 | 2 |
| Architecture | x86_64 | x86_64 |
| Processor | AMD EPYC 7R32 | AMD EPYC 7R13 Processor |
| CPU maker | AMD | AMD |
| Clock speed | 2.8 GHz | 2.6 GHz |
| Sustained clock | 3.3 GHz | 3.4 GHz |
| Processor features | AMD Turbo; AVX; AVX2 | AMD Turbo; AVX; AVX2 |
| Burstable | No | No |
| MemoryAll 1 match | g5.xlarge | g6.xlarge |
|---|---|---|
| Memory (GiB) | 16 | 16 |
| Accelerators1 of 3 differ | g5.xlarge | g6.xlarge |
|---|---|---|
| GPUs | 1 | 1 |
| GPU | 1 × NVIDIA A10G | 1 × NVIDIA L4 |
| GPU memory | 24 GB | 24 GB |
| NetworkingAll 8 match | g5.xlarge | g6.xlarge |
|---|---|---|
| Network | Up to 10 Gigabit | Up to 10 Gigabit |
| Network baseline | 2.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 |
| Storage8 of 12 differ | g5.xlarge | g6.xlarge |
|---|---|---|
| Storage | 1 x 250 GB NVMe SSD | 1 x 250 GB NVMe SSD |
| Local disks | 1 × 250 GB SSD | 1 × 250 GB SSD |
| EBS optimized | Yes | Yes |
| EBS over NVMe | Required | Required |
| EBS throughput | Up to 3500 Mbps | Up to 5000 Mbps |
| EBS baseline bandwidth | 700 Mbps | 1,000 Mbps |
| EBS max bandwidth | 3,500 Mbps | 5,000 Mbps |
| EBS baseline throughput | 87.5 MB/s | 125 MB/s |
| EBS max throughput | 437.5 MB/s | 625 MB/s |
| EBS baseline IOPS | 3,000 | 4,000 |
| EBS max IOPS | 15,000 | 20,000 |
| Max EBS volumes | 25 | 32 |
| Instance details1 of 10 differ | g5.xlarge | g6.xlarge |
|---|---|---|
| Family | g5 | g6 |
| 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 | Legacy BIOS, UEFI |
On-demand prices by region
Cheapest for g5.xlarge first. Linux, USD per hour.
| Region | g5.xlarge | g6.xlarge | Difference |
|---|---|---|---|
| US East (N. Virginia)Used in summaryus-east-1 | $1.006 | $0.8048 | ▼ 20% |
| US East (Ohio)us-east-2 | $1.006 | $0.8048 | ▼ 20% |
| US West (Oregon)us-west-2 | $1.006 | $0.8048 | ▼ 20% |
| Europe (Spain)eu-south-2 | $1.06 | $0.848 | ▼ 20% |
| EU (Stockholm)eu-north-1 | $1.067 | $0.8536 | ▼ 20% |
| Canada (Central)ca-central-1 | $1.117 | $0.8936 | ▼ 20% |
| Asia Pacific (Mumbai)ap-south-1 | $1.208 | $0.9664 | ▼ 20% |
| Middle East (UAE)me-central-1 | $1.234 | $0.9882 | ▼ 20% |
| Asia Pacific (Seoul)ap-northeast-2 | $1.237 | $0.9896 | ▼ 20% |
| EU (Frankfurt)eu-central-1 | $1.258 | $1.006 | ▼ 20% |
| EU (London)eu-west-2 | $1.277 | $1.022 | ▼ 20% |
| EU (Paris)eu-west-3 | $1.277 | $1.022 | ▼ 20% |
| Asia Pacific (Sydney)ap-southeast-2 | $1.308 | $1.046 | ▼ 20% |
| Asia Pacific (Tokyo)ap-northeast-1 | $1.459 | $1.167 | ▼ 20% |
| South America (Sao Paulo)sa-east-1 | $1.71 | $1.368 | ▼ 20% |
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.