m4vsm5

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

At a glancem4m5
Sizes here68
From$0.182/hr$0.178/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 PostgreSQL, Single-AZ. Pick a size to compare the two types.

Sizem4m5m5 vs m4
largedb.m4.large $0.182db.m5.large $0.178▼ 2%
xlargedb.m4.xlarge $0.365db.m5.xlarge $0.356▼ 2%
2xlargedb.m4.2xlarge $0.73db.m5.2xlarge $0.712▼ 2%
4xlargedb.m4.4xlarge $1.461db.m5.4xlarge $1.424▼ 3%
16xlargedb.m4.16xlarge $5.844db.m5.16xlarge $5.696▼ 3%

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
2% cheaper
Sizes8 sizes here vs 6
2 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 36–36% below on-demand here. Connect your cloud accounts to unlock greater savings with commitment protection.

Connect AWS account