n4-highcpu-2 by Google Cloud Platform

n4-highcpu-2 is a 2 vCPUs, 4 GB RAM server offered by Google Cloud Platform with 2 vCPUs, 4 GiB of memory and 0 GB of storage. The pricing starts at 0.0107 USD per hour.
2 vCPU
4 GiB Memory
Spare SCore
1,737
(All-cores)
1,658
(Single-core)

Specifications

Server Metadata

Vendor ID
gcp
Server ID
1750017
Name
n4-highcpu-2
Description
2 vCPUs, 4 GB RAM
Family
n4
Hw Virt
Average Time To Start
19
Status
active
Observed At
2026-09-22T17:30:02.308271Z

Availability

REGION / IDSPOTONDEMAND
Columbus (US) / us-east5
0.0234 USD/h 0.0765 USD/h
Ashburn (US) / us-east4
0.0432 USD/h 0.0765 USD/h
Council Bluffs (US) / us-central1
0.0433 USD/h 0.0765 USD/h
The Dalles (US) / us-west1
0.0433 USD/h 0.0765 USD/h
Moncks Corner (US) / us-east1
0.0433 USD/h 0.0765 USD/h
Delhi (IN) / asia-south2
0.0193 USD/h 0.0796 USD/h
Mumbai (IN) / asia-south1
0.0213 USD/h 0.0796 USD/h
Bangkok (TH) / asia-southeast3
0.017 USD/h 0.0804 USD/h
Eemshaven (NL) / europe-west4
0.0197 USD/h 0.0804 USD/h
Stockholm (SE) / europe-north2
0.0317 USD/h 0.0804 USD/h
Queretaro (MX) / northamerica-south1
0.0305 USD/h 0.0834 USD/h
Tel Aviv (IL) / me-west1
0.0259 USD/h 0.0842 USD/h
St. Ghislain (BE) / europe-west1
0.0123 USD/h 0.0843 USD/h
Montréal (CA) / northamerica-northeast1
0.0167 USD/h 0.0843 USD/h
Johannesburg (ZA) / africa-south1
0.0202 USD/h 0.0843 USD/h
Toronto (CA) / northamerica-northeast2
0.0313 USD/h 0.0843 USD/h
Hamina (FI) / europe-north1
0.0368 USD/h 0.0843 USD/h
Las Vegas (US) / us-west4
0.0423 USD/h 0.0862 USD/h
London (GB) / europe-west2
0.0337 USD/h 0.0873 USD/h
Changhua County (TW) / asia-east1
0.0337 USD/h 0.0886 USD/h
Milan (IT) / europe-west8
0.0175 USD/h 0.0888 USD/h
Paris (FR) / europe-west9
0.0289 USD/h 0.0888 USD/h
Madrid (ES) / europe-southwest1
0.0176 USD/h 0.0903 USD/h
Dallas (US) / us-south1
0.0177 USD/h 0.0903 USD/h
Frankfurt (DE) / europe-west3
0.0538 USD/h 0.0903 USD/h
Salt Lake City (US) / us-west3
0.0197 USD/h 0.092 USD/h
Los Angeles (US) / us-west2
0.0525 USD/h 0.092 USD/h
Warsaw (PL) / europe-central2
0.0389 USD/h 0.0926 USD/h
Doha (QA) / me-central1
0.0407 USD/h 0.093 USD/h
Jurong West (SG) / asia-southeast1
0.0517 USD/h 0.0944 USD/h
Sydney (AU) / australia-southeast1
0.0441 USD/h 0.0957 USD/h
Osaka (JP) / asia-northeast2
0.0378 USD/h 0.0983 USD/h
Seoul (KR) / asia-northeast3
0.0517 USD/h 0.0983 USD/h
Tokyo (JP) / asia-northeast1
0.0563 USD/h 0.0983 USD/h
Melbourne (AU) / australia-southeast2
0.0319 USD/h 0.0995 USD/h
Zurich (CH) / europe-west6
0.0465 USD/h 0.1003 USD/h
Jakarta (ID) / asia-southeast2
0.0298 USD/h 0.1029 USD/h
Hong Kong / asia-east2
0.0107 USD/h 0.1071 USD/h
Santiago (CL) / southamerica-west1
0.0276 USD/h 0.1095 USD/h
Osasco (BR) / southamerica-east1
0.0179 USD/h 0.1215 USD/h
Dammam (SA) / me-central2
0.0224 USD/h 0.1225 USD/h

Processor

vCPUs
2
CPU Allocation
Dedicated
CPU Cores
1
CPU Architecture
x86_64
CPU Manufacturer
Intel
CPU L1D Cache
48 KiB
CPU L1D Cache Total
48 KiB
CPU L1I Cache
32 KiB
CPU L1I Cache Total
32 KiB
CPU L2 Cache
2 MiB
CPU L2 Cache Total
2 MiB
CPU L3 Cache
260 MiB
CPU L3 Cache Total
260 MiB
CPU Flags
fpu, vme, de, pse, tsc, msr, pae, mce, cx8, apic, sep, mtrr, pge, mca, cmov, pat, pse36, clflush, mmx, fxsr, sse, sse2, ss, ht, syscall, nx, pdpe1gb, rdtscp, lm, constant_tsc, rep_good, nopl, xtopology, nonstop_tsc, cpuid, tsc_known_freq, pni, pclmulqdq, smx, est, ssse3, sdbg, fma, cx16, xtpr, pdcm, pcid, dca, sse4_1, sse4_2, x2apic, movbe, popcnt, aes, xsave, avx, f16c, rdrand, hypervisor, lahf_lm, abm, 3dnowprefetch, cat_l3, cat_l2, cdp_l3, cdp_l2, ssbd, mba, ibrs, ibpb, stibp, ibrs_enhanced, fsgsbase, tsc_adjust, bmi1, hle, avx2, smep, bmi2, erms, invpcid, rtm, avx512f, avx512dq, rdseed, adx, smap, avx512ifma, clflushopt, clwb, avx512cd, sha_ni, avx512bw, avx512vl, xsaveopt, xsavec, xgetbv1, xsaves, cqm_llc, cqm_occup_llc, cqm_mbm_total, cqm_mbm_local, avx_vnni, avx512_bf16, wbnoinvd, arat, avx512vbmi, umip, avx512_vbmi2, gfni, vaes, vpclmulqdq, avx512_vnni, avx512_bitalg, avx512_vpopcntdq, la57, rdpid, cldemote, movdiri, movdir64b, fsrm, md_clear, serialize, tsxldtrk, amx_bf16, avx512_fp16, amx_tile, amx_int8, arch_capabilities
Ecpus
1
Scalability
50

System Resources and Accelerators

MEMORY
Memory Amount
4 GiB
Memory Amount Actual
4 GiB
GPU
GPU Count
0
GPU Memory Min
0 MiB
GPU Memory Total
0 MiB
GPUs
    STORAGE
    Storage Size
    0 GB
    Storages
      NETWORK
      Inbound Traffic
      0 GB/month
      Outbound Traffic
      0 GB/month
      IPv4
      0

      CPU and System Topology

      Server Description

      An entry-level, compute-focused instance featuring dedicated Intel processors with advanced matrix and vector extensions for lightweight workloads.

      Compute OptimizedGeneral Purpose

      Google Cloud Platform n4-highcpu-2 is an x86_64 compute-focused instance featuring 2 dedicated Intel vCPUs (1 physical core, 2 threads) and 4.0 GB of RAM, resulting in a 2.0 GB memory-per-core ratio. It lacks local storage and GPU accelerators. The hardware supports advanced instruction sets like AVX-512 and Intel AMX for matrix operations. Performance benchmarks show average single-core execution, with a Geekbench single-core score of 1836.0 and average single-threaded compression speeds. However, multi-core and memory-bound benchmarks are weak to poor, with memory write bandwidth limited to 11.0 GB/sec and a multi-core Geekbench score of 2242.0. This instance offers qualitative cost efficiency for compute-bound, single-threaded tasks that leverage modern vector instructions without requiring large memory capacities. It is best suited for lightweight web serving, basic text processing, and small-scale computational tasks.

      Economics

      Average Price per Region

      Prices per Zone

      Lowest Prices

      Performance

      Workload Profiles

      0.468Score
      Precomputed compound score for Cache Intensive workloads. A weighted average (geometric mean) of benchmark scores compared to their medians: score = ∏ (x_i / m_i)^(w_i / Σw). The score of 1.0 represents a synthetic baseline server with the median performance of each component benchmark; 0.5 means roughly half the performance; and 2.0 means twice the performance of that reference profile. Component weights: 50% Redis RPS (pipeline=1, SET), 20% Redis RPS (pipeline=16, SET), 10% PassMark Memory Mark (composite), 10% Memory bandwidth (read, 16 MB ~ L3), 10% PassMark single-thread CPU. Rationale for component selection: In-memory key-value store workload, mixing direct Redis performance metrics with memory speed and latency benchmarks, and single-core CPU performance profiles.Partial coverage: missing component benchmark(s): Redis RPS (pipeline=1, SET), Redis RPS (pipeline=16, SET).
      Component Score Weight Impact
      Raw Reference Normalized Target Actual
      Redis RPS (pipeline=1, SET) 2,031,101 ops/sec 50.00% 0.00%
      Redis RPS (pipeline=16, SET) 12,409,308 ops/sec 20.00% 0.00%
      PassMark Memory Mark (composite) 830.8 2,418 0.344 10.00% 33.30% -29.90%
      Memory bandwidth (read, 16 MB ~ L3) 29,757 MB/sec 108,315 MB/sec 0.275 10.00% 33.30% -34.90%
      PassMark single-thread CPU 2,569 Mops/s 2,365 Mops/s 1.09 10.00% 33.30% +2.91%

      Memory Bandwidth

      Compression

      OpenSSL

      Geekbench Single-Core

      Score: 1,836

      Geekbench Multi-Core

      Score: 2,242

      Passmark CPU Scores

      BENCHMARKSCORE
      Mark
      3265
      Compression
      32138
      Encryption
      1851
      Extended Instructions
      2225
      Floating Point Maths
      5905
      Integer Maths
      8300
      Physics
      419
      Prime Numbers
      17
      Single Threaded
      2569
      String Sorting
      4193

      Passmark Memory Scores

      BENCHMARKSCORE
      Memory Mark
      831
      Database Operations
      1006
      Memory Latency
      73
      Memory Read Cached
      23586
      Memory Read Uncached
      6996
      Memory Write
      6725

      Stress-ng Raw Scores

      Stress-ng Relative Multicore Performance

      LLM Inference Speed for Prompt Processing

      LLM Inference Speed for Text Generation

      Static Web Server

      Alternatives

      Servers of the Same Family

      INSTANCEvCPUsMEMORYGPUs
      n4-standard-2 28 GiB0
      n4-highmem-2 216 GiB0
      n4-highcpu-4 48 GiB0
      n4-standard-4 416 GiB0
      n4-highmem-4 432 GiB0
      n4-highcpu-8 816 GiB0
      n4-standard-8 832 GiB0

      Similar Servers

      INSTANCEVENDORvCPUsMEMORYGPUs

      n4-highcpu-2 FAQs