m4vsm5

Size for size, m5 is on average 4% cheaper than m4 on demand in US East (N. Virginia), across 5 shared sizes. Same size, one generation apart.

At a glancem4m5
Sizes here69
From$0.1/hr$0.096/hr
vCPUs2 to 642 to 96
Memory8 to 256 GiB8 to 384 GiB
Architecturex86_64x86_64
CategoryGeneral purposeGeneral purpose

On-demand prices by size in US East (N. Virginia)

USD per hour for Linux. Pick a size to compare the two types.

Sizem4m5m5 vs m4
largem4.large $0.1m5.large $0.096▼ 4%
xlargem4.xlarge $0.2m5.xlarge $0.192▼ 4%
2xlargem4.2xlarge $0.4m5.2xlarge $0.384▼ 4%
4xlargem4.4xlarge $0.8m5.4xlarge $0.768▼ 4%
16xlargem4.16xlarge $3.20m5.16xlarge $3.072▼ 4%

Key differences

The biggest lead each family has.

Where m4 leads

No clear lead on the measures we compare.

Where m5 leads
On-demand priceCheaper in 5 of 5 shared sizes
4% cheaper
Spot priceLower in 4 of 5 shared sizes
Cheaper spot
Sizes9 sizes here vs 6
3 more
Largest size96 vCPUs vs 64
Bigger

Keep exploring

Each family's own page, and how it compares with others.

Pay the committed rate, with commitment protection

A 1-year reservation on these families is 37–38% below on-demand here. Connect your cloud accounts to unlock greater savings with commitment protection.

Connect AWS account