g5.xlarge

Amazon EC2 · G5 family

The g5.xlarge is a gpu & accelerated Amazon EC2 instance type with 4 vCPUs and 16 GiB of memory, 1 × NVIDIA A10G, running on AMD EPYC 7R32 with up to 10 Gigabit networking, starting at $1.006 per hour on demand.

gpu & acceleratedx86-64amdgpu
vCPUs
4

dedicated

memory
16 GiB

4 GiB per vCPU

gpu
1× A10G

24 GiB total

on-demand
$1.006

$734/mo · us-east-1

spot
$0.5006

−50% vs on-demand

1-yr reserved
$0.6338

−37% vs on-demand

g5.xlarge price by region

19 regions · hourly list prices in USD · On-demand · Spot · 1-yr Reserved · 3-yr Reserved

US East (N. Virginia)us-east-1cheapestreferenceNorth America$1.006$0.5006$0.6338$0.4346
US East (Ohio)us-east-2cheapestNorth America$1.006$0.4183$0.6338$0.4346
US West (Oregon)us-west-2cheapestNorth America$1.006$0.4461$0.6338$0.4346
EU (Spain)eu-south-2Europe$1.06–––
EU (Stockholm)eu-north-1Europe$1.067$0.4914$0.6722$0.4609
Canada (Central)ca-central-1North America$1.117$0.7573$0.7037$0.4825
EU (Ireland)eu-west-1Europe$1.123$0.5055$0.7075$0.4851
Israel (Tel Aviv)il-central-1Middle East$1.179$0.4596$0.7429$0.5094
Asia Pacific (Mumbai)ap-south-1Asia$1.208$0.5065$0.761$0.5219
Middle East (UAE)me-central-1Middle East$1.234$0.5008$0.7774$0.5331
Asia Pacific (Seoul)ap-northeast-2Asia$1.237$0.5006$0.7793$0.5344
EU (Frankfurt)eu-central-1Europe$1.258$0.526$0.7925$0.5435
EU (London)eu-west-2Europe$1.277$0.5164$0.8045$0.5517
EU (Paris)eu-west-3Europe$1.277–––
Asia Pacific (Sydney)ap-southeast-2Oceania$1.308$0.5813$0.824$0.5651
Asia Pacific (Jakarta)ap-southeast-3Asia$1.408$0.4913$0.887$0.6083
Asia Pacific (Tokyo)ap-northeast-1Asia$1.459$0.7082$0.9192$0.6303
Asia Pacific (Hong Kong)ap-east-1Asia$1.549–$0.9757$0.6691
South America (Sao Paulo)sa-east-1South America$1.71$0.5025$1.077$0.7387

Specifications

compute

vCPUs
4
Memory
16 GiB
Memory per vCPU
4 GiB
Processor
AMD EPYC 7R32
CPU vendor
AMD
Architecture
x86-64
Clock speed
2.8 GHz
Burstable CPU
No

storage & network

Local storage
250 GB NVME
Storage detail
1 x 250 GB NVMe SSD
Network
Up to 10 Gigabit
Peak bandwidth
10 Gbps

accelerators

Count
1
Memory (total)
24 GiB
Architecture
Ampere
Vendor
NVIDIA

aws details

API name
g5.xlarge
Family
G5
Category
GPU & accelerated
Generation
Current
Regions
19 (Asia, Europe, Middle East, North America, Oceania, South America)
Cheapest region
US East (N. Virginia) · $1.006/hr
Dedicated EBS throughput
Up to 3500 Mbps
Enhanced networking
Yes
Normalization size factor
1
Processor features
AMD Turbo; AVX; AVX2
Spot interruption rate (us-east-1)
>20%
Spot savings vs on-demand (us-east-1)
56%

g5.xlarge equivalents on other clouds

closest match by vCPU, memory, CPU architecture, accelerator and class · Linux on-demand in each provider's reference region

compare side by side→
ProviderInstancevCPUMemoryProcessorOn-demandvs g5.xlarge
AWSg5.xlarge416 GiB1 × NVIDIA A10G$1.006–
Google Cloudg2-standard-4NVIDIA L4416 GiB1 × NVIDIA L4$0.7068-30%
AkamaiRTX4000 Ada x1 SmallNVIDIA RTX 4000 Ada416 GiB1 × NVIDIA RTX 4000 Ada$0.52-48%

G5 family sizes

all about G5→
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

Similar instance types on AWS

other AWS families with a similar shape, cheapest first

g5.xlarge FAQ

How much does g5.xlarge cost?

g5.xlarge costs $1.006 per hour on demand with Linux in US East (N. Virginia) (us-east-1), about $734 per month. Across 19 regions the Linux on-demand price ranges from $1.006 in US East (N. Virginia) to $1.71 in South America (Sao Paulo). Spot capacity costs $0.5006 per hour (50% less), but can be reclaimed. A 1-yr Reserved commitment brings it to $0.6338 per hour. With Windows it costs $1.19 per hour.

How many vCPUs and how much memory does g5.xlarge have?

g5.xlarge has 4 vCPUs and 16 GiB of memory (4 GiB per vCPU), running on AMD EPYC 7R32. It is a gpu & accelerated instance type in the G5 family.

What GPU does g5.xlarge have?

g5.xlarge has 1 × NVIDIA A10G with 24 GiB of accelerator memory in total.

What are the equivalents of g5.xlarge on other clouds?

The closest matches by vCPU, memory, CPU architecture, accelerator and instance class are on Google Cloud, g2-standard-4 (4 vCPU, 16 GiB, $0.7068/hour in Iowa); on Akamai, RTX4000 Ada x1 Small (4 vCPU, 16 GiB, $0.52/hour in Newark, NJ).