CanMyPCRunAILocal AI compatibility

What AI models can you run with 4GB of VRAM?

With 4GB of VRAM, 68 of 228 models from the Ollama library run entirely on the GPU at 4K context. 126 more run by offloading part of the model to system RAM, which works but is slower.

68

run well

126

with trade-offs

228

models tested

Best AI models for 4GB of VRAM

Heaviest first — each of these fits entirely in 4GB at 4K context, counting weights, KV cache, compute buffers and runtime overhead.

Models that fit in 4GB of VRAM
ModelBuildMemory neededVerdict
granite4.23B~3.4 GBGood fit
cogito3B~3.4 GBGood fit
glm-ocrlatest~3.3 GBGood fit
granite-code3B~3.2 GBGood fit
smallthinker3B~3.2 GBGood fit
granite43B~3.2 GBGood fit
granite4.13B~3.2 GBGood fit
hermes33B~3.1 GBGood fit
qwen3.52B~3.0 GBGood fit
qwen3-vl2B~2.9 GBGood fit
starcoder23B~2.9 GBGood fit
dolphin-phi2.7B~2.8 GBGood fit
phi2.7B~2.8 GBGood fit
stablelm-zephyr3B~2.7 GBExcellent fit
stable-code3B~2.7 GBExcellent fit
shieldgemma2B~2.7 GBExcellent fit
gemma22B~2.7 GBExcellent fit
exaone-deep2.4B~2.6 GBExcellent fit
exaone3.52.4B~2.6 GBExcellent fit
gemma2B~2.6 GBExcellent fit
codegemma2B~2.6 GBExcellent fit
granite3-dense2B~2.5 GBExcellent fit
granite3.1-dense2B~2.5 GBExcellent fit
granite3.32B~2.5 GBExcellent fit
granite3.22B~2.5 GBExcellent fit

How this was calculated

Every model is evaluated at 4K context against 4GB of VRAM, minus a reserve for the display and operating system, and assuming 32GB of system RAM with working GPU drivers. Your own machine may differ, which is what the PC scan measures directly.

4GB VRAM and local AI — frequently asked questions

Is 4GB of VRAM enough to run AI models locally?
Yes — 68 of the 228 models tested run entirely on the GPU with 4GB at 4K context, and 126 more run with part of the model offloaded to system RAM. The heaviest that fits is granite4.2:3b, needing about 3.4 GB.
What is the best AI model for 4GB VRAM?
For maximum capability, granite4.2 (granite4.2:3b) is the heaviest build that still fits entirely in 4GB. Smaller models leave headroom for a longer context window, which often matters more than raw parameter count.
Which graphics cards have 4GB of VRAM?
Several cards ship with 4GB of VRAM across NVIDIA and AMD ranges.

Other VRAM amounts