--- license: cc-by-4.0 language: - en pretty_name: Local LLM memory requirements and hardware fit tags: - local-llm - vram - gpu - hardware - quantization size_categories: - n<1K configs: - config_name: models data_files: models.csv - config_name: hardware data_files: hardware.csv --- # Local LLM memory requirements and hardware fit Two small tables for answering a common question: how much memory does a language model need to run locally, and which graphics cards and unified-memory systems can hold it. - `models.csv` gives an approximate memory figure for five model size classes (7-8B to 120B+) at 4-bit and 8-bit quantization, plus the smallest card and the smallest unified-memory system that holds each one. - `hardware.csv` lists 28 current GPUs, AI accelerators and unified-memory systems with their memory, the share of it treated as usable, memory bandwidth where known, and the largest size class each one holds at 4-bit and 8-bit. A static calculator built on the same rows: https://huggingface.co/spaces/Dunodone/llm-vram-calculator (mirror: https://duno-sudo.github.io/llm-vram-table/). Source on GitHub: https://github.com/Duno-sudo/llm-vram-table ## Method 1. **Weights.** A model's weights take about parameters x bits / 8 bytes. A 70B model at 4 bits is about 35 GB of weights. 2. **Headroom.** Each size-class figure adds 20-30% for the context (the KV cache), runtime buffers and the operating system's share, and is rounded to a conservative figure for the whole class. The 70B class covers 65B to 72B models and is counted at 42 GB at 4-bit. 3. **Usable memory.** On a graphics card or accelerator, 90% of its memory is treated as usable. On a unified-memory system (Apple silicon, Ryzen AI Max+, DGX Spark), 75% is treated as usable, because the operating system keeps part of the shared pool and GPU limits apply. 4. **Fit.** A device holds a size class when its usable memory is at least the class figure. The minimum-memory columns are the class figure divided by 0.9 or 0.75, rounded up to a whole gigabyte. ## Columns ### models.csv | Column | Meaning | |---|---| | `size_class` | Model size class, by parameter count | | `params_min_b`, `params_max_b` | Parameter range the class covers, in billions, inclusive | | `memory_4bit_gb`, `memory_8bit_gb` | Approximate memory needed at 4-bit and 8-bit, in GB, including headroom | | `min_discrete_gb_4bit`, `min_discrete_gb_8bit` | Smallest graphics card or accelerator memory that holds the class (90% usable) | | `min_unified_gb_4bit`, `min_unified_gb_8bit` | Smallest unified-memory system that holds the class (75% usable) | | `example_models` | Well-known open models in the class, for orientation | | `notes` | Assumptions behind the figure | ### hardware.csv | Column | Meaning | |---|---| | `device` | Hardware class: chip or card model plus memory size | | `type` | `discrete GPU`, `discrete accelerator` or `unified memory` | | `memory_gb` | GPU memory, or the unified memory pool, in GB (base configuration) | | `usable_gb` | `memory_gb` x 0.9 (discrete) or x 0.75 (unified), one decimal | | `bandwidth_gbps` | Memory bandwidth in GB/s from the device specification; empty where the source has no figure | | `largest_class_4bit`, `largest_class_8bit` | Largest size class from models.csv the device holds; empty if none | | `notes` | Configuration caveats | ## Limits - These are rules of thumb worked out from model sizes, not measurements of each model on each machine. - Long contexts need more memory, because the KV cache grows with every token the model keeps in view. Serving several users at once needs more again. - Image and video models use memory differently from text models; plan more headroom for them. - Mixture-of-experts models run faster than dense models of the same size, but all of their weights still have to be in memory, so they need the full figure. - The tables cover what fits, not how fast it runs. Once a model fits, generation speed depends mostly on memory bandwidth. - Each card is counted on its own. Two or more cards add their memory together, but splitting a model across them does not double the speed. - Systems with several memory options are counted at their base configuration. Larger configurations hold more. - On Ryzen AI Max+ 395 systems under Windows, the GPU can be given up to 96 GB of the 128 GB; Linux lets you assign more. - There is no 16-bit column. The calculator shows 16-bit as a formula range (weights plus 20-30%), not as a table figure. - Bandwidth is empty for some devices because the source specification does not state it. It is left empty rather than filled from elsewhere. ## How to cite ``` Local LLM memory requirements and hardware fit (2026). Dataset, version 2026-12-04. Licensed CC BY 4.0. {{DATASET_URL}} ``` ## Changelog - **2026-12-04** First release: 5 model size classes, 28 hardware entries, static calculator.