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 glanceg5.xlargeg5g.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
Size4 vCPUs, 16 GiB4 vCPUs, 8 GiB
ProcessorAMD EPYC 7R32AWS Graviton2 Processor
Architecturex86_64arm64

Prices in US East (N. Virginia)

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

Optiong5.xlargeg5g.xlargeg5g.xlarge vs g5.xlarge
On-demandPay by the hour$1.006$0.42▼ 58%
SpotCan be interrupted50% off$0.49973% off$0.1136▼ 77%
1-yr reservedNo upfront37% off$0.633837% off$0.2646▼ 58%
3-yr reservedNo upfront57% off$0.434657% off$0.1814▼ 58%
1-yr savings planHourly commitment21% off$0.792221% off$0.3308▼ 58%
3-yr savings planHourly commitment46% off$0.543246% off$0.2268▼ 58%

Key differences

The biggest lead each one has.

Where g5.xlarge leads
Memory (GiB)16 vs 8
2× higher
Network baseline2.5 Gbps vs 1.25 Gbps
2× higher
GPU memory24 GB vs 16 GB
50% higher
Sustained clock3.3 GHz vs 2.5 GHz
32% higher
Where g5g.xlarge leads
On-demand price$0.42 vs $1.006 per hour
58% cheaper
Physical cores4 vs 2
2× higher
EBS baseline IOPS6,000 vs 3,000
2× higher

Specs

23 of 44 specs differ. Those are in bold.

Compute8 of 10 differg5.xlargeg5g.xlarge
vCPUs44
Physical cores24
Threads per core21
Architecturex86_64arm64
ProcessorAMD EPYC 7R32AWS Graviton2 Processor
CPU makerAMDAWS
Clock speed2.8 GHz2.5 GHz
Sustained clock3.3 GHz2.5 GHz
Processor featuresAMD Turbo; AVX; AVX2–
BurstableNoNo
Memory1 of 1 differg5.xlargeg5g.xlarge
Memory (GiB)168
Accelerators2 of 3 differg5.xlargeg5g.xlarge
GPUs11
GPU1 × NVIDIA A10G1 × NVIDIA T4g
GPU memory24 GB16 GB
Networking1 of 8 differg5.xlargeg5g.xlarge
NetworkUp to 10 GigabitUp to 10 Gigabit
Network baseline2.5 Gbps1.25 Gbps
Network peak10 Gbps10 Gbps
Enhanced networkingYes (ENA)Yes (ENA)
EFANoNo
IPv6YesYes
Max network interfaces44
IPv4 addresses per interface1515
Storage9 of 12 differg5.xlargeg5g.xlarge
Storage1 x 250 GB NVMe SSDEBS only
Local disks1 × 250 GB SSD–
EBS optimizedYesYes
EBS over NVMeRequiredRequired
EBS throughputUp to 3500 MbpsUp to 3500 Mbps
EBS baseline bandwidth700 Mbps1,188 Mbps
EBS max bandwidth3,500 Mbps4,750 Mbps
EBS baseline throughput87.5 MB/s148.5 MB/s
EBS max throughput437.5 MB/s593.75 MB/s
EBS baseline IOPS3,0006,000
EBS max IOPS15,00020,000
Max EBS volumes2526
Instance details2 of 10 differg5.xlargeg5g.xlarge
Familyg5g5g
CategoryGPU instanceGPU instance
Current generationYesYes
Normalization factor11
Bare metalNoNo
HypervisorNitroNitro
Placement groupsCluster, Partition, SpreadCluster, Partition, Spread
HibernationNoNo
Nitro EnclavesYesYes
Boot modesLegacy BIOS, UEFIUEFI

On-demand prices by region

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

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

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

Compare g5.xlarge with

Pay the committed rate, with commitment protection

The best committed rate on these two is 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.