Methodology
How we estimate memory and speed
Everything on this site is calculated from published model files and hardware specs with the formulas below. Nothing is a measured benchmark yet. When our own measurements arrive, they'll be clearly labelled as measured.
The same weight, KV cache and overhead formulas power the VRAM calculator, which also lets you quantize the KV cache (a Q8_0 cache is 34/64 of the FP16 size, Q4_0 is 18/64; the recurrent state of linear-attention models stays full precision). The buy vs rent calculator does cost arithmetic only, with its assumptions listed on the page.
Data sources
- Models (33): parameter counts from the Hugging Face Hub API (the safetensors metadata of the official repo), plus architecture details from each model's
config.json: layers, attention heads, KV heads, head size, sliding windows, vocabulary and max context. Last refreshed 2026-12-02. For gated official repos we read the identical config from a public mirror. - Hardware (57): VRAM, unified memory configurations and peak memory bandwidth from manufacturer spec pages.
- Parameter counts for multimodal models include their vision or audio encoders, because those weights are loaded too.
1. Weights
We use effective bits per weight for llama.cpp GGUF quants. They're a bit above the nominal number because some tensors stay at higher precision:
| Quant | Bits/weight |
|---|---|
| FP16 | 16 |
| Q8_0 | 8.5 |
| Q6_K | 6.56 |
| Q5_K_M | 5.69 |
| Q4_K_M | 4.85 |
| Q3_K_M | 3.91 |
For models released in their own low-bit format (gpt-oss in MXFP4, DeepSeek R1 in FP8) we use the official file size.
2. KV cache
- Full-attention layers grow with the whole context.
- Sliding-window or chunked layers are capped at their window.
- Linear-attention layers keep a fixed-size state, counted once, in FP32.
- Multi-head latent attention (DeepSeek) stores the compressed latent plus the rotary part per token.
- Layers that reuse another layer's cache aren't counted twice.
We assume the default FP16 cache. An 8-bit cache roughly halves this part.
3. Runtime overhead
This approximates the CUDA/Metal context and the compute buffers llama.cpp allocates for a 512-token batch. It's a rough figure; real overhead varies by runtime and settings.
4. Does it fit?
- Discrete GPUs: usable memory = VRAM.
- Apple Silicon: usable = 2/3 of total memory below 64 GB, 3/4 at 64 GB and up, matching macOS's default GPU memory limit.
- Other unified-memory systems (Ryzen AI Max+ 395, DGX Spark): 3/4 of total.
Fits on GPU when the total is at most 94% of usable memory. Tight fit between 94% and 100%. Partial offload (discrete GPUs only) when the cache and buffers fit on the GPU and the remaining weights fit in system RAM after keeping 6 GB for the OS. Otherwise Won't fit.
Suggested quant: the best of Q8_0 → Q4_K_M (or the official format) that fits fully; then a tight fit; then Q4_K_M with partial offload; then Q3_K_M. We prefer offloading at Q4 over dropping to Q3, because Q3's quality loss is noticeable.
5. Estimated speed
Token generation is mostly limited by how fast the hardware can read memory. Each new token reads the active weights once, plus the KV cache.
For MoE models, active weights = total weight size × active parameters ÷ total parameters.
We show a range using a low and high efficiency (the share of peak bandwidth real runtimes reach):
| Hardware | Efficiency range |
|---|---|
| NVIDIA | 0.5–0.8 |
| AMD | 0.4–0.7 |
| Intel | 0.35–0.6 |
| Apple | 0.35–0.75 |
| System RAM (offloaded layers) | 0.4–0.7 |
System RAM bandwidth: DDR4 dual-channel (3200) 51.2 GB/s; DDR5 dual-channel (5600) 89.6 GB/s. Per-layer overhead: 0.01 ms per layer for dense models and 0.1 ms for MoE models (expert routing).
What these estimates don't cover
- Prompt processing (reading your input before the first token). That's compute-bound and very different between GPUs and Macs.
- Multiple users or batching. Estimates are for one chat at a time.
- Runtime differences. llama.cpp, MLX, vLLM and others vary, and so do driver versions, flash attention and offload strategies.
- Multi-GPU setups. One GPU at a time for now.
Treat every speed as a ballpark range. If you measure something very different, we'd like to hear about it.