inf2.xlarge
Machine Learning ASIC Instances · inf2 series · AMD EPYC 7R13 Processor
- vCPU
- 4
- Memory
- 16 GiB
- Linux / hour
- $0.7582
- Per month
- $553
- Per vCPU-hour
- $0.1895
- Per GiB-hour
- $0.0474
Analysis
The inf2.xlarge is a machine learning asic instances instance in the inf2 series with 4 vCPUs and 16 GiB of memory on AMD EPYC 7R13 (up to 2.95 GHz), which makes it balanced at 4 GiB of memory per vCPU.
Compared with the previous generation, it costs 233% more than the inf1.xlarge on Intel Xeon Platinum 8275CL (Cascade Lake) ($387 more a month per instance), in exchange for the newer processor.
Running it in N. Virginia instead of São Paulo saves $387 a month per instance: $0.7582/hour against $1.29/hour, a 70% spread. It is not offered in Canada Central, so plan around that if you need a presence there.
It carries 1 GPU with 32 GB of GPU memory, so most of the price is the accelerator rather than the CPUs. Storage is EBS only. Network: Up to 15 Gigabit.
Per vCPU it is one of the dearer machine learning asic instances types: 89% of the 13 current types in the family cost less than its $0.1895 per vCPU-hour. The premium mostly pays for the accelerators. On demand it is $0.7582/hour in US East (N. Virginia), or $553 for a 730-hour month.
It is the smallest of the 4 inf2 sizes. Stepping up to the inf2.8xlarge gives 32 vCPUs and 128 GiB for $883 more a month. Unit price is not flat across the series ($0.0615 to $0.1895 per vCPU-hour), so the size changes the rate you pay.
Price by region (USD per hour)
| Region | Linux | Windows | 1-yr RI | 3-yr RI | |
|---|---|---|---|---|---|
| N. Virginia us-east-1 | $0.7582 | – | $0.4777 | $0.3275 | |
| Ohio us-east-2 | $0.7582 | – | $0.4777 | $0.3275 | |
| Oregon us-west-2 | $0.7582 | – | $0.4777 | $0.3275 | |
| São Paulo sa-east-1 | $1.29 | – | $0.8120 | $0.5568 | |
| Ireland eu-west-1 | $0.9477 | – | $0.5971 | $0.4094 | |
| London eu-west-2 | $1.14 | – | $0.7165 | $0.5241 | |
| Frankfurt eu-central-1 | $1.14 | – | $0.7165 | $0.5241 | |
| Mumbai ap-south-1 | $0.9857 | – | $0.6210 | $0.4586 | |
| Singapore ap-southeast-1 | $1.06 | – | $0.6687 | $0.4586 | |
| Sydney ap-southeast-2 | $0.9857 | – | $0.6210 | $0.4258 | |
| Tokyo ap-northeast-1 | $1.14 | – | $0.7165 | $0.5241 |
Shared tenancy, no pre-installed software. Reserved rates are standard, no upfront, per hour. Prices as of 2026-11-04.
Same shape, other types
| Type | vCPU | Memory | $/hour | vs inf2.xlarge |
|---|---|---|---|---|
| g6f.xlarge AMD EPYC 7R13 Processor | 4 | 16 GiB | $0.2375 | -69% |
| g4ad.xlarge AMD EPYC 7R32 | 4 | 16 GiB | $0.3785 | -50% |
| g4dn.xlarge Intel Xeon Family | 4 | 16 GiB | $0.5260 | -31% |
| g6.xlarge AMD EPYC 7R13 Processor | 4 | 16 GiB | $0.8048 | +6% |
| g5.xlarge AMD EPYC 7R32 | 4 | 16 GiB | $1.01 | +33% |
Cost calculator
Specs
| vCPU | 4 |
|---|---|
| Memory | 16 GiB (4.0 per vCPU) |
| Processor | AMD EPYC 7R13 Processor |
| Clock | 2.95 GHz |
| GPUs | 1 · 32 GB |
| Storage | EBS only |
| Network | Up to 15 Gigabit |
inf2 sizes
| inf2.xlarge | 4 vCPU | $0.7582 |
| inf2.8xlarge | 32 vCPU | $1.97 |
| inf2.24xlarge | 96 vCPU | $6.49 |
| inf2.48xlarge | 192 vCPU | $12.98 |