English
EnglishDeutschEspañolالعربية日本語

Local LLM GPU VRAM & Quantization Calculator

Calculate exact GPU VRAM and unified memory required to run 1.5B to 671B open-weight LLMs locally across FP16, INT8 (Q8_0), Q6_K, Q5_K_M and 4-bit (Q4_K_M) quantizations.

21.3 GBTotal VRAM required
18.6 GBModel weights memory
2.8 GBKV cache + overhead
RTX 3090 / RTX 4090 24GB / Mac 32GBRecommended hardware
Model SizeFP16 (16-bit)Q8_0 (8-bit)Q4_K_M (4-bit)Recommended hardware
1.5B4.3 GB2.6 GB1.8 GBRTX 3060 8GB / Mac M1–M4 8GB
3B7.7 GB4.5 GB2.8 GBRTX 3060 8GB / Mac M1–M4 8GB
7B16.9 GB9.3 GB5.5 GBRTX 3060 8GB / Mac M1–M4 8GB
8B19.2 GB10.6 GB6.1 GBRTX 3060 12GB / RTX 4070 12GB / Mac 16GB
14B33.0 GB17.9 GB10.1 GBRTX 3060 12GB / RTX 4070 12GB / Mac 16GB
24B56.0 GB30.1 GB16.8 GBRTX 3090 / RTX 4090 24GB / Mac 32GB
32B74.4 GB39.8 GB22.1 GBRTX 3090 / RTX 4090 24GB / Mac 32GB
70B161.8 GB86.1 GB47.5 GBNVIDIA A100 / H100 80GB / Mac Studio 96GB–128GB
72B166.4 GB88.6 GB48.8 GBNVIDIA A100 / H100 80GB / Mac Studio 96GB–128GB
123B283.7 GB150.7 GB82.8 GBMulti-GPU 4×–8× H100 80GB / Mac Ultra 192GB–512GB
235B541.3 GB287.3 GB157.5 GBMulti-GPU 4×–8× H100 80GB / Mac Ultra 192GB–512GB
405B932.3 GB494.5 GB270.9 GBMulti-GPU 4×–8× H100 80GB / Mac Ultra 192GB–512GB
671B1544.1 GB818.7 GB448.4 GBMulti-GPU 4×–8× H100 80GB / Mac Ultra 192GB–512GB

Frequently asked questions

How do you calculate the GPU VRAM needed to run a local LLM?

Multiply parameter count (in billions) by bytes per weight (2.0 B for FP16/BF16, ~1.05 B for 8-bit Q8_0, ~0.58 B for 4-bit Q4_K_M), then add 12–20% for KV cache context memory and CUDA/Metal activation buffers.

Can a 24 GB GPU like the RTX 3090 or RTX 4090 run a 32B or 70B model?

A 24 GB GPU comfortably runs 32B models in 4-bit quantization (Q4_K_M uses ~19.5 GB weights + ~2.5 GB context = ~22 GB total). A 70B model in Q4_K_M requires ~42–46 GB VRAM, fitting dual 24 GB GPUs or a 64 GB Mac Studio.