Local Inference & VRAM

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

GB/s
RTX 3060=360, RTX 3090=936, RTX 4090=1008, RTX 5090=1792, H100=3350.
GiB
ratio
Typical llama.cpp/vLLM decode achieves 0.68–0.82 of peak memory bandwidth.
%
GB/s
Dual-channel DDR4 ~40 GB/s; Dual-channel DDR5 ~65–85 GB/s.
tokens
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.

AcceleratorVRAMMemory BandwidthEst. Decode (14.5 GiB)Experience vs Reading (~5 tok/s)
RTX 3060 12GB12 GB360 GB/s~18.6 tok/s3.7x faster than reading
Apple M3 MaxUp to 128 GB400 GB/s~20.7 tok/s4.1x faster than reading
RTX 3090 24GB24 GB936 GB/s~48.4 tok/s9.7x faster (instant streaming)
RTX 4090 24GB24 GB1,008 GB/s~52.1 tok/s10.4x faster (instant streaming)
RTX 5090 32GB32 GB1,792 GB/s~92.7 tok/s18.5x faster
H100 SXM 80GB80 GB3,350 GB/s~173.3 tok/s34.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

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.

Related Engineering Calculators

ComputeSizer runs 100% locally in your browser with open formulas and zero account gates. If these VRAM and GPU cost tools saved your team money, support us via Fourthwall or sponsor an ad-free developer placement.