g5.xlargevsg6.xlarge

g6.xlarge is 20% cheaper than g5.xlarge on demand in US East (N. Virginia), saving $146.88 a month.

At a glanceg5.xlargeg6.xlarge
On-demand$1.006/hr$0.8048/hr20% less
Lowest rate$0.4346/hr3-yr reserved, no upfront$0.3694/hr15% less3-yr reserved, no upfront
Size4 vCPUs, 16 GiB4 vCPUs, 16 GiB
ProcessorAMD EPYC 7R32AMD EPYC 7R13 Processor
Architecturex86_64x86_64

Prices in US East (N. Virginia)

“Off” is the discount against each type’s own on-demand price. Linux, USD per hour.

Optiong5.xlargeg6.xlargeg6.xlarge vs g5.xlarge
On-demandPay by the hour$1.006$0.8048▼ 20%
SpotCan be interrupted50% off$0.49952% off$0.3847▼ 23%
1-yr reservedNo upfront37% off$0.633835% off$0.5239▼ 17%
3-yr reservedNo upfront57% off$0.434654% off$0.3694▼ 15%
1-yr savings planHourly commitment21% off$0.792219% off$0.6549▼ 17%
3-yr savings planHourly commitment46% off$0.543243% 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% higher
Where g6.xlarge leads
On-demand price$0.8048 vs $1.006 per hour
20% cheaper
EBS baseline bandwidth1,000 Mbps vs 700 Mbps
43% higher
Sustained clock3.4 GHz vs 3.3 GHz
3% higher

Specs

13 of 44 specs differ. Those are in bold.

Compute3 of 10 differg5.xlargeg6.xlarge
vCPUs44
Physical cores22
Threads per core22
Architecturex86_64x86_64
ProcessorAMD EPYC 7R32AMD EPYC 7R13 Processor
CPU makerAMDAMD
Clock speed2.8 GHz2.6 GHz
Sustained clock3.3 GHz3.4 GHz
Processor featuresAMD Turbo; AVX; AVX2AMD Turbo; AVX; AVX2
BurstableNoNo
MemoryAll 1 matchg5.xlargeg6.xlarge
Memory (GiB)1616
Accelerators1 of 3 differg5.xlargeg6.xlarge
GPUs11
GPU1 × NVIDIA A10G1 × NVIDIA L4
GPU memory24 GB24 GB
NetworkingAll 8 matchg5.xlargeg6.xlarge
NetworkUp to 10 GigabitUp to 10 Gigabit
Network baseline2.5 Gbps2.5 Gbps
Network peak10 Gbps10 Gbps
Enhanced networkingYes (ENA)Yes (ENA)
EFANoNo
IPv6YesYes
Max network interfaces44
IPv4 addresses per interface1515
Storage8 of 12 differg5.xlargeg6.xlarge
Storage1 x 250 GB NVMe SSD1 x 250 GB NVMe SSD
Local disks1 × 250 GB SSD1 × 250 GB SSD
EBS optimizedYesYes
EBS over NVMeRequiredRequired
EBS throughputUp to 3500 MbpsUp to 5000 Mbps
EBS baseline bandwidth700 Mbps1,000 Mbps
EBS max bandwidth3,500 Mbps5,000 Mbps
EBS baseline throughput87.5 MB/s125 MB/s
EBS max throughput437.5 MB/s625 MB/s
EBS baseline IOPS3,0004,000
EBS max IOPS15,00020,000
Max EBS volumes2532
Instance details1 of 10 differg5.xlargeg6.xlarge
Familyg5g6
CategoryGPU instanceGPU instance
Current generationYesYes
Normalization factor11
Bare metalNoNo
HypervisorNitroNitro
Placement groupsCluster, Partition, SpreadCluster, Partition, Spread
HibernationNoNo
Nitro EnclavesYesYes
Boot modesLegacy BIOS, UEFILegacy BIOS, UEFI

On-demand prices by region

Cheapest for g5.xlarge first. Linux, USD per hour.

Regiong5.xlargeg6.xlargeDifference
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.

g5.xlargeGPU instance, g5 family
g5.xlarge prices and specsEvery size in the g5 family

Compare g5.xlarge with

g6.xlargeGPU instance, g6 family
g6.xlarge prices and specsEvery size in the g6 family

Compare g6.xlarge with

Pay the committed rate, with commitment protection

The best committed rate on these two is 54–57% below on-demand. Connect your cloud accounts to unlock greater savings with commitment protection.

Connect AWS account

AWS EC2 Linux prices in USD. Monthly figures use 730 hours. Prices last updated 12 Nov 2026.