AWS G5 instance types

G5 is a gpu & accelerated Amazon EC2 family with 8 instance types, from 4 – 192 vCPUs and 16 GiB – 768 GiB of memory with NVIDIA A10G accelerators, running on AMD EPYC 7R32. Linux on demand starts at $1.006 per hour.

gpu & acceleratedx86-64
sizes
8
vCPUs
4 – 192
memory
16 GiB – 768 GiB
accelerator
A10G
on-demand from
$1.006

per hour · 19 regions

G5 sizes and prices

Linux, hourly, US East (N. Virginia) (other regions on each size's page)

SizevCPUMemoryAcceleratorLocal storageOn-demandMonthlySpot1-yr
g5.xlarge416 GiB1 × NVIDIA A10G250 GB NVME$1.006$734$0.5006$0.6338
g5.2xlarge832 GiB1 × NVIDIA A10G450 GB NVME$1.212$885$0.5954$0.7636
g5.4xlarge1664 GiB1 × NVIDIA A10G600 GB NVME$1.624$1,186$0.7147$1.023
g5.8xlarge32128 GiB1 × NVIDIA A10G900 GB NVME$2.448$1,787$1.276$1.542
g5.12xlarge48192 GiB4 × NVIDIA A10G3.8 TB NVME$5.672$4,141$2.469$3.573
g5.16xlarge64256 GiB1 × NVIDIA A10G1.9 TB NVME$4.096$2,990$1.75$2.58
g5.24xlarge96384 GiB4 × NVIDIA A10G3.8 TB NVME$8.144$5,945$3.955$5.131
g5.48xlarge192768 GiB8 × NVIDIA A10G7.6 TB NVME (2 disks)$16.29$11,890$6.499$10.26

G5 equivalents on other clouds

closest match to g5.8xlarge (32 vCPU, 128 GiB)

AzureNV24ads V710 v5NVadsV710v5 family · 24 vCPU · 128 GiB · 1 × AMD Radeon Pro V710$2.00/hr · East USNVadsV710v5 family →
Google Cloudg2-standard-32G2 family · 32 vCPU · 128 GiB · 1 × NVIDIA L4$1.734/hr · IowaG2 family →
AkamaiRTX4000 Ada x1 X-LargeGPU (RTX 4000 Ada) family · 32 vCPU · 128 GiB · 1 × NVIDIA RTX 4000 Ada$1.53/hr · Newark, NJGPU (RTX 4000 Ada) family →

Other gpu & accelerated families on AWS

G5 FAQ

What sizes does the AWS G5 family have?

G5 has 8 instance types, from g5.xlarge (4 vCPU, 16 GiB) to g5.48xlarge (192 vCPU, 768 GiB). They run on AMD EPYC 7R32.

What is the cheapest G5 instance type?

g5.xlarge at $1.006 per hour (Linux, on demand) in US East (N. Virginia), about $734 per month.

What is G5 best for?

G5 is a gpu & accelerated family. GPUs and AI accelerators for training, inference, rendering and video.