AWS EC2 Instances›GPU Instance›g5›g5.xlarge

Compared with Rackspace Spot

AWSRackspace Spot
Machineg5.xlargegpu.vs2.xlargeplusplus
vCPU424
Memory16 GiB64 GiB
Local disk1 × 250 GB NVMe SSDNone
On-demand / hr--
Spot / hr--

Compute

vCPUs4
Memory16 GiB
Mem / vCPU4.00 GiB
ProcessorEPYC 7R32
Clock speed2.8 GHz
Architecturex86_64
GPU1
GPU Wattage57 W
GPU ArchitectureAmpere
Video Memory24 GiB
FPGA0
ffmpeg FPS115
CoreMark / sec69,634

Storage

Type1 × 250 GB NVMe SSD
Bandwidth3,500 Mbps
Throughput437.5 MB/s
IOPS15,000
Base Bandwidth700 Mbps
Base Throughput87.5 MB/s
Base IOPS3,000
Devices1
NVMe DriveYes
SSDYes
Swap PartitionNo
Local Read IOPS40,625
Local Write IOPS20,313

Networking

PerformanceUp to 10 Gigabit
Max ENIs4
IPv6Yes
GPUNVIDIA A10G
Placement GroupSupported
TrunkingYes
Branch Interface4
IPs / ENI15
Baseline Bandwidth2.5 Gbps

NUMA Architecture

Uses NUMANo
Node CountN/A
Max DistanceN/A
Cores / NodeN/A
Threads / NodeN/A
Memory / NodeN/A
L3 Cache / NodeN/A
L3 Cache SharedN/A

AWS Metadata

Instance typeg5.xlarge
Full nameG5 Graphics and Machine Learning GPU Extra Large
FamilyGPU instance
Variantg5
GenerationCurrent
Bare MetalNo
EMR supportYes
DedicatedSupported
Introduced2021-11-12
Family sizes

g5.xlarge

The g5.xlarge is a GPU AWS EC2 instance with 4 vCPU and 16 GiB of memory. Rackspace Spot runs one GPU class, gpu.vs2.xlargeplusplus: a single NVIDIA A30 with 24 vCPU and 64 GiB, in San Jose only. Against this instance's 1 × NVIDIA A10G that is a fair swap for inference and media work, because the A30 carries more memory and more throughput per card.

Server comparison caveats
Comparable GPU

The AWS g5.xlarge pairs 1 Ampere GPU (24 GiB VRAM) with 4 vCPU. Rackspace Spot's GPU server uses the NVIDIA A30 (Ampere, 24 GB VRAM) with 24 vCPU and 64 GiB of memory. That is more GPU memory, more CPU and newer hardware than g5.xlarge. For inference, batch transcoding and single-card fine-tuning that is an upgrade rather than a compromise. The catch is location rather than hardware: US West, San Jose is the only Rackspace Spot region that offers it, so latency to your users and egress to your data are the things to check.

No local disk

The AWS g5.xlarge comes with 1 × 250 GB NVMe SSD attached to the machine. Rackspace Spot servers use network storage only, so that disk doesn't come with it. If you were using it as fast scratch space, you'd move to a persistent volume attached to your Rackspace Spot server, or object storage, and both are slower to read.

Pricing by region

1 hr

Regions are Rackspace Spot locations.

RegionAWS on-demandAWS Spot1-yr Reserved3-yr ReservedRackspace on-demandRackspace SpotOn-demand price savingsSpot price savings
US West, San Josenot sold heren/an/an/a$7.250$0.151n/an/a

Prices updated 17 Nov 2026.

When to use it

Good for
  • ●Machine learning experimentation and fine-tuning
  • ●Remote graphics workstations and rendering
  • ●CUDA-accelerated batch jobs
  • ●Workloads that fit inside 16 GiB of RAM
  • ●Jobs that want 1 × 250 GB of local NVMe scratch space
  • ●Network-heavy services (AWS rates this size at Up to 10 Gigabit)
Avoid if
  • ●Starting a new deployment. g6.xlarge is the newer generation at this size.
  • ●The working set needs more than 16 GiB of RAM
  • ●More than 4.00 GiB of RAM per vCPU is needed, since that ratio is fixed for the whole family
  • ●Anything the CPU can do fast enough. GPU hours are the most expensive on the price list.
Rackspace Spot sells spare capacity at market prices. You pay what the market decides, not a list price.
  • Rackspace Spot sells spare capacity at market prices. It is the cheapest compute on the internet.
  • Prices are set by supply and demand. You pay what the market decides.
  • Compute is delivered as fully managed Kubernetes. All infrastructure is taken care of.
  • Egress costs $0.01/GB after the free allowance. AWS charges $0.09/GB.
Build your Cloudspace

Frequently asked questions

How much does g5.xlarge cost?

AWS publishes no on-demand price for g5.xlarge in any of the regions this page covers, because it is not sold there. The specifications and the Rackspace Spot prices below still apply.

Can Rackspace Spot run g5.xlarge GPU workloads?

Rackspace Spot's entire GPU catalog is gpu.vs2.xlargeplusplus: one NVIDIA A30, 24 vCPU and 64 GiB, available in San Jose only. Against g5.xlarge's 1 × NVIDIA A10G the A30 is comparable or better for inference and transcoding, which is where most of these hours actually go. The pricing table has one row for that reason.

Does the Rackspace Spot equivalent include local NVMe storage?

No. g5.xlarge ships 1 × 250 GB of local NVMe SSD, rated 40,625 read IOPS. Rackspace Spot servers are network-backed, so a workload that leans on local disk throughput needs block storage or a re-architecture. Everything else about the match still holds.

Is g5.xlarge still worth using?

For workloads already running on it, yes: it works and it is priced accordingly. For anything new, g6.xlarge is the current answer and measures roughly 20% more CoreMark throughput at the same vCPU count. 2 newer generations of the g family have shipped since (g6 and g7), which is the signal that matters for infrastructure you expect to keep running.

What is the difference between g5 and g6?

g6 is the newer generation. It runs on AMD EPYC 7R13 Processor against g5's AMD EPYC 7R32. On the CoreMark figures in this dataset, g6.xlarge scores 83,814 per second against g5.xlarge's 69,634. On-demand in US East (N. Virginia) the newer size is 20% cheaper. Neither generation changes the Rackspace Spot side: both map to the same Rackspace Spot servers.

What is a cheaper alternative to g5.xlarge?

Rackspace Spot gpu.vs2.xlargeplusplus is the closest shape; the table above shows current prices by region. Workloads have to be containerized to run on it.