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

TypevCPUsMemory (GiB)On-demand /hrSpot /hr1-yr committed use /hr
m4-hypermem-2231$0.1782$0.1069$0.1052
m4-hypermem-4462$0.3565$0.2138$0.2103
m4-hypermem-88124$0.7129$0.4277$0.4206
m4-hypermem-1616248$1.426$0.8554$0.8412
m4-megamem-2828372$2.212$1.327$1.305
m4-hypermem-3232496$2.852$1.711$1.683
m4-megamem-5656744$4.424$2.654$2.61
m4-hypermem-6464992$5.703$3.421$3.365
m4-megamem-1121121488$8.847$5.308$5.22
m4-megamem-2242242976$17.695$10.615$10.44
m4-ultramem-2242245952$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.