Local AI
LLM token throughput estimator
How fast will a local LLM answer on your hardware? Generating text is mostly limited by how quickly the GPU (or CPU and unified memory) can read the model, so memory bandwidth and model size give a good first estimate of tokens per second — before you buy anything.
- Weights
- 4.50 GB
- Read per generated token
- 5.00 GB
- Ceiling (100 % bandwidth)
- 72.0 tok/s
- Estimated generation speed
- 50.4 tok/s
- Estimated prompt processing
- 625 tok/s
- Prompt time
- 3.2 s
- Answer time
- 9.9 s
- Total per request
- 13.1 s
How to use it
- Enter the memory bandwidth from the datasheet of your GPU, Apple chip or CPU memory setup (GB/s).
- Enter the model size in billions of parameters and the bits per weight of the quantisation (about 4.5–4.8 for Q4_K_M, 8.5 for Q8_0, 16 for FP16).
- Add the KV cache size at your context length — the LLM VRAM calculator shows it.
- Keep the efficiency at 60–80 % until you have measured your own setup; enter compute (FP16 TFLOPS) for the prompt-processing estimate.
Formula and method
weights (GB) = parameters × bits per weight ÷ 8 read per token = weights + KV cache generation tok/s ≈ bandwidth (GB/s) × efficiency ÷ read per token prompt tok/s ≈ compute (FLOP/s) × utilisation ÷ (2 × parameters) time per request = prompt tokens ÷ prompt tok/s + answer tokens ÷ generation tok/s
- The model is assumed to sit completely in GPU or unified memory. Layers offloaded to system RAM are read at the much lower system-memory bandwidth and dominate the result.
- The estimate is for one request at a time (batch size 1). Servers such as vLLM serve several requests per weight read, so total throughput across users is higher.
- Efficiency and compute utilisation are assumptions, not measurements: they depend on the runtime (llama.cpp, Ollama, vLLM, MLX …), kernels and drivers. Mixture-of-experts models read only the active experts per token — enter the active parameters for them.
Worked example
An 8 B model at 4.5 bits per weight is 8 × 4.5 ÷ 8 = 4.5 GB; with 0.5 GB of KV cache each token reads 5 GB. With 360 GB/s the ceiling is 360 ÷ 5 = 72 tokens/s; at 70 % efficiency about 50.4 tokens/s, so a 500-token answer takes about 9.9 s. With 25 TFLOPS at 40 % utilisation the prompt runs at 25 × 10¹² × 0.4 ÷ (2 × 8 × 10⁹) = 625 tokens/s: a 2,000-token prompt takes 3.2 s.
FAQ
Why does memory bandwidth matter more than GPU cores for chat speed?
For every generated token the whole model has to be read from memory once, while the arithmetic per byte is small. A single chat stream therefore waits on memory, not on compute. Compute matters for reading long prompts and for serving many users at once.
Does a smaller quantisation make the model faster?
Usually yes: fewer bits per weight means fewer bytes to read per token, so a 4-bit model generates roughly twice as fast as an 8-bit one on the same hardware, at some cost in quality.
Why are my measured tokens per second lower?
Partial CPU offload, a long context (large KV cache), thermal or power limits, and runtime overhead all reduce the speed. Measure with your runtime’s own statistics and adjust the efficiency to match.
Related tools
- LLM VRAM calculator — Will a model fit your GPU? Weights, KV cache and overhead for a model size, quantisation and context length.
- Power consumption & electricity cost calculator — Turn a server’s idle and load watts into kWh and electricity cost per day, month and year, with official prices per country and US state.
Formulas reviewed November 27, 2026 by Novian · runs entirely in your browser · methodology