VRAMScore
Architecture & Physics•8 min read•Updated 2026-11-28•PURE ENGINEERING REFERENCE

Memory Bandwidth (GB/s) vs Compute (TFLOPS): Why Tokens/Sec Depends on Bus Width

Why an older 384-bit RTX 3090 generates text faster than newer midrange cards with double the Tensor TFLOPS — the roofline model connecting bus width, GDDR7 vs LPDDR5X Unified Memory, prefill latency, and decode tok/s.

Engineering Takeaways

  • LLM inference has two completely different bottlenecks: Prompt Prefill (TTFT) is Compute/TFLOPS-bound, while Token Generation (decode tok/s) is strictly Memory Bandwidth (GB/s)-bound.
  • Roofline arithmetic intensity during batch=1 decode is roughly 1–2 FLOPs per byte — leaving 90%+ of a modern GPU's Tensor Cores idle waiting on VRAM.
  • Memory bus width (128-bit vs 256-bit vs 384-bit vs 512-bit) explains why an RTX 5090 (1,792 GB/s) hits ~68 tok/s on 32B Q4 while an RTX 4060 Ti 16GB (288 GB/s) runs the exact same model at ~11 tok/s.
  • Apple Silicon trades peak GDDR7 speed for giant unified memory capacity (128 GB to 512 GB), making M4 Max (546 GB/s) and M3 Ultra (819 GB/s) unbeatable on sparse MoE models.

1. The Roofline Paradox: Why 1,000 TFLOPS Sits Mostly Idle

Hardware marketing sheets love showcasing peak FP16, FP8, or FP4 Tensor TFLOPS. Yet when developers benchmark an RTX 4060 Ti 16GB against an older RTX 3090 24GB on the exact same 14B Q4_K_M model, the RTX 3090 generates tokens more than three times faster despite being an older architecture. Understanding why requires separating LLM execution into its two physical phases: Prefill and Decode.

During Prefill (prompt processing), the GPU reads your entire prompt — say 4,000 tokens — in parallel as dense matrix-matrix multiplications (GEMM). Each loaded weight byte is reused across thousands of tokens, yielding high arithmetic intensity. Tensor Core TFLOPS dominate prefill speed, also known as Time to First Token (TTFT).

During Decode (generating output tokens one at a time at batch size 1), the math collapses into matrix-vector multiplication (GEMV). To emit ONE new token, the silicon must haul EVERY active model weight from VRAM into SRAM, perform just two floating-point operations per weight (multiply-accumulate), and discard the weight until the next token. The GPU's arithmetic units finish their math in nanoseconds and spend the rest of the cycle waiting on memory pins.

2. The Exact Memory-Bandwidth Speed Limit Equation

Because memory transfer dominates decode time, theoretical maximum tokens per second equals official memory bandwidth divided by active bytes read per token. In real runtimes (CUDA llama.cpp, TensorRT-LLM, Apple MLX, or AMD ROCm), memory controller efficiency, dequantization overhead, and kernel launches typically capture 65% to 82% of theoretical peak bandwidth.

# Theoretical Roofline Decode Speed (Batch = 1)
Max_Tok_Per_Sec = Official_Bandwidth_GB_s / (Active_Weights_GB + Active_KV_Read_GB)

# Real-World Observed Speed
Realistic_Tok_Per_Sec = Max_Tok_Per_Sec * Backend_Efficiency
# Typical Efficiency: NVIDIA CUDA ~0.78 | Apple Metal/MLX ~0.74 | AMD ROCm ~0.66

# Worked Comparison: DeepSeek-R1 32B Q4_K_M (~20.5 GB active read/token)
# RTX 5090 (1,792 GB/s, CUDA):  (1792 / 20.5) * 0.78 = ~68.2 tok/s
# RTX 4090 (1,008 GB/s, CUDA):  (1008 / 20.5) * 0.78 = ~38.3 tok/s
# M3 Ultra   (819 GB/s, Metal): (819  / 20.5) * 0.74 = ~29.6 tok/s
# M4 Max     (546 GB/s, Metal): (546  / 20.5) * 0.74 = ~19.7 tok/s
# M4 Pro     (273 GB/s, Metal): (273  / 20.5) * 0.74 =  ~9.9 tok/s

3. Bus Width & Memory Technology: GDDR7 vs GDDR6X vs Unified LPDDR5X

Memory bandwidth is simply Bus Width (bits) × Effective Transfer Rate (Gbps) ÷ 8. That single equation explains the entire 2026 consumer hardware hierarchy. Moving from 128-bit GDDR6 (288 GB/s on RTX 4060 Ti 16GB) to 128-bit GDDR7 (448 GB/s on RTX 5060 Ti 16GB) delivers a clean +55% jump in LLM decode speed at the same bus width. Meanwhile, NVIDIA's 512-bit GDDR7 bus on the RTX 5090 pushes bandwidth to a colossal 1,792 GB/s — higher than many workstation cards.

Apple Silicon takes a completely different physical approach: instead of discrete high-voltage GDDR chips soldered around a separate GPU die, Apple integrates wide LPDDR5X channels directly onto the SoC package. Base M4 uses a 128-bit bus (120 GB/s), M4 Pro widens it to 273 GB/s, M4 Max reaches 546 GB/s (and M5 Max reaches 614 GB/s), and M3 Ultra fuses two Max dies via UltraFusion for 819 GB/s — all while letting the GPU address up to 512 GB of memory at a fraction of discrete GPU wattage.

Architecture ClassMemory Tech & BusOfficial Bandwidth32B Q4 Est. SpeedStrength
NVIDIA RTX 5090 (32GB)GDDR7 (512-bit)1,792 GB/s~68 tok/sFastest single-card decode & prefill
NVIDIA RTX 4090 (24GB)GDDR6X (384-bit)1,008 GB/s~38 tok/s1 TB/s classic 24GB workhorse
NVIDIA RTX 5070 Ti (16GB)GDDR7 (256-bit)896 GB/sOffloads (>16GB)Blazing 8B–24B Q4 throughput
Apple M3 Ultra (512GB)LPDDR5X Unified819 GB/s~30 tok/sSilent 671B & 400B desktop host
Apple M5 Max (128GB)LPDDR5X Unified614 GB/s~22 tok/s600+ GB/s mobile unified memory
Apple M4 Max (128GB)LPDDR5X Unified546 GB/s~20 tok/s109B MoE & 70B Q8 workstation
Dual-Channel DDR5-6000 CPUHost RAM (128-bit)~60–75 GB/s~2–3 tok/sEmergency CPU offload only

4. When Compute (TFLOPS) Actually Becomes Your Bottleneck

There are three real-world situations where GPU compute (Tensor Cores) matters just as much as memory bandwidth:

  • Long Prompt Ingestion (RAG & Codebases): Feeding a 32,000-token repository into an Apple M4 Pro takes noticeably longer before the first token appears than on an RTX 5070 Ti or RTX 5090, because discrete NVIDIA Tensor Cores provide far higher FP16/BF16 matrix throughput.
  • High-Concurrency Batching: When vLLM serves 16 simultaneous users, each weight read from VRAM is reused across 16 token vectors, pushing arithmetic intensity back up toward the compute ceiling.
  • Image & Video Diffusion (FLUX.1, SDXL, Wan 2.1): Diffusion transformers run repeated full-frame spatial/temporal convolutions and dense attention passes across thousands of image/video patches simultaneously — making diffusion heavily compute-bound rather than bandwidth-bound.

5. Reading Speed Benchmarks: How Fast Is 'Fast Enough'?

Average adult English reading speed is roughly 240 to 280 words per minute — equivalent to 5.5 to 7.0 tokens per second. For interactive chat, anything above 15 tok/s feels fluid and faster than you can read. However, two modern AI workflows strongly benefit from 40 to 100+ tok/s: chain-of-thought reasoning models (like DeepSeek-R1 and Qwen 3 thinking mode), which may emit 1,500 hidden reasoning tokens before answering, and autonomous IDE coding agents that iterate through multiple file edits per minute.

Frequently Asked Technical Questions

Why is my RTX 3090 faster at Ollama token generation than a newer RTX 5060 Ti 16GB?

Because LLM token decode speed scales with memory bandwidth. The RTX 3090's wide 384-bit GDDR6X bus delivers 936 GB/s — more than double the RTX 5060 Ti 16GB's 128-bit GDDR7 bus (448 GB/s).

Does faster System RAM (DDR5-6400 vs DDR4-3200) speed up full-GPU LLM inference?

No. Once a model fits 100% inside discrete GPU VRAM, host system RAM speed has virtually zero impact on token generation. System RAM bandwidth only matters when layers spill out of VRAM via CPU offloading.

Why do MoE models run so much faster on Apple Silicon Macs than dense models?

Because only active experts are read from unified memory per token. Qwen 3 30B-A3B activates just 3.3B weights (~2 GB at Q4), allowing a 273 GB/s Mac mini M4 Pro to exceed 60–80 tok/s.

Why does prompt processing (Time to First Token) feel slower on Mac than on RTX GPUs?

Prompt prefill is matrix-matrix compute-bound (TFLOPS), where discrete NVIDIA Tensor Cores hold a large raw compute advantage over Apple Metal GPUs, even when memory bandwidth is similar.

Interactive Tools & Referenced Models

Open Live VRAM Simulator