VRAMGlass contains affiliate links. As an eBay Partner, we may be compensated if you make a purchase.Learn more

GPUs tracked57Price history42 daysPrice points (24h)38,553 pointsBiggest 24h dropRTX PRO 4000-10.4%Biggest 24h riseTesla V100 16GB+28.7%Updated
$ USD
English

DDR4 RAM price history

DDR4 has been in wide use since 2014. Desktops use unbuffered sticks (UDIMM), usually 2666 to 3600 MT/s. Servers use registered ECC sticks (RDIMM) and have more memory channels, so one machine can hold several hundred GB. A used DDR4 server with plenty of RAM is one of the cheapest ways to run large MoE models on a CPU today.

DDR4-3200 32GB price history

Price updated
$514$411$307$204$100
Low $249High $455
Sep 14Sep 29Oct 14

Some buy links are affiliate links: we may earn a commission if you buy through them, at no extra cost to you.

Some buy links are affiliate links: we may earn a commission if you buy through them, at no extra cost to you.

Desktop memory (UDIMM)

SpecPrice per stickPrice per GBBandwidth per stick7-day change30-day change30-day trendBuy
16 GB2666 MT/s$13337 listings$8.321.3 GB/s+0.3%+0.3%Buy
16 GB3200 MT/s$11545 listings$7.225.6 GB/s-1.6%-6.8%Buy
16 GB3600 MT/s$13513 listings$8.428.8 GB/s0.0%0.0%Buy
32 GB2666 MT/s$2733 listings$8.521.3 GB/s0.0%0.0%Buy
32 GB3200 MT/s$35412 listings$11.125.6 GB/s+26.6%+24.5%Buy
32 GB3600 MT/s$4614 listings$14.428.8 GB/s-0.1%-0.1%Buy

Server memory (RDIMM)

SpecPrice per stickPrice per GBBandwidth per stick7-day change30-day change30-day trendBuy
16 GB2133 MT/s$1546 listings$9.617.1 GB/s+4.4%+4.4%Buy
16 GB2666 MT/s$2095 listings$1321.3 GB/s+0.2%+5.0%Buy
16 GB3200 MT/s$2214 listings$13.825.6 GB/s-2.1%-2.1%Buy
32 GB2133 MT/s$3236 listings$10.117.1 GB/s+1.5%+1.5%Buy
32 GB2666 MT/s$36811 listings$11.521.3 GB/s+8.9%+41.8%Buy
32 GB3200 MT/s$5576 listings$17.425.6 GB/s-4.5%-4.5%Buy

Price per stick is the median of the latest round of Amazon.jp listings; kits are split into single sticks first. Speeds are backward compatible: if a motherboard only supports 2666, a 3200 stick still works and runs at 2666.

Running local LLMs on DDR4 RAM

In a large MoE model, the expert weights can sit in system RAM while the GPU holds only the attention and shared weights: more RAM fits larger models, and more bandwidth means faster generation. Below are three builds with every memory slot filled, a desktop PC, a single-socket server and a dual-socket server, each with one RTX 3090.

Desktop PC

AMD Ryzen 5 5600 · 2-channel

B550 motherboard

Max memory
128 GB
Theoretical bandwidth
51.2 GB/s
RAM
4 x 32G DDR4-3200
$1,415
GPU
GeForce RTX 3090
$2,718
Motherboard + CPU
Reference
$210
Power supply
650 W
$70
Reference build price
$4,413
Single-socket server

AMD EPYC 7532 · 8-channel

Supermicro H12SSL-i motherboard

Max memory
256 GB
Theoretical bandwidth
204.8 GB/s
RAM
8 x 32G DDR4-3200
$4,460
GPU
GeForce RTX 3090
$2,718
Motherboard + CPU
Reference
$700
Power supply
850 W
$100
Reference build price
$7,978
Dual-socket server

2 × AMD EPYC 7532 · 16-channel

Supermicro H12DSi-N6 motherboard

Max memory
512 GB
Theoretical bandwidth
409.6 GB/s
RAM
16 x 32G DDR4-3200
$8,919
GPU
GeForce RTX 3090
$2,718
Motherboard + CPU
Reference
$1,300
Power supply
1200 W
$180
Reference build price
$13,117

A dual-socket build's theoretical bandwidth is the sum of both CPUs, but generation doesn't get twice as fast. With llama.cpp, MoE models run barely faster on two sockets than on one; KTransformers' dual-socket mode, which keeps a copy of the weights on each CPU, measured about 40% faster. With all four slots filled, many desktop motherboards have to lower the memory speed to stay stable, so real bandwidth is below the theoretical figure.

Reference build price = live Amazon.jp median prices for the RAM and GPU + reference prices for the motherboard, CPU and power supply.

FAQ

What is ECC memory? Do I need it in a desktop?

ECC (error-correcting code) memory stores 8 extra check bits for every 64 bits of data, so a single bit that occasionally flips in memory is corrected automatically. That is why an ECC stick has one or two more chips than a regular stick of the same spec. Server memory (RDIMM) always has ECC. On a desktop, error correction only works if both the CPU and the motherboard support it. On a platform that doesn't, an ECC UDIMM usually still works, just without error correction. You don't need to buy ECC memory specifically to run local LLMs.

Server RAM vs desktop RAM: what's the difference?

Desktops use unbuffered memory (UDIMM); servers use registered memory (RDIMM). An RDIMM has an extra register chip that takes load off the memory controller, so each channel can hold more sticks and each stick can be larger (32GB and 64GB are common). All RDIMMs have ECC. The trade-off is lower speeds and looser timings: server sticks are commonly DDR4-2400 or 2666, desktop sticks 3200 or 3600. The two types are not electrically compatible: an RDIMM won't work on a desktop motherboard, and a UDIMM won't work on a server motherboard that only takes RDIMMs.

What does 2Rx4 or 1Rx8 mean on a RAM stick?

The number before R is the rank count. A rank is a group of chips on the stick that are read and written together to make up 64 bits of data: 1R is single-rank, 2R is dual-rank. The number after x is the data width of each chip in bits. It takes 8 x8 chips or 16 x4 chips to make 64 bits, so x4 sticks can reach higher capacities, and most high-capacity server sticks are 2Rx4. The more ranks in a channel, the more likely the motherboard is to lower the memory speed when all slots are filled.

What is CAS latency (CL)? Does it matter more than speed?

CL (CAS latency) is the number of clock cycles between a read command and the data coming out. Lower is faster. To get the real latency, convert it using the speed: nanoseconds = CL × 2000 ÷ speed in MT/s. DDR4-3200 CL16, common on desktops, works out to 10 ns; DDR4-2666 CL19, common on servers, to about 14 ns. When an LLM runs, every generated token means reading several to tens of GB of weights from memory. Bandwidth is what counts, and timings have very little effect.

Can you mix DDR4 RAM with different speeds, sizes or brands?

Sticks with different speeds will work together, but they all run at the speed of the slowest stick, with the loosest timings. With different capacities, only the capacity that matches on both channels is interleaved in dual-channel mode, so bandwidth drops. Different brands usually work, but the safest choice is the same model from the same batch. Three combinations can't be mixed: desktop sticks (UDIMM) with server sticks (RDIMM), RDIMM with LRDIMM, and DDR4 with DDR5 (the notch is in a different place, so they don't fit). On a server, every channel needs identical sticks to reach full bandwidth.

How is RAM bandwidth calculated? Are 4 sticks faster than 2?

A stick transfers 64 bits, or 8 bytes, at a time, so bandwidth per stick = speed × 8. DDR4-3200 gives 25.6 GB/s, which is what PC4-25600 on the label refers to. Platform bandwidth = bandwidth per stick × number of channels. A desktop has only 2 channels, so 4 sticks still give 51.2 GB/s: extra sticks add capacity, not bandwidth. EPYC 7002 / 7003 has 8 channels, which reach 204.8 GB/s when all are filled.

What do 2666V, PC4-21300 and RB2 mean on a RAM label?

The number is the speed, and the letter after it is the JEDEC timing grade: 2133P is CL15, 2400T is CL17, 2666V is CL19, 2933Y is CL21 and 3200AA is CL22. PC4-21300 is the same speed written as bandwidth (2666 × 8 ≈ 21300 MB/s). In PC4-2666V-RB2, a string often seen in Xianyu listing titles, the R after the hyphen means RDIMM; U would be a desktop stick, S a laptop stick and L an LRDIMM. The letters and digits after that are the PCB revision, which you can ignore when buying.