Running a language model on your own hardware comes down to two numbers: how much memory the model needs, and how fast that memory is. Which card to buy and which box to rent both follow from those two. The arithmetic is shown so you can redo it for any model. Specs come from the vendors' spec sheets and whitepapers; prices were checked on October 26, 2026.
How model size turns into memory
Weights take a fixed number of bytes per parameter, set by the precision you load them at:
- 16-bit (FP16/BF16): 2 bytes per parameter
- 8-bit (FP8/INT8, GGUF Q8_0): about 1 byte
- 4-bit (INT4/AWQ): 0.5 bytes; GGUF Q4_K_M is closer to 0.55 because some tensors stay at higher precision
Weights in GB are parameters in billions times bytes per parameter:
32B model: 32 x 2.0 = 64 GB at FP16 32 x 0.55 = 17.6 GB at Q4_K_M
70B model: 70 x 2.0 = 140 GB at FP16 70 x 0.55 = 38.5 GB at Q4_K_M
Add 1 to 2 GB of framework overhead, then the KV cache.
The KV cache grows with context and users
Every token in a conversation keeps a key and a value vector in each layer:
KV cache bytes = 2 x layers x KV heads x head dim x tokens x batch x bytes per value
From the published model configs, at 2 bytes per value:
- Qwen3-8B (36 layers, 8 KV heads, head dim 128): 2 x 36 x 8 x 128 x 2 = 147 KB per token, about 1.2 GB at 8K tokens, 4.8 GB at 32K
- Qwen3-32B (64 layers, 8 KV heads, 128): 262 KB per token, 2.1 GB at 8K, 8.6 GB at 32K
- Llama 3.3 70B (80 layers, 8 KV heads, 128): 328 KB per token, 2.7 GB at 8K, 10.7 GB at 32K
Multiply by concurrent users. Eight users at 8K context on the 32B model is 17 GB of cache, as much as the weights. A card that fits a model for one person runs out of memory when a team uses it.
VRAM tiers at 4-bit
| Model class | Weights at ~0.55 B/param | Fits in | Example cards |
|---|---|---|---|
| 7-8B | 4-5 GB | 8-12 GB | RTX 3060 12 GB |
| 13-14B | 7-8.5 GB | 12-16 GB | RTX 4060 Ti 16 GB, RTX 5080 |
| 27-34B | 15-19 GB | 24 GB | RTX 3090, RTX 4090, RTX 5090 |
| 70B | 38-42 GB | 48 GB | 2 x 24 GB cards, L40S, one 80/96 GB card |
| 100B+ and MoE giants | 55 GB to several hundred GB | multi-GPU 80 GB-class or large unified memory | 2-8 x H100/H200/B200, RTX PRO 6000 96 GB, Mac Studio 256-512 GB |
The guides differ at the edges. Prem AI lists 70B at 35-40 GB and says a 24 GB card covers "up to 40B"; LLM Stats puts 70B Q4_K_M at 38.5 GB and caps a 24 GB card at about 35B; Spheron sizes Qwen3 32B AWQ at about 16 GB and 70B INT4 at 36-40 GB. The spread is 0.5 versus 0.55 bytes per parameter plus whether KV cache is counted. The practical reading is the same: 70B at 4-bit does not fit in 24 GB without offloading, and a 32B model leaves a 24 GB card only 4-6 GB for context.
Bandwidth sets the token rate
Generating a token reads every active weight once, so the single-user ceiling is bandwidth divided by model size: a 17.6 GB 32B model on a 936 GB/s card tops out near 53 tokens per second, and llama.cpp lands at 30-60 percent of that. LLM Stats' benchmarks show it: Q4 32B at about 15 tok/s on an RTX 3090 and 78 tok/s on an RTX 5090, which has 1.9 times the bandwidth.
| GPU | Memory | Bandwidth | Board power | Price note |
|---|---|---|---|---|
| RTX 3090 | 24 GB GDDR6X | 936 GB/s | 350 W | used, about $1,377 (eBay lowest-three average, October 2026) |
| RTX 4090 | 24 GB GDDR6X | 1,008 GB/s | 450 W | no MSRP listed on nvidia.com |
| RTX 5090 | 32 GB GDDR7 | 1,792 GB/s | 575 W | $1,999 MSRP |
| L40S | 48 GB GDDR6 ECC | 864 GB/s | 350 W | passive, rack card |
| RTX PRO 6000 Blackwell | 96 GB GDDR7 ECC | 1,792 GB/s | 600 W | workstation edition |
| H100 SXM / NVL | 80 / 94 GB HBM3 | 3.35 / 3.9 TB/s | up to 700 W / 350-400 W | SXM needs an HGX board |
| H200 SXM / NVL | 141 GB HBM3e | 4.8 TB/s | up to 700 W / 600 W | |
| B200 (DGX B200) | 1,440 GB over 8 GPUs, 180 GB each | 64 TB/s system, 8 TB/s each (derived) | 14.3 kW system | |
| Apple M5 Max | up to 128 GB unified | 614 GB/s | Mac Studio from $2,499 | |
| Apple M5 Ultra | up to 512 GB unified | 1.2 TB/s | Mac Studio from $5,499 |
The RTX 5090 doubles the 3090's bandwidth and adds 8 GB, so it runs 32B models twice as fast but still needs offloading for 70B. The L40S has more memory than a 5090 and less bandwidth: a capacity card, not a speed card. A Mac Studio with M5 Ultra holds models no single GPU under $20,000 can, at about a third of H100 bandwidth.
Consumer, prosumer, data center, CPU
- Consumer (24-32 GB): the used RTX 3090 is still the cheapest 24 GB card near 1 TB/s, but its price rose through 2026; older guides quoting $700 are out of date. NVIDIA's GeForce licence restricts data-center use, which matters to hosting providers.
- Prosumer (48-96 GB): L40S and RTX PRO 6000 run 70B on one card with ECC memory and rack-style cooling.
- Data center (80-192 GB HBM): H100, H200 and B200 for 100B+ models, FP8 at scale and heavy concurrency.
- Apple Silicon: the only way to get 256-512 GB in one quiet box, with llama.cpp Metal support. Prompt processing is slower than on NVIDIA.
- CPU only: llama.cpp on AVX2/AVX-512 with as much RAM as you like. Prem AI puts it at single-digit tokens per second for large models. Fine for overnight batch jobs, not chat.
MoE models need the memory, not the compute
DeepSeek V4-Flash's model card lists 284B total parameters with 13B activated per token, shipped as FP4 experts plus FP8 for the rest. Memory follows the total: 284 x 0.5 to 0.6 = 142 to 170 GB before KV cache (Spheron estimates about 160 GB). Each token reads only the 13B active parameters, so speed is closer to a 13B dense model. MoE giants therefore land on multi-GPU 80 GB-class servers or a 256-512 GB Mac Studio: capacity is the constraint, not compute.
Serving software and multi-user serving
- llama.cpp: GGUF from 1.5 to 8 bits, CUDA/HIP/Metal/Vulkan, CPU+GPU hybrid for models larger than VRAM, OpenAI-compatible llama-server. The single-box default.
- Ollama: llama.cpp with model management. OLLAMA_NUM_PARALLEL defaults to 1, default context is 4,096 tokens, and the docs state memory scales with parallel requests times context length.
- vLLM: continuous batching, PagedAttention KV cache, FP8/INT8/INT4/AWQ/GPTQ/GGUF, tensor/pipeline/expert parallelism, OpenAI-compatible server. The multi-user default on NVIDIA and AMD.
- TGI: now in maintenance mode; Hugging Face points new deployments to vLLM or SGLang.
Batching reads the weights once per step for every request, so throughput scales with users until the KV cache fills memory. Prem AI's cited benchmark had Ollama peaking around 41 tok/s aggregate against about 793 tok/s for vLLM, with P99 latency under 100 ms at 128 users versus 673 ms. Budget for weights plus the KV cache of your peak concurrent users at their real context length.
Which box do I actually rent
- Team assistant on a 27-34B model: one dedicated server with a single 24 GB card. Weights take 15-19 GB, leaving 5-9 GB of KV cache, enough for roughly 4-6 concurrent users at 8K context on vLLM. A 32 GB RTX 5090 doubles both headroom and speed.
- 70B: dual 24 GB cards with tensor parallelism in vLLM (1.8-2 TB/s combined), or one 48 GB L40S at 864 GB/s with ECC and a passive rack design.
- Rent 80 GB-class instead for 70B at FP8 (70 GB), 100B+ models, 128K contexts, or more than about ten concurrent users on a 70B. One H100's 3.35 TB/s also beats two consumer cards without PCIe traffic between them.
Power and cooling
A 350-450 W card in a 1U chassis means a blower or passive card and a high-static-pressure fan wall; open-air consumer coolers do not fit and recirculate their own exhaust. A 4U chassis takes two or three consumer cards with normal airflow and has room for 575-600 W Blackwell boards. With CPU, drives and conversion loss, a dual-5090 box draws about 1.5 kW at full load; a DGX B200 is listed at 14.3 kW. For rack density, PDU sizing and air versus liquid, see our piece on power and cooling. For which models are worth the hardware, see our current model picks.
Sources
- NVIDIA Ada GPU Architecture whitepaper (RTX 4090, L40S specs)
- NVIDIA Ampere GA102 GPU Architecture whitepaper (RTX 3090 specs)
- NVIDIA RTX Blackwell GPU Architecture whitepaper (RTX 5090, 4090, 3090 comparison)
- NVIDIA GeForce compare page (RTX 5090 bandwidth)
- NVIDIA GeForce RTX 5090 product page
- NVIDIA GeForce RTX 4090 product page
- NVIDIA GeForce RTX 3090 product page
- NVIDIA GeForce RTX 50 Series launch release (MSRP)
- NVIDIA H100 Tensor Core GPU
- NVIDIA H200 Tensor Core GPU
- NVIDIA DGX B200
- NVIDIA L40S GPU
- NVIDIA RTX PRO 6000 Blackwell
- Apple Mac Studio technical specifications
- Apple Newsroom: the new Mac mini and Mac Studio are available today
- DeepSeek-V4-Flash model card
- Qwen3-8B config.json
- Qwen3-32B config.json
- Llama-3.3-70B-Instruct config.json (unsloth mirror)
- llama.cpp README
- Ollama FAQ
- vLLM documentation
- Text Generation Inference documentation
- LLM Stats: Hardware requirements for running LLMs locally
- Prem AI: Self-hosted LLM guide 2026
- Spheron: Best open-source LLMs to self-host 2026, VRAM guide
- GPUPoet: RTX 3090 price, October 2026