Best Local LLM for 6GB VRAM (2026): Qwen3.5 9B at 3-Bit
Amazon affiliate links. We earn a small commission at no cost to you.
On a 6GB card, run Qwen3.5 9B at UD-IQ3_XXS. The 3.74 GiB file leaves room for 32K of context with a Q8 cache. If you have 32GB of system RAM, Qwen3.6 35B-A3B with every expert in RAM is the stronger model: one tester measured 28.1 tok/s using 2.5 GB of VRAM.
Jump to 10 sections
Bottom Line
- Best LLM for 6GB VRAM: Qwen3.5 9B at UD-IQ3_XXS. Unsloth’s file is 3.74 GiB. It leaves room for 32K of context with a Q8 cache (about 4.32 GiB in total).
- Safe alternative: Qwen3.5 4B at Q6_K (3.28 GiB) with 32K of context at full precision. It is the smaller model at higher precision.
- Stronger, if you have 32GB of system RAM: Qwen3.6 35B-A3B with every expert in RAM. One tester measured 28.1 tok/s using 2.5 GB of VRAM (community-reported).
- “Gemma 4 26B on 6GB” is real but narrow. The MAPLE build is a 4.42 GiB file. Its README runs it at a 2,048-token context, and it was pruned for coding prompts.
- Do not buy a 6GB card for local AI. As of November 2026 a used RTX 3060 12GB averages $353.
Ready to upgrade? See the tested hardware list with current prices.
How Much of a 6GB Card You Can Use
A “6GB” card has 6 GiB of memory: 6,144 MiB. The model cannot use all of it.
- Driver and CUDA context: one RTX 3060 owner reports 378 MB reserved by the Linux driver on a headless card (llama.cpp discussion #15396, community-reported). We assume about 0.4 GiB.
- Compute buffers: llama.cpp allocates scratch memory for each batch. We assume about 1 GiB at default batch sizes. This is our assumption, not a measurement. A smaller
-ublowers it. - Your desktop: if a monitor runs on the same card, Windows or your compositor takes more. Run
nvidia-smibefore you load a model and subtract what it shows. Most laptops with a 6GB GPU drive the screen from the integrated GPU, so the dGPU stays close to headless.
That leaves about 4.6 GiB for weights plus KV cache. Every “fits” verdict on this page uses that budget. On a card that also drives your desktop, plan for about 4 GiB.
Common 6GB cards: the desktop RTX 3050 6GB (GDDR6, 96-bit, 70 W per NVIDIA’s spec table) and the RTX 4050 Laptop GPU, the target card of the MAPLE build below. They hold the same files. They differ in speed.
What Fits in 6GB VRAM
Every file size is a byte count from the Hugging Face API, read 2026-11-09. GiB = 230 bytes. Totals include weights, the fixed linear-attention state (about 0.05 GiB) and the KV cache.
| Model | File | Size (GiB) | Context in ~4.6 GiB | Verdict |
|---|---|---|---|---|
| Qwen3.5 9B | UD-IQ3_XXS (Unsloth) | 3.74 | 32K Q8 (4.32 total), or 16K f16 (4.29) | Best pick |
| Qwen3.5 9B | Q3_K_S (Unsloth) | 4.02 | 16K f16 (4.57 total) | Fits, shorter context |
| Qwen3.5 9B | Q3_K_M (Unsloth) | 4.35 | 8K Q8 (4.53 total) | Tight |
| Qwen3.5 9B | IQ4_XS (Unsloth) | 4.81 | None | Over budget |
| Qwen3.5 4B | Q6_K (Unsloth) | 3.28 | 32K f16 (4.33 total) | Safe alternative |
| Qwen3.5 4B | Q4_K_M (Unsloth) | 2.55 | 64K f16 (4.60 total) | Longest context |
| Qwen3.5 4B | Q8_0 (Unsloth) | 4.17 | 8K f16 (4.47 total) | Near-lossless, short context |
| Gemma 4 E4B | Q3_K_M (Unsloth) | 3.78 | About 0.8 GiB free for cache | Fits; context not sized here |
| Gemma 4 E4B | QAT Q4_0 (Google) | 4.80 | None | Over budget |
| Gemma 4 26B-A4B MAPLE | IQ2_XXS, 48 of 128 experts | 4.42 | README uses 2,048 | Coding only, short context |
| gpt-oss 20B | Q2_K (Unsloth), smallest | 10.68 | None on GPU | Use --n-cpu-moe |
| Qwen3.6 35B-A3B | UD-Q4_K_M (Unsloth) | 20.61 | Experts in system RAM | 28.1 tok/s at 2.5 GB VRAM (community) |
Why Qwen3.5 9B at 3 bits wins
The 9B is clearly the stronger model. Qwen’s model card scores Qwen3.5 9B against Qwen3.5 4B at full precision:
| Benchmark (Qwen model card) | Qwen3.5 9B | Qwen3.5 4B |
|---|---|---|
| MMLU-Pro | 82.5 | 79.1 |
| GPQA Diamond | 81.7 | 76.2 |
| LiveCodeBench v6 | 65.6 | 55.8 |
| IFEval | 91.5 | 89.8 |
On 6GB you cannot run the 9B at 4 bits with useful context, so the choice is a 9B at about 3 bits against a 4B at 6 bits. A 3-bit file loses some quality. Nobody has published that loss for this model, and we did not measure it. Our pick rests on the size of the gap: 9.8 points on LiveCodeBench is larger than the loss a 3-bit IQ file usually shows. Check it on your own prompts with the method below. If the 9B makes mistakes the 4B does not, switch.
Both models share one cache layout. The config.json for Qwen3.5 4B and 9B lists 32 layers with full attention on every 4th layer, 4 KV heads and a head dimension of 256. Only 8 layers keep a cache that grows.
2 (K and V) x 8 layers x 4 KV heads x 256 head_dim x 2 bytes = 32 KiB per token (f16) Q8 cache: about 17 KiB per token 32K context: 1.0 GiB at f16, about 0.53 GiB at Q8
This is our arithmetic from the published config. Compare each total with the 4.6 GiB budget above.
Skip the vision projector. Unsloth’s mmproj-F16 file adds 0.86 GiB for the 9B and 0.63 GiB for the 4B. On 6GB that costs most of your context.
How to run it
llama-server -hf unsloth/Qwen3.5-9B-GGUF:UD-IQ3_XXS \ --jinja -ngl 99 -fa on -c 32768 \ --cache-type-k q8_0 --cache-type-v q8_0
If the model fails to load, drop -c to 16384 or add -ub 256 to shrink the compute buffer. For the 4B, use unsloth/Qwen3.5-4B-GGUF:Q6_K and remove the two cache flags.
Find your own number. The fit math above is the same on every 6GB card. The speed and the 3-bit quality loss are not. Run llama-bench -m <file> -ngl 99 for speed. For quality, run llama-perplexity --kl-divergence against a higher-precision file on a machine that holds it. Numbers from other machines do not transfer to yours.
The Strongest Option: Qwen3.6 35B-A3B With Experts in RAM
Qwen3.6 35B-A3B is a mixture-of-experts model. Only about 3B parameters fire per token, so the expert weights can live in system RAM while the GPU holds attention and the cache. llama.cpp’s --n-cpu-moe N keeps the experts of N layers on the CPU.
InsiderLLM swept this flag on an RTX 3060 12GB with 32GB of DDR4 and Unsloth’s 20.61 GiB UD-Q4_K_M file (source, firsthand, community-reported, re-read 2026-11-09):
--n-cpu-moe | Expert layers on GPU | VRAM used | tok/s (empty context) | Fits 6GB? |
|---|---|---|---|---|
| 40 (all in RAM) | 0 of 40 | 2.5 GB | 28.1 | Yes |
| 32 | 8 of 40 | 6.1 GB | 31.8 | No |
| 24 | 16 of 40 | 9.8 GB | 38.9 | No |
The test card has 12GB, but the first row uses 2.5 GB. Our inference: a 6GB card with similar system RAM runs -ncmoe 40 at about the same speed, because system RAM sets the pace when every expert is on the CPU. A value between 32 and 40 may fit a headless 6GB card and run a little faster; nobody has published that row. You need at least 32GB of system RAM for the 20.61 GiB file.
llama-server -hf unsloth/Qwen3.6-35B-A3B-GGUF:UD-Q4_K_M \ --jinja -ngl 99 -fa on -c 32768 --n-cpu-moe 40
Full flag guide: llama.cpp MoE offload flags explained.
Gemma 4 26B on 6GB: What the MAPLE Build Really Is
MAPLE is a pruning method that a single researcher published on GitHub on 2026-11-07, with a llama.cpp showcase post the next day. Its Gemma 4 26B-A4B build drops 80 of the 128 experts and quantizes the rest to IQ2_XXS. The file is 4,745,987,168 bytes (4.42 GiB). Unsloth’s smallest stock quant of the same model, UD-IQ2_XXS, is about twice that size.
The README reports 45.4 tok/s fully in VRAM on an RTX 4050 6GB, against 6.9 tok/s when the unpruned model spills over PCIe. Three facts in the same README limit that claim:
- The run command uses
-c 2048. That is a 2K context. After the 4.42 GiB of weights, a 6GB card has about 0.2 GiB of our budget left, so long context is not available. - The kept experts were chosen on coding prompts. The README says MAPLE profiled “Python algorithmic synthesis, data structures, and logic.” It names “higher out-of-domain multilingual perplexity” as the trade-off.
- A general-purpose build would not fit. The README says general calibration “may retain 88 to 108 experts”, which saves only about 15% to 30%.
Our read: MAPLE is a working coding model for short prompts on a 6GB laptop. It is not Gemma 4 26B in 6GB. The Qwen3.6 35B-A3B route above gives you a full model with real context, if you have the RAM.
Why gpt-oss 20B Does Not Fit
gpt-oss 20B is our 16GB pick. OpenAI trained its expert weights in 4-bit MXFP4, so smaller quants barely shrink it. The official MXFP4 file is 11.28 GiB. Unsloth’s smallest file, Q2_K, is still 10.68 GiB. Any claim that gpt-oss 20B fits in 6 GB at 2 bits does not match the published files. It runs on 6GB only with most expert layers in RAM through --n-cpu-moe, and Qwen3.6 35B-A3B is the stronger model on that route.
When 6GB Is the Wrong Card to Buy
If you already own a 6GB card, run Qwen3.5 9B, or Qwen3.6 35B-A3B if you have 32GB of RAM. Do not buy a 6GB card for local AI. Each step up changes the model class:
- 8GB: Qwen3.5 9B at Q4_K_M with 32K of context. See best local LLM for 8GB VRAM.
- 12GB: Qwen3.8 27B at 3 bits with 32K of context. See best local LLM for 12GB VRAM.
- 16GB: gpt-oss 20B fully on the GPU. See best local LLM for 16GB VRAM.
Prices as of November 2026. They move weekly during the 2026 memory shortage.
| Card | VRAM | Price | Source |
|---|---|---|---|
| RTX 3060 | 12GB | $353 average used (median $350) | resaleprices.com, updated Nov 8 |
| RTX 5060 Ti | 16GB | About $800 new | GPUPrix low, updated Nov 4 |
What to buy instead:
- Cheapest real step: a used RTX 3060 12GB at about $353. New, the MSI RTX 3060 12GB is also listed; check its price against the used average first. It doubles your VRAM.
- The 16GB step: the RTX 5060 Ti 16GB runs gpt-oss 20B fully on the GPU. NVIDIA also sells an 8GB RTX 5060 Ti. Check the memory size on the listing before you buy.
On a laptop you cannot change the GPU. Add system RAM instead, if the laptop has slots: 32GB of RAM is what opens the Qwen3.6 35B-A3B route.
FAQ
What is the best local LLM for 6GB VRAM?
Qwen3.5 9B at UD-IQ3_XXS. Unsloth's file is 4,016,235,744 bytes (3.74 GiB). With a Q8 KV cache, 32K of context adds about 0.53 GiB, so the total is about 4.32 GiB. That fits the roughly 4.6 GiB a headless 6GB card has left after the driver and compute buffers. If you have 32GB of system RAM, Qwen3.6 35B-A3B with all experts in RAM is stronger: one tester measured 28.1 tok/s at 2.5 GB of VRAM.
Can I run a local LLM on 6GB VRAM?
Yes. A 6GB card runs Qwen3.5 9B at 3 bits or Qwen3.5 4B at 6 bits fully on the GPU with 32K of context. With 32GB of system RAM it also drives Qwen3.6 35B-A3B, a much stronger model, by keeping the expert weights in RAM with llama.cpp's --n-cpu-moe flag.
Is 6GB VRAM enough for local LLMs?
It is enough for a 4B or 9B model with real context, and for a 35B mixture-of-experts model if you have 32GB of system RAM. It is not enough for gpt-oss 20B or any 27B dense model on the GPU. Do not buy a 6GB card for local AI. As of November 2026 a used RTX 3060 12GB averages $353 on resaleprices.com.
Can 6GB VRAM run gpt-oss 20B?
Not on the GPU. The official MXFP4 file is 11.28 GiB and Unsloth's smallest quant, Q2_K, is 10.68 GiB, so no 2-bit version fits in 6 GB. It runs only with most expert layers in system RAM through --n-cpu-moe.
Can Gemma 4 26B run on 6GB VRAM?
Only as the MAPLE pruned build. It keeps 48 of 128 experts and the file is 4,745,987,168 bytes (4.42 GiB). Its author reports 45.4 tok/s fully in VRAM on an RTX 4050 6GB, but the README runs it with a 2,048-token context, and the experts were chosen on Python, data-structure and logic prompts. Treat it as a coding model with short context, not a general Gemma 4 26B.
Sources
- Hugging Face API file trees (byte sizes), read 2026-11-09:
unsloth/Qwen3.5-9B-GGUF,unsloth/Qwen3.5-4B-GGUF,unsloth/gemma-4-E4B-it-GGUF,google/gemma-4-E4B-it-qat-q4_0-gguf,AmSach/Gemma-4-26B-A4B-MAPLE-Sub5GB-GGUF,unsloth/Qwen3.6-35B-A3B-GGUF. gpt-oss 20B sizes as read for our 8GB page (ggml-org/gpt-oss-20b-GGUF,unsloth/gpt-oss-20b-GGUF). - Model cards and
config.json:Qwen/Qwen3.5-9B,Qwen/Qwen3.5-4B(benchmark table and attention layout), read 2026-11-09 - MAPLE README and the GitHub repo (created 2026-11-07), read 2026-11-09; llama.cpp discussion #31894 (2026-11-08)
- InsiderLLM, Qwen 3.6 35B MoE guide, firsthand RTX 3060 sweep, re-read 2026-11-09
- llama.cpp discussion #15396 (driver reserve, community-reported)
- NVIDIA RTX 3050 family spec page (6GB model: GDDR6, 96-bit, 70 W), read 2026-11-09
- Prices: OpenClaw DC price reference (resaleprices.com RTX 3060, updated Nov 8; RTX 5060 Ti Amazon Nov 7 and GPUPrix Nov 4)
See Also
- What is AirLLM?: runs 70B on a small card by loading one layer at a time, and why it is too slow for chat
- Best local LLM for 8GB VRAM: the next rung, where the 9B runs at 4 bits
- Best local LLM for 12GB VRAM: where a 27B at 3 bits fits
- Best local LLMs for 8GB RAM: picks for machines with no GPU
- What local LLM fits my machine?: the general sizing guide
- llama.cpp MoE offload flags explained: how
--n-cpu-moeworks - IQ vs Q quants explained: what UD-IQ3_XXS means and what it costs
- KV cache quantization: Q8 vs Q4: what the Q8 cache flags trade