n4-standard-4 by Google Cloud Platform

n4-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.0229 USD per hour.
4 vCPU
16 GiB Memory
Spare SCore
3,213
(All-cores)
1,562
(Single-core)

Specifications

Server Metadata

Vendor ID
gcp
Server ID
1750002
Name
n4-standard-4
Description
4 vCPUs, 16 GB RAM
Family
n4
Hw Virt
Average Time To Start
17
Status
active
Observed At
2026-10-23T12:17:14.304381

Availability

REGION / IDSPOTONDEMAND
Columbus (US) / us-east5
0.0609 USD/h 0.1814 USD/h
Ashburn (US) / us-east4
0.097 USD/h 0.1814 USD/h
Council Bluffs (US) / us-central1
0.1022 USD/h 0.1814 USD/h
The Dalles (US) / us-west1
0.1022 USD/h 0.1814 USD/h
Moncks Corner (US) / us-east1
0.1022 USD/h 0.1814 USD/h
Mumbai (IN) / asia-south1
0.0411 USD/h 0.1887 USD/h
Delhi (IN) / asia-south2
0.0578 USD/h 0.1887 USD/h
Bangkok (TH) / asia-southeast3
0.0362 USD/h 0.1905 USD/h
Eemshaven (NL) / europe-west4
0.0441 USD/h 0.1905 USD/h
Stockholm (SE) / europe-north2
0.0751 USD/h 0.1905 USD/h
Queretaro (MX) / northamerica-south1
0.0588 USD/h 0.1977 USD/h
Tel Aviv (IL) / me-west1
0.058 USD/h 0.1995 USD/h
St. Ghislain (BE) / europe-west1
0.0262 USD/h 0.1997 USD/h
Montréal (CA) / northamerica-northeast1
0.0357 USD/h 0.1997 USD/h
Johannesburg (ZA) / africa-south1
0.0479 USD/h 0.1997 USD/h
Toronto (CA) / northamerica-northeast2
0.0738 USD/h 0.1997 USD/h
Hamina (FI) / europe-north1
0.0872 USD/h 0.1997 USD/h
Las Vegas (US) / us-west4
0.0945 USD/h 0.2043 USD/h
London (GB) / europe-west2
0.0795 USD/h 0.2068 USD/h
Changhua County (TW) / asia-east1
0.0798 USD/h 0.21 USD/h
Milan (IT) / europe-west8
0.0373 USD/h 0.2104 USD/h
Paris (FR) / europe-west9
0.0754 USD/h 0.2104 USD/h
Madrid (ES) / europe-southwest1
0.0394 USD/h 0.2141 USD/h
Dallas (US) / us-south1
0.0417 USD/h 0.2141 USD/h
Frankfurt (DE) / europe-west3
0.1275 USD/h 0.2141 USD/h
Salt Lake City (US) / us-west3
0.0465 USD/h 0.2181 USD/h
Los Angeles (US) / us-west2
0.1239 USD/h 0.2181 USD/h
Warsaw (PL) / europe-central2
0.0922 USD/h 0.2195 USD/h
Doha (QA) / me-central1
0.1014 USD/h 0.2204 USD/h
Jurong West (SG) / asia-southeast1
0.1342 USD/h 0.2238 USD/h
Sydney (AU) / australia-southeast1
0.1098 USD/h 0.2268 USD/h
Osaka (JP) / asia-northeast2
0.0846 USD/h 0.233 USD/h
Seoul (KR) / asia-northeast3
0.1219 USD/h 0.233 USD/h
Tokyo (JP) / asia-northeast1
0.1328 USD/h 0.233 USD/h
Melbourne (AU) / australia-southeast2
0.0753 USD/h 0.2358 USD/h
Zurich (CH) / europe-west6
0.1211 USD/h 0.2376 USD/h
Jakarta (ID) / asia-southeast2
0.0707 USD/h 0.2439 USD/h
Hong Kong / asia-east2
0.0229 USD/h 0.2538 USD/h
Santiago (CL) / southamerica-west1
0.0533 USD/h 0.2594 USD/h
Osasco (BR) / southamerica-east1
0.0421 USD/h 0.288 USD/h
Dammam (SA) / me-central2
0.0527 USD/h 0.2902 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.1
Scalability
52.5

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 balanced general-purpose virtual machine offering four virtual CPUs and sixteen gigabytes of memory for standard application hosting and web services.

      General Purpose

      Google Cloud Platform n4-standard-4 is a general-purpose cloud instance offering 4 dedicated vCPUs across 2 physical Intel x86_64 cores, paired with 16 GB of RAM. Featuring an instruction set that includes Intel AVX-512 and AMX accelerator extensions alongside a 260 MB L3 cache, the instance operates with no bundled GPU or local NVMe storage. Benchmarks demonstrate solid single-core efficiency, indicated by average performance in single-threaded gzip compression and Geekbench single-core tests. However, multi-threaded throughput and memory bandwidth fall into lower percentiles, as seen in Geekbench multi-core and PassMark memory benchmarks. Achieving 6.53 GB/sec in static web serving throughput, this configuration provides a standard resource density for modest workload demands. It is best suited for general-purpose applications, lightweight web servers, basic API services, and microservice hosting.

      Economics

      Average Price per Region

      Prices per Zone

      Lowest Prices

      Performance

      Workload Profiles

      0.39Score
      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) 608,187 ops/sec 1,919,289 ops/sec 0.32 50.00% 50.00% -43.00%
      Redis RPS (pipeline=16, SET) 3,121,720 ops/sec 11,728,058 ops/sec 0.26 20.00% 20.00% -24.00%
      PassMark Memory Mark (composite) 1,558 2,416 0.67 10.00% 10.00% -3.90%
      Memory bandwidth (read, 16 MB ~ L3) 59,596 MB/sec 108,466 MB/sec 0.55 10.00% 10.00% -5.80%
      PassMark single-thread CPU 2,416 Mops/s 2,365 Mops/s 1 10.00% 10.00% 0.00%

      Memory Bandwidth

      Compression

      OpenSSL

      Geekbench Single-Core

      Score: 1,807

      Geekbench Multi-Core

      Score: 4,100

      Passmark CPU Scores

      BENCHMARKSCORE
      Mark
      6,011
      Compression
      58,988
      Encryption
      3,441
      Extended Instructions
      4,323
      Floating Point Maths
      10,997
      Integer Maths
      15,512
      Physics
      787
      Prime Numbers
      33
      Single Threaded
      2,416
      String Sorting
      7,894

      Passmark Memory Scores

      BENCHMARKSCORE
      Memory Mark
      1,558
      Database Operations
      1,865
      Memory Latency
      76
      Memory Read Cached
      21,672
      Memory Read Uncached
      6,875
      Memory Write
      6,707

      Stress-ng Stressors

      CPU integerSingleMultiScaling
      atomic
      157.14 135.01 0.86×
      bitops
      137,336 318,581 2.32×
      branch
      128,984 416,400 3.23×
      funccall
      713.31 1,890 2.65×
      funcret
      11,649 36,965 3.17×
      hash
      157,526 458,272 2.91×
      intmath
      59,459 145,153 2.44×
      nop
      249,439 533,231 2.14×
      prime
      444,899 1,187,056 2.67×
      rotate
      91,191 264,627 2.90×
      str
      883,038 2,465,083 2.79×
      wcs
      627,108 1,424,793 2.27×
      CryptographySingleMultiScaling
      crypt
      3,013 7,839 2.60×
      CompressionSingleMultiScaling
      jpeg
      754.63 2,009 2.66×
      zlib
      46.61 192.92 4.14×
      HypervisorSingleMultiScaling
      clock
      46,867 125,827 2.68×
      clone
      308.56 568.71 1.84×
      context
      4,752 15,843 3.33×
      cpu-sched
      60.5 269.48 4.45×
      eventfd
      50,600 529,950 10.47×
      fault
      23,978 53,546 2.23×
      fork
      4,444 16,472 3.71×
      getrandom
      53,097 157,885 2.97×
      hrtimers
      430,365 586,843 1.36×
      mprotect
      860,952 1,308,353 1.52×
      mtx
      26,089,926 133,489,133 5.12×
      munmap
      3,526 11,681 3.31×
      null
      825,802 2,672,898 3.24×
      pipe
      507,992 3,969,246 7.81×
      priv-instr
      785,675 2,208,113 2.81×
      resched
      1,342,878 795,851 0.59×
      switch
      79,205 1,383,383 17.47×
      timermix
      196,386 673,240 3.43×
      tlb-shootdown
      7,082 9,017 1.27×
      tsc
      534,104 1,752,019 3.28×
      usersyscall
      671,303 1,920,658 2.86×
      vdso
      83,470,957 263,733,492 3.16×
      vfork
      26,882 78,801 2.93×
      x86syscall
      9,121,295 31,121,790 3.41×
      yield
      4,845,253 3,900,361 0.80×
      zero
      5,867,141 19,562,058 3.33×
      CPU float/SIMDSingleMultiScaling
      eigen
      15,133 37,930 2.51×
      expmath
      3,207 9,511 2.97×
      fma
      1,104,323 3,055,828 2.77×
      fp
      177.6 558.17 3.14×
      fractal
      6.4 17.8 2.78×
      hyperbolic
      3,734 10,873 2.91×
      logmath
      4,780 15,279 3.20×
      matrix
      4,694 11,083 2.36×
      matrix-3d
      385.57 855.65 2.22×
      monte-carlo
      269.33 903.06 3.35×
      mpfr
      1,597 4,062 2.54×
      powmath
      1,806 5,572 3.09×
      trig
      2,503 6,450 2.58×
      veccmp
      21,532 51,466 2.39×
      vecfp
      1,348 3,518 2.61×
      vecmath
      3,525 10,004 2.84×
      vecshuf
      747.56 1,711 2.29×
      vecwide
      26,812 66,389 2.48×
      AlgorithmsSingleMultiScaling
      bitonicsort
      8.8 22.4 2.55×
      bsearch
      287.61 710.18 2.47×
      bubblesort
      1 2.4 2.40×
      fibsearch
      276.09 706.73 2.56×
      heapsort
      9 25.2 2.80×
      hsearch
      7,559 19,111 2.53×
      insertionsort
      11.8 22.8 1.93×
      malloc
      1,592,197 6,610,413 4.15×
      mcontend
      112.47 615.42 5.47×
      mergesort
      28.2 82.2 2.91×
      qsort
      20.2 56.2 2.78×
      skiplist
      5,890 18,260 3.10×
      tree
      1 2.4 2.40×
      MemorySingleMultiScaling
      cache
      187,616 351,435 1.87×
      cachehammer
      135,741 476,344 3.51×
      cacheline
      43.4 165.59 3.82×
      l1cache
      680.31 703.87 1.03×
      memcpy
      627.66 1,304 2.08×
      memthrash
      98.33 142.67 1.45×
      ptr-chase
      8,037,538 30,793,792 3.83×
      spinmem
      216.78 107.39 0.50×
      stream
      5.59 54.88 9.82×
      vm
      55,664 257,988 4.63×

      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-highcpu-4 48 GiB0
      n4-highmem-4 432 GiB0
      n4-highcpu-8 816 GiB0
      n4-standard-8 832 GiB0

      Similar Servers

      INSTANCEVENDORvCPUsMEMORYAccelerators

      n4-standard-4 FAQs