Google Cloud M4 machine types
M4 is a memory optimized Compute Engine family with 10 machine types, from 16 – 224 vCPUs and 248 GiB – 5,952 GiB of memory, running on Intel Emerald Rapids. Linux on demand starts at $1.426 per hour.
memory optimizedx86-64
- sizes
- 10
- vCPUs
- 16 – 224
- memory
- 248 GiB – 5,952 GiB
- processor
- Intel Emerald Rapids
- on-demand from
- $1.426
per hour · 24 regions
M4 sizes and prices
Linux, hourly, Iowa (other regions on each size's page)
| Size | vCPU | Memory | Local storage | On-demand | Monthly | 1-yr |
|---|---|---|---|---|---|---|
| m4-hypermem-16 | 16 | 248 GiB | – | $1.426 | $1,041 | $0.8412 |
| m4-megamem-28 | 28 | 372 GiB | – | $2.212 | $1,615 | $1.305 |
| m4-hypermem-32 | 32 | 496 GiB | – | $2.852 | $2,082 | $1.682 |
| m4-megamem-56 | 56 | 744 GiB | – | $4.424 | $3,229 | $2.61 |
| m4-ultramem-56 | 56 | 1,488 GiB | – | $7.824 | $5,711 | $4.616 |
| m4-hypermem-64 | 64 | 992 GiB | – | $5.703 | $4,163 | $3.365 |
| m4-megamem-112 | 112 | 1,488 GiB | – | $8.847 | $6,459 | $5.22 |
| m4-ultramem-112 | 112 | 2,976 GiB | – | $15.65 | $11,423 | $9.232 |
| m4-megamem-224 | 224 | 2,976 GiB | – | $17.69 | $12,917 | $10.44 |
| m4-ultramem-224 | 224 | 5,952 GiB | – | $41.46 | $30,269 | $24.46 |
M4 equivalents on other clouds
closest match to m4-ultramem-56 (56 vCPU, 1,488 GiB)
AWSx2iezn.12xlargeX2iezn family · 48 vCPU · 1,536 GiB$10.01/hr · US East (N. Virginia)X2iezn family →
Vultrvbm-32c-755gb-amdBare Metal family · 64 vCPU · 768 GiB$1.986/hr · New JerseyBare Metal family →
Other memory optimized families on Google Cloud
M4 FAQ
What sizes does the Google Cloud M4 family have?
M4 has 10 machine types, from m4-hypermem-16 (16 vCPU, 248 GiB) to m4-ultramem-224 (224 vCPU, 5,952 GiB). They run on Intel Emerald Rapids.
What is the cheapest M4 machine type?
m4-hypermem-16 at $1.426 per hour (Linux, on demand) in Iowa, about $1,041 per month.
What is M4 best for?
M4 is a memory optimized family. Lots of RAM per vCPU (8 GiB and up) for databases, caches and in-memory analytics.