g5 family
The g5 family has 8 sizes on AWS EC2, from 4 to 192 vCPUs and 16 to 768 GiB of memory. In US East (N. Virginia), on-demand prices run $1.006 to $16.288 per hour for Linux. It is sold in 19 regions and listed as GPU.
Sizes and prices in US East (N. Virginia)
| Type | vCPUs | Memory (GiB) | GPUs | On-demand /hr | Spot /hr | 1-yr reserved /hr |
|---|---|---|---|---|---|---|
| g5.xlarge | 4 | 16 | 1 | $1.006 | $0.499 | $0.6338 |
| g5.2xlarge | 8 | 32 | 1 | $1.212 | $0.8303 | $0.7636 |
| g5.4xlarge | 16 | 64 | 1 | $1.624 | $0.7309 | $1.023 |
| g5.8xlarge | 32 | 128 | 1 | $2.448 | $0.8379 | $1.542 |
| g5.12xlarge | 48 | 192 | 4 | $5.672 | $2.087 | $3.573 |
| g5.16xlarge | 64 | 256 | 1 | $4.096 | $1.139 | $2.58 |
| g5.24xlarge | 96 | 384 | 4 | $8.144 | $2.808 | $5.131 |
| g5.48xlarge | 192 | 768 | 8 | $16.288 | $8.461 | $10.261 |
Compare g5
Same generation
Categories
Regions
Asia Pacific (Hong Kong)Asia Pacific (Tokyo)Asia Pacific (Seoul)Asia Pacific (Mumbai)Asia Pacific (Sydney)Asia Pacific (Jakarta)Canada (Central)EU (Frankfurt)EU (Stockholm)Europe (Spain)EU (Ireland)EU (London)EU (Paris)Israel (Tel Aviv)Middle East (UAE)South America (Sao Paulo)US East (N. Virginia)US East (Ohio)US West (Oregon)
Prices in USD per hour for Linux; reserved prices are 1 year, no upfront. Updated 2026-11-12 from AWS public price lists. Compare all AWS EC2 instance types.