How much RAM does a local LLM need?
RAM by model size and by the RAM you have, 16 to 128 GB, plus the exact KV cache per context length for five models, from their config.json.
- The model file is only the start: context, runtime and your operating system need memory on top.
- With a dedicated GPU, RAM and VRAM are separate pools, so 32 GB of RAM plus 8 GB of VRAM is not a shared 40 GB.







