r4vsr5

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

At a glancer4r5
Sizes here620
From$0.25/hr$0.25/hr
vCPUs2 to 642 to 96
Memory15.25 to 488 GiB16 to 768 GiB
Architecturex86_64x86_64
CategoryMemory optimizedMemory optimized

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

USD per hour for PostgreSQL, Single-AZ. Pick a size to compare the two types.

Key differences

The biggest lead each family has.

Where r4 leads
On-demand priceCheaper in 5 of 6 shared sizes
60% cheaper
Where r5 leads
Sizes20 sizes here vs 6
14 more
Largest size96 vCPUs vs 64
Bigger

Keep exploring

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

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 42–42% below on-demand here. Connect your cloud accounts to unlock greater savings with commitment protection.

Connect AWS account