How we chose
We sorted popular open models by how much memory they need, because a model that fits your graphics card runs many times faster than one that does not. Memory figures are our estimates at Q4_K_M with an 8,192-token context, from the LLM VRAM calculator. We have not run our own quality tests: within a family, bigger models are generally more capable.
Picks by memory
| Your GPU memory | Model to try | Memory needed (Q4_K_M, 8K) | Max context | License |
|---|---|---|---|---|
| 6–8 GB | Qwen3 4B | 3.7 GB | 32K (131K with YaRN) | Apache 2.0 |
| 8 GB | Qwen3 8B or Llama 3.1 8B | 6.2 GB / 6.0 GB | 32K / 128K | Apache 2.0 / Llama 3.1 Community |
| 12 GB | Phi-4 (14B) or Qwen3 14B | 10.2 GB / 10.4 GB | 16K / 32K | MIT / Apache 2.0 |
| 16 GB | Qwen3 14B with a longer context | 14.4 GB at 32K | 32K | Apache 2.0 |
| 16–24 GB | Mistral Small 3.1 24B | 16.0 GB | 128K | Apache 2.0 |
| 24 GB | Qwen3 32B | 22.2 GB | 32K | Apache 2.0 |
| 48 GB or more | Llama 3.3 70B | 45.5 GB | 128K | Llama 3.3 Community |
16.0 GB for Mistral Small 3.1 is right at the limit of a 16 GB card before the app’s own buffers, so a 20 or 24 GB card is more comfortable.
About each model
- Qwen3 (4B, 8B, 14B, 32B) comes from Alibaba’s Qwen team under the Apache 2.0 license. The model cards list a 32,768-token native context, extendable to 131,072 with YaRN.
- Llama 3.1 8B and Llama 3.3 70B come from Meta under the Llama Community Licenses, which Meta describes as custom commercial licenses. Both list a 128K context.
- Phi-4 is Microsoft’s 14B model under the MIT license, with a 16K context.
- Mistral Small 3.1 is a 24B model under Apache 2.0 with a 128K context and image input. Its card says it fits a single RTX 4090 or a 32 GB Mac once quantized.
For coding, see the best local LLMs for coding. For a wider list of model families and licenses, see best open-source LLMs to run locally.
How to run them
Install LM Studio or Ollama, then search for the model name. In Ollama, for example, ollama run qwen3:8b downloads and starts Qwen3 8B at Q4_K_M.
Sources
- Qwen3 8B model card
- Llama 3.1 8B Instruct model card
- Phi-4 model card
- Mistral Small 3.1 24B model card
- Qwen3 32B model card
- llama.cpp: quantize README (bits per weight)
Questions
What is the best local LLM for 8 GB of VRAM?
An 8B model at Q4_K_M, such as Qwen3 8B (about 6.2 GB with an 8,192-token context) or Llama 3.1 8B (about 6.0 GB). Qwen3 4B leaves more room for a long context.
Is a bigger model always better?
Usually, within the same family: Qwen3 32B is generally stronger than Qwen3 8B. But a smaller model that fits entirely in GPU memory will be far faster than a bigger one that spills into system RAM.
How did you choose these models?
They are popular open models with official Hugging Face pages, published architecture and clear licenses. We sort them by the memory they need, using our VRAM calculator. We have not run our own quality tests.