PersonalComputer.com logo markPersonalComputer.com

How to Benchmark Local LLMs: Method and Speed Ceilings

Benchmark numbers swing with the model file, quantization, context length and software version. Here is the method that gives comparable tokens per second, plus theoretical ceilings to sanity-check any number you see.

Benchmarks for local language models are easy to get wrong: results change with the model file, quantization, context length, software version and backend. This page explains the numbers that matter, how we will test, and the theoretical ceilings you can use to sanity-check any result in the meantime. Measured results: not yet verified. We will add a row only when we have run the test ourselves or can cite a reproducible public run.

The two numbers that matter

  • Prompt processing (prefill) tokens/s: how fast the model reads your input. Mostly limited by GPU compute; matters for long documents and coding contexts.
  • Generation (decode) tokens/s: how fast the answer appears. Mostly limited by memory bandwidth; about 10 tokens/s feels like comfortable reading speed for chat.

Time to first token depends on prefill speed and prompt length. A result that reports only one number, or omits the context length, is hard to compare.

Our test protocol

  • llama.cpp release recorded per run; same GGUF file per model across hardware
  • Prompt processing at 512 and 8k tokens; generation of 128 tokens; three runs, median reported
  • Context length, batch size, GPU offload and backend published with every row
  • Power draw at the wall where measurable

Buying for a team or spending $3,000+?

Get quotes from up to 3 AI workstation builders

Tell us what you want to run and your budget. Builders quote you directly, so you can compare before you buy. Free, no obligation.

Get free quotes

Theoretical ceilings (not benchmarks)

Decode ceiling = memory bandwidth ÷ active weight size (methodology). Q4_K_M weights: about 4.9 GB for an 8B model and 43 GB for a 70B model.

HardwareBandwidthCeiling: 8B Q4Ceiling: 70B Q4
GeForce RTX 50901792 GB/s~366 tok/s~41 tok/s (does not fit)
GeForce RTX 40901008 GB/s~206 tok/s~23 tok/s (does not fit)
GeForce RTX 5080960 GB/s~196 tok/s~22 tok/s (does not fit)
NVIDIA DGX Spark (128GB)273 GB/s~56 tok/s~6 tok/s
GMKtec EVO-X2 (128GB / 1TB)256 GB/s~52 tok/s~6 tok/s
Mac Studio (M5 Max 40-core GPU, 128GB)614 GB/s~125 tok/s~14 tok/s

See also DGX Spark benchmarks and RTX 5090 vs 4090 vs 3090.