The Itch

Most of us have had the same thought at the end of the month, looking at the invoice from Anthropic or OpenAI: what if I just ran the model at home? No rate limits, no per-token meter, no prompts leaving the house.

I covered the software side of that idea in Running Local LLMs for Coding and Private Agents — vLLM, LiteLLM, and how to point an IDE or a coding agent at your own endpoint. That post treated hardware as a table at the end. This one is the hardware post: what machine you actually need, why each part matters, and whether the money comes back.

The ground rules:

  1. No Macs this time. Apple Silicon is a legitimate way to run large models, but it is a different set of trade-offs and deserves its own article.
  2. Linux. Everything here assumes a Linux box with the vendor drivers. That is where vLLM, llama.cpp, and the multi-GPU tooling are best supported.
  3. Inference only. Fine-tuning changes several conclusions — I will flag where.
  4. Weights stay on the GPU. The whole design assumes the model is fully offloaded to GPU memory. The moment weights spill into system RAM, you are building a different, much slower machine.

The order of the article follows the order of the decisions: how much memory a model needs, why memory speed matters as much as memory size, why all of it costs so much right now, and which class of machine fits which job. Only then come slots, lanes, CPUs, split modes, power supplies, and RAM. The return-on-investment math comes last, because it only makes sense once you know what you are buying.


Start with Memory, Not with the GPU

A GPU for inference is, to a first approximation, a box of fast memory. Whether a model runs at all is decided by one inequality: weights + KV cache ≤ GPU memory. Everything else in this article is about what happens after that inequality holds.

Weights

The weights are simple arithmetic:

weights = parameters × bits per weight ÷ 8

A 70B model at 16-bit precision is 131 GB. Nobody runs that at home; you run a quantized version. At roughly 4.8 bits per weight — the neighborhood of Q4_K_M GGUF files, AWQ, and NVFP4 checkpoints — the same model is 39.5 GB. (All sizes in this article are binary gigabytes, the unit nvidia-smi reports, so they compare directly with a card’s advertised VRAM.) Going below 4 bits is possible but quality drops off quickly; going above 8 buys very little.

KV Cache

The second term is the one people forget. For every token in the context, every attention layer stores a key vector and a value vector so that the next token does not have to recompute them. That is the KV cache:

KV cache = layers × 2 × KV heads × head dimension × bytes per value
           × context tokens × parallel requests

Two things about this formula matter more than the formula itself.

It scales with context and concurrency, not with model size. Llama 3.3 70B caches 320 KB per token. Fill its 128K context and the cache is 40 GB — as large as the 4-bit weights. Qwen3-32B is worse in relative terms: 256 KB per token means 32 GB of cache at 128K context for a model whose 4-bit weights are only 18 GB. Serve four requests in parallel and multiply again.

It depends on the attention design, and that design changed a lot in the last year. The number of parameters does not appear in the formula at all. A classic transformer with grouped-query attention caches every layer. Newer architectures do not:

Model Parameters Layers that grow a cache KV per token KV at 128K context
Llama 3.1 8B 8B 32 of 32 128 KB 16.0 GB
Qwen3-32B 32.8B 64 of 64 256 KB 32.0 GB
Llama 3.3 70B 70.6B 80 of 80 320 KB 40.0 GB
Gemma 4 31B 31.3B 10 of 60 (the rest use a sliding window) 80 KB 11.2 GB
Qwen3.8-27B 27.8B 16 of 64 (the rest use linear attention) 64 KB 8.0 GB
Qwen3.6-35B-A3B 36B 10 of 40 20 KB 2.5 GB
Kimi K2 1.03T 61 of 61, one latent per layer (MLA) 69 KB 8.6 GB
Model weights and KV cache at a 128K context Stacked bars comparing 4-bit weights with the KV cache at 128K tokens for six models. Classic full-attention models carry a cache as large as or larger than their weights; newer hybrid designs carry far less. Model weights, 4-bit KV cache 0 GB 20 GB 40 GB 60 GB 80 GB Classic full attention Llama 3.1 8B Llama 3.1 8B — Model weights, 4-bit: 4.5 GB Llama 3.1 8B — KV cache: 16 GB 20.5 GB Qwen3-32B Qwen3-32B — Model weights, 4-bit: 18.3 GB Qwen3-32B — KV cache: 32 GB 50.3 GB Llama 3.3 70B Llama 3.3 70B — Model weights, 4-bit: 39.5 GB Llama 3.3 70B — KV cache: 40 GB 79.5 GB Sliding-window and hybrid attention Gemma 4 31B Gemma 4 31B — Model weights, 4-bit: 17.5 GB Gemma 4 31B — KV cache: 11.2 GB 28.7 GB Qwen3.8-27B Qwen3.8-27B — Model weights, 4-bit: 15.5 GB Qwen3.8-27B — KV cache: 8 GB 23.5 GB Qwen3.6-35B-A3B Qwen3.6-35B-A3B — Model weights, 4-bit: 20.1 GB Qwen3.6-35B-A3B — KV cache: 2.5 GB 22.6 GB
Weights at 4 bits against the KV cache at a full 128K context. In a classic full-attention model the cache is as large as the weights, or larger. In the newer designs it is a fraction.

A trillion-parameter Kimi K2 caches less per token than an 8B Llama. So the practical rule is: do not estimate the KV cache from the model’s size — read num_hidden_layers, num_key_value_heads, and head_dim from its config.json, and check whether it uses sliding-window layers, linear-attention layers, or multi-head latent attention (MLA).

Dense vs MoE

In a dense model every parameter participates in every token. In a mixture-of-experts (MoE) model, each layer holds many expert networks and a router picks a few of them per token. gpt-oss-120b has 117B parameters, but only 5.1B are active for any given token.

Dense and mixture-of-experts models Two panels. In a dense model every block of weights is in memory and every block is read for each token. In a mixture-of-experts model every expert is in memory but only a few are read for each token. Dense model In memory: every block Read for each token: every block Size and speed are the same number Mixture of experts (MoE) In memory: every expert Read for each token: the few the router picks Sized like a large model, as fast as a small one
Every block has to be in memory in both cases. What differs is how much of it each token reads.

This splits the two questions that people usually merge:

  • Does it fit? is answered by the total parameter count. All 117B parameters have to be in memory, because the router can pick any expert for the next token.
  • How fast is it? is answered by the active parameter count. Each token reads 5.1B parameters’ worth of weights, not 117B.

A MoE needs the memory of a large model and runs at the speed of a small one. That is exactly the shape of hardware that has lots of memory and modest bandwidth — keep that in mind for the DGX Spark section.

The Calculator

Pick a model or dial in a custom size. The presets carry the real attention shapes from each model’s config.json; the custom mode estimates a classic full-attention transformer, which is the pessimistic case.

GPU memory calculator

B
Architecture

Each request gets its own KV cache of the full context size.

KV cache precision
Attention shape — what the KV cache really depends on

GPU memory required

GB

  • Model weights
  • KV cache

Total parameters

All of them have to sit in GPU memory.

How many GPUs is that?

A few notes on reading the result:

  • The context window is a budget you set, not a property you inherit. A model that supports 256K tokens does not cost 256K tokens of cache unless you configure it that way. In llama.cpp the cache is sized by --ctx-size; in vLLM the server grabs a fraction of the GPU (--gpu-memory-utilization, 0.9 by default) and whatever is left after the weights becomes the cache pool, so the question there is how many tokens fit rather than how much memory is used.
  • KV precision is a free lever on a single GPU. Both runtimes can store the cache in 8 bits (--cache-type-k q8_0 --cache-type-v q8_0 in llama.cpp, --kv-cache-dtype fp8 in vLLM), which halves it.
  • The numbers are a floor. Each GPU also needs roughly a gigabyte for the CUDA context and compute buffers, which the GPU counts in the calculator already include.

Why Memory Speed Matters: DDR5, GDDR, and HBM

Capacity decides whether a model runs. Bandwidth decides how fast.

To produce one token, the GPU has to read every weight that participates in that token — all of them for a dense model, the active ones for a MoE. Nothing about that can be cached or skipped. So there is a hard ceiling on generation speed:

tokens per second ≤ memory bandwidth ÷ bytes of weights read per token

Real systems land at roughly 60–90% of that ceiling. The rule is good enough to predict the order of magnitude before you buy anything, and it explains why the kind of memory matters as much as the amount.

Where the weights live Example Bandwidth Ceiling for a 27B model at 4 bits
DDR5, 2 channels Any desktop, DDR5-6000 96 GB/s 6 tok/s
DDR5, 8 channels Threadripper PRO, DDR5-6400 410 GB/s 25 tok/s
LPDDR5X, unified Strix Halo 256 GB/s 15 tok/s
LPDDR5X, unified DGX Spark 273 GB/s 16 tok/s
GDDR7, 128-bit bus RTX PRO 2000 Blackwell 288 GB/s 17 tok/s
GDDR6, 192-bit bus Arc Pro B60 456 GB/s 27 tok/s
GDDR6, 256-bit bus Arc Pro B70, Radeon AI PRO R9700 608–640 GB/s 36–38 tok/s
GDDR6X, 384-bit bus RTX 3090 / RTX 4090 936 / 1,008 GB/s 56 / 60 tok/s
GDDR7, 512-bit bus RTX 5090, RTX PRO 6000 Blackwell 1,792 GB/s 107 tok/s
HBM3E NVIDIA H200 / B200 4,800 / 8,000 GB/s 290 / 480 tok/s

The ceiling is not a fantasy number: a real RTX 4090 generates about 51 tokens per second on a 27B model at 4 bits, against a ceiling of 60.

Memory bandwidth by device Bar chart of memory bandwidth in GB/s. A dual-channel DDR5 desktop reaches 96 GB/s, unified-memory boxes about 260 to 270, and graphics cards from 288 up to 1,792 GB/s. GDDR (graphics cards) LPDDR5X (unified memory) DDR5 (system RAM) 0 500 1,000 1,500 2,000 Memory bandwidth, GB/s RTX 5090 / RTX PRO 6000 RTX 5090 / RTX PRO 6000: 1,792 GB/s 1,792 GB/s RTX 4090 RTX 4090: 1,008 GB/s 1,008 GB/s RTX 3090 RTX 3090: 936 GB/s 936 GB/s Radeon AI PRO R9700 Radeon AI PRO R9700: 640 GB/s 640 GB/s Arc Pro B70 Arc Pro B70: 608 GB/s 608 GB/s Arc Pro B60 Arc Pro B60: 456 GB/s 456 GB/s Threadripper PRO, 8 channels Threadripper PRO, 8 channels: 410 GB/s 410 GB/s RTX PRO 2000 Blackwell RTX PRO 2000 Blackwell: 288 GB/s 288 GB/s DGX Spark DGX Spark: 273 GB/s 273 GB/s Strix Halo Strix Halo: 256 GB/s 256 GB/s Desktop PC, 2 channels Desktop PC, 2 channels: 96 GB/s 96 GB/s
The bandwidth column of the table, to scale. HBM is left out: at 4,800–8,000 GB/s its bar would be three to four times as wide as the chart.

Why are these technologies so far apart? They are built for different jobs.

How DDR5, GDDR and HBM are attached to the processor Three schematic panels. DDR5 modules sit in sockets at the end of long traces from the CPU. GDDR chips are soldered in a ring around the GPU. HBM stacks sit beside the GPU die on a shared interposer. DDR5 2 channels × 64 bits sockets and long traces — 96 GB/s CPU module module GDDR7 16 chips × 32 bits soldered around the GPU — 1,792 GB/s GPU HBM3E 8 stacks × 1,024 bits on the GPU's interposer — 8,000 GB/s interposer GPU
Schematic, not to scale. The closer the memory sits to the processor and the more wires connect the two, the more bytes move per second.

DDR5 is system memory. It lives on removable modules, at the end of long motherboard traces and a socket, and each channel is 64 bits wide. A channel of DDR5-6000 moves 48 GB/s, and a desktop CPU has two of them. It is designed for capacity, flexibility, and price — not for feeding a matrix multiplier. Workstation platforms get more bandwidth the only way DDR can: more channels.

LPDDR5X is the laptop variant, soldered centimeters from the chip. The Spark and the Halo wire it as a 256-bit bus — in effect four channels — which is where their 256–273 GB/s comes from. It is fast for system memory, and the GPU shares it with the CPU.

GDDR6, GDDR6X, and GDDR7 are graphics memory, and this is where a naming trap sits. GDDR6 and GDDR7 are not “DDR6” and “DDR7”. They are a separate family, soldered in a ring around the GPU, with each chip wired point-to-point on its own 32-bit interface. Short traces and no sockets allow much faster signaling: 14–20 Gbit/s per pin for GDDR6, 28–32 for GDDR7, compared with 6 for DDR5-6000. Bandwidth is then just the number of chips: 16 chips make the 512-bit bus of an RTX 5090. (DDR6 as system memory does not exist yet — JEDEC published a preview of the standard only last month, and products are expected around 2028. There is no DDR7.)

The same wiring that makes GDDR fast makes it small. Every chip needs its own set of wires to the GPU, so you cannot simply add more. 16 chips of 2 GB give the 32 GB of an RTX 5090; the RTX PRO 6000 reaches 96 GB only by using 3 GB chips on both sides of the board.

HBM — high-bandwidth memory — is what datacenter accelerators use. Instead of chips around the GPU, it is a stack of 8 to 12 memory dies connected vertically by through-silicon vias, placed directly beside the GPU die on a silicon interposer, with a 1,024-bit interface per stack (2,048 in HBM4). Eight stacks give a B200 192 GB at 8 TB/s. You cannot buy it on a workstation card: it requires the same advanced packaging as the GPU itself, and every stack that can be made is already sold.

Which One Do You Choose?

You do not choose memory separately — it arrives soldered to the device. But you do choose which pool your weights live in, and the rule falls out of the table:

  1. Capacity first. If the model does not fit, bandwidth is irrelevant.
  2. Dense models want GDDR. They read everything on every token, so they need the widest bus you can afford.
  3. MoE models tolerate unified memory. Reading 3–5B active parameters per token is fast even at 270 GB/s.
  4. DDR5 is for the operating system. A model that lives in dual-channel system RAM generates at reading speed, not conversation speed.

One line of the table deserves a second look. A 16 GB entry-level workstation card on a 128-bit bus has barely more bandwidth than a DGX Spark. Small cards are not just small — they are narrow.

All of this is about generating tokens. Reading the prompt is a different workload: it is limited by compute, not by bandwidth, which is why two machines with nearly the same memory speed can differ by a factor of two to four on a long prompt. More on that in the next post.


Why GPUs Cost So Much Right Now

If you priced a GPU in 2025 and again this month, you already know something broke. The cause is memory.

HBM, DDR5, and GDDR are all cut from the same DRAM wafers, in the same fabs, by the same three companies. A gigabyte of HBM consumes roughly three times the wafer capacity of a gigabyte of DDR5 — stacking, through-silicon vias, and yield losses all cost silicon — and the tooling cannot be switched back. As AI datacenters bought every HBM stack that could be made, HBM’s share of DRAM wafer capacity grew to about 20%, and Samsung expects nearly 30% next year. Everything else got what was left.

The timeline, compressed:

When What happened
Sep–Dec 2025 A 32 GB DDR5-6000 kit goes from $135 to over $420
Dec 2025 Micron announces it will exit consumer memory and retire the Crucial brand
Q1 2026 TrendForce puts the quarter’s rise in DRAM contract prices at 90–95%, the largest on record
Jan 2026 Board partners raise RTX 50 and RX 9000 prices by 10–15%
Feb 2026 DGX Spark goes from $3,999 to $4,699, “due to worldwide constraints in memory supply”
Aug 2026 RTX PRO 6000 Blackwell, $8,565 at launch, is listed at $16,000
Oct 2026 DGX Spark 128 GB reaches roughly $6,950
Nov 2026 Graphics cards average about 50% above list price; the RTX 5090 sells for about $6,700 against a $1,999 list price
Late-2026 street price as a multiple of the earlier price Bar chart: a 32 GB DDR5 kit costs 3.6 times its September 2025 price, an RTX 5090 3.4 times its list price, and the other items 1.7 to 1.9 times. 0× 1× 2× 3× 4× earlier price 32 GB DDR5-6000 kit 32 GB DDR5-6000 kit: 3.6 × launch price 3.6× · $135 → $489 RTX 5090 RTX 5090: 3.4 × launch price 3.4× · $1,999 → $6,800 RTX PRO 6000 Blackwell RTX PRO 6000 Blackwell: 1.9 × launch price 1.9× · $8,565 → $16,000 RTX 5060 Ti 16 GB RTX 5060 Ti 16 GB: 1.9 × launch price 1.9× · $429 → $800 DGX Spark 128 GB DGX Spark 128 GB: 1.7 × launch price 1.7× · $3,999 → $6,950 Framework Desktop 128 GB Framework Desktop 128 GB: 1.7 × launch price 1.7× · $1,999 → $3,449
Lowest listings at the start of December 2026 as a multiple of the earlier price: September 2025 for the DDR5 kit, the launch list price for everything else.

A consolation for anyone frightened by desktop RAM prices: go and look at the server edition. A single 64 GB DDR5 RDIMM — the registered memory that every Threadripper, Xeon W, and EPYC board insists on — was listed at $2,000–2,600 in mid-November. Fill the eight slots of a workstation board and the memory costs more than the RTX PRO 6000 sitting next to it. After that, $489 for a desktop kit feels like a clearance sale. See for yourself: 64 GB DDR5 RDIMM on Amazon against a 32 GB DDR5-6000 desktop kit. Sit down first.

The RTX 50 SUPER refresh, expected to bring 24 GB cards to the mid-range, never arrived; every report blames the supply of 3 GB GDDR7 chips. Analysts expect contract prices to level off in the second half of 2027. Micron does not expect relief before 2028.

The detail that matters for an inference build: the premium follows the memory. The 16 GB version of the RTX 5060 Ti sells 71% above list; the 8 GB version of the same card, 25%. You are not paying for the GPU. You are paying for the gigabytes — which is exactly the resource this article told you to buy.

So here is what a gigabyte of GPU memory costs in the first days of December 2026, lowest new US listings unless noted:

Card Memory Street price Per GB Bandwidth
Arc Pro B50 16 GB $600 $38 224 GB/s
Arc Pro B60 24 GB $1,000 $42 456 GB/s
RTX 5060 Ti 16 GB $800 $50 448 GB/s
Arc Pro B70 32 GB $1,780 $56 608 GB/s
Radeon AI PRO R9700 32 GB $1,940 $61 640 GB/s
RTX 3090, used 24 GB $1,630 $68 936 GB/s
RTX PRO 2000 Blackwell 16 GB $1,400 $88 288 GB/s
RTX PRO 4000 Blackwell 24 GB $2,720 $113 672 GB/s
RTX PRO 5000 Blackwell 72 GB $9,200 $128 1,344 GB/s
RTX PRO 6000 Blackwell 96 GB ~$16,000 $167 1,792 GB/s
RTX 5090 32 GB $6,800 $213 1,792 GB/s
Strix Halo mini PC (whole machine) 128 GB unified ~$3,500 $27 256 GB/s
DGX Spark (whole machine) 128 GB unified ~$6,950 $54 273 GB/s

Three things stand out. A used RTX 3090 — a 2020 card — now costs more than its $1,499 launch price, because nothing cheaper offers 24 GB at that bandwidth. The RTX 5090 is the worst deal on the list per gigabyte; the 96 GB workstation card with the same memory bus is cheaper per gigabyte and holds three times as much. And the unified-memory boxes are the cheapest gigabytes by far, at a fraction of the speed.

Treat every price in this article as a snapshot of a market in the middle of a shortage.


The Easy Route: DGX Spark or AMD Halo

Before designing a multi-GPU tower, look at the option that needs no design at all: a small box with 128 GB of unified memory — one pool shared by the CPU and the GPU. Two families matter on Linux.

NVIDIA DGX Spark AMD Ryzen AI Halo (Strix Halo)
Chip GB10: 20 Arm cores + Blackwell GPU Ryzen AI Max+ 395: 16 Zen 5 cores + Radeon 8060S
Memory 128 GB LPDDR5X-8533 128 GB LPDDR5X-8000
Memory bandwidth 273 GB/s 256 GB/s
GPU-usable memory Nearly all of it, through CUDA 50% by default; ~112–120 GB after raising the kernel’s TTM limit
Software CUDA: vLLM, TensorRT-LLM, llama.cpp llama.cpp on Vulkan (most stable) or ROCm, Lemonade
Networking 10 GbE + 200 Gb ConnectX-7 (two units can be clustered) 10 GbE
Power under load ~160–200 W ~110–160 W
OS DGX OS (Ubuntu 24.04) on Arm Any recent x86 Linux (kernel 6.18+)

The Halo is a normal x86 PC that happens to have a very large integrated GPU; the same chip ships in the Framework Desktop and a dozen mini PCs. The Spark is an Arm appliance built around CUDA. A 192 GB refresh of the Halo (Ryzen AI Max+ PRO 495) started shipping this autumn, and a 64 GB Spark exists as well.

Run the calculator against 128 GB and you see what these boxes are for: gpt-oss-120b or Mistral Small 4 119B at 4 bits with a full 128K context fit with room to spare, which no single consumer GPU can do. A 235B model does not fit.

Then the bandwidth row explains the catch. 273 GB/s is about three times a desktop’s DDR5 and about one-sixth of an RTX 5090. A dense 70B model on that bandwidth generates a handful of tokens per second. A MoE that only reads 5B parameters per token is a different story — which is why these boxes and MoE models are made for each other:

llama.cpp, gpt-oss-120b, tokens/s Prompt processing Generation
DGX Spark (CUDA) 1,939 56.3
Strix Halo (ROCm) 1,001 47.5
Strix Halo (Vulkan) 527 52.6

Measured by a user on the NVIDIA developer forum, October 2025, empty context. Later tests on newer builds show the same pattern.

DGX Spark and Strix Halo on gpt-oss-120b Two bar charts. Prompt processing: Spark 1,939, Strix Halo ROCm 1,001, Strix Halo Vulkan 527 tokens per second. Generation: 56.3, 47.5 and 52.6 tokens per second. Prompt processing, tokens/s 0 500 1,000 1,500 2,000 DGX Spark (CUDA) DGX Spark (CUDA) — Prompt processing, tokens/s: 1,939 1,939 Strix Halo (ROCm) Strix Halo (ROCm) — Prompt processing, tokens/s: 1,001 1,001 Strix Halo (Vulkan) Strix Halo (Vulkan) — Prompt processing, tokens/s: 527 527 Generation, tokens/s 0 15 30 45 60 DGX Spark (CUDA) DGX Spark (CUDA) — Generation, tokens/s: 56.3 56.3 Strix Halo (ROCm) Strix Halo (ROCm) — Generation, tokens/s: 47.5 47.5 Strix Halo (Vulkan) Strix Halo (Vulkan) — Generation, tokens/s: 52.6 52.6
The same three rows as bars. Each panel has its own scale: prompt processing runs in thousands of tokens per second, generation in tens.

Generation speed is nearly a tie, as the two bandwidth numbers predict. Prompt processing is not: the Spark reads a long prompt two to four times faster, and the gap widens as the context fills. Why that happens — compute versus bandwidth, what Blackwell’s native 4-bit floating point (NVFP4) has to do with it, and which box wins for which workload — is the subject of the next post in this series. For now the summary is:

  • Choose a unified-memory box if you want 100B-class MoE models in a silent 200 W cube, you are fine with 40–60 tokens per second, and you never want to think about PCIe.
  • Build a PC if you want speed on dense models, long prompts processed quickly, several models at once, or the option to add a card later.

Most of the rest of this article is about the second path. But first: which path, and which card, fits which job.


What Do You Want It to Do?

“A PC for local LLMs” is three different machines, depending on the job. The job decides the model, the model decides the memory, and the memory decides the card.

Tier 1 — Simple Automation and Smart Home

Turn the lights off. Is the garage door open? Set the heating to 21 when I leave.

The workload is short prompts, one tool call, and a short answer. The prompt is a list of your devices plus the command — a few thousand tokens. What matters is that the tool call is well-formed every time and that the answer comes back before you repeat yourself.

Small models with native tool calling handle this. Home Assistant’s own local-LLM integration defaults to a 4B Qwen with an 8K context. People in its community report Gemma 4 E4B making reliable tool calls in about 5 GB of VRAM, and step up to Gemma 4 12B or gpt-oss-20b for better instruction following. The usual advice there is to expose fewer devices to the model rather than to buy a bigger one.

The calculator agrees: at a 16K context, a 4B model needs about 3 GB, Gemma 4 12B about 7.5 GB, and gpt-oss-20b about 12 GB. A single 16 GB card covers the whole tier, with room for speech-to-text beside it.

  • RTX PRO 2000 Blackwell (16 GB, 70 W) if you want CUDA and a card that fits in anything.
  • Intel Arc Pro B50 (16 GB, 70 W) at less than half the price, or the Arc Pro B70 (32 GB) if you want headroom to grow into the next tier.
  • RTX 5060 Ti 16 GB if you have a normal tower and a power cable to spare.

Any desktop from the last five years is enough around it. This is a machine that sits idle at 30–50 W and wakes up for two seconds at a time.

Tier 2 — Documents, Mail, and Calendar

Summarize this contract. What did we agree with the supplier in March? Find a slot next week and draft the invitation.

This is a personal assistant: retrieval over your own documents, summarization, and chains of several tool calls. Contexts run from 32K to 128K tokens, because documents are long and retrieved passages pile up. And quality compounds — a model that gets 95% of tool calls right completes an eight-step task only two times out of three.

The models that people actually use for this in late 2026 are in the 27–35B class: Qwen3.8-27B for quality, Qwen3.6-35B-A3B for speed, Gemma 4 31B as the alternative, plus a small embedding model for retrieval.

Model, 4-bit 32K context 128K context
Qwen3.6-35B-A3B 20.7 GB 22.6 GB
Qwen3.8-27B 17.5 GB 23.5 GB
Gemma 4 31B 21.1 GB 28.6 GB

This is the 24–32 GB tier. A 24 GB card runs all three at moderate context and the MoE at full context. 32 GB removes the compromises.

Memory needed by smart-home and assistant models against 16, 24 and 32 GB cards Stacked bars of weights plus KV cache. Smart-home models at a 16K context need 3 to 12 GB. Assistant models at a 128K context need 23 to 29 GB. Model weights, 4-bit KV cache 0 GB 8 GB 16 GB 24 GB 32 GB 16 GB card 24 GB card 32 GB card Smart home — 16K context Qwen3.5-4B Qwen3.5-4B — Model weights, 4-bit: 2.6 GB Qwen3.5-4B — KV cache: 0.5 GB 3.1 GB Gemma 4 12B Gemma 4 12B — Model weights, 4-bit: 6.7 GB Gemma 4 12B — KV cache: 0.7 GB 7.4 GB gpt-oss-20b gpt-oss-20b — Model weights, 4-bit: 11.7 GB gpt-oss-20b — KV cache: 0.4 GB 12.1 GB Documents and calendar — 128K context Qwen3.6-35B-A3B Qwen3.6-35B-A3B — Model weights, 4-bit: 20.1 GB Qwen3.6-35B-A3B — KV cache: 2.5 GB 22.6 GB Qwen3.8-27B Qwen3.8-27B — Model weights, 4-bit: 15.5 GB Qwen3.8-27B — KV cache: 8 GB 23.5 GB Gemma 4 31B Gemma 4 31B — Model weights, 4-bit: 17.5 GB Gemma 4 31B — KV cache: 11.2 GB 28.7 GB
Tier 1 at a 16K context and tier 2 at a full 128K context against the three common card sizes. Leave about 1 GB per card for the runtime.
  • 24 GB: Arc Pro B60, a used RTX 3090, or an RTX PRO 4000 Blackwell.
  • 32 GB: Arc Pro B70 or Radeon AI PRO R9700 for capacity at a sane price; an RTX 5090 if speed matters and money does not.

On NVIDIA cards everything runs. On Intel and AMD cards the software path is narrower than on CUDA — check that your runtime and your model are supported before you choose the card.

Tier 3 — Coding Agents

Refactor this module, run the tests, fix what broke, repeat.

Agentic coding is the hardest thing you can ask of a local model. The context is always large — the harness alone injects tens of thousands of tokens before your code is even read. The session is long: one documented four-hour run with a local model pushed 7 million tokens through the GPU. And the task is exactly where model quality shows, because one bad tool call derails a twenty-step plan.

There are two honest ways to build for it.

The modest way is the same 27–35B model on the same 24–32 GB card as tier 2. People do run Claude Code and opencode this way, at 25–50 tokens per second, and it handles bounded tasks. It still trails frontier models on long tool chains, and most people who try it keep a cloud subscription for the hard problems.

The ambitious way is to run the largest open-weight models, and here the memory bill changes scale:

Model, 4-bit, 128K context Memory 96 GB cards
gpt-oss-120b 70 GB 1
Qwen3-235B-A22B 155 GB 2
GLM-4.5 (355B) 246 GB 3
Qwen3-Coder-480B-A35B 299 GB 4
Memory needed by large coding models against 96 GB cards Stacked bars of weights plus KV cache at a 128K context. gpt-oss-120b needs 70 GB, Qwen3-235B 155 GB, GLM-4.5 246 GB and Qwen3-Coder-480B 299 GB, which is one, two, three and four 96 GB cards. Model weights, 4-bit KV cache 0 GB 96 GB 192 GB 288 GB 384 GB 1 card 2 cards 3 cards 4 cards gpt-oss-120b gpt-oss-120b — Model weights, 4-bit: 65.3 GB gpt-oss-120b — KV cache: 4.5 GB 69.8 GB Qwen3-235B-A22B Qwen3-235B-A22B — Model weights, 4-bit: 131 GB Qwen3-235B-A22B — KV cache: 23.5 GB 155 GB GLM-4.5 (355B) GLM-4.5 (355B) — Model weights, 4-bit: 200 GB GLM-4.5 (355B) — KV cache: 46 GB 246 GB Qwen3-Coder-480B-A35B Qwen3-Coder-480B-A35B — Model weights, 4-bit: 268 GB Qwen3-Coder-480B-A35B — KV cache: 31 GB 299 GB
Weights plus a 128K-token KV cache against multiples of a 96 GB card.

That is where the RTX PRO 6000 Blackwell comes in: 96 GB per card, at the bandwidth of an RTX 5090. One card runs a 120B model. Three or four of them run the hard ones — and at roughly $16,000 each, plus a workstation platform to hold them, this is a $55,000–75,000 machine. Whether that can ever make sense is the question the investment section answers.

The Tiers at a Glance

Smart home Documents and calendar Coding, modest Coding, ambitious
Model class 4–20B 27–35B 27–35B 120–480B MoE
Context 8–16K 32–128K 64–128K 128–256K
GPU memory 16 GB 24–32 GB 24–32 GB 96–384 GB
Typical card RTX PRO 2000, Arc Pro B50/B70 Arc Pro B60/B70, R9700, RTX 3090 Same, or RTX 5090 1–4 × RTX PRO 6000
GPUs 1 1 1 1–4
Rest of the build Any desktop Any desktop Any desktop Workstation platform, 230 V circuit

The first three columns are single-GPU machines. If that is you, the next three sections are background reading: buy the card, put it in the first slot, and skip to the power supply. The fourth column is where slots, lanes, and split modes start to matter.


One GPU or Several?

The default answer is one. A single card with enough memory is faster, simpler, cooler, and cheaper to power than two cards with the same total. Everything in the model lives behind one memory bus, and nothing has to cross a slot.

You go to several GPUs for one of three reasons:

  1. Capacity. The model plus its cache is larger than the biggest card you can buy or afford.
  2. Throughput. You want to serve more requests per second, and you can run independent copies of the model on each card.
  3. Several models. A small fast model for completion and a large one for chat, each on its own card.

Notice what is not on the list: making a single response faster. Whether a second GPU does that depends on how the model is split, and that depends on how the cards are connected. So first, the connection.

PCIe in Five Minutes

A PCI Express link is made of lanes. One lane is two differential pairs of wires — one pair to send, one to receive. A link bundles 1, 4, 8, or 16 lanes, and that is what x1, x4, x8, and x16 mean: the width of the link.

The second number is the generation, which sets the speed of each lane. Each generation doubles the previous one:

Per lane x4 x8 x16
PCIe 3.0 0.98 GB/s 3.9 GB/s 7.9 GB/s 15.8 GB/s
PCIe 4.0 1.97 GB/s 7.9 GB/s 15.8 GB/s 31.5 GB/s
PCIe 5.0 3.94 GB/s 15.8 GB/s 31.5 GB/s 63.0 GB/s

Read the table diagonally: PCIe 5.0 x4 carries the same traffic as 4.0 x8 or 3.0 x16. Width and generation trade against each other, and the link runs at the best both ends support.

Three facts trip people up when they plan a multi-GPU build:

The size of the slot is not the width of the link. A motherboard can have three slots that are physically x16 long, with the second wired for 8 lanes and the third for 4. The card fits in all of them and negotiates down to whatever is wired. Always check what the system actually negotiated:

nvidia-smi --query-gpu=name,pcie.link.gen.current,pcie.link.width.current --format=csv

Lanes come from two places. Some lanes run directly from the CPU. The rest hang off the chipset, and everything behind the chipset — extra slots, SATA, USB, most M.2 sockets — shares a single uplink to the CPU, typically four or eight lanes wide. A GPU in a chipset slot is on a narrow, shared road.

Slots share lanes with each other. When a consumer board offers “x16 or x8/x8”, the second slot takes eight lanes away from the first the moment you populate it. Often an M.2 socket takes lanes from a slot in the same way. The manual’s lane-sharing table is the most important page you will read.

      graph TD
    CPU["CPU<br/>28 PCIe lanes"]
    S1["Slot 1<br/>x16, or x8 when slot 2 is used"]
    S2["Slot 2<br/>x8, borrowed from slot 1"]
    M1["M.2 NVMe<br/>x4"]
    U4["Second M.2 or USB4<br/>x4"]
    CS["Chipset<br/>x4 uplink, shared"]
    S3["Slot 3<br/>x4, x16-sized"]
    M2["More M.2, SATA, USB, LAN"]

    CPU -- "16 lanes" --> S1
    S1 -. "8 lanes" .-> S2
    CPU -- "4 lanes" --> M1
    CPU -- "4 lanes" --> U4
    CPU -- "4 lanes" --> CS
    CS --> S3
    CS --> M2
    

That diagram is a typical AM5 board. Two GPUs can sit on CPU lanes at x8 each. A third lands in the chipset slot, and now it shares four lanes with your network card and your second SSD.


The Motherboard and CPU Decide How Many GPUs You Can Have

The number of lanes is a property of the CPU and its socket. The motherboard only decides how to hand them out. That makes the platform choice a function of the GPU count.

Platform CPU lanes Realistic GPU layout CPU price
AMD AM5 (Ryzen 9000) 24 usable, PCIe 5.0 1 × x16, or 2 × x8 $254 (9700X) to $489 (9950X)
Intel LGA1851 (Core Ultra 200S) 24: 20 at 5.0 + 4 at 4.0 1 × x16, or 2 × x8 $348 (265K) to $399 (285K)
AMD Threadripper 9000 (TRX50) 88 usable, 80 at 5.0 4 × x16 $1,499 (24 cores) to $4,999 (64 cores)
Intel Xeon 600 (W890) 80 or 128, PCIe 5.0 4 × x16 up to 7–8 × x16 $499–899 with 80 lanes; $1,199–7,699 with 128
AMD Threadripper PRO 9000 WX (WRX90) 144 usable, 128 at 5.0 7 × x16 $1,649 (16 cores) to $11,699 (96 cores)
AMD EPYC 9005, single socket 128, PCIe 5.0 7–8 × x16 From $527 (8 cores); $2,998 for 32 cores

Desktop chips: lowest US listings in early December 2026. Workstation and server chips: the manufacturer’s list price.

Against that, count what the cards ask for:

GPUs Lanes at x16 Lanes at x8 Lanes at x4
1 16 8 4
2 32 16 8
3 48 24 12
4 64 32 16
8 128 64 32
Usable CPU PCIe lanes by platform Bar chart of CPU PCIe lanes: 24 on AM5 and LGA1851, 80 to 88 on Threadripper and four-channel Xeon 600, 128 to 144 on eight-channel Xeon 600, EPYC and Threadripper PRO. Reference lines mark the lanes needed for one, two, four and eight GPUs at x16. 0 16 32 64 128 CPU PCIe lanes 1 2 4 8 GPUs at a full x16 link: AMD AM5, Ryzen 9000 AMD AM5, Ryzen 9000: 24 lanes 24 lanes Intel LGA1851, Core Ultra 200S Intel LGA1851, Core Ultra 200S: 24 lanes 24 lanes Xeon 600, 4-channel models Xeon 600, 4-channel models: 80 lanes 80 lanes Threadripper 9000 Threadripper 9000: 88 lanes 88 lanes Xeon 600, 8-channel models Xeon 600, 8-channel models: 128 lanes 128 lanes EPYC 9005, one socket EPYC 9005, one socket: 128 lanes 128 lanes Threadripper PRO 9000 WX Threadripper PRO 9000 WX: 144 lanes 144 lanes
CPU lanes per platform. The reference lines mark what it takes to give every card a full x16 link; halve them for x8. Desktop sockets stop before the second line.

This is why a desktop CPU cannot run four GPUs properly. An AM5 Ryzen has 28 lanes. Four of them feed the chipset and eight are wired to M.2 sockets and USB4, which leaves 16 lanes for graphics slots. Intel’s LGA1851 ends up in the same place: 16 lanes for slots. Sixteen lanes are one card at x16, two cards at x8, or four cards at x4 — and there the table ends. Four cards at x8 need 32 lanes, twice what the socket has; four at x16 need 64. No motherboard can fix that, because the lanes are not on the motherboard. A desktop board with four long slots has wired the extra ones to the chipset, where they share one x4 uplink with your SSDs and your network card.

So on AM5 or LGA1851, “four GPUs” can only mean four cards at x4, or two good links and two bad ones. Whether that is acceptable depends on how you split the model — the next section — but it is never four cards at full width.

The lanes come with a bill, and the CPU is the smallest line on it. Processors are the one component the memory shortage mostly left alone: a Ryzen 9 9950X is cheaper today than it was at launch, and the price column above looks almost friendly. An 80-lane Xeon 634 lists at $499. An EPYC 9015 with 128 lanes lists at $527. The catch is everything the socket drags in with it.

  • The motherboard. TRX50 boards run about $600–1,050, WRX90 boards $1,150–1,500. There is no budget tier.
  • The memory. Threadripper, Xeon 600, and EPYC boards take only registered DDR5 — RDIMMs, server memory. The gaming kit from your current PC does not work in them: the modules are keyed differently and will not even go into the slot. And RDIMMs are priced for servers: $1,300–1,500 for a single 32 GB module, $2,000–2,600 for 64 GB. That is two to three times the price per gigabyte of desktop memory, which is the only comparison in which a $489 desktop kit looks cheap.

Add it up for the cheapest sensible four-GPU base — a 24-core Threadripper 9960X, a TRX50 board, and two 32 GB RDIMMs — and you have spent roughly $4,700–5,500 before the first GPU. The desktop equivalent, a Ryzen 7 9700X on an x8/x8 board with 32 GB of ordinary DDR5, is roughly $1,200. The difference buys lanes and nothing else: inference does not use the extra cores, and with the weights on the GPU it does not use the extra memory channels either.

One GPU: anything. Any current desktop platform gives a full x16 link to the first slot. Buy for the rest of the system.

Two GPUs: a consumer board that splits x8/x8 from the CPU. This is the detail to verify before buying. Boards such as the ASUS ProArt X870E-Creator (AM5) or ProArt Z890-Creator and MSI MEG Z890 ACE (LGA1851) wire two slots to the CPU and split them x8/x8. Many cheaper boards wire the second long slot to the chipset at x4 instead. Check slot spacing too: two triple-slot cards need at least three slots between them, and the upper card will breathe the lower card’s exhaust.

Three or four GPUs: a workstation platform — or x4 links. Threadripper on TRX50 and Xeon 600 have the lanes to give every card its own x16 link. The only way to stay on a desktop socket is to accept x4 per card: split the one x16 slot into four x4 links with a bifurcation riser, or keep x8/x8 and pull two more x4 links out of the M.2 sockets with OCuLink adapters. Whether x4 is enough depends entirely on how you plan to split the model, which is the next section.

More than four: Threadripper PRO or EPYC. At this point the board, the chassis, and the power delivery are a server project. An open-frame rig with MCIO or SlimSAS risers is the usual way to physically fit the cards.

What About the CPU Itself?

With the model fully on the GPU, the CPU tokenizes text, samples the next token, schedules requests, and launches GPU kernels. It does not do the math.

For llama.cpp that work is negligible, and CPU choice makes almost no difference. vLLM is more sensitive: its Python serving layer and its multi-GPU coordination are single-thread hungry. One community benchmark set makes the point — a pair of RTX 3090s on an old Threadripper 1950X with two full x16 links was 17–19% slower in vLLM than the same pair on a Ryzen 5700X with x4 and x8 links. The faster core beat the wider link.

So the rule for the CPU is short: a current-generation chip with eight or more cores and good single-thread speed. Past that, you are paying for lanes, not for compute. A 64-core workstation CPU does nothing for inference that a 16-core one does not — unless the lanes come with it.


Layer Split vs Tensor Parallelism — Does PCIe Speed Matter?

There are two ways to spread one model over several GPUs. They have opposite appetites for PCIe bandwidth, and they answer the “does a second GPU make it faster” question differently.

Layer Split: Capacity, Not Speed

The simple way is to cut the model into consecutive runs of layers and give each run to a card. GPU 0 holds layers 0–39, GPU 1 holds layers 40–79. This is the default in llama.cpp (--split-mode layer) and is called pipeline parallelism in vLLM.

      graph LR
    T["Token"] --> A["GPU 0<br/>layers 0–39"]
    A -- "hidden state<br/>~16 KB" --> B["GPU 1<br/>layers 40–79"]
    B --> O["Next token"]
    

For each generated token, GPU 0 computes its half and hands a single vector of activations to GPU 1. For Llama 3.3 70B that vector is 8,192 numbers — about 16 KB. Then GPU 0 waits.

Two consequences follow:

  • Almost nothing crosses the link. Kilobytes per token. An x4 link is overkill; an x1 mining riser works. One test ran gpt-oss-120b in a layer split with a card on a PCIe x1 riser and saw the link less than 10% utilized. The llama.cpp documentation itself describes this mode as tolerating slow interconnects.
  • The GPUs take turns. Only one card is working at any moment, so a single request is no faster than it would be on one card with enough memory. As the author of llama.cpp’s tensor-split mode puts it: “when generating tokens for a single concurrent request there is no speedup because the GPUs have to run sequentially.”

Layer split buys capacity. It is what turns four 24 GB cards into a 96 GB machine.

Unless there are several requests. “The GPUs take turns” is true for one request, because only one token is in flight. With many requests there is something for the waiting card to do: while GPU 1 finishes the second half of the model for one group of requests, GPU 0 can already start the first half for another group. That is a pipeline in the classic CPU sense, and it is where the name pipeline parallelism comes from. With k cards, k batches are in flight and every card is busy.

How much does that buy? A little theory is enough. Let T(B) be the time that one card’s worth of compute needs to advance a batch of B requests by one token through the whole model. Then the total throughput is:

layer split, one batch at a time    B ÷ T(B)
layer split, pipelined              B ÷ T(B ÷ k)     k smaller batches follow each other
k replicas, one per card            B ÷ T(B ÷ k)     only if the model fits on one card
tensor parallel                     k × B ÷ T(B)     minus the cost of synchronizing

Two things fall out of those four lines.

The gain from pipelining is T(B) ÷ T(B ÷ k), and it depends on how busy the cards already are. With a handful of requests, generation is limited by memory bandwidth. The weights are read once per batch no matter how many requests share the pass, so half a batch takes almost as long as a full one, and pipelining gains almost nothing — ordinary batching already collected that free lunch. Only when the batch is large enough to saturate the card’s compute, so that time grows in step with the batch, does the gain approach k.

A pipelined layer split has exactly the throughput of k independent replicas. It is the replica trick for a model that does not fit on one card. And like replicas, it does nothing for a single request: every token still visits every layer in order, so each stream runs at the speed of one card.

How two GPUs spend their time on concurrent requests Three timelines for two GPUs serving two groups of requests. In a plain layer split the cards take turns and each waits half the time, giving 4 tokens in the window. In a pipelined layer split the two groups follow each other through the cards, both cards stay busy, and 7 tokens come out. In tensor parallelism both cards work on every step together and 8 tokens come out. Request group 1 Request group 2 Layer split, one batch at a time 4 tokens in this window GPU 0 waits waits GPU 1 waits waits tokens out Layer split, pipelined 7 tokens GPU 0 GPU 1 waits tokens out Tensor parallel 8 tokens GPU 0 GPU 1 tokens out time →
Two cards and two groups of concurrent requests, drawn for the compute-bound case in which half a batch takes half the time. With only a few requests, the blocks in the middle row stretch until it produces no more than the top row. The bottom row does not have that problem.

So the idea is sound: splitting by layers does let you parallelize across requests. What the software does with it today:

  • llama.cpp pipelines the prompt, not the generation. Since 2024 it pushes consecutive chunks of a long prompt through the cards one behind another, which is why its documentation recommends layer mode when “your priority is a fast prefill” and says that it “requires many tokens to scale well”. The pull request that introduced it shows both halves of the story: with eight GPUs, prompt processing on a small model went from 8,300 to 23,800 tokens per second, while generation stayed at 72–74. During generation all parallel slots (--parallel) advance together as one batch, and that batch has to leave the last card before the next token can be sampled. More slots raise the total through batching, not through pipelining.
  • vLLM can pipeline generation. --pipeline-parallel-size splits the model by layers and schedules micro-batches so that, in the project’s words, “all GPUs remain active”. Its documentation recommends this mode in two cases: when the GPU count does not divide the model evenly — three cards, for example — and when the cards have no NVLink, “for higher throughput and lower communication overhead”. The same team is clear about the limit: pipeline parallelism “does not inherently decrease inference latency”.

Tensor Parallelism: Speed, at a Price

The other way is to split every layer across all cards. Each GPU holds a slice of every weight matrix, all GPUs compute their slice of the same layer at the same time, and then they combine the partial results before moving on.

      graph LR
    T["Token"] --> A0["GPU 0<br/>half of every layer"]
    T --> A1["GPU 1<br/>half of every layer"]
    A0 --> S["Combine results<br/>twice per layer"]
    A1 --> S
    S --> O["Next token"]
    

Now all cards work simultaneously, and all of their memory bandwidth is in play at once. The cost is the combine step — an all-reduce — which happens twice per layer. An 80-layer model synchronizes 160 times for every token. During prompt processing the volume gets serious: NVIDIA’s own figure for Llama 3.1 70B on two GPUs is up to 20 GB of synchronization data per GPU for a single 8K-token request.

Here is what that buys, from the llama.cpp pull request that introduced the mode, on PCIe 4.0 x16:

Rig Model Layer split Tensor split Change
4 × RTX 4090 Llama 70B, Q4_K_M 21.3 tok/s 48.3 tok/s 2.3×
2 × RTX 4090 Gemma 4 31B, Q8 26.7 tok/s 41.0 tok/s 1.5×
2 × RTX 4090 Qwen3.5 27B, Q4 51.1 tok/s 61.8 tok/s 1.2×
4 × RTX 4090 gpt-oss-120b (MoE) 180.4 tok/s 179.8 tok/s none
2 × RTX 4090 Gemma 4 26B-A4B (MoE) 197.1 tok/s 138.8 tok/s 0.7×

The pattern is clear. Big dense models gain a lot. Small or sparse models gain nothing or lose, because they are already fast and the synchronization overhead dominates. Prompt processing usually gets a little slower in tensor mode even when generation gets faster.

Generation speed in layer split and tensor split Grouped bars of tokens per second. Dense models gain from tensor split: Llama 70B goes from 21 to 48. MoE models do not: gpt-oss-120b stays at 180 and Gemma 4 26B-A4B drops from 197 to 139. Layer split Tensor split 0 50 100 150 200 Generation, tokens per second 4 × 4090 · Llama 70B, dense 4 × 4090 · Llama 70B, dense — layer split: 21.3 tok/s 21.3 4 × 4090 · Llama 70B, dense — tensor split: 48.3 tok/s 48.3 2 × 4090 · Gemma 4 31B, dense 2 × 4090 · Gemma 4 31B, dense — layer split: 26.7 tok/s 26.7 2 × 4090 · Gemma 4 31B, dense — tensor split: 41.0 tok/s 41.0 2 × 4090 · Qwen3.5 27B, dense 2 × 4090 · Qwen3.5 27B, dense — layer split: 51.1 tok/s 51.1 2 × 4090 · Qwen3.5 27B, dense — tensor split: 61.8 tok/s 61.8 4 × 4090 · gpt-oss-120b, MoE 4 × 4090 · gpt-oss-120b, MoE — layer split: 180.4 tok/s 180.4 4 × 4090 · gpt-oss-120b, MoE — tensor split: 179.8 tok/s 179.8 2 × 4090 · Gemma 4 26B-A4B, MoE 2 × 4090 · Gemma 4 26B-A4B, MoE — layer split: 197.1 tok/s 197.1 2 × 4090 · Gemma 4 26B-A4B, MoE — tensor split: 138.8 tok/s 138.8
The table as bars. Dense models speed up in tensor mode. The two mixture-of-experts models do not.

Tensor parallelism also comes with rules:

  • The GPU count has to divide the model’s attention heads. vLLM refuses to start otherwise. In practice that means 2, 4, or 8 cards; three cards work only for the rare model whose head count divides by three.
  • The smallest and slowest card sets the pace. A mixed RTX 5090 + 3090 Ti pair ran at exactly the speed of two 3090s.
  • Not every model is supported. llama.cpp’s tensor mode is new (merged April 2026), requires flash attention and an unquantized KV cache, and does not yet support every architecture.

With several requests at once, tensor parallelism keeps its advantage exactly where pipelining has none. Every step gets shorter by up to a factor of k whether the cards are limited by bandwidth or by compute, so each request is faster and the total goes up. Pipelining only raises the total, and only once the cards are saturated. The price is that the synchronization traffic grows with the batch: every request adds its activations to each of those 160 exchanges, so the link matters more as concurrency rises.

The one head-to-head I could find fits the theory. Two L40S cards without NVLink, vLLM, Qwen3.6-35B-A3B, up to eight requests at a time: tensor parallelism completed 0.95 requests per second, pipeline parallelism 0.72 — a quarter less — and each output token took 109 ms instead of 82. A sparse model at eight streams is deep in the bandwidth-bound regime, which is where the formula says pipelining has nothing to offer. It is also precisely the hardware for which vLLM’s documentation recommends pipeline parallelism, so treat that recommendation as a hypothesis to test, not a rule. I have not found a clean measurement on a dense model at high concurrency, where pipelining should catch up.

So How Much PCIe Do You Need?

For tensor parallelism the link starts to matter — though less than the scary numbers suggest, and latency matters more than raw bandwidth.

Measured GPU-to-GPU traffic against PCIe link capacity Bar chart. Measured traffic between GPUs is about 0.007 GB/s for a layer split and about 1.4 GB/s for tensor parallelism. Link capacity ranges from 0.98 GB/s for PCIe 3.0 x1 to 31.5 GB/s for PCIe 4.0 x16. Measured traffic Link capacity 0 GB/s 8 GB/s 16 GB/s 24 GB/s 32 GB/s Traffic between GPUs while generating Layer split Layer split: 0.0 GB/s 0.007 GB/s Tensor parallel Tensor parallel: 1.4 GB/s 1.4 GB/s What the link can carry PCIe 3.0 x1 riser PCIe 3.0 x1 riser: 1.0 GB/s 1.0 GB/s PCIe 3.0 x4 PCIe 3.0 x4: 3.9 GB/s 3.9 GB/s PCIe 4.0 x4 PCIe 4.0 x4: 7.9 GB/s 7.9 GB/s PCIe 4.0 x8 PCIe 4.0 x8: 15.8 GB/s 15.8 GB/s PCIe 4.0 x16 PCIe 4.0 x16: 31.5 GB/s 31.5 GB/s
Traffic between two cards while generating, as measured by the club-3090 community, against what each link can carry. Even tensor parallelism fills a fraction of an x4 link, which is why a narrow link costs you through latency — many small exchanges, each one waiting — and not through bandwidth.
Evidence (vLLM, tensor parallel, 2 × RTX 3090) Result
PCIe 4.0 x8 / x8 On par with x16 rigs
PCIe 4.0 x4 + x8 vs x16 / x16 14–15% slower
Chipset x4 slot vs CPU x8 slot Half the measured GPU-to-GPU bandwidth (6.5 vs 13.2 GB/s)

There is one more wrinkle specific to consumer cards. Workstation and datacenter GPUs can send data directly to each other over PCIe (peer-to-peer). GeForce cards cannot — NVIDIA does not support it on consumer GPUs — so every exchange between two GeForce cards is staged through system memory. Community-patched drivers re-enable it; measured gains run from about 3% on two RTX 5090s to 7–12% on two 3090s, and much more for prompt processing on four cards. In llama.cpp the same patch changes nothing in any mode. NVLink, which only the RTX 3090 generation still has, helps the same way and for the same reason.

That gives a simple decision table:

How you run the model What the link needs
One GPU Anything. Width only affects how fast the model loads.
Layer split (llama.cpp default) Anything. x4 is plenty; x1 risers work.
Layer split, pipelined across requests (vLLM) Anything. Raises total throughput at high concurrency, never per-request speed.
Tensor parallel, two cards PCIe 4.0 x8 per card, on CPU lanes. x4 costs about 15%.
Tensor parallel, four or more cards Full-width links on a workstation platform; peer-to-peer starts to pay.

And a consequence for the platform choice: if you only need capacity, risers and bifurcation on a consumer board are a perfectly good answer. You need a Threadripper only when you want four cards working on the same token at once.

One more option is easy to overlook. If the goal is serving many requests rather than speeding up one, do not split the model at all. In one four-GPU test, a single tensor-parallel instance across four cards peaked at 307 tokens per second in aggregate; two independent two-card instances behind a load balancer reached 737. Replicas beat parallelism whenever the model fits in fewer cards. When it does not, a pipelined layer split is the closest thing to replicas you can get.

For reference, the commands:

# llama.cpp — layer split (default), weights divided evenly over two cards
llama-server -m model.gguf -ngl 999 --split-mode layer --tensor-split 1,1 --ctx-size 65536

# llama.cpp — tensor split; the context size has to be set by hand
llama-server -m model.gguf -ngl 999 --split-mode tensor --ctx-size 65536

# vLLM — tensor parallelism across two cards
vllm serve Qwen/Qwen3.8-27B --tensor-parallel-size 2 --max-model-len 65536

# vLLM — layer split with pipelining; any GPU count, three included
vllm serve Qwen/Qwen3.8-27B --pipeline-parallel-size 3 --max-model-len 65536

# is GPU peer-to-peer available on this machine?
nvidia-smi topo -p2p r

The Power Supply

The naive way to size a PSU is to add up the rated power of every component. For inference that overshoots — but not by enough to be careless.

GPUs draw less than their rating while generating tokens. Generation is limited by memory bandwidth, so the compute units are not saturated. Measured figures: an RTX 4090 (450 W rated) draws about 390 W decoding a 27B model; an RTX 5090 (575 W) about 430 W. In a layer split it is lower still, because the cards take turns — two RTX 3090s averaged around 220–250 W each.

Prompt processing is the exception. Reading a long prompt is compute-bound and pulls the full rated power. Size for that.

Power limits are nearly free. Capping a card with nvidia-smi -pl trades a few percent of speed for a lot of heat:

Card Rated Capped at Generation speed lost
RTX 3090 350–370 W 290 W ~7%
RTX 4090 450 W 260 W ~7%
RTX 5090 575 W 400 W under 5%
RTX 3090 generation speed against its power limit Line chart. Speed is 42.0 tokens per second at the 420 W default, 41.3 at 350 W, 40.7 at 320 W, 36.2 at 280 W and 29.4 at 250 W. 0 10 20 30 40 50 250 W 280 W 320 W 350 W 420 W Power limit set with nvidia-smi -pl 250 W: 29.4 tok/s 29.4 tok/s (−30%) 280 W: 36.2 tok/s 320 W: 40.7 tok/s 40.7 tok/s (−3%) 350 W: 41.3 tok/s 420 W: 42.0 tok/s 42.0 tok/s at the 420 W default tokens per second
One RTX 3090 partner card with a 420 W factory limit, running Qwen3.8-27B at 4 bits in llama.cpp. The first 100 W cost 3% of the speed. The next 70 W cost another 27%.

The limit resets at reboot, so make it part of the boot sequence:

sudo nvidia-smi -pm 1          # persistence mode
sudo nvidia-smi -pl 400        # cap every GPU at 400 W

Transients are why you still need headroom. A modern GPU can spike far above its rating for a millisecond — an RTX 5090 has been measured at 901 W. The ATX 3.0 and 3.1 standards require a power supply to survive excursions of 200% of its rated power for 100 microseconds, which is the reason to buy an ATX 3.1 unit rather than reuse an old one.

One connector, one cable, 600 W. The 12V-2x6 connector is rated for 600 W. An RTX 5090 at 575 W or an RTX PRO 6000 at 600 W runs right at that limit. Each such card needs its own native cable from the PSU — no splitters, no daisy chains, and seat the connector until it clicks.

Then the wall. In North America a standard 15 A, 120 V circuit supports 1,440 W of continuous load. A 230 V, 16 A circuit delivers up to 3,680 W. That, more than any PSU, is the real ceiling for a home build.

Putting it together — GPUs at their rated (or capped) power, plus 150–350 W for the CPU, plus 100 W for everything else, plus 20–30% headroom:

Build Peak load PSU
One 16 GB workstation card (70 W) ~250 W 450–550 W
One RTX 5090 ~850 W 1,000 W
Two RTX 3090, capped at 290 W ~850 W 1,000–1,200 W
Two RTX 5090, capped at 400 W ~1,150 W 1,500–1,600 W
Four RTX PRO 6000 Max-Q (300 W each) ~1,650 W 2,000 W, and a 230 V or 20 A circuit
Four 600 W cards, uncapped ~2,900 W Two PSUs and a dedicated 230 V circuit

The last two rows are the same GPUs in different trims. The 300 W Max-Q version of the RTX PRO 6000 exists precisely because four 600 W cards do not fit in one case, one power supply, or one North American wall socket.


Do You Need a Lot of System RAM?

There is a persistent piece of advice that system RAM should match or double your total VRAM. For inference with the weights fully on the GPU, it is folklore. The rule comes from training workloads, where data is staged in pinned host memory. People run pairs of 24 GB cards under vLLM on machines with 16 GB of RAM.

What the host memory actually does during inference:

  • Holds the OS and the runtime. A few gigabytes.
  • Passes the weights through on their way to the GPU. llama.cpp memory-maps the model file, so “used” RAM appears to equal the model size — but that is page cache, which the kernel gives back under pressure. vLLM prefetches a checkpoint into the page cache only if it is smaller than 90% of available RAM, and skips the prefetch otherwise.
  • Keeps the model file cached, so that the second load takes seconds instead of a minute. Convenient, not required.

Where too little RAM genuinely bites:

  • Loading with tensor parallelism in vLLM. Each worker process reads the whole model before keeping its slice. With several workers and a large checkpoint, that can exhaust RAM; --max-parallel-loading-workers exists for exactly this.
  • Tight VMs and WSL2. A 17.7 GB checkpoint fails to load in a WSL2 instance with less than 18 GB, with a misleading GPU out-of-memory error.
  • Anything besides inference. Quantizing or converting a model yourself, running a vector database, or building containers all want real memory.

So the recommendation is modest: 32 GB for a single-GPU machine, 64 GB for multi-GPU or checkpoints above ~50 GB. With a 32 GB DDR5 kit at $440–490 this month — more than three times its price in September 2025 — that is good news. Memory speed and channel count are irrelevant when the weights are on the GPU. On a workstation board the same 64 GB is registered memory at server prices, which is one more reason not to buy more than you need.

The one case where RAM becomes a first-class component is when you deliberately break the rule this article started with and let part of the model live in system memory — for example, keeping the experts of a 400B MoE in RAM and only the hot path on the GPU. That works, it needs 50–230 GB of RAM depending on the model, and it turns the build into a memory-channel problem: an eight-channel workstation board has four times the bandwidth of a dual-channel desktop. It is also slow. When gpt-oss-120b spills from one card into system RAM, it drops from 121 to 52 tokens per second — the bandwidth table earlier in this article is the reason.


Is It a Good Investment?

Now the question from the first paragraph. The formula is short:

months to break even = hardware cost ÷ (monthly cloud bill − monthly electricity)

Everything interesting is in what you put on the right-hand side.

What the Cloud Costs Today

Subscriptions, per month:

Entry Mid Top
Claude Pro, $20 Max, $100 Ultra, $200
ChatGPT Plus, $20 Pro, from $100 Pro, $200 and $500 tiers

API prices, per million tokens (input / output):

Tier Anthropic OpenAI
Small Claude Haiku 5.5 — $0.10 / $0.50 gpt-6-luna — $0.10 / $0.50
Mid Claude Sonnet 5.5 — $2 / $10 gpt-6.2-sol — $2 / $10
Large Claude Opus 5.5 — $4 / $20 —
Flagship Claude Fable 5.2 — $8 / $40 gpt-6.2-astra — $8 / $40

Electricity is about $0.18 per kWh for a US household and €0.28 on average in the EU.

The Rule That Decides Everything

Compare a local model with the cloud model it can actually replace, not with the flagship. A 4B model on a 16 GB card is not a substitute for a frontier model; it is a substitute for the small tier, which costs ten cents per million input tokens. That one line sinks most of the business cases.

Tier by Tier

Smart home. Say 300 requests a day at 4,000 tokens in and 150 out. That is 1.2 million input tokens a day — about $0.14 at small-tier prices, or $4 a month. A machine that idles at 50 W around the clock uses 36 kWh a month, which is $6.50 in the US and €10 in Europe. The electricity to keep the box awake costs more than the API it replaces. The hardware never pays for itself.

Documents and calendar. Most people cover this with a $20 subscription. A $3,000 machine that saves $20 a month while using $10–15 of electricity breaks even in several decades. If you are instead a heavy API user — say 100 requests a day at 30K tokens each, on a mid-tier model, about $200 a month — the same machine pays back in 16 months. Provided the 27B model is good enough for your work, which you should verify before buying anything.

Coding, modest. A $3,500 machine with a 32 GB card against a $100–200 coding plan breaks even in 20–40 months — if it fully replaces the plan. In practice it does not; the reports from people who run this setup almost all end with “and I kept the subscription for the hard tasks”. Count it as reducing the bill, not eliminating it.

Coding, ambitious. Four RTX PRO 6000 cards and a workstation are about $70,000, and around $50–75 of electricity a month for a working developer’s hours. Against one person’s $200 plan, the break-even is 39 years. The numbers only start to work when the box is shared and the alternative is metered: Anthropic’s own documentation puts the average Claude Code user at $150–250 per developer per month at API rates. A team of ten is then spending about $2,000 a month, and the machine pays back in roughly three years. A team that burns $3,000 a month in API calls gets there in two. (One caveat from the calculator: with a 480B model loaded, that machine has room for about three full 128K-token sessions at once, so ten developers either take turns or share a smaller model.)

Scenario Hardware Cloud bill replaced Break-even
Smart home, 16 GB card ~$1,500 ~$4/month, small-tier API Never — the electricity costs more
Personal assistant, 24–32 GB card ~$3,000 $20/month subscription Decades
Personal assistant, heavy API use ~$3,000 ~$200/month, mid-tier API ~16 months
Solo developer, 32 GB card ~$3,500 $100–200/month plan 20–40 months, if it replaces the plan
Solo developer, 4 × 96 GB ~$70,000 $200/month plan Never
Team of ten, 4 × 96 GB ~$70,000 ~$2,000/month at API rates ~3 years
Cumulative cost of a $3,500 machine against a $100 and a $200 monthly plan Line chart over 48 months. A $3,500 machine with $15 a month of electricity crosses a $200 monthly plan after 19 months and a $100 monthly plan after 41 months. Own machine: $3,500 + $15/month electricity $200/month plan $100/month plan $0 $2K $4K $6K $8K $10K 0 12 24 36 48 Months of use Own machine $200/month plan $100/month plan Break-even after 19 months at $3,784 19 months Break-even after 41 months at $4,118 41 months
One developer: a $3,500 machine with a 32 GB card against a flat $100 or $200 plan, assuming the machine replaces the plan completely. The lines cross after about 19 and 41 months.
Cumulative cost of a $70,000 machine against metered API bills Line chart over 48 months. A $70,000 machine with $75 a month of electricity crosses a $3,000 monthly API bill after 24 months and a $2,000 monthly bill after 36 months. A single $200 monthly plan never comes close. Own machine + electricity $3,000/month API $2,000/month API One $200/month plan $0 $30K $60K $90K $120K $150K 0 12 24 36 48 Months of use Own machine $3,000/month API $2,000/month API One $200/month plan Break-even after 24 months at $71,795 24 months Break-even after 36 months at $72,727 36 months
A team: $70,000 of hardware against metered API bills. $3,000 a month crosses after two years, $2,000 a month after three. The grey line is one developer’s $200 plan.

Why the Math Is So Unkind

Four reasons, none of which is going away soon.

  • Flat-rate subscriptions are a bargain you cannot match. A heavy user of a $200 plan can consume thousands of dollars of tokens at API prices. You are competing with a subsidized product.
  • Small models are nearly free in the cloud. At $0.10 per million input tokens, the low end is priced below the cost of your electricity.
  • A datacenter GPU is busy all day. Yours is not. The provider spreads the hardware over thousands of users and batches their requests. A home machine is idle for 22 hours out of 24. Hardware pays back only in proportion to how much it is used, which is why the team scenario works and the solo one does not.
  • You are buying at the top of a memory shortage. Most of the hardware prices in this article are 50–200% above where they stood 18 months ago.

So Why Do It?

Because money is not the only column.

  • Privacy. A voice assistant is a microphone in your home. Client contracts, medical records, and proprietary code have reasons to stay on your own hardware that no price list captures. For some work, sending the data out is simply not allowed.
  • No limits. No weekly quota, no rate limiting in the middle of a refactoring, no model retired under you.
  • Availability. It works offline and during someone else’s outage.
  • Understanding. If you build systems on top of LLMs, running one yourself teaches you what a token costs in watts and milliseconds. That knowledge transfers directly to how you design against the cloud APIs.

My honest reading of the numbers: for one person, a local LLM machine is a hobby, a privacy tool, or an education — not an investment. For a team with heavy metered usage or a hard privacy requirement, it can be a real saving, and the larger the team, the better the case. And the cheapest sensible experiment is still the one from the previous post: start with the GPU you already own, route the hard requests to the cloud, and let the measurements tell you whether to buy more.


The Short Version

  1. Size the memory first. Weights plus KV cache, at the context length and concurrency you will really use. Read the attention shape from config.json; the parameter count will mislead you.
  2. Total parameters decide whether it fits; active parameters decide how fast it runs. Memory bandwidth divided by the bytes read per token is your speed ceiling.
  3. If it fits in one card, buy one card. Any current desktop will hold it. This covers smart-home automation, personal assistants, and modest coding setups.
  4. If you want 100B-class MoE models without building anything, a 128 GB unified-memory box is the easy route — slower, simpler, and cheap per gigabyte.
  5. If you need several cards for capacity, a layer split does not care about PCIe: risers and x4 links are fine. With many concurrent requests it can also be pipelined, which raises total throughput but never the speed of one request.
  6. If you need several cards for speed on dense models, that is tensor parallelism: two, four, or eight identical cards on CPU lanes at x8 or better. A desktop CPU has 16 lanes for graphics slots — two cards at x8 — so four cards mean a workstation platform. Budget for the platform, not the CPU: it brings a workstation motherboard and registered server memory with it.
  7. Cap the GPUs’ power, give each one its own cable, and check the wall circuit before the PSU.
  8. Do not overbuy RAM or CPU cores. 32–64 GB and a fast eight-core chip are enough when the weights stay on the GPU.
  9. Do the ROI math with the cloud tier you would actually replace. For one person it rarely pays; for a team it can.

In the next posts I will go back to the easy route and take it apart properly: DGX Spark against the AMD Halo on the same models — which one is faster, why prompt processing and generation tell different stories, and what NVFP4 quantization actually is.


References

  1. llama.cpp — Multi-GPU documentation
  2. llama.cpp — Tensor-parallel split mode, PR #19378
  3. vLLM — Parallelism and scaling
  4. vLLM — Conserving memory
  5. vLLM — Hybrid KV cache manager
  6. NVIDIA — NVLink and NVSwitch for LLM inference
  7. NVIDIA — DGX Spark hardware overview
  8. NVIDIA developer forum — DGX Spark vs AMD Strix Halo
  9. AMD ROCm — System optimization for Strix Halo
  10. Framework — Choosing a Framework Desktop for local AI
  11. club-3090 — community multi-GPU benchmarks and hardware notes
  12. Epoch AI — Inference economics of language models
  13. Tom’s Hardware — HBM is eating your RAM
  14. TrendForce — DRAM contract price forecasts
  15. Igor’s Lab — RTX PRO 6000 Blackwell price increase
  16. ServeTheHome — DGX Spark 64 GB and 128 GB price increases
  17. Hugging Face — model config.json files used for the calculator presets
  18. Home Assistant — Ollama integration
  19. Claude Code — Manage costs effectively
  20. Claude pricing and OpenAI API pricing
  21. U.S. EIA — Average retail price of electricity
  22. llama.cpp — Pipeline parallelism, PR #6017
  23. vLLM — Distributed inference with vLLM
  24. vLLM forum — Tensor parallel vs pipeline parallel on two L40S
  25. InsiderLLM — RTX 3090 power limit tested
  26. CPU and platform prices: Tom’s Hardware — lowest CPU prices, Tom’s Hardware — Xeon 600 launch, Wccftech — Threadripper 9000 prices, Club386 — Threadripper PRO 9000 prices, AMD — EPYC 9015
  27. Server memory price trackers: MemoryIndex — DDR5 RDIMM 64 GB and DatacenterDisk — 64 GB DDR5 ECC RDIMM