Local LLM Tokens/Sec Memory Bandwidth Estimator
Predict real-world local generation speed (tok/s) from GPU memory bandwidth, model weight size, and the severe CPU RAM offload bottleneck.
Input Parameters
Calculated Output
Primary Result
—
Adjust inputs to recalculate immediately.
Need Higher Memory Bandwidth on Demand?
Rent RTX 4090, RTX 5090, or H100 nodes by the hour with zero hardware lock-in.
Check Vast.ai Cloud GPUs ↗Single-Stream Decode Speed Across GPUs (14.5 GiB Model @ 75% Efficiency)
Single-user autoregressive decode (batch=1) is strictly memory-bandwidth bound rather than TFLOPS bound.
| Accelerator | VRAM | Memory Bandwidth | Est. Decode (14.5 GiB) | Experience vs Reading (~5 tok/s) |
|---|---|---|---|---|
| RTX 3060 12GB | 12 GB | 360 GB/s | ~18.6 tok/s | 3.7x faster than reading |
| Apple M3 Max | Up to 128 GB | 400 GB/s | ~20.7 tok/s | 4.1x faster than reading |
| RTX 3090 24GB | 24 GB | 936 GB/s | ~48.4 tok/s | 9.7x faster (instant streaming) |
| RTX 4090 24GB | 24 GB | 1,008 GB/s | ~52.1 tok/s | 10.4x faster (instant streaming) |
| RTX 5090 32GB | 32 GB | 1,792 GB/s | ~92.7 tok/s | 18.5x faster |
| H100 SXM 80GB | 80 GB | 3,350 GB/s | ~173.3 tok/s | 34.7x faster |
Formula & Engineering Methodology
Autoregressive token generation (batch=1) must read almost the entire quantized weight file from VRAM once per token. When layers spill into system RAM, sequential token latency becomes the sum of GPU stream time plus slow DDR RAM stream time.
If 100% VRAM:
tps_realistic = (gpu_bw_gbs / model_weights_gb) * efficiency_factor
If spilled to CPU RAM (<100%):
gpu_time = (model_weights_gb * offload) / (gpu_bw_gbs * efficiency_factor)
cpu_time = (model_weights_gb * (1 - offload)) / (system_ram_bw_gbs * 0.70)
tps_realistic = 1 / (gpu_time + cpu_time)
Variable Definitions
gpu_bw_gbs: Peak VRAM memory bandwidth in GB/s.efficiency_factor: Realized memory bus utilization during decode (~0.70–0.80).0.70: Effective CPU dual-channel DDR streaming efficiency across PCIe/NUMA boundaries.
Practical Note: Applies to single-user decode latency; prompt ingestion (prefill / TTFT) scales with FP16/Tensor Core TFLOPS instead of memory bandwidth.
Frequently Asked Questions
Why is local LLM generation speed bound by memory bandwidth instead of CUDA cores?
Generating one token at batch=1 performs only ~2 FLOPs per weight byte, leaving GPU tensor cores waiting for weights to stream out of VRAM.
Why does spilling just 20% of layers to system RAM collapse speed by 3x–6x?
Even if 80% of layers run on a 936 GB/s RTX 3090, the remaining 20% must crawl across ~60 GB/s DDR5—making that 20% take more wall time than the entire GPU portion.
Why is an RTX 4090 only ~8% faster than an RTX 3090 on batch=1 tok/s despite huge TFLOPS gains?
RTX 4090 memory bandwidth is 1,008 GB/s vs RTX 3090's 936 GB/s (+7.7%). Where the 4090 crushes the 3090 is prompt prefill time and batched multi-user serving.