m4vsr4

Size for size, m4 is on average 23% cheaper than r4 on demand in US East (N. Virginia), across 4 shared sizes. Same size and generation, tuned for different work (general, compute or memory).

At a glancem4r4
Sizes here56
From$0.151/hr$0.196/hr
vCPUs2 to 402 to 64
Memory8 to 160 GiB15.25 to 488 GiB
Architecture——
CategoryGeneral purposeMemory optimized

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
On-demand priceCheaper in 4 of 4 shared sizes
23% cheaper
Where r4 leads
Sizes6 sizes here vs 5
1 more
Largest size64 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

r46 sizes
Every size in the r4 family

Compare r4 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