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.1879 $1.234 me-central-1 of 19 $0.0470
g5.2xlarge8 vCPU, 32 GiB 8 32 GiB $0.2669 $1.487 me-central-1 of 19 $0.0334
g5.4xlarge16 vCPU, 64 GiB 16 64 GiB $0.2817 $2.273 ap-southeast-3 of 19 $0.0176
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 $0.9077 $8.732 ap-east-1 of 19 $0.0189
g5.16xlarge64 vCPU, 256 GiB 64 256 GiB $0.5832 $5.733 ap-southeast-3 of 19 $0.00911
g5.24xlarge96 vCPU, 384 GiB 96 384 GiB $0.8924 $8.638 eu-north-1 of 19 $0.00930
g5.48xlarge192 vCPU, 768 GiB 192 768 GiB $3.159 $17.28 eu-north-1 of 19 $0.0165

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
4259
#3
3809 3806–3809
#30
3110
#31
3000 2927–3000
#35
2875 2816–2875
#40
2698 2660–2698
#42
2586 2569–2586
#48
2473 2469–2473
#55
2303 2269–2303
#71
2034 1995–2034
#74
1946 1896–1946
#91
m5d
1853
#92
m5dn, c4, r5dn, r5n, t2, t3
1777 1757–1777
#98
m5, m5n, i3en, r5, r5b, r5d
1703 1686–1703
#104
m4, c3, i3
1625 1582–1625
#107
1569 1525–1569
#117
1415 1388–1415
#122
1110 1094–1110

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
me-central-1 UAE $0.1879 $1.234 85%
ap-southeast-3 Jakarta $0.1889 $1.408 87%
ca-central-1 Canada Central $0.2988 $1.117 73%
il-central-1 Tel Aviv $0.3757 $1.179 68%
eu-north-1 Stockholm $0.3850 $1.067 64%
sa-east-1 São Paulo $0.3972 $1.710 77%
ap-east-1 Hong Kong $0.4409 $1.549 72%
eu-west-2 London $0.4610 $1.277 64%
ap-southeast-2 Sydney $0.5036 $1.308 61%
us-east-2 Ohio $0.5313 $1.006 47%
us-west-2 Oregon $0.5638 $1.006 44%
ap-northeast-2 Seoul $0.6046 $1.237 51%
eu-central-1 Frankfurt $0.6132 $1.258 51%
eu-west-3 Paris $0.6183 $1.277 52%
eu-west-1 Ireland $0.6859 $1.123 39%
us-east-1 N. Virginia $0.6873 $1.006 32%
eu-south-2 Spain $0.6879 $1.060 35%
ap-northeast-1 Tokyo $0.7055 $1.459 52%
ap-south-1 Mumbai $0.7077 $1.208 41%
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
me-central-1 UAE $0.2669 $1.487 82%
ap-southeast-3 Jakarta $0.2680 $1.696 84%
il-central-1 Tel Aviv $0.3100 $1.421 78%
eu-north-1 Stockholm $0.3677 $1.285 71%
sa-east-1 São Paulo $0.4523 $2.060 78%
eu-west-3 Paris $0.4647 $1.538 70%
ap-east-1 Hong Kong $0.4815 $1.866 74%
eu-west-2 London $0.5342 $1.538 65%
eu-central-1 Frankfurt $0.6275 $1.516 59%
us-east-2 Ohio $0.6543 $1.212 46%
ap-northeast-2 Seoul $0.6818 $1.490 54%
ap-south-1 Mumbai $0.7194 $1.455 51%
us-west-2 Oregon $0.7265 $1.212 40%
us-east-1 N. Virginia $0.7382 $1.212 39%
eu-west-1 Ireland $0.8417 $1.353 38%
ap-northeast-1 Tokyo $0.8459 $1.758 52%
eu-south-2 Spain $1.219 $1.277 5%
ca-central-1 Canada Central $1.346 $1.346 0%
ap-southeast-2 Sydney $1.547 $1.576 2%
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.2817 $2.273 88%
me-central-1 UAE $0.3590 $1.992 82%
ap-east-1 Hong Kong $0.3953 $2.500 84%
eu-north-1 Stockholm $0.4869 $1.722 72%
us-west-2 Oregon $0.5401 $1.624 67%
eu-west-2 London $0.5756 $2.061 72%
us-east-1 N. Virginia $0.6158 $1.624 62%
eu-central-1 Frankfurt $0.7026 $2.031 65%
sa-east-1 São Paulo $0.7417 $2.760 73%
us-east-2 Ohio $0.8091 $1.624 50%
ap-southeast-2 Sydney $0.8389 $2.112 60%
ap-northeast-2 Seoul $0.9050 $1.997 55%
eu-south-2 Spain $0.9733 $1.711 43%
ap-south-1 Mumbai $1.002 $1.950 49%
ap-northeast-1 Tokyo $1.070 $2.355 55%
eu-west-1 Ireland $1.226 $1.813 32%
eu-west-3 Paris $1.695 $2.061 18%
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-east-1 Hong Kong $0.3769 $3.769 90%
me-central-1 UAE $0.5368 $3.003 82%
ap-southeast-3 Jakarta $0.5667 $3.426 83%
us-east-1 N. Virginia $0.6159 $2.448 75%
eu-north-1 Stockholm $0.6386 $2.596 75%
il-central-1 Tel Aviv $0.8091 $2.869 72%
eu-central-1 Frankfurt $0.8133 $3.061 73%
us-west-2 Oregon $0.8536 $2.448 65%
eu-west-2 London $0.8918 $3.107 71%
ap-southeast-2 Sydney $0.9528 $3.183 70%
eu-west-3 Paris $0.9691 $3.107 69%
sa-east-1 São Paulo $0.9694 $4.161 77%
ap-south-1 Mumbai $1.100 $2.940 63%
eu-south-2 Spain $1.214 $2.579 53%
us-east-2 Ohio $1.288 $2.448 47%
ap-northeast-2 Seoul $1.356 $3.010 55%
eu-west-1 Ireland $1.469 $2.733 46%
ap-northeast-1 Tokyo $1.621 $3.550 54%
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
ap-east-1 Hong Kong $0.9077 $8.732 90%
ap-southeast-3 Jakarta $1.082 $7.939 86%
eu-north-1 Stockholm $1.098 $6.016 82%
me-central-1 UAE $1.203 $6.957 83%
us-west-2 Oregon $1.586 $5.672 72%
us-east-1 N. Virginia $1.924 $5.672 66%
ap-south-1 Mumbai $2.053 $6.811 70%
us-east-2 Ohio $2.552 $5.672 55%
eu-south-2 Spain $2.700 $5.976 55%
eu-west-1 Ireland $2.707 $6.332 57%
ca-central-1 Canada Central $2.956 $6.298 53%
eu-west-2 London $3.025 $7.200 58%
ap-northeast-2 Seoul $3.300 $6.974 53%
eu-west-3 Paris $3.561 $7.200 51%
ap-northeast-1 Tokyo $3.702 $8.226 55%
il-central-1 Tel Aviv $5.650 $6.648 15%
eu-central-1 Frankfurt $5.668 $7.093 20%
ap-southeast-2 Sydney $7.228 $7.375 2%
sa-east-1 São Paulo $8.045 $9.641 17%
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.5832 $5.733 90%
eu-north-1 Stockholm $0.8272 $4.344 81%
us-east-1 N. Virginia $1.011 $4.096 75%
eu-west-2 London $1.054 $5.199 80%
us-west-2 Oregon $1.147 $4.096 72%
eu-west-1 Ireland $1.385 $4.572 70%
il-central-1 Tel Aviv $1.402 $4.801 71%
ap-south-1 Mumbai $1.471 $4.918 70%
sa-east-1 São Paulo $1.613 $6.962 77%
eu-central-1 Frankfurt $1.618 $5.122 68%
ap-southeast-2 Sydney $1.849 $5.326 65%
me-central-1 UAE $1.874 $5.024 63%
us-east-2 Ohio $1.967 $4.096 52%
eu-west-3 Paris $2.197 $5.199 58%
ap-northeast-2 Seoul $2.266 $5.037 55%
eu-south-2 Spain $2.646 $4.316 39%
ap-northeast-1 Tokyo $2.673 $5.940 55%
ca-central-1 Canada Central $4.205 $4.548 8%
ap-east-1 Hong Kong $6.291 $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 $0.8924 $8.638 90%
us-west-2 Oregon $1.015 $8.144 88%
ap-southeast-3 Jakarta $1.719 $11.40 85%
sa-east-1 São Paulo $2.525 $13.84 82%
eu-west-1 Ireland $2.699 $9.091 70%
us-east-1 N. Virginia $2.848 $8.144 65%
us-east-2 Ohio $3.679 $8.144 55%
me-central-1 UAE $3.964 $9.990 60%
ap-northeast-2 Seoul $4.604 $10.01 54%
eu-west-3 Paris $5.054 $10.34 51%
eu-south-2 Spain $5.120 $8.581 40%
ap-northeast-1 Tokyo $5.563 $11.81 53%
eu-central-1 Frankfurt $6.449 $10.18 37%
ap-southeast-2 Sydney $6.554 $10.59 38%
ca-central-1 Canada Central $6.952 $9.043 23%
il-central-1 Tel Aviv $7.227 $9.546 24%
ap-east-1 Hong Kong $7.556 $12.54 40%
eu-west-2 London $9.594 $10.34 7%
ap-south-1 Mumbai $9.779 $9.779 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.159 $17.28 82%
eu-west-1 Ireland $5.196 $18.18 71%
ap-east-1 Hong Kong $7.563 $25.08 70%
me-central-1 UAE $7.738 $19.98 61%
us-east-1 N. Virginia $7.916 $16.29 51%
us-east-2 Ohio $8.742 $16.29 46%
us-west-2 Oregon $9.091 $16.29 44%
ap-northeast-2 Seoul $9.599 $20.03 52%
eu-south-2 Spain $16.42 $17.16 4%
eu-west-3 Paris $17.01 $20.68 18%
ap-southeast-3 Jakarta $17.72 $22.80 22%
ca-central-1 Canada Central $18.09 $18.09 0%
il-central-1 Tel Aviv $19.09 $19.09 0%
eu-west-2 London $19.23 $20.68 7%
ap-south-1 Mumbai $19.56 $19.56 0%
eu-central-1 Frankfurt $20.37 $20.37 0%
ap-southeast-2 Sydney $20.75 $21.18 2%
ap-northeast-1 Tokyo $21.26 $23.62 10%
sa-east-1 São Paulo $23.10 $27.69 17%
Solid: spot, the daily mean of all zones (the typical spot above takes the cheapest zone). Dashed: on-demand. UTC days.