m4vsm5

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

At a glancem4m5
Sizes here55
From$0.151/hr$0.142/hr
vCPUs2 to 402 to 48
Memory8 to 160 GiB8 to 192 GiB
Architecture——
CategoryGeneral purposeGeneral purpose

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

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

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 4 of 4 shared sizes
6% cheaper
Largest size48 vCPUs vs 40
Bigger

Keep exploring

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

m45 sizes
Every size in the m4 family

Compare m4 with

m55 sizes
Every size in the m5 family

Compare m5 with

Pay the committed rate, with commitment protection

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

Connect AWS account