logo

g4dn.xlarge by Amazon Web Services

g4dn.xlarge is a Graphics intensive [Instance store volumes] [Network and EBS optimized] Gen4 xlarge server offered by Amazon Web Services with 4 vCPUs, 16 GiB of memory and 125 GB of storage. The pricing starts at 0.1346 USD per hour.
4 vCPU
16 GiB Memory
125 GB Storage
1 GPU
Spare SCore
3377
(All-cores)
1284
(Single-core)

Specifications

Server Metadata

Vendor ID
aws
Name
g4dn.xlarge
Description
Graphics intensive [Instance store volumes] [Network and EBS optimized] Gen4 xlarge
Family
g4dn
Hw Virt
Status
active
Observed At
2026-08-07T22:33:34.421284

Availability

REGION / IDSPOTONDEMAND
Ohio (US) / us-east-2
0.2098 USD/h 0.526 USD/h
Oregon (US) / us-west-2
0.224867 USD/h 0.526 USD/h
Northern Virgina (US) / us-east-1
0.3395 USD/h 0.526 USD/h
Stockholm (SE) / eu-north-1
0.1854 USD/h 0.558 USD/h
Mumbai (IN) / ap-south-1
0.177433 USD/h 0.579 USD/h
Quebec (CA) / ca-central-1
0.24135 USD/h 0.584 USD/h
Dublin (IE) / eu-west-1
0.337833 USD/h 0.587 USD/h
London (GB) / eu-west-2
0.217767 USD/h 0.615 USD/h
Paris (FR) / eu-west-3
0.214167 USD/h 0.615 USD/h
Milan (IT) / eu-south-1
0.1412 USD/h 0.616 USD/h
California (US) / us-west-1
0.3082 USD/h 0.631 USD/h
Seoul (KR) / ap-northeast-2
0.306333 USD/h 0.647 USD/h
Frankfurt (DE) / eu-central-1
0.313467 USD/h 0.658 USD/h
Sydney (AU) / ap-southeast-2
0.3224 USD/h 0.684 USD/h
Cape Town (ZA) / af-south-1
0.30015 USD/h 0.698 USD/h
Osaka (JP) / ap-northeast-3
0.3107 USD/h 0.71 USD/h
Tokyo (JP) / ap-northeast-1
0.313467 USD/h 0.71 USD/h
Singapore (SG) / ap-southeast-1
0.338633 USD/h 0.736 USD/h
Hong Kong (HK) / ap-east-1
0.162133 USD/h 0.81 USD/h
Sao Paulo (BR) / sa-east-1
0.157133 USD/h 0.894 USD/h

Processor

vCPUs
4
Hypervisor
nitro
CPU Allocation
Dedicated
CPU Cores
2
CPU Speed
2.5 GHz
CPU Architecture
x86_64
CPU Manufacturer
Intel
CPU Family
Xeon
CPU Model
8259CL
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
36 MiB
CPU L3 Cache Total
36 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, aperfmperf, tsc_known_freq, pni, pclmulqdq, ssse3, fma, cx16, pcid, sse4_1, sse4_2, x2apic, movbe, popcnt, tsc_deadline_timer, aes, xsave, avx, f16c, rdrand, hypervisor, lahf_lm, abm, 3dnowprefetch, pti, fsgsbase, tsc_adjust, bmi1, avx2, smep, bmi2, erms, invpcid, mpx, avx512f, avx512dq, rdseed, adx, smap, clflushopt, clwb, avx512cd, avx512bw, avx512vl, xsaveopt, xsavec, xgetbv1, xsaves, ida, arat, pku, ospke, avx512_vnni
Ecpus
2.6
Scalability
130

System Resources and Accelerators

MEMORY
Memory Amount
16 GiB
Memory Amount Actual
16 GiB
Memory Generation
DDR4
Memory Speed
2933 Mhz
GPU
GPU Count
1
GPU Memory Min
16 GiB
GPU Memory Total
16 GiB
GPU Manufacturer
NVIDIA
GPU Family
Turing
GPU Model
T4
GPUs
  • NVIDIA Turing Tesla T4 (Memory amount: 15360, Firmware version: 590.48.01, BIOS version: 90.04.96.00.02, Clock rate: 1590)
STORAGE
Storage Size
125 GB
Storage Type
nvme ssd
Storages
  • 125 GB nvme ssd
NETWORK
Network Speed Baseline
5 Gbps
Network Speed Max
25 Gbps
Network Storage Speed Baseline
0.95 Gbps
Network Storage Speed Max
3.5 Gbps
Inbound Traffic
0 GB/month
Outbound Traffic
0 GB/month
IPv4
0

CPU and System Topology

Server Description

A budget-friendly GPU instance featuring local NVMe storage and dedicated hardware acceleration for entry-level machine learning inference workloads.

GPU AcceleratedGeneral PurposeStorage & Database

Amazon Web Services g4dn.xlarge is a GPU-accelerated instance configured with 4 vCPUs from an Intel Xeon 8259CL processor, 16.0 GB of DDR4 memory, and a 125 GB local NVMe SSD. It features a single NVIDIA T4 GPU with 16 GB of VRAM. While standard CPU, memory, and database benchmarks place this instance in the bottom 25% of performance, its GPU capabilities deliver top-tier results for small and medium LLM inference tasks. Specifically, prompt processing for 135M and 7B models ranks in the top 10%. This instance represents a cost-efficient entry point for GPU-accelerated workloads, balancing local NVMe storage and dedicated graphics hardware. It is best suited for machine learning inference, graphics-intensive applications, and lightweight GPU development rather than general-purpose compute tasks.

Economics

Average Price per Region

Prices per Zone

Lowest Prices

Performance

Workload Profiles

0.254Score
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) 340,811 ops/sec 1,910,660 ops/sec 0.178 50.00% 50.00% -57.80%
Redis RPS (pipeline=16, SET) 2,162,872 ops/sec 11,608,287 ops/sec 0.186 20.00% 20.00% -28.60%
PassMark Memory Mark (composite) 1,794 2,416 0.742 10.00% 10.00% -2.94%
Memory bandwidth (read, 16 MB ~ L3) 33,817 MB/sec 107,896 MB/sec 0.313 10.00% 10.00% -11.00%
PassMark single-thread CPU 1,806 Mops/s 2,364 Mops/s 0.764 10.00% 10.00% -2.66%

Memory Bandwidth

Compression

OpenSSL

Geekbench Single-Core

Score: 1,088

Geekbench Multi-Core

Score: 2,396

Passmark CPU Scores

BENCHMARKSCORE
Mark
3956
Compression
50320
Encryption
1551
Extended Instructions
2903
Floating Point Maths
6040
Integer Maths
11271
Physics
507
Prime Numbers
24
Single Threaded
1806
String Sorting
6019

Passmark Memory Scores

BENCHMARKSCORE
Memory Mark
1794
Database Operations
1357
Memory Latency
55
Memory Read Cached
21945
Memory Read Uncached
10235
Memory Write
9655

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

INSTANCEvCPUsMEMORYGPUs
g4dn.2xlarge 832 GiB1
g4dn.4xlarge 1664 GiB1
g4dn.8xlarge 32128 GiB1
g4dn.12xlarge 48192 GiB4
g4dn.16xlarge 64256 GiB1
g4dn.metal 96384 GiB8

Similar Servers

INSTANCEVENDORvCPUsMEMORYGPUs

g4dn.xlarge FAQs