n4-standard-2 by Google Cloud Platform

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

Specifications

Server Metadata

Vendor ID
gcp
Server ID
1750001
Name
n4-standard-2
Description
2 vCPUs, 8 GB RAM
Family
n4
Hw Virt
Average Time To Start
20
Status
active
Observed At
2026-10-23T12:17:14.304325

Availability

REGION / IDSPOTONDEMAND
Columbus (US) / us-east5
0.0305 USD/h 0.0907 USD/h
Ashburn (US) / us-east4
0.0485 USD/h 0.0907 USD/h
Council Bluffs (US) / us-central1
0.0511 USD/h 0.0907 USD/h
The Dalles (US) / us-west1
0.0511 USD/h 0.0907 USD/h
Moncks Corner (US) / us-east1
0.0511 USD/h 0.0907 USD/h
Mumbai (IN) / asia-south1
0.0205 USD/h 0.0943 USD/h
Delhi (IN) / asia-south2
0.0289 USD/h 0.0943 USD/h
Bangkok (TH) / asia-southeast3
0.0181 USD/h 0.0952 USD/h
Eemshaven (NL) / europe-west4
0.022 USD/h 0.0952 USD/h
Stockholm (SE) / europe-north2
0.0376 USD/h 0.0952 USD/h
Queretaro (MX) / northamerica-south1
0.0294 USD/h 0.0989 USD/h
Tel Aviv (IL) / me-west1
0.029 USD/h 0.0998 USD/h
St. Ghislain (BE) / europe-west1
0.0131 USD/h 0.0999 USD/h
Montréal (CA) / northamerica-northeast1
0.0178 USD/h 0.0999 USD/h
Johannesburg (ZA) / africa-south1
0.024 USD/h 0.0999 USD/h
Toronto (CA) / northamerica-northeast2
0.0369 USD/h 0.0999 USD/h
Hamina (FI) / europe-north1
0.0436 USD/h 0.0999 USD/h
Las Vegas (US) / us-west4
0.0472 USD/h 0.1022 USD/h
London (GB) / europe-west2
0.0397 USD/h 0.1034 USD/h
Changhua County (TW) / asia-east1
0.0399 USD/h 0.105 USD/h
Milan (IT) / europe-west8
0.0186 USD/h 0.1052 USD/h
Paris (FR) / europe-west9
0.0377 USD/h 0.1052 USD/h
Madrid (ES) / europe-southwest1
0.0197 USD/h 0.107 USD/h
Dallas (US) / us-south1
0.0209 USD/h 0.107 USD/h
Frankfurt (DE) / europe-west3
0.0637 USD/h 0.107 USD/h
Salt Lake City (US) / us-west3
0.0233 USD/h 0.109 USD/h
Los Angeles (US) / us-west2
0.0619 USD/h 0.109 USD/h
Warsaw (PL) / europe-central2
0.0461 USD/h 0.1097 USD/h
Doha (QA) / me-central1
0.0507 USD/h 0.1102 USD/h
Jurong West (SG) / asia-southeast1
0.0671 USD/h 0.1119 USD/h
Sydney (AU) / australia-southeast1
0.0549 USD/h 0.1134 USD/h
Osaka (JP) / asia-northeast2
0.0423 USD/h 0.1165 USD/h
Seoul (KR) / asia-northeast3
0.061 USD/h 0.1165 USD/h
Tokyo (JP) / asia-northeast1
0.0664 USD/h 0.1165 USD/h
Melbourne (AU) / australia-southeast2
0.0377 USD/h 0.1179 USD/h
Zurich (CH) / europe-west6
0.0605 USD/h 0.1188 USD/h
Jakarta (ID) / asia-southeast2
0.0354 USD/h 0.122 USD/h
Hong Kong / asia-east2
0.0114 USD/h 0.1269 USD/h
Santiago (CL) / southamerica-west1
0.0266 USD/h 0.1297 USD/h
Osasco (BR) / southamerica-east1
0.0211 USD/h 0.144 USD/h
Dammam (SA) / me-central2
0.0264 USD/h 0.1451 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
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

      Entry-level virtual machine featuring dedicated dual vCPUs, 8 GB RAM, and advanced Intel vector and matrix instruction extensions for lightweight workloads.

      General Purpose

      The Google Cloud Platform n4-standard-2 is a general-purpose instance featuring 2 vCPUs across 1 physical Intel x86_64 core with hyperthreading and dedicated CPU allocation. It is configured with 8.0 GB of memory, providing a 1:4 vCPU-to-RAM ratio, and lacks dedicated GPUs and local storage. Its processor architecture incorporates 260 MB of L3 cache alongside advanced instruction sets including Intel AMX and AVX-512. Single-core synthetic benchmarks exhibit average performance, highlighted by a Geekbench single-core score of 1834.0. Conversely, multi-core throughput and memory bandwidth fall into lower performance tiers due to the single physical core footprint, with uncached memory reads topping out at 19.35 GB/sec. This configuration offers entry-level resource availability for workloads requiring dedicated vCPUs without demanding extensive parallel execution. The n4-standard-2 is best suited for lightweight web serving, small-scale microservices, basic text processing, and development environments.

      Economics

      Average Price per Region

      Prices per Zone

      Lowest Prices

      Performance

      Workload Profiles

      0.22Score
      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) 319,763 ops/sec 1,919,289 ops/sec 0.17 50.00% 50.00% -59.00%
      Redis RPS (pipeline=16, SET) 1,659,595 ops/sec 11,728,058 ops/sec 0.14 20.00% 20.00% -33.00%
      PassMark Memory Mark (composite) 840 2,416 0.35 10.00% 10.00% -10.00%
      Memory bandwidth (read, 16 MB ~ L3) 29,498 MB/sec 108,466 MB/sec 0.26 10.00% 10.00% -13.00%
      PassMark single-thread CPU 2,359 Mops/s 2,365 Mops/s 1 10.00% 10.00% 0.00%

      Memory Bandwidth

      Compression

      OpenSSL

      Geekbench Single-Core

      Score: 1,834

      Geekbench Multi-Core

      Score: 2,251

      Passmark CPU Scores

      BENCHMARKSCORE
      Mark
      2,985
      Compression
      29,513
      Encryption
      1,695
      Extended Instructions
      1,993
      Floating Point Maths
      5,410
      Integer Maths
      7,530
      Physics
      383
      Prime Numbers
      16
      Single Threaded
      2,359
      String Sorting
      3,876

      Passmark Memory Scores

      BENCHMARKSCORE
      Memory Mark
      838
      Database Operations
      1,259
      Memory Latency
      66
      Memory Read Cached
      21,234
      Memory Read Uncached
      7,575
      Memory Write
      7,367

      Stress-ng Stressors

      CPU integerSingleMultiScaling
      atomic
      597.68 596.38 1.00×
      bitops
      119,593 144,893 1.21×
      branch
      112,359 174,170 1.55×
      funccall
      610.19 806.91 1.32×
      funcret
      10,059 15,824 1.57×
      hash
      143,348 208,758 1.46×
      intmath
      52,335 65,195 1.25×
      nop
      214,192 175,176 0.82×
      prime
      386,627 471,997 1.22×
      rotate
      80,321 86,901 1.08×
      str
      732,071 1,088,755 1.49×
      wcs
      555,617 705,410 1.27×
      CryptographySingleMultiScaling
      crypt
      2,726 3,187 1.17×
      CompressionSingleMultiScaling
      jpeg
      675.58 920.62 1.36×
      zlib
      33.75 66.42 1.97×
      HypervisorSingleMultiScaling
      clock
      44,852 69,872 1.56×
      clone
      371.58 415.41 1.12×
      context
      4,192 6,928 1.65×
      cpu-sched
      64.69 142.14 2.20×
      eventfd
      53,735 160,468 2.99×
      fault
      20,757 28,359 1.37×
      fork
      5,153 10,173 1.97×
      getrandom
      47,693 69,756 1.46×
      hrtimers
      152,865 276,243 1.81×
      mprotect
      606,465 603,480 1.00×
      mtx
      13,905,528 49,729,489 3.58×
      munmap
      3,761 6,597 1.75×
      null
      724,938 1,136,097 1.57×
      pipe
      3,038,480 1,280,746 0.42×
      priv-instr
      680,134 978,470 1.44×
      resched
      360,562 255,334 0.71×
      switch
      111,315 533,563 4.79×
      timermix
      179,705 338,241 1.88×
      tlb-shootdown
      5,850 6,358 1.09×
      tsc
      469,717 785,238 1.67×
      usersyscall
      571,395 830,779 1.45×
      vdso
      72,744,328 112,501,514 1.55×
      vfork
      34,633 62,860 1.82×
      x86syscall
      8,101,276 13,546,153 1.67×
      yield
      2,169,564 1,939,794 0.89×
      zero
      5,220,038 8,537,476 1.64×
      CPU float/SIMDSingleMultiScaling
      eigen
      13,035 17,143 1.32×
      expmath
      2,821 4,131 1.46×
      fma
      1,056,813 1,376,403 1.30×
      fp
      159.6 249.59 1.56×
      fractal
      5.4 7.6 1.41×
      hyperbolic
      3,280 4,705 1.43×
      logmath
      4,202 6,652 1.58×
      matrix
      4,077 4,565 1.12×
      matrix-3d
      669.25 784.59 1.17×
      monte-carlo
      236.67 387.15 1.64×
      mpfr
      1,404 1,660 1.18×
      powmath
      1,587 2,394 1.51×
      trig
      2,156 2,852 1.32×
      veccmp
      20,088 23,322 1.16×
      vecfp
      1,242 1,578 1.27×
      vecmath
      3,169 4,438 1.40×
      vecshuf
      665.55 761.83 1.14×
      vecwide
      27,883 33,891 1.22×
      AlgorithmsSingleMultiScaling
      bitonicsort
      7.2 8.4 1.17×
      bsearch
      231.89 290.12 1.25×
      bubblesort
      0.8 0.8 1.00×
      fibsearch
      258.9 332.49 1.28×
      heapsort
      8 11.2 1.40×
      hsearch
      6,769 8,376 1.24×
      insertionsort
      10.2 9.2 0.90×
      malloc
      2,231,807 4,233,182 1.90×
      mcontend
      368.57 391.06 1.06×
      mergesort
      24.6 35.4 1.44×
      qsort
      17.6 24.8 1.41×
      skiplist
      4,405 6,945 1.58×
      tree
      1.4 2 1.43×
      MemorySingleMultiScaling
      cache
      170,592 208,520 1.22×
      cachehammer
      168,945 278,917 1.65×
      cacheline
      25.78 51.89 2.01×
      l1cache
      885.93 344.35 0.39×
      memcpy
      357.29 370.91 1.04×
      memrate
      0.18 0.31 1.72×
      memthrash
      57.64 83.06 1.44×
      ptr-chase
      24,137,408 37,559,286 1.56×
      spinmem
      180.99 0.4 0.00×
      stream
      5.17 12.17 2.35×
      vm
      77,589 153,946 1.98×

      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-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

      INSTANCEVENDORvCPUsMEMORYAccelerators

      n4-standard-2 FAQs