Choosing a consumer GPU for local LLMs comes down to two numbers that interact in non-obvious ways: VRAM capacity (whether the model + KV cache fits entirely on the card) and memory bandwidth (how fast single-batch decode streams weights per token).

Once a model spills even a few gigabytes past your VRAM ceiling into system RAM, decode throughput drops off a cliff—regardless of how fast the GPU core is.

Below is the concrete capacity, bandwidth, and offload math comparing the RTX 5090 (32 GB), RTX 4090 (24 GB), RTX 3090 (24 GB), and RTX 4060 Ti (16 GB) across Qwen4-35B-A3B, Qwen2.5-Coder-32B, and Llama 3.3 70B.

1. Hardware Specs at a Glance

GPU VRAM Memory Type Bandwidth Reference TDP
NVIDIA RTX 5090 32 GB GDDR7 1,792 GB/s 575 W
NVIDIA RTX 4090 24 GB GDDR6X 1,008 GB/s 450 W
NVIDIA RTX 3090 24 GB GDDR6X 936 GB/s 350 W
NVIDIA RTX 4060 Ti 16GB 16 GB GDDR6 288 GB/s 165 W

Two practical takeaways from the table above:

  1. 1,792 GB/s vs 1,008 GB/s vs 936 GB/s: For memory-bandwidth-bound batch-1 decode, the RTX 5090 has roughly 1.78x the memory bandwidth of the RTX 4090 and 1.91x that of the RTX 3090.
  2. 24 GB -> 32 GB (+8 GB VRAM): On paper 8 GB looks modest, but in practice it sits right over the 21.5 GB – 24 GB boundary where 32B dense models and 35B MoE models live once you add 32K–64K coding context.

You can inspect all modeled systems side by side in the Local AI Hardware Benchmarks or check the dedicated RTX 5090 32 GB local LLM guide.

2. Q4 Memory Budgets: Weights + KV Cache + Runtime Buffers

A common mistake is comparing model file size against raw VRAM (for example, assuming a 19.5 GB GGUF fits comfortably inside 24 GB at long context). Total runtime memory is:

Total Memory = Weight Size + KV Cache (context-dependent) + Runtime / CUDA Buffers (~1.5 GB) 

Using Q4 planning (~4.8 bpw) and an 8K baseline context:

Model Architecture Weights 8K KV Cache Runtime Buffers 8K Total Budget
Qwen2.5 Coder 32B 32.5B Dense 19.5 GB ~0.5 GB ~1.5 GB ~21.5 GB
Qwen4 35B A3B 35B MoE (3B active) 21.0 GB ~0.2 GB ~1.5 GB ~22.7 GB
Llama 3.3 70B 70.6B Dense ~42.4 GB ~0.5 GB ~1.5 GB ~44.4 GB

3. 8K vs 32K vs 64K Context: Why 24 GB Hits a Wall Before 32 GB

At 8K context, both the RTX 4090 (24 GB) and RTX 3090 (24 GB) fit Qwen2.5 Coder 32B (~21.5 GB) and Qwen4 35B A3B (~22.7 GB) completely on GPU.

On coding and agent loops, however, repository files and tool outputs push sessions to 32K–64K tokens:

  • Qwen4 35B A3B uses hybrid Gated DeltaNet + Sparse Attention, keeping KV cache growth lean (~0.021 GB per 1K tokens): ~22.7 GB (8K) -> ~23.2 GB (32K) -> ~23.8 GB (64K). On a 24 GB card driving a desktop display (often consuming 0.5–1.5 GB of VRAM), 32K–64K sits right on the edge of spilling into shared RAM.
  • Dense 32B (Qwen2.5 Coder 32B) grows faster with context because every dense layer stores full K/V tensors—pushing total memory past 24 GB well before 64K.
  • RTX 5090 (32 GB) leaves ~9.3–10.5 GB of headroom at 8K on both models, easily absorbing 32K–64K KV caches without touching system RAM.

4. Modeled Throughput & What Happens on 16 GB (RAM Offload Cliff)

Looking at modeled batch-1 decode performance for Qwen2.5 Coder 32B (Q4, 8K context, ~21.5 GB) from the Local AI Hardware Benchmarks:

GPU Placement Bandwidth Used Modeled Decode Efficiency
RTX 5090 (32 GB) 100% GPU weights 1,792 GB/s ~45.9 tok/s 8.0 tok/s per 100W
RTX 4090 (24 GB) 100% GPU weights 1,008 GB/s ~26.9 tok/s 6.0 tok/s per 100W
RTX 3090 (24 GB) 100% GPU weights 936 GB/s ~25.0 tok/s 7.2 tok/s per 100W
RTX 4060 Ti (16 GB) 68% GPU + 32% Host RAM 288 GB/s + 83.2 GB/s RAM ~4.5 tok/s 2.7 tok/s per 100W

Look closely at the RTX 4060 Ti 16GB row:

  • Even though the RTX 4060 Ti keeps 68% of the weights on GPU, the remaining 32% in host RAM must stream across system memory (~83.2 GB/s dual-channel DDR5, or ~51.2 GB/s on DDR4) and PCIe every single token.
  • That single spill drops throughput from 25–46 tok/s down to ~4.5 tok/s.
  • On a 16 GB card, sticking to models that stay 100% on GPU—such as DeepSeek R1 Distill 14B (~10.9 GB Q4) or GPT OSS 20B (~14.4 GB MXFP4)—is far faster in daily interactive use than offloading a 32B/35B model.

5. Honest Llama 3.3 70B Offload Math

At ~44.4 GB (Q4, 8K context), Llama 3.3 70B does not fit entirely in VRAM on any single consumer card listed here—not even the 32 GB RTX 5090:

  • RTX 5090 (32 GB): ~30.5 GB usable for model/buffers after display/runtime overhead, leaving ~14+ GB offloaded to host RAM. Decode rate is gated by CPU + DDR5/DDR4 bandwidth and PCIe transfers rather than the 1,792 GB/s GDDR7 bus.
  • RTX 4090 / RTX 3090 (24 GB): Roughly half the 44.4 GB model (~20–22 GB) spills into system RAM.
  • RTX 4060 Ti (16 GB): Nearly two-thirds (~29–30 GB) spills into system RAM.

If your goal is full-VRAM 70B Q4 inference without system RAM offload, you need >44.4 GB of total VRAM or high-bandwidth unified memory, such as:

  • Dual 24 GB GPUs (2× RTX 3090 or 2× RTX 4090, 48 GB sharded VRAM): Fits ~44.4 GB completely in VRAM (the benchmarks model 2× RTX 4090 at ~22 tok/s and 2× RTX 3090 at ~21 tok/s on 32B sharded, keeping 70B off PCIe/DDR5 bottlenecks).
  • 96 GB Workstation GPU (e.g., RTX PRO 6000 Blackwell 96 GB) or 64 GB–128 GB+ Apple Silicon Unified Memory (M2/M3/M4 Max/Ultra).

Verify Your Own System Before Buying or Deploying

Because PCIe generation, DDR4/DDR5 channel count, and background VRAM usage shift real offload speeds, benchmark your exact layer split with llama-bench:

# CPU-only baseline llama-bench -m model.gguf -p 512 -n 128 -ngl 0 -r 5 # Partial GPU offload (tune -ngl to fit free VRAM) llama-bench -m model.gguf -p 512 -n 128 -ngl 16 -r 5 # Full GPU offload (for models that fit within VRAM) llama-bench -m model.gguf -p 512 -n 128 -ngl 99 -r 5 

Always record prompt processing (pp512) and token generation (tg128) separately, alongside free VRAM and RAM channel specs. You can plug your exact GPU + system RAM configuration into the RTX 5090 hardware planner or compare cards side by side in Local AI Hardware Benchmarks.