n2-standard-4 by Google Cloud Platform

n2-standard-4 is a 4 vCPUs 16 GB RAM server offered by Google Cloud Platform with 4 vCPUs, 16 GiB of memory and 0 GB of storage. The pricing starts at 0.0192 USD per hour.
4 vCPU
16 GiB Memory
Spare SCore
3,676
(All-cores)
1,405
(Single-core)

Specifications

Server Metadata

Vendor ID
gcp
Server ID
901004
Name
n2-standard-4
Description
4 vCPUs 16 GB RAM
Family
n2
Hw Virt
Average Time To Start
16.25
Status
active
Observed At
2026-10-25T05:25:12.774902

Availability

REGION / IDSPOTONDEMAND
Council Bluffs (US) / us-central1
0.1165 USD/h 0.1942 USD/h
The Dalles (US) / us-west1
0.1165 USD/h 0.1942 USD/h
Moncks Corner (US) / us-east1
0.1165 USD/h 0.1942 USD/h
Columbus (US) / us-east5
0.1166 USD/h 0.1942 USD/h
St. Ghislain (BE) / europe-west1
0.0484 USD/h 0.2137 USD/h
Johannesburg (ZA) / africa-south1
0.0607 USD/h 0.2137 USD/h
Tel Aviv (IL) / me-west1
0.1281 USD/h 0.2137 USD/h
Toronto (CA) / northamerica-northeast2
0.0192 USD/h 0.2138 USD/h
Eemshaven (NL) / europe-west4
0.0594 USD/h 0.2138 USD/h
Montréal (CA) / northamerica-northeast1
0.098 USD/h 0.2138 USD/h
Hamina (FI) / europe-north1
0.1038 USD/h 0.2138 USD/h
Las Vegas (US) / us-west4
0.1214 USD/h 0.2187 USD/h
Ashburn (US) / us-east4
0.0546 USD/h 0.2188 USD/h
Changhua County (TW) / asia-east1
0.0779 USD/h 0.2249 USD/h
Milan (IT) / europe-west8
0.0221 USD/h 0.2253 USD/h
Paris (FR) / europe-west9
0.063 USD/h 0.2253 USD/h
Dallas (US) / us-south1
0.0431 USD/h 0.2292 USD/h
Madrid (ES) / europe-southwest1
0.0591 USD/h 0.2292 USD/h
Delhi (IN) / asia-south2
0.021 USD/h 0.2333 USD/h
Los Angeles (US) / us-west2
0.0787 USD/h 0.2333 USD/h
Mumbai (IN) / asia-south1
0.081 USD/h 0.2333 USD/h
Salt Lake City (US) / us-west3
0.0893 USD/h 0.2333 USD/h
Melbourne (AU) / australia-southeast2
0.1088 USD/h 0.2343 USD/h
Warsaw (PL) / europe-central2
0.077 USD/h 0.235 USD/h
Doha (QA) / me-central1
0.0465 USD/h 0.236 USD/h
Jurong West (SG) / asia-southeast1
0.0913 USD/h 0.2396 USD/h
Tokyo (JP) / asia-northeast1
0.0721 USD/h 0.2492 USD/h
Osaka (JP) / asia-northeast2
0.0695 USD/h 0.2494 USD/h
Seoul (KR) / asia-northeast3
0.0723 USD/h 0.2494 USD/h
London (GB) / europe-west2
0.0499 USD/h 0.2502 USD/h
Frankfurt (DE) / europe-west3
0.1379 USD/h 0.2502 USD/h
Berlin (DE) / europe-west10
0.0351 USD/h 0.2503 USD/h
Turin (IT) / europe-west12
0.0464 USD/h 0.2506 USD/h
Zurich (CH) / europe-west6
0.0928 USD/h 0.2545 USD/h
Jakarta (ID) / asia-southeast2
0.1477 USD/h 0.2612 USD/h
Hong Kong / asia-east2
0.0766 USD/h 0.2718 USD/h
Sydney (AU) / australia-southeast1
0.1262 USD/h 0.2756 USD/h
Santiago (CL) / southamerica-west1
0.0712 USD/h 0.2778 USD/h
Osasco (BR) / southamerica-east1
0.0748 USD/h 0.3083 USD/h
Dammam (SA) / me-central2
0.0515 USD/h 0.3108 USD/h

Processor

vCPUs
4
CPU Allocation
Dedicated
CPU Cores
2
CPU Speed
2.8 GHz
CPU Architecture
x86_64
CPU Manufacturer
Intel
CPU Family
Xeon
CPU L1D Cache
32 KiB
CPU L1D Cache Total
64 KiB
CPU L1I Cache
32 KiB
CPU L1I Cache Total
64 KiB
CPU L2 Cache
1 MiB
CPU L2 Cache Total
2 MiB
CPU L3 Cache
33 MiB
CPU L3 Cache Total
33 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, ssse3, fma, cx16, pcid, sse4_1, sse4_2, x2apic, movbe, popcnt, aes, xsave, avx, f16c, rdrand, hypervisor, lahf_lm, abm, 3dnowprefetch, ssbd, ibrs, ibpb, stibp, ibrs_enhanced, fsgsbase, tsc_adjust, bmi1, hle, avx2, smep, bmi2, erms, invpcid, rtm, avx512f, avx512dq, rdseed, adx, smap, clflushopt, clwb, avx512cd, avx512bw, avx512vl, xsaveopt, xsavec, xgetbv1, xsaves, arat, avx512_vnni, md_clear, arch_capabilities
Ecpus
2.6
Scalability
65

System Resources and Accelerators

MEMORY
Memory Amount
16 GiB
Memory Amount Actual
16 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 dedicated general-purpose virtual machine offering balanced memory-to-CPU ratios for standard development and light web serving workloads.

      General Purpose

      Google Cloud Platform n2-standard-4 is a general-purpose virtual machine featuring 4 vCPUs and 16 GB of RAM, powered by a dedicated 2.8 GHz Intel Xeon processor. Operating on the x86_64 architecture with 2 physical cores and hyper-threading, it includes 33 MB of L3 cache and supports AVX-512 instructions. The server does not bundle local storage, public IPv4 addresses, or GPU hardware. In benchmark testing, the instance generally performs in the bottom 25% for CPU and memory bandwidth tasks, though it achieves average results in single-threaded gzip compression. Conversely, multi-threaded decompression and image processing benchmarks rank in the bottom 10%. Given this performance profile, the n2-standard-4 is best utilized for light general-purpose workloads, basic web serving, and development environments where dedicated CPU allocation is required but extreme throughput is not critical.

      Economics

      Average Price per Region

      Prices per Zone

      Lowest Prices

      Performance

      Workload Profiles

      0.25Score
      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) 336,958 ops/sec 1,919,289 ops/sec 0.18 50.00% 50.00% -58.00%
      Redis RPS (pipeline=16, SET) 2,148,949 ops/sec 11,728,058 ops/sec 0.17 20.00% 20.00% -30.00%
      PassMark Memory Mark (composite) 1,979 2,416 0.83 10.00% 10.00% -1.80%
      Memory bandwidth (read, 16 MB ~ L3) 30,957 MB/sec 108,466 MB/sec 0.28 10.00% 10.00% -12.00%
      PassMark single-thread CPU 1,973 Mops/s 2,365 Mops/s 0.83 10.00% 10.00% -1.80%

      Memory Bandwidth

      Compression

      OpenSSL

      Geekbench Single-Core

      Score: 1,147

      Geekbench Multi-Core

      Score: 2,501

      Passmark CPU Scores

      BENCHMARKSCORE
      Mark
      4,259
      Compression
      55,212
      Encryption
      1,694
      Extended Instructions
      3,126
      Floating Point Maths
      6,621
      Integer Maths
      12,314
      Physics
      468
      Prime Numbers
      21
      Single Threaded
      1,973
      String Sorting
      6,542

      Passmark Memory Scores

      BENCHMARKSCORE
      Memory Mark
      1,979
      Database Operations
      1,419
      Memory Latency
      52
      Memory Read Cached
      23,959
      Memory Read Uncached
      10,160
      Memory Write
      9,701

      Stress-ng Stressors

      CPU integerSingleMultiScaling
      atomic
      252.64 267.05 1.06×
      bitops
      107,205 245,637 2.29×
      branch
      153,051 460,035 3.01×
      funccall
      539.12 1,114 2.07×
      funcret
      11,078 31,770 2.87×
      hash
      125,418 355,690 2.84×
      intmath
      22,335 65,348 2.93×
      nop
      190,328 328,640 1.73×
      prime
      313,433 695,947 2.22×
      rotate
      96,301 264,306 2.74×
      str
      724,654 1,587,205 2.19×
      wcs
      475,921 1,017,118 2.14×
      CryptographySingleMultiScaling
      crypt
      2,416 4,713 1.95×
      CompressionSingleMultiScaling
      jpeg
      592.43 1,428 2.41×
      zlib
      49.67 167.62 3.37×
      HypervisorSingleMultiScaling
      clock
      29,798 68,200 2.29×
      clone
      320.19 573.82 1.79×
      context
      2,565 6,001 2.34×
      cpu-sched
      64.42 270.9 4.21×
      eventfd
      46,423 218,586 4.71×
      fault
      10,535 27,167 2.58×
      fork
      3,920 11,472 2.93×
      getrandom
      44,445 107,167 2.41×
      hrtimers
      176,590 394,613 2.23×
      mprotect
      574,374 632,909 1.10×
      mtx
      9,525,005 106,049,574 11.13×
      munmap
      2,733 7,339 2.68×
      null
      291,242 600,884 2.06×
      pipe
      860,350 1,439,074 1.67×
      priv-instr
      549,957 1,256,562 2.28×
      resched
      623,783 337,600 0.54×
      switch
      79,862 637,381 7.98×
      timermix
      183,329 525,469 2.87×
      tlb-shootdown
      7,756 9,655 1.24×
      tsc
      991,886 2,755,632 2.78×
      usersyscall
      382,794 848,233 2.22×
      vdso
      82,495,880 233,191,484 2.83×
      vfork
      26,314 65,032 2.47×
      x86syscall
      3,310,225 6,846,464 2.07×
      yield
      2,024,213 2,109,049 1.04×
      zero
      1,999,344 4,246,715 2.12×
      CPU float/SIMDSingleMultiScaling
      eigen
      15,927 35,250 2.21×
      expmath
      2,667 8,113 3.04×
      fma
      545,433 1,761,539 3.23×
      fp
      117.6 304.29 2.59×
      fractal
      4.8 14.4 3.00×
      hyperbolic
      2,773 8,640 3.12×
      logmath
      4,497 13,185 2.93×
      matrix
      2,997 9,491 3.17×
      matrix-3d
      554.89 988.23 1.78×
      monte-carlo
      139.26 311.65 2.24×
      mpfr
      1,201 2,565 2.14×
      powmath
      1,579 4,794 3.04×
      trig
      1,699 4,484 2.64×
      veccmp
      15,446 32,369 2.10×
      vecfp
      1,291 3,266 2.53×
      vecmath
      2,171 6,815 3.14×
      vecshuf
      561.28 1,200 2.14×
      vecwide
      23,835 50,758 2.13×
      AlgorithmsSingleMultiScaling
      bitonicsort
      7.2 16.6 2.31×
      bsearch
      239.83 543.68 2.27×
      bubblesort
      0.8 1.6 2.00×
      fibsearch
      242.01 550.19 2.27×
      heapsort
      8.6 20.8 2.42×
      hsearch
      4,866 12,283 2.52×
      insertionsort
      8 16 2.00×
      malloc
      1,911,105 7,382,155 3.86×
      mcontend
      199.45 930.71 4.67×
      mergesort
      23 61.6 2.68×
      qsort
      14.8 33.6 2.27×
      skiplist
      4,857 13,709 2.82×
      tree
      1.2 3.2 2.67×
      MemorySingleMultiScaling
      cache
      321,353 396,617 1.23×
      cachehammer
      373,383 1,351,588 3.62×
      cacheline
      26.86 111.99 4.17×
      l1cache
      226.29 487.86 2.16×
      memcpy
      344.95 740.72 2.15×
      memrate
      1.37 3.07 2.24×
      memthrash
      51.93 153.16 2.95×
      ptr-chase
      13,715,639 44,412,538 3.24×
      spinmem
      213.39 155.79 0.73×
      stream
      30.94 300.72 9.72×
      vm
      56,994 231,273 4.06×

      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

      PostgreSQL heavy read-only throughput

      Alternatives

      Servers of the Same Family

      INSTANCEvCPUsMEMORYAccelerators
      n2-highcpu-2 22 GiB0
      n2-standard-2 28 GiB0
      n2-highmem-2 216 GiB0
      n2-highcpu-4 44 GiB0
      n2-highmem-4 432 GiB0
      n2-highcpu-8 88 GiB0
      n2-standard-8 832 GiB0

      Similar Servers

      INSTANCEVENDORvCPUsMEMORYAccelerators

      n2-standard-4 FAQs