With 4GB of VRAM, 67 of 225 catalog builds have good/excellent reference fits at 4K context. 117 more run by offloading part of the model to system RAM, which works but is slower.
With a 4 GB budget, start with a compact instruct build and a short context. Compare the 3B example below against its actual memory total; the download size alone can hide a cache or runtime allocation that exceeds the budget.
Quantization compresses weights; it does not remove context-cache or runtime costs. Compare the same model at Q4 and Q8 in the calculator, then validate its output on your task. Training and fine-tuning need a different memory budget.
Editorial examples chosen for their documented tasks, all Q4_K_M at 4,096 tokens. Check the verdict before downloading. These are estimates, not benchmark rankings.
Estimated 25% of layers offloaded to GPU (12/48); model does not fully fit in VRAM.
ollama run qwen2.5:14b
After opening Ollama's prompt, enter /set parameter num_ctx 4096 to match this calculation, within the model's supported maximum. Install a current Ollama release that supports the build. Setup and troubleshooting.
Models that fit — largest memory first — for 4GB of VRAM
Heaviest first — each of these has a good/excellent reference fit with 4GB at 4K context, counting weights, KV cache, compute buffers and runtime overhead.
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 an illustrative 8-core/16-thread CPU and 500GB free disk. Available RAM and GPU budget/free memory are unknown. A working Vulkan backend on Windows is assumed; this is a capacity scenario, not a claim that all cards with this much memory have the same support. 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 — 67 of the 225 builds evaluated have good/excellent reference fits with 4GB at 4K context, and 117 more run with part of the model offloaded to system RAM. The heaviest that fits is qwen3-embedding:4b, needing about 3.5 GB.
How should I choose a model for 4GB VRAM?
Choose for your task, then check memory. qwen3-embedding (qwen3-embedding:4b) is the heaviest catalog default that fits this reference budget; its size does not establish answer quality. 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.