will it run?
Pick a machine and a model. See if it fits in memory, where the memory goes, and roughly how fast it can go. Every number shows its math.
It fits.
| Weights | |
|---|---|
| KV cache | |
| Overhead | |
| Total | |
| Room for a model | |
| Speed ceiling | with an empty context with the context full |
The speed is an upper bound from memory bandwidth. Real speed is lower: compute, the attention over the context and the software all take a share.
The math
Link to this result: this page
Every model at 4-bit, with 32k of context
26 open-weight models, worked out with the same math. “Fits” means a machine with that much shared memory running Linux or Windows, keeping 8 GB for the system. The ceiling assumes 256 GB/s, the bandwidth of AMD's Ryzen AI Max+ 395. Pick a model's name to load it above.
| Model | Parameters | 4-bit file | KV cache | Total | 32 GB | 64 GB | 128 GB | Ceiling at 256 GB/s |
|---|---|---|---|---|---|---|---|---|
| Llama 3.1 8B Instruct | 8B | 4.9 GB | 4.3 GB | 10.5 GB | fits | fits | fits | 52 tok/s |
| Qwen3 8B | 8.2B | 5.0 GB | 4.8 GB | 11.1 GB | fits | fits | fits | 51 tok/s |
| Qwen3.5 9B | 9.7B | 5.7 GB | 1.1 GB | 8.0 GB | fits | fits | fits | 45 tok/s |
| Gemma 4 12B | 12B | 7.1 GB | 0.9 GB | 9.3 GB | fits | fits | fits | 36 tok/s |
| Qwen3 14B | 14.8B | 9.0 GB | 5.4 GB | 15.8 GB | fits | fits | fits | 28 tok/s |
| Phi-4 14B | 14.7B | 8.9 GB | 6.7 GB | 17.0 GB | fits | fits | fits | 29 tok/s |
| Mistral Small 3.2 24B | 24B | 14.3 GB | 5.4 GB | 21.4 GB | fits | fits | fits | 18 tok/s |
| Gemma 3 27B | 27.4B | 16.6 GB | 3.1 GB | 21.5 GB | fits | fits | fits | 15 tok/s |
| Qwen3.6 27B | 27.8B | 16.8 GB | 2.1 GB | 20.8 GB | fits | fits | fits | 15 tok/s |
| Qwen3.8 27B | 27.8B | 16.6 GB Unsloth Dynamic | 2.1 GB | 20.5 GB | fits | fits | fits | 15 tok/s |
| Gemma 4 31B | 31.3B | 18.3 GB | 3.5 GB | 23.8 GB | tight | fits | fits | 14 tok/s |
| Qwen3 32B | 32.8B | 19.8 GB | 8.6 GB | 30.3 GB | no | fits | fits | 13 tok/s |
| Llama 3.3 70B Instruct | 70.6B | 42.5 GB | 10.7 GB | 56.4 GB | no | no | fits | 6 tok/s |
| gpt-oss-20b | 20.9B, 3.6B active | 12.1 GB MXFP4 | 0.8 GB | 14.5 GB | fits | fits | fits | 123 tok/s |
| Gemma 4 26B A4B | 25.8B, 3.8B active | 16.9 GB Unsloth Dynamic | 0.9 GB | 19.7 GB | fits | fits | fits | 103 tok/s |
| Qwen3 30B A3B Instruct 2507 | 30.5B, 3.3B active | 18.6 GB | 3.2 GB | 23.7 GB | tight | fits | fits | 127 tok/s |
| Qwen3 Coder 30B A3B | 30.5B, 3.3B active | 18.6 GB | 3.2 GB | 23.7 GB | tight | fits | fits | 127 tok/s |
| GLM-4.7-Flash | 31.2B, 3B active | 18.3 GB | 1.8 GB | 22.0 GB | tight | fits | fits | 145 tok/s |
| Qwen3.6 35B A3B | 36B, 3B active | 22.1 GB Unsloth Dynamic | 0.7 GB | 24.9 GB | no | fits | fits | 139 tok/s |
| Qwen3 Coder Next 80B A3B | 79.7B, 3B active | 48.5 GB | 0.8 GB | 52.8 GB | no | tight | fits | 140 tok/s |
| GLM-4.5-Air | 110.5B, 12B active | 73.0 GB | 6.2 GB | 83.8 GB | no | no | fits | 32 tok/s |
| gpt-oss-120b | 116.8B, 5.1B active | 63.4 GB MXFP4 | 1.2 GB | 68.8 GB | no | no | fits | 92 tok/s |
| Mistral Small 4 119B | 119.4B, 6.5B active | 73.8 GB Unsloth Dynamic | 0.8 GB | 79.2 GB | no | no | fits | 64 tok/s |
| Nemotron 3 Super 120B A12B | 123.6B, 12B active | 82.5 GB Unsloth Dynamic | 0.3 GB | 87.9 GB | no | no | fits | 32 tok/s |
| Qwen3 235B A22B Instruct 2507 | 235.1B, 22B active | 142 GB | 6.3 GB | 157 GB | no | no | no | 19 tok/s |
| MiniMax M2.5 | 228.7B, 10B active | 138 GB | 8.3 GB | 155 GB | no | no | no | 42 tok/s |
Checked 2026-11-30. Sizes are the GGUF files on Hugging Face, text only, without the separate vision file some models have. Download the model data as CSV.
How it works
Weights. The size of the actual GGUF file you would download, read from its Hugging Face repo. No rule of thumb.
KV cache. While a model reads and writes, it keeps keys and values for every token in the context. Its size comes from the model's own config.json: layers, KV heads and head size, times the context, times 2 bytes. Newer models need much less than a flat estimate suggests. Gemma and gpt-oss keep most layers on a short sliding window. Qwen3.5 and later, Qwen3 Coder Next and Nemotron 3 replace most attention layers with linear or Mamba layers that keep a small fixed state. GLM-4.7-Flash and Mistral Small 4 store one compressed latent per layer.
Overhead. 1 GB plus 5 percent of the weights, for the runtime and its working buffers. Real numbers depend on the software and batch size.
Room for a model. Not all memory can hold a model. A graphics card keeps a little for the driver. macOS lets the graphics side use about three quarters of memory on machines over 36 GB, and about two thirds on smaller ones, unless you raise the limit with sysctl iogpu.wired_limit_mb. On a shared-memory PC running Linux or Windows we keep 8 GB for the system.
Speed. Writing each new token means reading the weights it uses once, so memory bandwidth sets a ceiling: bandwidth divided by the bytes read per token. A mixture-of-experts model is the reason big models can be quick at home: it needs memory for all its parameters but reads only the active ones for each token. gpt-oss-120b holds 117B parameters and reads about 5B per token. As the context fills, the cache is read for every token too, so long chats slow down.
For how much memory each model size needs in general, read how much memory you need to run AI locally. For the abliterated versions of these models and what fits where, see the abliterated models table.
Sources
Models: 26 config files and GGUF repos
- Llama 3.1 8B Instruct: config.json, model card, unsloth/Llama-3.1-8B-Instruct-GGUF, bartowski/Meta-Llama-3.1-8B-Instruct-GGUF. Meta's repo is gated; the config was read from Unsloth's ungated copy.
- Qwen3 8B: config.json, model card, unsloth/Qwen3-8B-GGUF. 32,768 tokens native per the model card, 131,072 with YaRN.
- Qwen3.5 9B: config.json, model card, unsloth/Qwen3.5-9B-GGUF. 24 of its 32 layers are Gated DeltaNet (linear attention) with a fixed-size state, so only 8 layers keep a KV cache.
- Gemma 4 12B: config.json, model card, unsloth/gemma-4-12b-it-GGUF. 40 sliding-window layers (1,024 tokens) and 8 global layers. Global layers share keys and values; we count both, so the cache figure is an upper bound.
- Qwen3 14B: config.json, model card, unsloth/Qwen3-14B-GGUF. 32,768 tokens native per the model card, 131,072 with YaRN.
- Phi-4 14B: config.json, model card, unsloth/phi-4-GGUF. head_dim is hidden_size / num_attention_heads = 5120 / 40 = 128.
- Mistral Small 3.2 24B: config.json, model card, unsloth/Mistral-Small-3.2-24B-Instruct-2506-GGUF.
- Gemma 3 27B: config.json, model card, unsloth/gemma-3-27b-it-GGUF. Google's repo is gated; the config was read from Unsloth's ungated copy. 5 of every 6 layers use a 1,024-token sliding window.
- Qwen3.6 27B: config.json, model card, unsloth/Qwen3.6-27B-GGUF. 48 of its 64 layers are Gated DeltaNet (linear attention) with a fixed-size state, so only 16 layers keep a KV cache.
- Qwen3.8 27B: config.json, model card, unsloth/Qwen3.8-27B-GGUF. 48 of its 64 layers are Gated DeltaNet (linear attention) with a fixed-size state, so only 16 layers keep a KV cache.
- Gemma 4 31B: config.json, model card, unsloth/gemma-4-31B-it-GGUF. 50 sliding-window layers (1,024 tokens) and 10 global layers. Global layers share keys and values; we count both, so the cache figure is an upper bound.
- Qwen3 32B: config.json, model card, unsloth/Qwen3-32B-GGUF. 32,768 tokens native per the model card, 131,072 with YaRN.
- Llama 3.3 70B Instruct: config.json, model card, unsloth/Llama-3.3-70B-Instruct-GGUF. Meta's repo is gated; the config was read from Unsloth's ungated copy.
- gpt-oss-20b: config.json, model card, ggml-org/gpt-oss-20b-GGUF. Released in MXFP4: the experts are already 4-bit, so other quants barely change the size. Half the layers use a 128-token sliding window.
- Gemma 4 26B A4B: config.json, model card, unsloth/gemma-4-26B-A4B-it-GGUF. 128 experts, 8 active plus 1 shared. Global layers share keys and values; we count both, so the cache figure is an upper bound.
- Qwen3 30B A3B Instruct 2507: config.json, model card, unsloth/Qwen3-30B-A3B-Instruct-2507-GGUF. 128 experts, 8 active.
- Qwen3 Coder 30B A3B: config.json, model card, unsloth/Qwen3-Coder-30B-A3B-Instruct-GGUF. 128 experts, 8 active.
- GLM-4.7-Flash: config.json, model card, unsloth/GLM-4.7-Flash-GGUF. The model card calls it 30B-A3B. Uses multi-head latent attention: the cache holds a 512-wide latent plus a 64-wide rotary key per layer.
- Qwen3.6 35B A3B: config.json, model card, unsloth/Qwen3.6-35B-A3B-GGUF. 256 experts, 8 routed plus 1 shared active. 30 of its 40 layers are Gated DeltaNet (linear attention) with a fixed-size state, so only 10 layers keep a KV cache.
- Qwen3 Coder Next 80B A3B: config.json, model card, unsloth/Qwen3-Coder-Next-GGUF. 512 experts, 10 active. Every fourth layer is full attention (12 of 48); the rest are linear attention with a fixed-size state.
- GLM-4.5-Air: config.json, model card, unsloth/GLM-4.5-Air-GGUF. The model card gives 106B total, 12B active.
- gpt-oss-120b: config.json, model card, ggml-org/gpt-oss-120b-GGUF. Released in MXFP4: the experts are already 4-bit. Half the layers use a 128-token sliding window.
- Mistral Small 4 119B: config.json, model card, unsloth/Mistral-Small-4-119B-2603-GGUF. 128 experts, 4 active. Uses multi-head latent attention: a 256-wide latent plus a 64-wide rotary key per layer.
- Nemotron 3 Super 120B A12B: config.json, model card, unsloth/NVIDIA-Nemotron-3-Super-120B-A12B-GGUF. 40 Mamba-2 layers with a fixed-size state; only 8 of 88 layers are attention.
- Qwen3 235B A22B Instruct 2507: config.json, model card, unsloth/Qwen3-235B-A22B-Instruct-2507-GGUF. 128 experts, 8 active.
- MiniMax M2.5: config.json, model card, unsloth/MiniMax-M2.5-GGUF. Active parameters (10B) are from the MiniMax-M2 card; M2.5 has the same config (62 layers, 256 experts, 8 active).
Machines: memory bandwidth
- Apple M6, 16 GB: 153 GB/s, source.
- Apple M6, 24 GB: 170 GB/s, source.
- Apple M6, 32 GB: 170 GB/s, source.
- Apple M5 Pro, 24 GB: 307 GB/s, source.
- Apple M5 Pro, 48 GB: 307 GB/s, source.
- Apple M5 Pro, 64 GB: 307 GB/s, source.
- Apple M5 Max (32-core GPU), 36 GB: 460 GB/s, source.
- Apple M5 Max (40-core GPU), 64 GB: 614 GB/s, source.
- Apple M5 Max (40-core GPU), 128 GB: 614 GB/s, source.
- Apple M5 Ultra, 96 GB: 1,200 GB/s, source.
- Apple M5 Ultra, 256 GB: 1,200 GB/s, source.
- Apple M5 Ultra, 512 GB: 1,200 GB/s, source.
- AMD Ryzen AI Max+ 395 (Strix Halo), 64 GB: 256 GB/s, source. 256-bit LPDDR5X-8000: 8,000 MT/s x 32 bytes = 256 GB/s.
- AMD Ryzen AI Max+ 395 (Strix Halo), 128 GB: 256 GB/s, source. 256-bit LPDDR5X-8000: 8,000 MT/s x 32 bytes = 256 GB/s.
- NVIDIA DGX Spark, 128 GB: 273 GB/s, source.
- NVIDIA RTX 3060, 12 GB: 360 GB/s, source.
- NVIDIA RTX 3090, 24 GB: 936 GB/s, source.
- NVIDIA RTX 4090, 24 GB: 1,008 GB/s, source.
- NVIDIA RTX 5090, 32 GB: 1,792 GB/s, source.
The data is free to reuse under CC BY 4.0 with a link to this page. Every number is checked by hand and dated.
Made by Grunz. We build a box that runs these models offline at home. grunzai.com