g5.xlarge specifications

From AWS's price list and documentation (see the specification notes). Specs they do not state are left out.

g5.xlarge specifications
vCPU4
Physical cores2
Memory16 GiB
Architecturex86-64
GPU1× NVIDIA A10G · 24 GiB/card
Local storage250 GB temporary local storage; nvme
Network2.5 Gbps baseline network (burstable)

Lowest and highest price by region

The cheapest and most expensive region for each billing term, per hour.
Billing termLowestHighestCompared
On-demand$1.01/hrUS East (N. Virginia) and 1 other$1.46/hrAsia Pacific (Tokyo)5 regions
Spot (interruptible)$0.528/hrUS West (Oregon)$0.757/hrUS East (N. Virginia)5 regions
12-month commitment$0.634/hrUS East (N. Virginia) and 1 other$0.919/hrAsia Pacific (Tokyo)5 regions
36-month commitment$0.435/hrUS East (N. Virginia) and 1 other$0.63/hrAsia Pacific (Tokyo)5 regions

Every g5.xlarge price

AWS does not say whether these prices include tax. Monthly prices are estimates (≈): the hourly rate × 730 hours.

On-demand

5 prices
On-demand, cheapest first.
RegionHourlyMonthly
US East (N. Virginia)$1.01/hr≈ $734.38/mo
US West (Oregon)$1.01/hr≈ $734.38/mo
EU (Ireland)$1.12/hr≈ $819.79/mo
EU (Frankfurt)$1.26/hr≈ $918.34/mo
Asia Pacific (Tokyo)$1.46/hr≈ $1,065.07/mo
Source notes for these prices
  • US East (N. Virginia): Official On-Demand hourly rate code 79BRGEEZC6TARVWJ.JRTCKXETXF.6YS6EN2CT7 for shared-tenancy Linux; monthly amount is a 730-hour estimate.
  • US West (Oregon): Official On-Demand hourly rate code VM34A8UEABXS8VJD.JRTCKXETXF.6YS6EN2CT7 for shared-tenancy Linux; monthly amount is a 730-hour estimate.
  • EU (Ireland): Official On-Demand hourly rate code VUKEDVMSXUGE3HZN.JRTCKXETXF.6YS6EN2CT7 for shared-tenancy Linux; monthly amount is a 730-hour estimate.
  • EU (Frankfurt): Official On-Demand hourly rate code CT54TJTYFPJVNFQ6.JRTCKXETXF.6YS6EN2CT7 for shared-tenancy Linux; monthly amount is a 730-hour estimate.
  • Asia Pacific (Tokyo): Official On-Demand hourly rate code 6EVSM9MX8J6C6FZB.JRTCKXETXF.6YS6EN2CT7 for shared-tenancy Linux; monthly amount is a 730-hour estimate.

Spot (interruptible)

5 prices
Spot (interruptible), cheapest first.
RegionHourlyMonthly
US West (Oregon)$0.528/hr≈ $385.29/mo
EU (Frankfurt)$0.56/hr≈ $408.95/mo
EU (Ireland)$0.683/hr≈ $498.74/mo
Asia Pacific (Tokyo)$0.703/hr≈ $513.34/mo
US East (N. Virginia)$0.757/hr≈ $552.32/mo
Source notes for these prices

Every row: Official current Linux Spot hourly price; monthly amount is a 730-hour comparison estimate and Spot rates can change independently.

12-month commitment

5 prices
12-month commitment, cheapest first.
RegionHourlyMonthly
US East (N. Virginia)$0.634/hr≈ $462.66/mo
US West (Oregon)$0.634/hr≈ $462.66/mo
EU (Ireland)$0.707/hr≈ $516.47/mo
EU (Frankfurt)$0.793/hr≈ $578.55/mo
Asia Pacific (Tokyo)$0.919/hr≈ $670.99/mo
Source notes for these prices
  • US East (N. Virginia): Official 12-month No Upfront shared-tenancy Linux Reserved Instance hourly rate code 79BRGEEZC6TARVWJ.4NA7Y494T4.6YS6EN2CT7; monthly amount is a 730-hour estimate.
  • US West (Oregon): Official 12-month No Upfront shared-tenancy Linux Reserved Instance hourly rate code VM34A8UEABXS8VJD.4NA7Y494T4.6YS6EN2CT7; monthly amount is a 730-hour estimate.
  • EU (Ireland): Official 12-month No Upfront shared-tenancy Linux Reserved Instance hourly rate code VUKEDVMSXUGE3HZN.4NA7Y494T4.6YS6EN2CT7; monthly amount is a 730-hour estimate.
  • EU (Frankfurt): Official 12-month No Upfront shared-tenancy Linux Reserved Instance hourly rate code CT54TJTYFPJVNFQ6.4NA7Y494T4.6YS6EN2CT7; monthly amount is a 730-hour estimate.
  • Asia Pacific (Tokyo): Official 12-month No Upfront shared-tenancy Linux Reserved Instance hourly rate code 6EVSM9MX8J6C6FZB.4NA7Y494T4.6YS6EN2CT7; monthly amount is a 730-hour estimate.

36-month commitment

5 prices
36-month commitment, cheapest first.
RegionHourlyMonthly
US East (N. Virginia)$0.435/hr≈ $317.25/mo
US West (Oregon)$0.435/hr≈ $317.25/mo
EU (Ireland)$0.485/hr≈ $354.15/mo
EU (Frankfurt)$0.543/hr≈ $396.73/mo
Asia Pacific (Tokyo)$0.63/hr≈ $460.11/mo
Source notes for these prices
  • US East (N. Virginia): Official 36-month No Upfront shared-tenancy Linux Reserved Instance hourly rate code 79BRGEEZC6TARVWJ.BPH4J8HBKS.6YS6EN2CT7; monthly amount is a 730-hour estimate.
  • US West (Oregon): Official 36-month No Upfront shared-tenancy Linux Reserved Instance hourly rate code VM34A8UEABXS8VJD.BPH4J8HBKS.6YS6EN2CT7; monthly amount is a 730-hour estimate.
  • EU (Ireland): Official 36-month No Upfront shared-tenancy Linux Reserved Instance hourly rate code VUKEDVMSXUGE3HZN.BPH4J8HBKS.6YS6EN2CT7; monthly amount is a 730-hour estimate.
  • EU (Frankfurt): Official 36-month No Upfront shared-tenancy Linux Reserved Instance hourly rate code CT54TJTYFPJVNFQ6.BPH4J8HBKS.6YS6EN2CT7; monthly amount is a 730-hour estimate.
  • Asia Pacific (Tokyo): Official 36-month No Upfront shared-tenancy Linux Reserved Instance hourly rate code 6EVSM9MX8J6C6FZB.BPH4J8HBKS.6YS6EN2CT7; monthly amount is a 730-hour estimate.

Similar AWS instance types

GPU sizes within a factor of two in vCPU and memory, with each one's lowest on-demand price. Equal vCPU and RAM do not mean equal performance.
Instance typevCPUMemoryCPULowest on-demand
g6f.large28 GiBx86-64$0.202/hr
g4dn.xlarge416 GiBx86-64$0.526/hr
g5.xlarge416 GiBx86-64$1.01/hr
g6.xlarge416 GiBx86-64$0.805/hr
inf2.xlarge416 GiBx86-64$0.758/hr
g6e.xlarge432 GiBx86-64$1.86/hr
trn1.2xlarge832 GiBx86-64$1.34/hr

Sources

View vendor pricing at AWS ↗ · AWS product page ↗

Billing notes on AWS's price list

Official AWS public pricing-page feeds in USD for 6 reviewed regions. Linux shared tenancy is selected; On-Demand, current Spot, and No Upfront Reserved Instance terms are published as separate price records. Tax treatment is not established by these feeds.

Data sources for these prices

The sources these figures were read from. They can be raw data or need a login; they are not buying pages.

Specification notes
  • AWS public pricing data identifies this as GPU instance; it reports storage as "1 x 250 GB NVMe SSD" and network as "Up to 10 Gigabit".
  • CPU architecture x86-64: AWS EC2 instance-type documentation lists g5 with AMD (x86_64) processors (https://docs.aws.amazon.com/ec2/latest/instancetypes/ac.html), and the AWS us-east-1 price list version 20261114012926 names the physical processor "AMD EPYC 7R32" (reviewed 2026-11-16).
  • Physical CPU cores: 2 (4 vCPUs at 2 threads per core), per the EC2 instance-type docs (https://docs.aws.amazon.com/ec2/latest/instancetypes/ac.html, reviewed 2026-11-16).
  • GPU: 1 x NVIDIA A10G per the EC2 accelerated-computing instance-type docs (https://docs.aws.amazon.com/ec2/latest/instancetypes/ac.html, reviewed 2026-11-16), with 24 GB of memory per card as AWS states it (https://aws.amazon.com/ec2/instance-types/g5/); the docs' accelerator-memory column lists 22 GiB.
  • Local storage: 1 x 250 GB NVMe SSD instance store (capacity as AWS states it, in GB), per the EC2 instance-type docs (https://docs.aws.amazon.com/ec2/latest/instancetypes/ac.html, reviewed 2026-11-16). Instance store data does not persist when the instance stops.
  • Network bandwidth: 2.5 Gbps baseline, bursting to 10 Gbps, per the EC2 instance-type docs (https://docs.aws.amazon.com/ec2/latest/instancetypes/ac.html, reviewed 2026-11-16); this record uses the baseline.

See the methodology. All AWS instance types and prices · Search the complete VM catalog