n4-highcpu-4 by Google Cloud Platform

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

Specifications

Server Metadata

Vendor ID
gcp
Server ID
1750018
Name
n4-highcpu-4
Description
4 vCPUs, 8 GB RAM
Family
n4
Hw Virt
Average Time To Start
20
Status
active
Observed At
2026-11-02T12:29:21.240426

Availability

REGION / IDSPOTONDEMAND
Columbus (US) / us-east5
0.0513 USD/h 0.1531 USD/h
Ashburn (US) / us-east4
0.0777 USD/h 0.1531 USD/h
Council Bluffs (US) / us-central1
0.086 USD/h 0.1531 USD/h
The Dalles (US) / us-west1
0.086 USD/h 0.1531 USD/h
Moncks Corner (US) / us-east1
0.086 USD/h 0.1531 USD/h
Mumbai (IN) / asia-south1
0.0346 USD/h 0.1592 USD/h
Delhi (IN) / asia-south2
0.051 USD/h 0.1592 USD/h
Bangkok (TH) / asia-southeast3
0.0304 USD/h 0.1607 USD/h
Eemshaven (NL) / europe-west4
0.0336 USD/h 0.1607 USD/h
Stockholm (SE) / europe-north2
0.0663 USD/h 0.1607 USD/h
Queretaro (MX) / northamerica-south1
0.0448 USD/h 0.1669 USD/h
Tel Aviv (IL) / me-west1
0.0442 USD/h 0.1684 USD/h
St. Ghislain (BE) / europe-west1
0.022 USD/h 0.1686 USD/h
Montréal (CA) / northamerica-northeast1
0.0314 USD/h 0.1686 USD/h
Johannesburg (ZA) / africa-south1
0.0404 USD/h 0.1686 USD/h
Toronto (CA) / northamerica-northeast2
0.0621 USD/h 0.1686 USD/h
Hamina (FI) / europe-north1
0.0699 USD/h 0.1686 USD/h
Las Vegas (US) / us-west4
0.072 USD/h 0.1724 USD/h
London (GB) / europe-west2
0.0669 USD/h 0.1745 USD/h
Changhua County (TW) / asia-east1
0.0674 USD/h 0.1773 USD/h
Milan (IT) / europe-west8
0.0329 USD/h 0.1776 USD/h
Paris (FR) / europe-west9
0.0635 USD/h 0.1776 USD/h
Dallas (US) / us-south1
0.0318 USD/h 0.1806 USD/h
Madrid (ES) / europe-southwest1
0.0403 USD/h 0.1806 USD/h
Frankfurt (DE) / europe-west3
0.1076 USD/h 0.1806 USD/h
Salt Lake City (US) / us-west3
0.0391 USD/h 0.184 USD/h
Los Angeles (US) / us-west2
0.1042 USD/h 0.184 USD/h
Warsaw (PL) / europe-central2
0.0941 USD/h 0.1852 USD/h
Doha (QA) / me-central1
0.0856 USD/h 0.186 USD/h
Jurong West (SG) / asia-southeast1
0.1132 USD/h 0.1889 USD/h
Sydney (AU) / australia-southeast1
0.0927 USD/h 0.1914 USD/h
Osaka (JP) / asia-northeast2
0.0712 USD/h 0.1966 USD/h
Seoul (KR) / asia-northeast3
0.0928 USD/h 0.1966 USD/h
Tokyo (JP) / asia-northeast1
0.1118 USD/h 0.1966 USD/h
Melbourne (AU) / australia-southeast2
0.0701 USD/h 0.199 USD/h
Zurich (CH) / europe-west6
0.1019 USD/h 0.2005 USD/h
Jakarta (ID) / asia-southeast2
0.0597 USD/h 0.2058 USD/h
Hong Kong / asia-east2
0.0193 USD/h 0.2141 USD/h
Santiago (CL) / southamerica-west1
0.0405 USD/h 0.2189 USD/h
Osasco (BR) / southamerica-east1
0.0321 USD/h 0.2431 USD/h
Dammam (SA) / me-central2
0.0444 USD/h 0.2449 USD/h

Processor

vCPUs
4
CPU Allocation
Dedicated
CPU Cores
2
CPU Architecture
x86_64
CPU Manufacturer
Intel
CPU L1D Cache
48 KiB
CPU L1D Cache Total
96 KiB
CPU L1I Cache
32 KiB
CPU L1I Cache Total
64 KiB
CPU L2 Cache
2 MiB
CPU L2 Cache Total
4 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
2
Scalability
50

System Resources and Accelerators

MEMORY
Memory Amount
8 GiB
Memory Amount Actual
8 GiB
ACCELERATORS
Accelerator Count
0
Accelerator Memory Min
0 MiB
Accelerator Memory Total
0 MiB
Accelerators
    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

      A budget-friendly, compute-optimized virtual machine featuring dedicated Intel processors with advanced matrix extensions for lightweight single-threaded workloads.

      Compute Optimized

      The Google Cloud Platform n4-highcpu-4 is an x86_64 compute-optimized server featuring 4 dedicated Intel vCPUs and 8.0 GB of RAM, providing a 2.0 GB per core memory ratio. It lacks local storage and GPU accelerators. The processor features a 260 MB L3 cache and supports advanced instruction sets including AVX-512 and Intel AMX. Benchmark data shows average single-core CPU performance and static web serving throughput, but weak multi-core scaling and poor memory bandwidth. This server is a cost-efficient option for lightweight, compute-focused workloads such as single-threaded processing, basic text manipulation, and low-traffic web serving, where high memory capacity and intensive multi-core parallelization are not required.

      Economics

      Average Price per Region

      Prices per Zone

      Lowest Prices

      Performance

      Workload Profiles

      0.38Score
      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.
      Component Score Weight Impact
      Raw Reference Normalized Target Actual
      Redis RPS (pipeline=1, SET) 638,704 ops/sec 1,918,343 ops/sec 0.34 50.00% 50.00% -42.00%
      Redis RPS (pipeline=16, SET) 3,346,060 ops/sec 11,704,734 ops/sec 0.28 20.00% 20.00% -22.00%
      PassMark Memory Mark (composite) 900 2,416 0.38 10.00% 10.00% -9.20%
      Memory bandwidth (read, 16 MB ~ L3) 59,063 MB/sec 108,466 MB/sec 0.54 10.00% 10.00% -6.00%
      PassMark single-thread CPU 2,323 Mops/s 2,365 Mops/s 0.96 10.00% 10.00% -0.41%

      Memory Bandwidth

      Compression

      OpenSSL

      Geekbench Single-Core

      Score: 1,840

      Geekbench Multi-Core

      Score: 4,108

      Passmark CPU Scores

      BENCHMARKSCORE
      Mark
      5,902
      Compression
      58,829
      Encryption
      3,380
      Extended Instructions
      4,203
      Floating Point Maths
      10,828
      Integer Maths
      15,036
      Physics
      767
      Prime Numbers
      33
      Single Threaded
      2,323
      String Sorting
      7,759

      Passmark Memory Scores

      BENCHMARKSCORE
      Memory Mark
      900
      Database Operations
      1,830
      Memory Latency
      76
      Memory Read Cached
      21,294
      Memory Read Uncached
      6,966
      Memory Write
      6,684

      Stress-ng Stressors

      CPU integerSingleMultiScaling
      atomic
      216.02 219.06 1.01×
      bitops
      119,874 288,033 2.40×
      branch
      112,123 346,037 3.09×
      funccall
      610.36 1,605 2.63×
      funcret
      10,072 32,214 3.20×
      hash
      142,636 414,561 2.91×
      intmath
      52,242 130,418 2.50×
      nop
      215,152 354,624 1.65×
      prime
      385,358 938,036 2.43×
      rotate
      80,051 174,652 2.18×
      str
      750,193 2,267,257 3.02×
      wcs
      568,187 1,407,484 2.48×
      CryptographySingleMultiScaling
      crypt
      2,723 6,337 2.33×
      CompressionSingleMultiScaling
      jpeg
      677.96 1,785 2.63×
      zlib
      52.95 165.51 3.13×
      HypervisorSingleMultiScaling
      clock
      44,112 123,430 2.80×
      clone
      394.72 734.49 1.86×
      context
      4,187 13,901 3.32×
      cpu-sched
      62.74 250.67 4.00×
      eventfd
      54,106 424,186 7.84×
      fault
      20,408 50,560 2.48×
      fork
      4,360 17,249 3.96×
      getrandom
      47,691 138,809 2.91×
      hrtimers
      331,820 539,832 1.63×
      mprotect
      933,512 1,137,054 1.22×
      mtx
      12,266,775 112,753,396 9.19×
      munmap
      2,945 11,841 4.02×
      null
      725,024 2,251,660 3.11×
      pipe
      616,966 2,886,809 4.68×
      priv-instr
      681,220 1,841,279 2.70×
      resched
      1,073,540 578,530 0.54×
      switch
      94,268 1,072,114 11.37×
      timermix
      194,767 636,052 3.27×
      tlb-shootdown
      7,429 9,508 1.28×
      tsc
      469,687 1,562,601 3.33×
      usersyscall
      568,902 1,605,350 2.82×
      vdso
      72,836,847 224,442,101 3.08×
      vfork
      32,935 97,458 2.96×
      x86syscall
      8,099,134 26,918,554 3.32×
      yield
      3,528,568 3,494,573 0.99×
      zero
      5,212,307 16,962,850 3.25×
      CPU float/SIMDSingleMultiScaling
      eigen
      13,033 34,077 2.61×
      expmath
      2,838 8,271 2.91×
      fma
      1,054,888 2,749,812 2.61×
      fp
      147.18 498.41 3.39×
      fractal
      5.2 15.2 2.92×
      hyperbolic
      3,277 9,419 2.87×
      logmath
      4,196 13,286 3.17×
      matrix
      4,061 9,322 2.30×
      matrix-3d
      723.7 1,545 2.14×
      monte-carlo
      236.63 773.43 3.27×
      mpfr
      1,403 3,283 2.34×
      powmath
      1,548 4,796 3.10×
      trig
      2,142 5,652 2.64×
      veccmp
      20,071 46,319 2.31×
      vecfp
      1,235 3,128 2.53×
      vecmath
      3,155 8,820 2.80×
      vecshuf
      655.15 1,520 2.32×
      vecwide
      27,725 66,692 2.41×
      AlgorithmsSingleMultiScaling
      bitonicsort
      7 17 2.43×
      bsearch
      230.99 565.68 2.45×
      bubblesort
      0.8 1.6 2.00×
      fibsearch
      260.23 667.02 2.56×
      heapsort
      8 22.2 2.77×
      hsearch
      6,558 16,179 2.47×
      insertionsort
      10.2 19 1.86×
      malloc
      2,213,100 9,099,259 4.11×
      mcontend
      119.88 665.62 5.55×
      mergesort
      24.6 71.2 2.89×
      qsort
      17.6 50 2.84×
      skiplist
      4,393 13,832 3.15×
      tree
      1.4 4 2.86×
      MemorySingleMultiScaling
      cache
      190,972 393,663 2.06×
      cachehammer
      187,413 595,604 3.18×
      cacheline
      45.4 175.34 3.86×
      l1cache
      872.24 676.17 0.78×
      memcpy
      357.91 723.2 2.02×
      memrate
      0.17 0.62 3.65×
      memthrash
      84.31 173.29 2.06×
      ptr-chase
      23,969,791 63,843,397 2.66×
      spinmem
      220.59 124.99 0.57×
      stream
      5.23 49.34 9.43×
      vm
      65,579 263,494 4.02×

      Stress-ng Raw Scores

      Stress-ng Relative Multicore Performance

      LLM Inference Speed for Prompt Processing

      LLM Inference Speed for Text Generation

      Static Web Server

      Redis

      Alternatives

      Servers of the Same Family

      INSTANCEvCPUsMEMORYAccelerators
      n4-highcpu-2 24 GiB0
      n4-standard-2 28 GiB0
      n4-highmem-2 216 GiB0
      n4-standard-4 416 GiB0
      n4-highmem-4 432 GiB0
      n4-highcpu-8 816 GiB0
      n4-standard-8 832 GiB0

      Similar Servers

      INSTANCEVENDORvCPUsMEMORYAccelerators

      n4-highcpu-4 FAQs