m4 family
The m4 family has 11 sizes on GCP Compute Engine, from 2 to 224 vCPUs and 31 to 5952 GiB of memory. In Iowa, on-demand prices run $0.1782 to $38.973 per hour for Linux. It is sold in 23 regions and listed as memory optimized.
Sizes and prices in Iowa
| Type | vCPUs | Memory (GiB) | On-demand /hr | Spot /hr | 1-yr committed use /hr |
|---|---|---|---|---|---|
| m4-hypermem-2 | 2 | 31 | $0.1782 | $0.1069 | $0.1052 |
| m4-hypermem-4 | 4 | 62 | $0.3565 | $0.2138 | $0.2103 |
| m4-hypermem-8 | 8 | 124 | $0.7129 | $0.4277 | $0.4206 |
| m4-hypermem-16 | 16 | 248 | $1.426 | $0.8554 | $0.8412 |
| m4-megamem-28 | 28 | 372 | $2.212 | $1.327 | $1.305 |
| m4-hypermem-32 | 32 | 496 | $2.852 | $1.711 | $1.683 |
| m4-megamem-56 | 56 | 744 | $4.424 | $2.654 | $2.61 |
| m4-hypermem-64 | 64 | 992 | $5.703 | $3.421 | $3.365 |
| m4-megamem-112 | 112 | 1488 | $8.847 | $5.308 | $5.22 |
| m4-megamem-224 | 224 | 2976 | $17.695 | $10.615 | $10.44 |
| m4-ultramem-224 | 224 | 5952 | $38.973 | $12.033 | $22.994 |
Compare m4
Categories
Regions
Prices in USD per hour for Linux; reserved prices are 1 year, no upfront. Updated 2026-11-12 from the Google Cloud Billing Catalog API. Compare all GCP Compute Engine machine types.