Best LLMs for 4GB VRAM

With 4 GB of VRAM you can run models up to Gemma 4 E2B (5.1B) at Q4_K_M with an 8K context. 7 of 58 tracked models fit fully, and 2 more fit at a lower quantization.

Updated October 14, 2026 · 6% safety margin · FP16 KV cache

Models that fit in 4 GB

ModelVRAM at 8KBest quant that fitsMax context at Q4
Gemma 4 E2B4.0 GBIQ4_XS–
Gemma 3 4B3.7 GBQ4_K_M9K
Qwen 3.5 4B3.7 GBQ4_K_M10K
Ministral 3 3B3.5 GBQ4_K_M10K
Llama 3.2 3B3.5 GBQ4_K_M10K
Llama 3.2 1B1.7 GBFP16 / BF1673K
Gemma 3 1B1.6 GBFP16 / BF1632K

Fits at a lower quantization

These need more than 4 GB at Q4_K_M but fit at a smaller format, with more quality loss.

ModelVRAM at Q4_K_MFits at
Qwen 3 4B4.2 GBQ2_K
Phi-4 Mini4.1 GBQ3_K_M

Image and video models

Best weight precision that fits 4 GB with model swapping.

ModelBest precision
Stable Diffusion 1.5FP16 / BF16
SDXL 1.0Needs offloading or more VRAM
Stable Diffusion 3.5 MediumNeeds offloading or more VRAM
Stable Diffusion 3.5 LargeNeeds offloading or more VRAM
FLUX.1 [dev]Needs offloading or more VRAM
FLUX.1 [schnell]Needs offloading or more VRAM
Qwen-ImageNeeds offloading or more VRAM
Wan 2.2 A14B (T2V / I2V)Needs offloading or more VRAM
Wan 2.2 TI2V 5BNeeds offloading or more VRAM
HunyuanVideoNeeds offloading or more VRAM
FLUX.1 Kontext [dev]Needs offloading or more VRAM
FLUX.2 [dev]Needs offloading or more VRAM
Z-Image TurboNeeds offloading or more VRAM
Qwen-Image-Edit 2509Needs offloading or more VRAM
LTX-2Needs offloading or more VRAM

4 GB VRAM: common questions

Is 4 GB of VRAM enough for local LLMs?

Yes for models up to about 5.1B at Q4_K_M with 8K context. 4 GB fits 7 of the 58 models tracked here, including Gemma 4 E2B, Gemma 3 4B, Qwen 3.5 4B.

What is the biggest model 4 GB can run?

Gemma 4 E2B (5.1B) at Q4_K_M with 8K context, using about 4.0 GB. Qwen 3 4B also fits at Q2_K, with some quality loss.

Is 4 GB enough for Flux and SDXL?

SDXL: Needs offloading or more VRAM. FLUX.1 dev: Needs offloading or more VRAM (best precision that fits with model swapping).

Other VRAM sizes