g5.xlarge
g5.xlarge is an AWS EC2 instance with 4 vCPUs, 16 GiB memory, 1 GPU (AMD EPYC 7R32). In US East (N. Virginia) it costs $1.006 per hour on demand ($734.38 per month) for Linux; a 1-year reserved instance with no upfront costs $0.6338 per hour, 37% less. Spot capacity is about $0.499 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.
| Region | On-demand | Spot | 1-yr reserved | 3-yr reserved | 1-yr savings plan | 3-yr savings plan |
|---|---|---|---|---|---|---|
| US East (N. Virginia) us-east-1 | $1.006 | $0.499 | $0.6338 | $0.4346 | $0.7922 | $0.5432 |
| US East (Ohio) us-east-2 | $1.006 | $0.5495 | $0.6338 | $0.4346 | $0.7922 | $0.5432 |
| US West (Oregon) us-west-2 | $1.006 | $0.5733 | $0.6338 | $0.4346 | $0.7922 | $0.5432 |
| Europe (Spain) eu-south-2 | $1.06 | $1.06 | – | – | $0.8348 | $0.5724 |
| EU (Stockholm) eu-north-1 | $1.067 | $0.4653 | $0.6722 | $0.4609 | $0.8403 | $0.5762 |
| Canada (Central) ca-central-1 | $1.117 | $0.4185 | $0.7037 | $0.4825 | $0.8796 | $0.6032 |
| EU (Ireland) eu-west-1 | $1.123 | $0.6096 | $0.7075 | $0.4851 | $0.8844 | $0.6064 |
| Israel (Tel Aviv) il-central-1 | $1.179 | $0.4204 | $0.7429 | $0.5094 | $0.9286 | $0.6367 |
| Asia Pacific (Mumbai) ap-south-1 | $1.208 | $0.5591 | $0.761 | $0.5219 | $0.9513 | $0.6523 |
| Middle East (UAE) me-central-1 | $1.234 | $0.319 | $0.7774 | $0.5331 | $0.9718 | $0.6664 |
| Asia Pacific (Seoul) ap-northeast-2 | $1.237 | $0.577 | $0.7793 | $0.5344 | $0.9741 | $0.668 |
| EU (Frankfurt) eu-central-1 | $1.258 | $0.5578 | $0.7925 | $0.5435 | $0.9907 | $0.6793 |
| EU (London) eu-west-2 | $1.277 | $0.4429 | $0.8045 | $0.5517 | $1.006 | $0.6896 |
| EU (Paris) eu-west-3 | $1.277 | $0.4255 | – | – | $1.006 | $0.7755 |
| Asia Pacific (Sydney) ap-southeast-2 | $1.308 | $0.5918 | $0.824 | $0.5651 | $1.03 | $0.7063 |
| Asia Pacific (Jakarta) ap-southeast-3 | $1.408 | $0.1408 | $0.887 | $0.6083 | $1.109 | $0.7603 |
| Asia Pacific (Tokyo) ap-northeast-1 | $1.459 | $0.7062 | $0.9192 | $0.6303 | $1.149 | $0.7879 |
| Asia Pacific (Hong Kong) ap-east-1 | $1.549 | – | $0.9757 | $0.6691 | $1.22 | $0.8364 |
| South America (Sao Paulo) sa-east-1 | $1.71 | $0.3376 | $1.077 | $0.7387 | $1.347 | $0.9234 |
Prices by operating system in US East (N. Virginia)
| Operating system | On-demand /hr | 1-yr reserved /hr | 3-yr reserved /hr |
|---|---|---|---|
| Linux | $1.006 | $0.6338 | $0.4346 |
| Ubuntu Pro | $1.013 | – | – |
| SUSE | $1.062 | $0.6838 | $0.4796 |
| RHEL | $1.064 | $0.6914 | $0.4922 |
| RHEL HA | $1.134 | $0.7614 | $0.5622 |
| Windows | $1.19 | $0.8178 | $0.6186 |
Specs
| Compute | Value |
|---|---|
| vCPUs | 4 |
| Physical cores | 2 |
| Threads per core | 2 |
| Architecture | x86_64 |
| Processor | AMD EPYC 7R32 |
| CPU maker | AMD |
| Clock speed | 2.8 GHz |
| Sustained clock | 3.3 GHz |
| Processor features | AMD Turbo; AVX; AVX2 |
| Burstable | No |
| Memory | Value |
|---|---|
| Memory (GiB) | 16 |
| Accelerators | Value |
|---|---|
| GPUs | 1 |
| GPU | 1 × NVIDIA A10G |
| GPU memory | 24 GB |
| Networking | Value |
|---|---|
| Network | Up to 10 Gbps |
| Network baseline | 2.5 Gbps |
| Network peak | 10 Gbps |
| Enhanced networking | Yes (ENA) |
| EFA | No |
| IPv6 | Yes |
| Max network interfaces | 4 |
| IPv4 addresses per interface | 15 |
| Storage | Value |
|---|---|
| Storage | 1 x 250 GB NVMe SSD |
| Local disks | 1 × 250 GB SSD |
| EBS optimized | Yes |
| EBS over NVMe | Required |
| EBS throughput | Up to 3500 Mbps |
| EBS baseline bandwidth | 700 Mbps |
| EBS max bandwidth | 3,500 Mbps |
| EBS baseline throughput | 87.5 MB/s |
| EBS max throughput | 437.5 MB/s |
| EBS baseline IOPS | 3,000 |
| EBS max IOPS | 15,000 |
| Max EBS volumes | 25 |
| Instance details | Value |
|---|---|
| Instance type | g5.xlarge |
| Family | g5 |
| Category | GPU instance |
| Current generation | Yes |
| Normalization factor | 1 |
| Bare metal | No |
| Hypervisor | Nitro |
| Placement groups | Cluster, Partition, Spread |
| Hibernation | No |
| Nitro Enclaves | Yes |
| Boot modes | Legacy BIOS, UEFI |
Compare g5.xlarge
Other processors
Other generations
Other g5 sizes
| Size | vCPUs | Memory (GiB) | On-demand /hr |
|---|---|---|---|
| g5.xlarge | 4 | 16 | $1.006 |
| g5.2xlarge | 8 | 32 | $1.212 |
| g5.4xlarge | 16 | 64 | $1.624 |
| g5.8xlarge | 32 | 128 | $2.448 |
| g5.12xlarge | 48 | 192 | $5.672 |
| g5.16xlarge | 64 | 256 | $4.096 |
| g5.24xlarge | 96 | 384 | $8.144 |
| g5.48xlarge | 192 | 768 | $16.288 |
Prices updated 2026-11-12 from AWS public price lists. Compare all AWS EC2 instances.