self-host →

g5 EC2 instance family

AMD processor at 3.3 GHz, x86_64, 4 to 192 vCPUs, 16 to 768 GiB, up to 8 × NVIDIA A10G (22.35 GiB each)

Open g5 in the finder →
g5 prices per hour on Linux/UNIX, each type in its cheapest region
Type vCPU Memory Typical spot On-demand Cheapest region Per vCPU-hour
g5.xlarge4 vCPU, 16 GiB 4 16 GiB $0.1408 $1.408 ap-southeast-3 of 19 $0.0352
g5.2xlarge8 vCPU, 32 GiB 8 32 GiB $0.1696 $1.696 ap-southeast-3 of 19 $0.0212
g5.4xlarge16 vCPU, 64 GiB 16 64 GiB $0.3170 $2.273 ap-southeast-3 of 19 $0.0198
g5.8xlarge32 vCPU, 128 GiB 32 128 GiB $0.3426 $3.426 ap-southeast-3 of 19 $0.0107
g5.12xlarge48 vCPU, 192 GiB 48 192 GiB $0.8338 $6.016 eu-north-1 of 19 $0.0174
g5.16xlarge64 vCPU, 256 GiB 64 256 GiB $0.5733 $5.733 ap-southeast-3 of 19 $0.00896
g5.24xlarge96 vCPU, 384 GiB 96 384 GiB $1.758 $8.638 eu-north-1 of 19 $0.0183
g5.48xlarge192 vCPU, 768 GiB 192 768 GiB $3.287 $17.28 eu-north-1 of 19 $0.0171

Per hour on Linux/UNIX, in each type's cheapest region. Typical spot: per pricing run of the last 7 days, the cheapest zone's spot price, averaged, as the finder shows it with that region selected. On-demand: the same region's price. Per vCPU-hour: the spot price, or without spot the on-demand price, per vCPU. Every region is under Prices by region.

The G5 instance family, generally available since November 12, 2021, features up to 8 NVIDIA A10G Tensor Core GPUs and 2nd generation AMD EPYC processors. These instances are designed for graphics-intensive and machine learning workloads, offering up to 100 Gbps of networking bandwidth. They can be configured with up to 7.6 TB of local NVMe SSD storage and are built on the AWS Nitro System. G5 instances are ideal for applications like video rendering, remote workstations, and machine learning inference and training.

Written by Gemini from web sources and not checked: the specs and prices on this page come from AWS.

vCPUs
4 to 192
Memory
16 to 768 GiB
Architecture
x86_64
Processor vendor
AMD
Sustained clock
3.3 GHz
GPUs
Up to 8 × NVIDIA A10G (22.35 GiB each)
Specs of each type
Type vCPU Memory GPU Local storage Network EBS
g5.xlarge 4 16 GiB 1 × NVIDIA A10G (22.35 GiB) 250 GB NVMe SSD up to 10 (2.5 baseline) up to 3.5 (0.7 baseline)
g5.2xlarge 8 32 GiB 1 × NVIDIA A10G (22.35 GiB) 450 GB NVMe SSD up to 10 (5 baseline) up to 3.5 (0.85 baseline)
g5.4xlarge 16 64 GiB 1 × NVIDIA A10G (22.35 GiB) 600 GB NVMe SSD up to 25 (10 baseline) 4.75
g5.8xlarge 32 128 GiB 1 × NVIDIA A10G (22.35 GiB) 900 GB NVMe SSD 25 16
g5.12xlarge 48 192 GiB 4 × NVIDIA A10G (22.35 GiB each) 3800 GB NVMe SSD 40 16
g5.16xlarge 64 256 GiB 1 × NVIDIA A10G (22.35 GiB) 1900 GB NVMe SSD 25 16
g5.24xlarge 96 384 GiB 4 × NVIDIA A10G (22.35 GiB each) 3800 GB NVMe SSD 50 19
g5.48xlarge 192 768 GiB 8 × NVIDIA A10G (22.35 GiB each) 2 × 3800 GB NVMe SSD 100 19

Network and EBS: peak bandwidth in Gbit/s, with the bandwidth the type sustains when it is lower. Local storage: the instance store, in decimal GB as AWS sizes it.

#1
4261
#3
3818 3799–3818
#30
3112
#31
c7i, i7i, r7i
2978 2899–2978
#34
2878 2868–2878
#38
2771 2699–2771
#41
2604 2559–2604
#48
2475 2471–2475
#54
2298 2269–2298
#70
2034 1995–2034
#73
1947 1896–1947
#90
m5d
1853
#91
m5dn, c4, r5dn, r5n, t2, t3
1777 1757–1777
#97
m5, m5n, i3en, r5, r5b, r5d
1703 1686–1703
#103
m4, c3, i3
1625 1582–1625
#106
1564 1525–1564
#116
1415 1403–1415
#120
t3a
1333
#121
1108 1094–1108

Not benchmarked yet 55

These families have no PassMark single-thread score yet, so they are not ranked.

19 regions with a price in the last 7 days. Select up to 4 to compare them in the price history charts under Prices by region.

Each type's regions on Linux/UNIX, cheapest first, with the same figures as the Prices table, and its price history: the daily mean of every zone and pricing run, over the last 15 UTC days. Each price column is tinted from its cheapest region (green) to its most expensive (red).

g5.xlarge4 vCPU, 16 GiB, 19 regions
g5.xlarge prices per hour on Linux/UNIX, by region, cheapest first
Region Typical spot On-demand Spot saving
ap-southeast-3 Jakarta $0.1408 $1.408 90%
eu-west-3 Paris $0.3458 $1.277 73%
sa-east-1 São Paulo $0.3554 $1.710 79%
eu-north-1 Stockholm $0.3636 $1.067 66%
il-central-1 Tel Aviv $0.3963 $1.179 66%
ap-east-1 Hong Kong $0.4545 $1.549 71%
eu-west-2 London $0.4708 $1.277 63%
us-east-1 N. Virginia $0.4711 $1.006 53%
me-central-1 UAE $0.4854 $1.234 61%
ap-south-1 Mumbai $0.5300 $1.208 56%
ca-central-1 Canada Central $0.5343 $1.117 52%
us-east-2 Ohio $0.5473 $1.006 46%
eu-central-1 Frankfurt $0.5599 $1.258 55%
us-west-2 Oregon $0.5611 $1.006 44%
ap-northeast-2 Seoul $0.5724 $1.237 54%
ap-southeast-2 Sydney $0.6120 $1.308 53%
eu-west-1 Ireland $0.6184 $1.123 45%
ap-northeast-1 Tokyo $0.7159 $1.459 51%
eu-south-2 Spain $0.8512 $1.060 20%
Solid: spot, the daily mean of all zones (the typical spot above takes the cheapest zone). Dashed: on-demand. UTC days.
g5.2xlarge8 vCPU, 32 GiB, 19 regions
g5.2xlarge prices per hour on Linux/UNIX, by region, cheapest first
Region Typical spot On-demand Spot saving
ap-southeast-3 Jakarta $0.1696 $1.696 90%
eu-north-1 Stockholm $0.2332 $1.285 82%
il-central-1 Tel Aviv $0.2553 $1.421 82%
sa-east-1 São Paulo $0.2817 $2.060 86%
eu-west-3 Paris $0.4345 $1.538 72%
us-west-2 Oregon $0.4792 $1.212 60%
eu-west-2 London $0.5147 $1.538 67%
ap-east-1 Hong Kong $0.5169 $1.866 72%
eu-central-1 Frankfurt $0.5892 $1.516 61%
me-central-1 UAE $0.5903 $1.487 60%
us-east-1 N. Virginia $0.6364 $1.212 47%
us-east-2 Ohio $0.6430 $1.212 47%
ap-northeast-2 Seoul $0.6767 $1.490 55%
ap-south-1 Mumbai $0.7213 $1.455 50%
eu-west-1 Ireland $0.8251 $1.353 39%
ap-northeast-1 Tokyo $0.8373 $1.758 52%
eu-south-2 Spain $1.230 $1.277 4%
ca-central-1 Canada Central $1.346 $1.346 0%
ap-southeast-2 Sydney $1.576 $1.576 0%
Solid: spot, the daily mean of all zones (the typical spot above takes the cheapest zone). Dashed: on-demand. UTC days.
g5.4xlarge16 vCPU, 64 GiB, 19 regions
g5.4xlarge prices per hour on Linux/UNIX, by region, cheapest first
Region Typical spot On-demand Spot saving
ap-southeast-3 Jakarta $0.3170 $2.273 86%
ap-east-1 Hong Kong $0.3788 $2.500 85%
eu-north-1 Stockholm $0.3903 $1.722 77%
sa-east-1 São Paulo $0.5552 $2.760 80%
us-west-2 Oregon $0.6162 $1.624 62%
eu-central-1 Frankfurt $0.6429 $2.031 68%
eu-west-2 London $0.6778 $2.061 67%
me-central-1 UAE $0.7775 $1.992 61%
us-east-1 N. Virginia $0.7798 $1.624 52%
ap-south-1 Mumbai $0.8327 $1.950 57%
us-east-2 Ohio $0.8521 $1.624 48%
ap-northeast-2 Seoul $0.9047 $1.997 55%
eu-west-1 Ireland $0.9852 $1.813 46%
ap-northeast-1 Tokyo $1.123 $2.355 52%
ap-southeast-2 Sydney $1.139 $2.112 46%
eu-west-3 Paris $1.632 $2.061 21%
eu-south-2 Spain $1.649 $1.711 4%
ca-central-1 Canada Central $1.803 $1.803 0%
il-central-1 Tel Aviv $1.904 $1.904 0%
Solid: spot, the daily mean of all zones (the typical spot above takes the cheapest zone). Dashed: on-demand. UTC days.
g5.8xlarge32 vCPU, 128 GiB, 19 regions
g5.8xlarge prices per hour on Linux/UNIX, by region, cheapest first
Region Typical spot On-demand Spot saving
ap-southeast-3 Jakarta $0.3426 $3.426 90%
ap-east-1 Hong Kong $0.3769 $3.769 90%
eu-west-3 Paris $0.6201 $3.107 80%
eu-north-1 Stockholm $0.6372 $2.596 75%
us-east-1 N. Virginia $0.6943 $2.448 72%
sa-east-1 São Paulo $0.8267 $4.161 80%
ap-southeast-2 Sydney $0.8275 $3.183 74%
us-west-2 Oregon $0.9691 $2.448 60%
eu-central-1 Frankfurt $0.9771 $3.061 68%
eu-west-2 London $0.9959 $3.107 68%
il-central-1 Tel Aviv $1.066 $2.869 63%
ap-south-1 Mumbai $1.131 $2.940 62%
me-central-1 UAE $1.196 $3.003 60%
us-east-2 Ohio $1.219 $2.448 50%
eu-west-1 Ireland $1.294 $2.733 53%
ap-northeast-2 Seoul $1.357 $3.010 55%
ap-northeast-1 Tokyo $1.609 $3.550 55%
eu-south-2 Spain $2.426 $2.579 6%
ca-central-1 Canada Central $2.718 $2.718 0%
Solid: spot, the daily mean of all zones (the typical spot above takes the cheapest zone). Dashed: on-demand. UTC days.
g5.12xlarge48 vCPU, 192 GiB, 19 regions
g5.12xlarge prices per hour on Linux/UNIX, by region, cheapest first
Region Typical spot On-demand Spot saving
eu-north-1 Stockholm $0.8338 $6.016 86%
ap-east-1 Hong Kong $1.097 $8.732 87%
ca-central-1 Canada Central $1.158 $6.298 82%
us-west-2 Oregon $1.721 $5.672 70%
us-east-1 N. Virginia $2.182 $5.672 62%
il-central-1 Tel Aviv $2.248 $6.648 66%
eu-west-1 Ireland $2.351 $6.332 63%
eu-central-1 Frankfurt $2.434 $7.093 66%
ap-southeast-3 Jakarta $2.711 $7.939 66%
me-central-1 UAE $2.728 $6.958 61%
eu-west-2 London $2.760 $7.200 62%
us-east-2 Ohio $2.832 $5.672 50%
ap-south-1 Mumbai $3.121 $6.811 54%
ap-northeast-2 Seoul $3.482 $6.974 50%
eu-south-2 Spain $3.501 $5.976 41%
ap-northeast-1 Tokyo $4.113 $8.226 50%
eu-west-3 Paris $7.093 $7.200 1%
ap-southeast-2 Sydney $7.375 $7.375 0%
sa-east-1 São Paulo $7.823 $9.641 19%
Solid: spot, the daily mean of all zones (the typical spot above takes the cheapest zone). Dashed: on-demand. UTC days.
g5.16xlarge64 vCPU, 256 GiB, 19 regions
g5.16xlarge prices per hour on Linux/UNIX, by region, cheapest first
Region Typical spot On-demand Spot saving
ap-southeast-3 Jakarta $0.5733 $5.733 90%
eu-north-1 Stockholm $0.6796 $4.344 84%
us-east-1 N. Virginia $1.114 $4.096 73%
us-west-2 Oregon $1.209 $4.096 70%
ap-southeast-2 Sydney $1.273 $5.326 76%
eu-west-3 Paris $1.370 $5.199 74%
ap-south-1 Mumbai $1.397 $4.918 72%
eu-west-2 London $1.469 $5.199 72%
eu-west-1 Ireland $1.689 $4.572 63%
eu-central-1 Frankfurt $1.770 $5.122 65%
il-central-1 Tel Aviv $1.827 $4.801 62%
us-east-2 Ohio $1.924 $4.096 53%
me-central-1 UAE $2.147 $5.024 57%
ap-northeast-2 Seoul $2.267 $5.037 55%
ap-northeast-1 Tokyo $2.703 $5.940 54%
sa-east-1 São Paulo $3.085 $6.962 56%
ca-central-1 Canada Central $4.088 $4.548 10%
eu-south-2 Spain $4.157 $4.316 4%
ap-east-1 Hong Kong $6.306 $6.306 0%
Solid: spot, the daily mean of all zones (the typical spot above takes the cheapest zone). Dashed: on-demand. UTC days.
g5.24xlarge96 vCPU, 384 GiB, 19 regions
g5.24xlarge prices per hour on Linux/UNIX, by region, cheapest first
Region Typical spot On-demand Spot saving
eu-north-1 Stockholm $1.758 $8.638 80%
us-west-2 Oregon $1.876 $8.144 77%
eu-west-1 Ireland $2.665 $9.091 71%
sa-east-1 São Paulo $2.905 $13.84 79%
us-east-1 N. Virginia $2.954 $8.144 64%
ca-central-1 Canada Central $3.805 $9.043 58%
us-east-2 Ohio $3.913 $8.144 52%
me-central-1 UAE $4.310 $9.990 57%
ap-northeast-2 Seoul $4.647 $10.01 54%
ap-southeast-3 Jakarta $6.225 $11.40 45%
eu-south-2 Spain $8.267 $8.581 4%
il-central-1 Tel Aviv $9.546 $9.546 0%
ap-south-1 Mumbai $9.779 $9.779 0%
eu-central-1 Frankfurt $10.18 $10.18 0%
ap-northeast-1 Tokyo $10.25 $11.81 13%
eu-west-2 London $10.34 $10.34 0%
ap-east-1 Hong Kong $12.54 $12.54 0%
eu-west-3 Paris no spot $10.34
ap-southeast-2 Sydney no spot $10.59
Solid: spot, the daily mean of all zones (the typical spot above takes the cheapest zone). Dashed: on-demand. UTC days.
g5.48xlarge192 vCPU, 768 GiB, 19 regions
g5.48xlarge prices per hour on Linux/UNIX, by region, cheapest first
Region Typical spot On-demand Spot saving
eu-north-1 Stockholm $3.287 $17.28 81%
us-west-2 Oregon $4.935 $16.29 70%
eu-west-1 Ireland $5.196 $18.18 71%
us-east-1 N. Virginia $7.160 $16.29 56%
us-east-2 Ohio $7.742 $16.29 52%
me-central-1 UAE $8.628 $19.98 57%
ap-northeast-2 Seoul $9.613 $20.03 52%
ap-east-1 Hong Kong $11.06 $25.08 56%
ap-southeast-3 Jakarta $12.51 $22.80 45%
eu-south-2 Spain $16.52 $17.16 4%
ap-south-1 Mumbai $17.91 $19.56 8%
ca-central-1 Canada Central $18.09 $18.09 0%
il-central-1 Tel Aviv $19.09 $19.09 0%
eu-central-1 Frankfurt $20.37 $20.37 0%
eu-west-2 London $20.68 $20.68 0%
eu-west-3 Paris $20.68 $20.68 0%
ap-southeast-2 Sydney $21.18 $21.18 0%
ap-northeast-1 Tokyo $21.26 $23.62 10%
sa-east-1 São Paulo $22.47 $27.69 19%
Solid: spot, the daily mean of all zones (the typical spot above takes the cheapest zone). Dashed: on-demand. UTC days.