m4.xlargevsm5.xlarge

m5.xlarge is 4% cheaper than m4.xlarge on demand in US East (N. Virginia), saving $5.84 a month.

At a glancem4.xlargem5.xlarge
On-demand$0.2/hr$0.192/hr4% less
Lowest rate$0.0681/hrSpot, can be interrupted$0.0391/hr43% lessSpot, can be interrupted
Size4 vCPUs, 16 GiB4 vCPUs, 16 GiB
ProcessorIntel Xeon E5-2676 v3 (Haswell)Intel Xeon Platinum 8175
Architecturex86_64x86_64

Prices in US East (N. Virginia)

“Off” is the discount against each type’s own on-demand price. Linux, USD per hour.

Optionm4.xlargem5.xlargem5.xlarge vs m4.xlarge
On-demandPay by the hour$0.2$0.192▼ 4%
SpotCan be interrupted66% off$0.068180% off$0.0391▼ 43%
1-yr reservedNo upfront38% off$0.123937% off$0.121▼ 2%
3-yr reservedNo upfront57% off$0.086457% off$0.083▼ 4%
1-yr savings planHourly commitment29% off$0.142527% off$0.141▼ 1%
3-yr savings planHourly commitment50% off$0.099449% off$0.097▼ 2%

Key differences

The biggest lead each one has.

Where m4.xlarge leads
Max EBS volumes40 vs 27
48% higher
Where m5.xlarge leads
On-demand price$0.192 vs $0.2 per hour
4% cheaper
EBS max bandwidth4,750 Mbps vs 750 Mbps
6.3× higher
Network peak10 Gbps vs 2.8 Gbps
3.6× higher
Clock speed3.1 GHz vs 2.4 GHz
29% higher

Specs

21 of 41 specs differ. Those are in bold.

Compute5 of 11 differm4.xlargem5.xlarge
vCPUs44
Physical cores22
Threads per core22
Architecturex86_64x86_64
ProcessorIntel Xeon E5-2676 v3 (Haswell)Intel Xeon Platinum 8175
CPU makerIntelIntel
Clock speed2.4 GHz3.1 GHz
Sustained clock2.4 GHz3.1 GHz
Processor featuresIntel AVX; Intel AVX2; Intel TurboIntel AVX; Intel AVX2; Intel AVX512; Intel Turbo
BurstableNoNo
ECU1316
MemoryAll 1 matchm4.xlargem5.xlarge
Memory (GiB)1616
Networking4 of 8 differm4.xlargem5.xlarge
NetworkHighUp to 10 Gigabit
Network baseline0.75 Gbps1.25 Gbps
Network peak2.8 Gbps10 Gbps
Enhanced networkingNoYes (ENA)
EFANoNo
IPv6YesYes
Max network interfaces44
IPv4 addresses per interface1515
Storage8 of 11 differm4.xlargem5.xlarge
StorageEBS onlyEBS only
EBS optimizedYesYes
EBS over NVMeNoRequired
EBS throughput750 MbpsUp to 2120 Mbps
EBS baseline bandwidth750 Mbps1,150 Mbps
EBS max bandwidth750 Mbps4,750 Mbps
EBS baseline throughput93.75 MB/s143.75 MB/s
EBS max throughput93.75 MB/s593.75 MB/s
EBS baseline IOPS6,0006,000
EBS max IOPS6,00018,750
Max EBS volumes4027
Instance details4 of 10 differm4.xlargem5.xlarge
Familym4m5
CategoryGeneral purposeGeneral purpose
Current generationYesYes
Normalization factor88
Bare metalNoNo
HypervisorXenNitro
Placement groupsCluster, Partition, SpreadCluster, Partition, Spread
HibernationYesYes
Nitro EnclavesNoYes
Boot modesLegacy BIOSLegacy BIOS, UEFI

On-demand prices by region

Cheapest for m4.xlarge first. Linux, USD per hour.

Regionm4.xlargem5.xlargeDifference
US East (N. Virginia)Used in summaryus-east-1$0.2$0.192▼ 4%
US East (Ohio)us-east-2$0.2$0.192▼ 4%
US West (Oregon)us-west-2$0.2$0.192▼ 4%
Asia Pacific (Mumbai)ap-south-1$0.21$0.202▼ 4%
Canada (Central)ca-central-1$0.222$0.214▼ 4%
EU (Ireland)eu-west-1$0.222$0.214▼ 4%
EU (London)eu-west-2$0.232$0.222▼ 4%
US West (N. California)us-west-1$0.234$0.224▼ 4%
EU (Frankfurt)eu-central-1$0.24$0.23▼ 4%
Asia Pacific (Seoul)ap-northeast-2$0.246$0.236▼ 4%
Asia Pacific (Singapore)ap-southeast-1$0.25$0.24▼ 4%
Asia Pacific (Sydney)ap-southeast-2$0.25$0.24▼ 4%
AWS GovCloud (US-West)us-gov-west-1$0.252$0.242▼ 4%
Asia Pacific (Osaka)ap-northeast-3$0.258$0.248▼ 4%
Asia Pacific (Tokyo)ap-northeast-1$0.258$0.248▼ 4%
South America (Sao Paulo)sa-east-1$0.318$0.306▼ 4%

Keep exploring

Each type’s own page, and how it compares with others.

Pay the committed rate, with commitment protection

The best committed rate on these two is 57% below on-demand. Connect your cloud accounts to unlock greater savings with commitment protection.

Connect AWS account

AWS EC2 Linux prices in USD. Monthly figures use 730 hours. Prices last updated 12 Nov 2026.