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.2385 $2.273 ap-southeast-3 of 19 $0.0149
g5.8xlarge32 vCPU, 128 GiB 32 128 GiB $0.3769 $3.769 ap-east-1 of 19 $0.0118
g5.12xlarge48 vCPU, 192 GiB 48 192 GiB $1.566 $8.732 ap-east-1 of 19 $0.0326
g5.16xlarge64 vCPU, 256 GiB 64 256 GiB $0.4801 $4.801 il-central-1 of 19 $0.00750
g5.24xlarge96 vCPU, 384 GiB 96 384 GiB $2.101 $8.638 eu-north-1 of 19 $0.0219
g5.48xlarge192 vCPU, 768 GiB 192 768 GiB $3.832 $17.28 eu-north-1 of 19 $0.0200

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
4257
#3
3803 3801–3803
#30
3115 3105–3115
#32
2955 2875–2955
#37
m7i, r7i
2816 2763–2816
#39
2700
#40
2596 2549–2596
#48
2475 2469–2475
#54
2303 2269–2303
#70
2034 1995–2034
#73
1945 1896–1945
#90
m5d
1853
#91
m5dn, c4, r5dn, r5n, t2, t3
1777 1746–1777
#97
m5, m5n, i3en, r5, r5b, r5d
1703 1686–1703
#103
m4, c3, i3
1625 1582–1625
#106
1560 1525–1560
#116
1414 1388–1414
#121
1105 1094–1105

Not benchmarked yet 53

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-south-2 Spain $0.2484 $1.060 77%
eu-north-1 Stockholm $0.2830 $1.067 73%
sa-east-1 São Paulo $0.3304 $1.710 81%
eu-west-3 Paris $0.3484 $1.277 73%
us-east-1 N. Virginia $0.4102 $1.006 59%
us-west-2 Oregon $0.4863 $1.006 52%
ap-southeast-2 Sydney $0.4867 $1.308 63%
ap-east-1 Hong Kong $0.4909 $1.549 68%
il-central-1 Tel Aviv $0.4978 $1.179 58%
ca-central-1 Canada Central $0.5020 $1.117 55%
me-central-1 UAE $0.5052 $1.234 59%
us-east-2 Ohio $0.5157 $1.006 49%
eu-west-2 London $0.5652 $1.277 56%
ap-northeast-2 Seoul $0.5692 $1.237 54%
eu-central-1 Frankfurt $0.6225 $1.258 51%
eu-west-1 Ireland $0.6346 $1.123 43%
ap-south-1 Mumbai $0.6426 $1.208 47%
ap-northeast-1 Tokyo $0.7132 $1.459 51%
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.3383 $1.285 74%
eu-south-2 Spain $0.3462 $1.277 73%
sa-east-1 São Paulo $0.3750 $2.060 82%
us-west-2 Oregon $0.4798 $1.212 60%
eu-west-3 Paris $0.4896 $1.538 68%
il-central-1 Tel Aviv $0.5207 $1.421 63%
ap-east-1 Hong Kong $0.5750 $1.866 69%
ap-south-1 Mumbai $0.5798 $1.455 60%
me-central-1 UAE $0.6086 $1.487 59%
us-east-2 Ohio $0.6199 $1.212 49%
eu-west-2 London $0.6535 $1.538 58%
ap-northeast-2 Seoul $0.6807 $1.490 54%
us-east-1 N. Virginia $0.7029 $1.212 42%
ap-southeast-2 Sydney $0.7186 $1.576 54%
eu-central-1 Frankfurt $0.7459 $1.516 51%
ap-northeast-1 Tokyo $0.8505 $1.758 52%
eu-west-1 Ireland $0.9934 $1.353 27%
ca-central-1 Canada Central $1.199 $1.346 11%
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.2385 $2.273 90%
ap-east-1 Hong Kong $0.3094 $2.500 88%
eu-north-1 Stockholm $0.4502 $1.722 74%
us-east-1 N. Virginia $0.5328 $1.624 67%
il-central-1 Tel Aviv $0.6308 $1.904 67%
sa-east-1 São Paulo $0.6591 $2.760 76%
eu-west-3 Paris $0.7096 $2.061 66%
ap-south-1 Mumbai $0.7190 $1.950 63%
us-west-2 Oregon $0.7430 $1.624 54%
eu-central-1 Frankfurt $0.8035 $2.031 60%
me-central-1 UAE $0.8155 $1.992 59%
us-east-2 Ohio $0.8477 $1.624 48%
eu-west-2 London $0.8648 $2.061 58%
ap-northeast-2 Seoul $0.9076 $1.997 55%
ap-southeast-2 Sydney $0.9320 $2.112 56%
eu-west-1 Ireland $1.012 $1.813 44%
ap-northeast-1 Tokyo $1.174 $2.355 50%
eu-south-2 Spain $1.691 $1.711 1%
ca-central-1 Canada Central $1.803 $1.803 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-east-1 Hong Kong $0.3769 $3.769 90%
ap-southeast-3 Jakarta $0.4046 $3.426 88%
eu-west-3 Paris $0.6190 $3.107 80%
eu-north-1 Stockholm $0.6608 $2.596 75%
eu-west-2 London $0.8571 $3.107 72%
eu-central-1 Frankfurt $0.8820 $3.061 71%
ap-southeast-2 Sydney $0.8942 $3.183 72%
us-west-2 Oregon $0.9235 $2.448 62%
ca-central-1 Canada Central $0.9635 $2.718 65%
eu-south-2 Spain $0.9815 $2.579 62%
il-central-1 Tel Aviv $1.005 $2.869 65%
us-east-1 N. Virginia $1.052 $2.448 57%
sa-east-1 São Paulo $1.057 $4.161 75%
ap-south-1 Mumbai $1.062 $2.940 64%
us-east-2 Ohio $1.198 $2.448 51%
me-central-1 UAE $1.229 $3.003 59%
ap-northeast-2 Seoul $1.367 $3.010 55%
eu-west-1 Ireland $1.395 $2.733 49%
ap-northeast-1 Tokyo $1.618 $3.550 54%
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
ap-east-1 Hong Kong $1.566 $8.732 82%
eu-north-1 Stockholm $1.637 $6.016 73%
il-central-1 Tel Aviv $1.780 $6.648 73%
eu-central-1 Frankfurt $2.075 $7.093 71%
ap-southeast-3 Jakarta $2.121 $7.939 73%
ap-south-1 Mumbai $2.319 $6.811 66%
eu-west-1 Ireland $2.621 $6.332 59%
eu-west-3 Paris $2.707 $7.200 62%
me-central-1 UAE $2.848 $6.958 59%
us-east-2 Ohio $2.867 $5.672 49%
us-east-1 N. Virginia $3.059 $5.672 46%
us-west-2 Oregon $3.188 $5.672 44%
ap-northeast-2 Seoul $3.535 $6.974 49%
ca-central-1 Canada Central $3.659 $6.298 42%
eu-west-2 London $4.399 $7.200 39%
ap-northeast-1 Tokyo $4.874 $8.226 41%
eu-south-2 Spain $5.904 $5.976 1%
ap-southeast-2 Sydney $7.375 $7.375 0%
sa-east-1 São Paulo $8.205 $9.641 15%
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
il-central-1 Tel Aviv $0.4801 $4.801 90%
ap-southeast-3 Jakarta $0.5733 $5.733 90%
eu-north-1 Stockholm $0.6340 $4.344 85%
us-west-2 Oregon $1.169 $4.096 71%
eu-west-3 Paris $1.179 $5.199 77%
eu-west-2 London $1.206 $5.199 77%
eu-west-1 Ireland $1.315 $4.572 71%
ap-southeast-2 Sydney $1.373 $5.326 74%
us-east-1 N. Virginia $1.381 $4.096 66%
ap-east-1 Hong Kong $1.429 $6.306 77%
ap-south-1 Mumbai $1.512 $4.918 69%
us-east-2 Ohio $1.864 $4.096 54%
ca-central-1 Canada Central $1.972 $4.548 57%
me-central-1 UAE $2.057 $5.024 59%
eu-central-1 Frankfurt $2.240 $5.122 56%
ap-northeast-2 Seoul $2.267 $5.037 55%
ap-northeast-1 Tokyo $3.019 $5.940 49%
eu-south-2 Spain $4.264 $4.316 1%
sa-east-1 São Paulo $5.925 $6.962 15%
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 $2.101 $8.638 76%
us-west-2 Oregon $2.511 $8.144 69%
ap-south-1 Mumbai $2.959 $9.779 70%
sa-east-1 São Paulo $3.353 $13.84 76%
us-east-1 N. Virginia $3.421 $8.144 58%
us-east-2 Ohio $3.867 $8.144 53%
me-central-1 UAE $4.090 $9.990 59%
eu-west-1 Ireland $4.165 $9.091 54%
eu-central-1 Frankfurt $4.397 $10.18 57%
ap-northeast-2 Seoul $4.831 $10.01 52%
ca-central-1 Canada Central $6.422 $9.043 29%
ap-southeast-3 Jakarta $7.865 $11.40 31%
eu-south-2 Spain $8.478 $8.581 1%
il-central-1 Tel Aviv $9.546 $9.546 0%
eu-west-2 London $10.34 $10.34 0%
eu-west-3 Paris $10.34 $10.34 0%
ap-southeast-2 Sydney $10.59 $10.59 0%
ap-northeast-1 Tokyo $10.63 $11.81 10%
ap-east-1 Hong Kong $12.54 $12.54 0%
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.832 $17.28 78%
us-east-1 N. Virginia $4.398 $16.29 73%
us-west-2 Oregon $5.264 $16.29 68%
eu-west-1 Ireland $5.291 $18.18 71%
us-east-2 Ohio $8.127 $16.29 50%
me-central-1 UAE $8.179 $19.98 59%
ap-south-1 Mumbai $8.264 $19.56 58%
ap-northeast-2 Seoul $9.699 $20.03 52%
ap-southeast-3 Jakarta $15.68 $22.80 31%
eu-south-2 Spain $16.95 $17.16 1%
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 $23.56 $27.69 15%
ap-east-1 Hong Kong $25.08 $25.08 0%
Solid: spot, the daily mean of all zones (the typical spot above takes the cheapest zone). Dashed: on-demand. UTC days.