g5.4xlarge

g5.4xlarge is an AWS EC2 instance with 16 vCPUs, 64 GiB memory, 1 GPU (AMD EPYC 7R32). In US East (N. Virginia) it costs $1.624 per hour on demand ($1,185.52 per month) for Linux; a 1-year reserved instance with no upfront costs $1.023 per hour, 37% less. Spot capacity is about $0.7309 per hour. It is sold in 19 regions.

Prices by region

USD per hour, Linux. Reserved prices are no upfront, standard. Cheapest on-demand first.

RegionOn-demandSpot1-yr reserved3-yr reserved1-yr savings plan3-yr savings plan
US East (N. Virginia) us-east-1$1.624$0.7309$1.023$0.7016$1.279$0.877
US East (Ohio) us-east-2$1.624$0.8532$1.023$0.7016$1.279$0.877
US West (Oregon) us-west-2$1.624$0.5779$1.023$0.7016$1.279$0.877
Europe (Spain) eu-south-2$1.711$0.6529––$1.348$0.924
EU (Stockholm) eu-north-1$1.722$0.5211$1.085$0.7441$1.357$0.9301
Canada (Central) ca-central-1$1.803$1.803$1.136$0.779$1.42$0.9737
EU (Ireland) eu-west-1$1.813$0.9586$1.142$0.7832$1.428$0.979
Israel (Tel Aviv) il-central-1$1.903$1.903$1.199$0.8223$1.499$1.028
Asia Pacific (Mumbai) ap-south-1$1.95$0.8462$1.229$0.8424$1.536$1.053
Middle East (UAE) me-central-1$1.992$0.5334$1.255$0.8606$1.569$1.076
Asia Pacific (Seoul) ap-northeast-2$1.997$0.9053$1.258$0.8627$1.573$1.078
EU (Frankfurt) eu-central-1$2.031$0.7067$1.279$0.8773$1.599$1.097
EU (London) eu-west-2$2.062$0.7194$1.299$0.8906$1.623$1.113
EU (Paris) eu-west-3$2.062$2.062––$1.623$1.252
Asia Pacific (Sydney) ap-southeast-2$2.111$0.8564$1.33$0.9122$1.663$1.14
Asia Pacific (Jakarta) ap-southeast-3$2.273$0.2273$1.432$0.9819$1.79$1.227
Asia Pacific (Tokyo) ap-northeast-1$2.355$1.08$1.484$1.018$1.855$1.272
Asia Pacific (Hong Kong) ap-east-1$2.50–$1.575$1.08$1.969$1.35
South America (Sao Paulo) sa-east-1$2.76$0.5747$1.739$1.192$2.174$1.491

Prices by operating system in US East (N. Virginia)

Operating systemOn-demand /hr1-yr reserved /hr3-yr reserved /hr
Linux$1.624$1.023$0.7016
Ubuntu Pro$1.652––
SUSE$1.749$1.083$0.7556
RHEL$1.797$1.196$0.8744
RHEL HA$2.021$1.42$1.098
Windows$2.36$1.759$1.438

Specs

ComputeValue
vCPUs16
Physical cores8
Threads per core2
Architecturex86_64
ProcessorAMD EPYC 7R32
CPU makerAMD
Clock speed2.8 GHz
Sustained clock3.3 GHz
Processor featuresAMD Turbo; AVX; AVX2
BurstableNo
MemoryValue
Memory (GiB)64
AcceleratorsValue
GPUs1
GPU1 × NVIDIA A10G
GPU memory24 GB
NetworkingValue
NetworkUp to 25 Gbps
Network baseline10 Gbps
Network peak25 Gbps
Enhanced networkingYes (ENA)
EFANo
IPv6Yes
Max network interfaces8
IPv4 addresses per interface30
StorageValue
Storage1 x 600 GB NVMe SSD
Local disks1 × 600 GB SSD
EBS optimizedYes
EBS over NVMeRequired
EBS throughput8000 Mbps
EBS baseline bandwidth4,750 Mbps
EBS max bandwidth4,750 Mbps
EBS baseline throughput593.75 MB/s
EBS max throughput593.75 MB/s
EBS baseline IOPS20,000
EBS max IOPS20,000
Max EBS volumes25
Instance detailsValue
Instance typeg5.4xlarge
Familyg5
CategoryGPU instance
Current generationYes
Normalization factor1.614314115
Bare metalNo
HypervisorNitro
Placement groupsCluster, Partition, Spread
HibernationNo
Nitro EnclavesYes
Boot modesLegacy BIOS, UEFI

Compare g5.4xlarge

Other processors

Other generations

Other g5 sizes

SizevCPUsMemory (GiB)On-demand /hr
g5.xlarge416$1.006
g5.2xlarge832$1.212
g5.4xlarge1664$1.624
g5.8xlarge32128$2.448
g5.12xlarge48192$5.672
g5.16xlarge64256$4.096
g5.24xlarge96384$8.144
g5.48xlarge192768$16.288

Prices updated 2026-11-12 from AWS public price lists. Compare all AWS EC2 instances.