Best Local LLMs (by GPU / RAM Size) (2026)
The best open-weight LLMs to run on your own computer with Ollama, LM Studio or llama.cpp — ranked by capability, with the memory each one needs.
As of Nov 22, 2026, the best local llms (by gpu / ram size) is Qwen3.8 27B by Alibaba (Qwen), followed by Qwen3.6 27B and Gemma 4 31B IT. Open-weight chat, reasoning and code models released since 2025 with up to 130B parameters, ranked by Epoch Capabilities Index and Hugging Face downloads. Memory figures assume 4-bit (Q4_K_M) quantization.
Best local LLMs by memory (Nov 2026)
| GPU VRAM / unified memory | Best models that fit (4-bit) |
|---|---|
| 8 GB | Qwen3.5 9B (9.7B, ~8 GB), Qwen3 8B (8.2B, ~7 GB), Qwen/Qwen3.5-4B (4.7B, ~5 GB), Gemma 3 4B IT (4.3B, ~4 GB) |
| 16 GB | Qwen3.5 9B (9.7B, ~8 GB), GPT OSS 20B (21B, ~14 GB), Qwen3 14B (15B, ~10 GB), Qwen3 8B (8.2B, ~7 GB) |
| 24 GB | Qwen3.8 27B (28B, ~18 GB), Qwen3.6 27B (28B, ~18 GB), Gemma 4 31B IT (31B, ~20 GB), Qwen3.6 35B-A3B (36B, ~22 GB) |
| 32 GB | Qwen3.8 27B (28B, ~18 GB), Qwen3.6 27B (28B, ~18 GB), Gemma 4 31B IT (31B, ~20 GB), Qwen3.6 35B-A3B (36B, ~22 GB) |
| 48 GB | Gemma 4 31B IT (31B, ~20 GB), Qwen3.6 35B-A3B (36B, ~22 GB), Qwen3.5 35B-A3B (36B, ~22 GB), Qwen3 32B (33B, ~21 GB) |
| 64 GB | Llama 4 Scout (109B, ~64 GB), Qwen3 Coder Next (80B, ~47 GB), Qwen3-Next 80B-A3B Instruct (81B, ~48 GB), Qwen3-Next 80B-A3B (Thinking) (81B, ~48 GB) |
| 96 GB | GPT OSS 120B (117B, ~69 GB), Mistral Medium 3.5 (128B, ~75 GB), Llama 4 Scout (109B, ~64 GB), Qwen3.5 122B-A10B (125B, ~73 GB) |
| 128 GB | GPT OSS 120B (117B, ~69 GB), Mistral Medium 3.5 (128B, ~75 GB), Llama 4 Scout (109B, ~64 GB), Qwen3.5 122B-A10B (125B, ~73 GB) |
Memory ≈ 0.57 GB per billion parameters at Q4_K_M plus ~1.5 GB for context. Longer contexts and higher-precision builds need more.
Best Local LLMs (by GPU / RAM Size): full ranking
| # | Model | Provider | Params | Memory (Q4) | Context | License | HF downloads |
|---|---|---|---|---|---|---|---|
| 1 | Qwen3.8 27Bopen | Alibaba (Qwen) | 28B | ~18 GB | 1M | apache-2.0 | 6.3M |
| 2 | Qwen3.6 27Bopen | Alibaba (Qwen) | 28B | ~18 GB | 256K | apache-2.0 | 2.4M |
| 3 | Gemma 4 31B ITopen | Google DeepMind | 31B | ~20 GB | 256K | apache-2.0 | 5.8M |
| 4 | Qwen3.6 35B-A3Bopen | Alibaba (Qwen) | 36B (3B act.) | ~22 GB | 256K | apache-2.0 | 3.6M |
| 5 | Qwen3.5 35B-A3Bopen | Alibaba (Qwen) | 36B (3B act.) | ~22 GB | 256K | apache-2.0 | 1.3M |
| 6 | Gemma 4 26B A4B ITopen | Google DeepMind | 26B (4B act.) | ~17 GB | 256K | apache-2.0 | 4.8M |
| 7 | GPT OSS 120Bopen | OpenAI | 117B | ~69 GB | 128K | apache-2.0 | 2.3M |
| 8 | Qwen3.5 9Bopen | Alibaba (Qwen) | 9.7B | ~8 GB | 256K | apache-2.0 | 6.3M |
| 9 | Qwen3 32Bopen | Alibaba (Qwen) | 33B | ~21 GB | 128K | apache-2.0 | 3.8M |
| 10 | GPT OSS 20Bopen | OpenAI | 21B | ~14 GB | 128K | apache-2.0 | 5.6M |
| 11 | Mistral Medium 3.5open | Mistral AI | 128B | ~75 GB | 256K | Open (restricted) | — |
| 12 | Qwen3 30B A3Bopen | Alibaba (Qwen) | 31B (3B act.) | ~19 GB | 40K | apache-2.0 | 1.1M |
| 13 | Qwen3 14Bopen | Alibaba (Qwen) | 15B | ~10 GB | 128K | apache-2.0 | 13M |
| 14 | Qwen3 8Bopen | Alibaba (Qwen) | 8.2B | ~7 GB | 128K | apache-2.0 | 6.1M |
| 15 | Qwq 32Bopen | Alibaba (Qwen) | 33B | ~21 GB | 24K | apache-2.0 | 29K |
| 16 | Gemma 3 27B ITopen | Google DeepMind | 27B | ~18 GB | 128K | gemma | 260K |
| 17 | Llama 4 Scoutopen | Meta | 109B | ~64 GB | 320K | other | 111K |
| 18 | Qwen3.5 27Bopen | Alibaba (Qwen) | 28B | ~18 GB | 256K | apache-2.0 | 1.6M |
| 19 | Qwen3.5 122B-A10Bopen | Alibaba (Qwen) | 125B (10B act.) | ~73 GB | 256K | apache-2.0 | 626K |
| 20 | Qwen3-Coder 30B-A3B Instructopen | Alibaba (Qwen) | 31B (3B act.) | ~19 GB | 256K | apache-2.0 | 2M |
| 21 | Qwen3 Coder Nextopen | Alibaba (Qwen) | 80B | ~47 GB | 256K | apache-2.0 | 337K |
| 22 | Qwen3 30B-A3B Instruct 2507open | Alibaba (Qwen) | 31B (3B act.) | ~19 GB | 256K | apache-2.0 | 670K |
| 23 | Qwen3-Next 80B-A3B Instructopen | Alibaba (Qwen) | 81B (3B act.) | ~48 GB | 128K | apache-2.0 | 126K |
| 24 | Qwen/Qwen3.5-4Bopen | Alibaba (Qwen) | 4.7B | ~5 GB | 256K | apache-2.0 | 4.1M |
| 25 | Gemma 3 12B ITopen | Google DeepMind | 12B | ~9 GB | 128K | gemma | 406K |
Top picks explained
1. Qwen3.8 27B
Qwen3.8 27B is an open-weight reasoning llm from Alibaba (Qwen), released Aug 14, 2026. It has 28B parameters, a 1M-token context window and accepts text, image, video input. API pricing starts at $0.035 per million input tokens and $1.50 per million output tokens. It is available from 72 API providers. It scores 152.6 on the Epoch Capabilities Index.
2. Qwen3.6 27B
Qwen3.6 27B is an open-weight reasoning llm from Alibaba (Qwen), released Apr 22, 2026. It has 28B parameters, a 256K-token context window and accepts text, image, video input. API pricing starts at $0.6 per million input tokens and $3.60 per million output tokens. It is available from 29 API providers. It scores 146.7 on the Epoch Capabilities Index.
3. Gemma 4 31B IT
Gemma 4 31B IT is an open-weight reasoning llm from Google DeepMind, released Apr 2, 2026. It has 31B parameters, a 256K-token context window and accepts text, image, video input. It can be used for free via API. It is available from 51 API providers. It scores 144.1 on the Epoch Capabilities Index.
4. Qwen3.6 35B-A3B
Qwen3.6 35B-A3B is an open-weight reasoning llm from Alibaba (Qwen), released Apr 17, 2026. It has 36B total parameters (3B active per token, mixture-of-experts), a 256K-token context window and accepts text, image, video input. API pricing starts at $0.375 per million input tokens and $2.25 per million output tokens. It is available from 44 API providers. It scores 144.1 on the Epoch Capabilities Index.
5. Qwen3.5 35B-A3B
Qwen3.5 35B-A3B is an open-weight reasoning llm from Alibaba (Qwen), released Feb 23, 2026. It has 36B total parameters (3B active per token, mixture-of-experts), a 256K-token context window and accepts text, image, video input. API pricing starts at $0.25 per million input tokens and $2 per million output tokens. It is available from 24 API providers. It scores 144.1 on the Epoch Capabilities Index.
Head-to-head
Methodology
Open-weight chat, reasoning and code models released since 2025 with up to 130B parameters, ranked by Epoch Capabilities Index and Hugging Face downloads. Memory figures assume 4-bit (Q4_K_M) quantization. Benchmark scores come from the Epoch AI Benchmarking Hub; prices are list prices per million tokens from the model's own provider or the cheapest major host. More on our methodology.
Other rankings
- Best LLM for Coding
- Best Reasoning Model
- Best LLM for Math
- Best Open-Source LLM
- Cheapest LLM APIs
- Best Free LLMs
- Best Long-Context LLMs
- Best Small LLMs (Local & On-Device)
- Best Vision LLMs (Multimodal)
- Best LLM for AI Agents & Tool Calling
- Best Uncensored & Abliterated LLMs (No Filter)
- Best Chinese LLMs
- Best European LLMs
- Best Ollama Models
- Best LLM API Overall
- Best Embedding Models
- Best LLM for RAG
- Best Audio & Speech Models
FAQ
What is the best local llms (by gpu / ram size)?
As of Nov 22, 2026, the best local llms (by gpu / ram size) is Qwen3.8 27B by Alibaba (Qwen), followed by Qwen3.6 27B and Gemma 4 31B IT. Open-weight chat, reasoning and code models released since 2025 with up to 130B parameters, ranked by Epoch Capabilities Index and Hugging Face downloads. Memory figures assume 4-bit (Q4_K_M) quantization.
What is the best local LLM?
The best local LLM is the strongest open-weight model that fits in your GPU or unified memory. See the table by memory size above: each tier lists the top-ranked models that fit at 4-bit quantization.
How much RAM do I need to run an LLM locally?
At 4-bit quantization a model needs roughly 0.6 GB per billion parameters plus 1–2 GB for context: about 6 GB for an 8B model, 18 GB for 27–30B, and 42 GB for 70B. Mixture-of-experts models need memory for all parameters, not just the active ones.
Which tools can run local LLMs?
Ollama, LM Studio and llama.cpp run quantized GGUF models on Mac, Windows and Linux. vLLM and SGLang are better for serving models on GPUs.