Wandering Giants Compute · Learn
Guide

Understanding GPU Memory Bandwidth, FLOPS and Compute Performance

The short answer

Memory bandwidth is how fast a GPU reads its memory (2.0 TB/s on an H100 PCIe); FLOPS is how much arithmetic it does per second (756 dense BF16 TFLOPS on the same card). LLM token generation is limited by bandwidth; prompt processing, image generation and training are limited by FLOPS.

H100 PCIe
2.0 TB/s · 756 dense BF16 TFLOPS
H100 SXM
3.35 TB/s · 989 dense BF16 TFLOPS
A100 80GB PCIe
1,935 GB/s · 312 dense BF16 TFLOPS
L40S
864 GB/s · 362 dense BF16 TFLOPS
LLM decode at batch 1
~1 FLOP per byte: bandwidth-bound
Transformer FLOPs per token
~2 × parameters (inference), ~6 × (training)
Sparse headline figures
2× the dense figure; rarely achieved in practice

GPU spec sheets lead with big compute numbers, often in the thousands of TFLOPS. For a lot of AI work, especially running language models, those numbers barely predict speed. Memory bandwidth does. Knowing which limit applies to your workload is the difference between renting the right card and paying for tensor cores that sit idle.

This guide defines the two numbers, gives the maths for deciding which one bounds you, and works through inference and training examples on real GPUs. It is part of our series on GPU cloud computing.

What are memory bandwidth and FLOPS?

Memory bandwidth is the rate at which a GPU can move data between its memory and its compute units, measured in gigabytes or terabytes per second. FLOPS (floating-point operations per second) is the rate at which it can do arithmetic, measured at a given number precision.

A kitchen analogy helps. FLOPS is how fast the cooks can chop. Bandwidth is how fast ingredients arrive from the store room. If every dish needs a lot of ingredients but little chopping, the cooks wait on deliveries. That is LLM token generation. If each delivery feeds a lot of chopping, deliveries keep up and the cooks are the limit. That is training and prompt processing.

Two further points about FLOPS figures:

  • Precision matters. A GPU does many more FP8 or FP4 operations per second than FP32. Tensor-core figures for BF16, FP8 and FP4 are the relevant ones for AI.
  • Dense vs sparse. NVIDIA often quotes figures "with sparsity", which assume 2:4 structured sparsity and are exactly double the dense figure. Few real models use that, so halve sparse headline numbers.

What are the published figures for common cloud GPUs?

The table below uses NVIDIA's published memory bandwidth and dense BF16 tensor-core figures. Where we do not have a dense BF16 figure we are confident of, we leave it blank rather than guess; check NVIDIA's datasheet for that card.

GPUMemoryBandwidthDense BF16 tensor TFLOPSFP8 tensor coresRidge point (FLOPs per byte)
RTX 409024 GB GDDR6X1,008 GB/ssee datasheetYes (Ada)–
L40S48 GB GDDR6864 GB/s362Yes (Ada)362 ÷ 0.864 ≈ 419
A100 80GB PCIe80 GB HBM2e1,935 GB/s312No312 ÷ 1.935 ≈ 161
H100 PCIe80 GB HBM2e2.0 TB/s756Yes756 ÷ 2.0 = 378
H100 SXM80 GB HBM33.35 TB/s989Yes989 ÷ 3.35 ≈ 295
RTX PRO 6000 Blackwell96 GB GDDR71.8 TB/ssee datasheetYes, plus FP4–
H200 SXM141 GB HBM3e4.8 TB/s989Yes989 ÷ 4.8 ≈ 206
B200180 GB HBM3e8 TB/ssee datasheetYes, plus FP4–
B300288 GB HBM3e8 TB/ssee datasheetYes, plus FP4–

Sources: NVIDIA's H100, A100 and L40S product pages and datasheets.

Notice the H200 SXM has the same compute as the H100 SXM but 43% more bandwidth (4.8 ÷ 3.35 ≈ 1.43). For token generation, that bandwidth is why it is faster. The H200 NVL (PCIe form factor) has the same memory and bandwidth with lower power limits and lower peak compute.

How do you know whether a workload is memory-bound or compute-bound?

A workload is memory-bound if it does fewer FLOPs per byte read than the GPU's ridge point (peak FLOPS ÷ bandwidth), and compute-bound if it does more. That ratio is called arithmetic intensity, and the picture it gives is called the roofline model.

Work it out for LLM decoding. Each parameter is used in about 2 FLOPs (one multiply, one add) per token. In BF16 each parameter is 2 bytes. So for one user:

text
arithmetic intensity ≈ 2 FLOPs per parameter ÷ 2 bytes per parameter = 1 FLOP per byte

The H100 PCIe's ridge point is 378. Decoding for one user is about 378 times below the point where compute would become the limit. The tensor cores spend nearly all their time waiting for weights to arrive.

Batching changes that. With a batch of B users, each weight read is reused B times, so intensity rises to roughly B FLOPs per byte. You would need a batch of a few hundred concurrent sequences before compute became the main limit on an H100, and long KV caches add more memory reads along the way. This is why serving frameworks such as vLLM batch continuously: extra users are nearly free in time until you approach the ridge or run out of KV cache memory.

WorkloadArithmetic intensityUsually bound by
LLM decode, 1 user~1 FLOP/byte (BF16), ~2 (FP8)Memory bandwidth
LLM decode, batch of 32~32 FLOPs/byteMemory bandwidth
LLM prefill, 2,000-token promptHundreds to thousandsCompute
Diffusion image generationHighCompute
Training with large batchesHighCompute (and interconnect at scale)

How fast will an LLM generate tokens? Bandwidth estimates

Single-user generation speed is approximately 0.6–0.75 × memory bandwidth ÷ bytes read per token. The estimates below use that rule; real figures depend on the framework, kernels, context length and model architecture. They are estimates, not measurements.

GPUBandwidth8B BF16 (16 GB read)70B FP8 (70 GB read)70B 4-bit (~40 GB read)
L40S864 GB/s~32–41 tok/sdoesn't fit~13–16 tok/s
RTX 40901,008 GB/s~38–47 tok/sdoesn't fitdoesn't fit
A100 80GB PCIe1,935 GB/s~73–91 tok/s~17–21 tok/s if FP8 weights are supported by your kernels~29–36 tok/s
RTX PRO 60001.8 TB/s~68–84 tok/s~15–19 tok/s~27–34 tok/s
H100 PCIe2.0 TB/s~75–94 tok/s~17–21 tok/s~30–38 tok/s
H2004.8 TB/s~180–225 tok/s~41–51 tok/s~72–90 tok/s
B200 / B3008 TB/s~300–375 tok/s~69–86 tok/s~120–150 tok/s

Two lessons stand out. Quantising from FP8 to 4-bit speeds up decode because fewer bytes are read. And for single-user speed, an H200 beats an H100 PCIe by more than double, purely on bandwidth. What tokens per second means explains how these single-stream figures relate to the aggregate throughput you see under load.

How long does a long prompt take? Compute estimates

Prompt processing (prefill) is compute-bound, so its time is roughly total FLOPs ÷ (peak FLOPS × utilisation). Total FLOPs is about 2 × parameters × prompt tokens. Realistic utilisation for prefill is often 40–60% of dense peak; we use 40–50% here as an estimate.

For an 8B model and a 4,000-token prompt:

text
FLOPs = 2 × 8 × 10^9 × 4,000 = 6.4 × 10^13 = 64 TFLOPs
GPUDense BF16 TFLOPSEffective at 40–50%Estimated time to process prompt
A100 80GB312125–156~0.41–0.51 s
L40S362145–181~0.35–0.44 s
H100 PCIe756302–378~0.17–0.21 s
H100 SXM / H200989396–495~0.13–0.16 s

Here the A100 is slower than the L40S despite having more than twice the bandwidth, because prefill cares about FLOPS. That is why the right GPU depends on whether your users send long documents or short questions. The two phases are covered in detail in prefill vs decode.

How do FLOPS translate into training time?

Training time can be estimated from the standard approximation that training a transformer takes about 6 × parameters × training tokens FLOPs (2 for the forward pass, 4 for the backward pass). Divide by the cluster's effective FLOPS.

Example: full fine-tuning an 8B model on 1 billion tokens.

text
FLOPs = 6 × 8 × 10^9 × 1 × 10^9 = 4.8 × 10^19
HardwarePeak dense BF16At 40% model FLOPs utilisationEstimated time
8 × A100 80GB8 × 312 = 2,496 TFLOPS~998 TFLOPS4.8 × 10^19 ÷ 9.98 × 10^14 ≈ 48,100 s ≈ 13.4 h
8 × H100 SXM8 × 989 = 7,912 TFLOPS~3,165 TFLOPS≈ 15,200 s ≈ 4.2 h

Memory still decides whether it can run at all: a full fine-tune needs about 16–20 bytes per parameter, roughly 128–160 GB for 8B, so this job must be sharded across several GPUs with FSDP or DeepSpeed. Interconnect then matters: tensor-parallel training across PCIe cards is much less efficient than across NVLink. The comparison of H100 and A100 puts these numbers into a rental decision.

How does precision change performance?

Lower precision speeds up both limits at once: it halves the bytes per weight (helping bandwidth-bound work) and roughly doubles tensor-core throughput (helping compute-bound work). Hardware support decides what you can use.

PrecisionBytes per valueTensor-core supportTypical use
FP32 / TF324 (TF32 computes at reduced mantissa)AllLegacy training, some numerics
BF16 / FP162All currentDefault for training and inference
FP81Ada (RTX 4090, L40S), Hopper, BlackwellInference; increasingly training
FP40.5BlackwellInference of quantised models
INT4 weights (AWQ/GPTQ)~0.5Weight-only; computed in 16-bitFitting big models on small cards

The A100 has no FP8 tensor cores, so FP8 models run on it through weight-only kernels that save memory but not compute. On an H100 or newer, native FP8 gives both savings. Quantization explained covers the quality side of the trade.

Which spec should you compare for your workload?

Compare the spec that bounds your workload: memory capacity first (it must fit), then bandwidth for chat-style LLM serving, FLOPS for long prompts, images and training, and interconnect for multi-GPU jobs.

WorkloadFirst checkThen compareThen
Chatbot, short promptsVRAMBandwidthPrice
RAG with long documentsVRAM (KV cache)FLOPS (prefill) and bandwidthPrice
Batch summarisation of many documentsVRAMFLOPSPrice per million tokens
Image generationVRAMFLOPSPrice per 1,000 images
Fine-tuning on one GPUVRAMFLOPSPrice
Multi-GPU trainingVRAM per GPUInterconnect (NVLink vs PCIe)FLOPS

Our guide on how to choose the right GPU for your AI workload turns this into a step-by-step decision.

How do you measure whether you are memory- or compute-bound?

Measure throughput in your own units (tokens per second, images per minute, samples per second) and compare it with the estimates above. The nvidia-smi utilisation number alone is misleading: it reports the fraction of time a kernel was running, so a bandwidth-bound decode shows near 100% while the tensor cores are mostly idle.

bash
# SM and memory-controller activity every second
nvidia-smi dmon -s u

If tokens per second is close to the bandwidth estimate, you are bandwidth-bound and a higher-bandwidth GPU or lower-precision weights will help. If prefill is slow while decode is fine, more FLOPS will help. If both are far below estimates, look at your software: batch sizes, kernels, data loading or CPU bottlenecks. For a deeper view, NVIDIA Nsight Systems and the PyTorch profiler show where time goes.

Which Wandering Giants Compute GPU gives the most performance per pound?

On Wandering Giants Compute, the best value depends on which limit you hit. For bandwidth-bound chat on models that fit, compare estimated tokens per second against the hourly price; for compute-bound work, compare FLOPS against price.

GPUBandwidthPrice per hourEst. single-stream 70B FP8Est. cost per million tokens, one user
A100 80GB1,935 GB/s$3.79/hr~17–21 tok/s (weight-only FP8)$3.79/hr ÷ 0.068 ≈ $55.74
H100 PCIe2.0 TB/s$4.99/hr~17–21 tok/s$4.99/hr ÷ 0.068 ≈ $73.38
RTX PRO 60001.8 TB/s$4.89/hr~15–19 tok/s$4.89/hr ÷ 0.061 ≈ $80.16
H2004.8 TB/s$9.09/hr~41–51 tok/s$9.09/hr ÷ 0.166 ≈ $54.76
B2008 TB/s$15.49/hr~69–86 tok/s$15.49/hr ÷ 0.279 ≈ $55.52

The divisors are millions of tokens per hour at the midpoint of each estimate (for example, 46 tok/s × 3,600 = 0.166 million). Batching many users multiplies tokens per hour and divides the cost per million accordingly.

Billing is by the minute from prepaid credit, so you can run your own short test on two cards and measure rather than rely on our estimates. The machine stops itself if credit runs out. See the GPUs and prices.

Frequently asked questions

Is memory bandwidth or FLOPS more important for LLMs?

For generating tokens, memory bandwidth, because each token requires reading all active weights while doing little maths per byte. For processing long prompts and for training, FLOPS matter more. Serving many users at once shifts the balance towards FLOPS as batch size grows.

What does TFLOPS mean on a GPU spec sheet?

TFLOPS is trillions of floating-point operations per second at a stated precision, such as FP32, BF16, FP8 or FP4. Tensor-core figures are usually much higher than plain FP32 figures. Many spec sheets quote figures with 2:4 structured sparsity, which are double the dense figures most workloads can use.

Why is my GPU at 100% utilisation but slow?

nvidia-smi's utilisation counts the share of time any kernel is running, not how much of the GPU's compute is used. A bandwidth-bound decode loop shows 100% utilisation while using a small fraction of the tensor cores. Measure tokens per second or model FLOPs utilisation instead.

How do I estimate LLM tokens per second from memory bandwidth?

Divide memory bandwidth by the bytes of weights read per token and multiply by 0.6–0.75 for real-world efficiency. An 8B model in BF16 on an RTX 4090 gives 0.6–0.75 × 1,008 ÷ 16 ≈ 38–47 tokens per second for one user, as an estimate.

Does FP8 make inference faster?

Yes, in two ways. FP8 weights are half the bytes of BF16, so bandwidth-bound decoding reads half as much per token. And Ada, Hopper and Blackwell GPUs run FP8 tensor maths at about twice their BF16 rate. The A100 has no FP8 tensor cores.

What is the roofline model?

The roofline model plots achievable performance against arithmetic intensity, the FLOPs done per byte read. Below the ridge point (peak FLOPS ÷ bandwidth) a workload is memory-bound; above it, compute-bound. For an H100 PCIe the ridge is about 378 FLOPs per byte in BF16.

Wandering Giants Compute

Rent the GPU for this, by the minute.

Rent bandwidth where it counts: from a 1 TB/s RTX 4090 to an 8 TB/s B300, billed by the minute.

Prepaid credit, billed by the minute, stops itself when credit runs out. Prices in £, $, €, ¥, CA$, A$, CHF and S$; UK prices include VAT.

Keep reading

About this article. Written by the Wandering Giants Compute team, the people who run Wandering Giants Compute. Hardware figures are the manufacturers’ published specifications. Speeds and costs marked as estimates are worked out from those specifications and our current prices, with the method shown; they are not measured benchmarks. Wandering Giants prices are taken live from our price list each time this page is built.

Last reviewed 25 November 2026.