# Got a 12GB GPU? Here's the best local LLM for an RTX 3060 or 4070

Gemma 4 12B at Q6_K is the 12GB pick, with 32K of context in about 10.4 GB, so long chats stay on the card. Qwen3.8 27B can squeeze in at a 3-bit quant with short context, and bigger MoE models run if your system RAM is large. Here is what fits, on our numbers.

Updated Nov 18, 2026 · By Ari Vale

This page has referral links. As an Amazon Associate we earn from qualifying purchases.

Our Vast referral code: 623346 (link: https://cloud.vast.ai/?ref_id=623346). New users get no bonus from it; we earn 3% of what referred users spend (Vast's referral program docs: https://docs.vast.ai/guides/reference/referral-program?ref_id=623346).

On a 12GB card like the [RTX 3060 12GB](https://aliteq.com/rtx-3060-12gb-local-ai) or RTX 4070, the best all-round local model in November 2026 is **Gemma 4 12B at Q6_K**: on our VRAM numbers it uses about 10.0 GB with 8K tokens of context and about 10.4 GB with 32K, so it fits comfortably, handles images, and keeps a long chat on the card. **Qwen3.5 9B** at near-lossless Q8_0 is the other easy fit. The new **Qwen3.8 27B** does squeeze onto 12GB, but only at IQ3_XS with 8K of context (about 12.0 GB, with no margin), so treat it as a stretch, not a default.

*Updated Nov 18, 2026: gpt-oss-20b no longer counts as a 12GB fit. Our engine now sizes it from OpenAI's own MXFP4 release (13.76 GB of weights, about 14.0 GB with 8K context), and its smaller GGUF files keep those 4-bit experts as they are, so they are not smaller. On 12GB it runs with part of its experts in system RAM instead.*

### The top picks for 12GB, and the command for each

|   | Run it with | Best for |
| --- | --- | --- |
| Gemma 4 12B | `ollama run gemma4:12b` (7.7 to 8.0 GB download) | All-round chat, long documents, reading images |
| Qwen3.5 9B at Q8_0 | `ollama run qwen3.5:9b-q8_0` (10 GB download) | Near-lossless quality, also reads images |
| gpt-oss-20b | llama.cpp with `--n-cpu-moe`, some experts in system RAM ([the commands](https://aliteq.com/gpt-oss-20b-8gb-12gb-gpu-moe-offload)) | Fast replies and coding help, slower than fully on the GPU |

Ollama's default `gemma4:12b` is a 4-bit build; for the Q6_K we recommend below, load a Q6_K GGUF in LM Studio or llama.cpp. Download sizes are from Ollama's tag pages, read November 14, 2026.

> **Updated November 14, 2026**
>
> Re-checked our model table and Ollama's tag pages on November 14, 2026. No new open model in the 9B to 14B class has arrived since our November 1 update, so the picks hold. New: the command table above, answers for multimodal, MoE and coding models on 12GB, and the 12GB cards to buy.

**Updated Nov 15, 2026:** both 12GB picks, Gemma 4 and Qwen3.5, carry the tools capability tag on Ollama's library today, so either can do tool calling on a 12GB card (answer in the FAQ below).

## The short answer

Gemma 4 12B at Q6_K is the 12GB pick, with 32K context in about 10.4 GB. Qwen3.5 9B fits at Q8_0. Qwen3-14B and Phi-4 fit at Q4_K_M with short context. Qwen3.8 27B only fits at a 3-bit quant with short context. gpt-oss-20b (about 14.0 GB at 8K context) and the big MoE models need part of the model in system RAM.

- Comfortable on 12GB means a 9B to 12B model with long context
- 14B to 27B models fit only with short context or offloading
- Offloading to RAM works, but replies get slower

## What fits a 12GB card, on our numbers

|   | Best fit at 8K context | Best fit at 32K context | Notes |
| --- | --- | --- | --- |
| Gemma 4 12B | Q6_K, ~10.0 GB | Q6_K, ~10.4 GB | The all-rounder; vision input |
| Qwen3.5 9B | Q8_0, ~10.6 GB | Q8_0, ~11.3 GB (tight) | Q6_K holds 64K in ~10.2 GB |
| Gemma 4 E4B | Q8_0, ~8.8 GB | Q8_0, ~9.2 GB | Most headroom |
| Qwen3-14B | Q4_K_M, ~10.4 GB | Q2_K only | Short context only |
| Phi-4 14B | Q4_K_M, ~10.6 GB | does not fit | Short context only |
| gpt-oss-20b | does not fit (~14.0 GB) | does not fit (~15.1 GB) | MoE; runs with experts in RAM |
| Qwen3.8 27B | IQ3_XS, ~12.0 GB (tight) | does not fit | Stretch pick |

"Tight" means over 90% of the card. It loads, but anything else on the GPU can push it over. The table shows the quant we would actually run; for some models a bigger quant technically fits at 8K with no margin. The [VRAM calculator](https://aliteq.com/tools/vram-calculator) shows every quant for any context length.

## Why Gemma 4 12B, not Qwen3-14B

For two years the 12GB answer was "a 14B model at Q4". The problem is context. [Qwen3-14B](https://aliteq.com/cost-to-run/qwen3-14b) keeps a full KV cache on all 40 layers, about 160 MB per 1,000 tokens at fp16 on our numbers, so by 32K it no longer fits at Q4_K_M. Gemma 4 12B keeps a growing cache on only 8 of its 48 layers (the rest use a 1,024-token sliding window), about 16 MB per 1,000 tokens. That is why it holds 32K at Q6_K with room to spare. Qwen3-14B is still a good model; it just suits short chats on this card. If you are still on the older Gemma 3, [what each Gemma 3 size needs](https://aliteq.com/gemma-3-hardware-requirements) is covered in its own guide.

![Memory modules and computer hardware](https://media.aliteq.com/media/2026/07/b16-12gb-body.jpg)
On 12GB, attention design now decides how much context you keep, not just parameter count. · Unsplash

## Qwen3.8 27B on 12GB: possible, with limits

Qwen3.8 27B is a dense 27B model with vision input, a 262,144-token native context and an Apache-2.0 licence, per [Qwen's model card](https://huggingface.co/Qwen/Qwen3.8-27B). Its weights at IQ3_XS come to about 10.7 GB on our numbers, so on 12GB it fits only with short context and nothing else on the GPU. Full numbers: [cost to run Qwen3.8 27B](https://aliteq.com/cost-to-run/qwen3.8-27b).

People are pushing it further. [A r/LocalLLM user reported](https://www.reddit.com/r/LocalLLM/comments/1xabms5/) running a Q3-XXS GGUF of Qwen3.8 27B on 12GB of VRAM and 16GB of RAM with 150K of context at 11 tokens per second, using a q4_0 KV cache. By our arithmetic, 150K tokens of KV cache at roughly 4 bits is still 2 to 3 GB on top of the weights, so part of that setup has to sit in system RAM. It works, but you are trading quality (a 3-bit quant and a 4-bit cache) and speed for context.

### Ollama's default Qwen3.8 27B, card by card

Qwen3.8 27B needs about 18 GB of VRAM.

- 8 GB card (RTX 4060, laptops) (8 GB): does not fit
- RTX 3060 / 5070 / Arc B580 (12 GB) (12 GB): does not fit
- RTX 5060 Ti 16GB (16 GB): does not fit
- RTX 3090 / 4090 (24 GB) (24 GB): fits

18 GB is the size of Ollama's default qwen3.8:27b download (read November 14, 2026), before any context. On 12GB only a 3-bit file with short context fits, as above.

Doesn't fit your card? Rent an RTX 3090 for the hours Qwen3.8 27B needs, then stop it. Try Qwen3.8 27B at Q5_K_M fully on the GPU for an hour, so you know whether a bigger card is worth buying. On Vast the link opens Ollama and a chat window ready. [Rent on Vast.ai](https://cloud.vast.ai/?template_id=26e7446a7d6906ee366b620c84e1e422&ref_id=623346) · [Rent on Runpod](https://console.runpod.io/signup?ref=nuninlts) (Referral link: we earn a commission if you buy.) Live prices: https://aliteq.com/cloud-gpu

## RAM matters now: bigger MoE models on 12GB

Mixture-of-experts models use only a few experts per token, so engines can keep the busy parts on the GPU and the rest in system RAM; in llama.cpp that is the [--n-cpu-moe flag](https://aliteq.com/n-cpu-moe-llama-cpp-what-it-actually-does). On a 12GB card that is how you reach models such as Qwen3.6 35B-A3B or Qwen3.8 Flash Next. How far you get depends on your RAM, and our guide to [MoE models on 12GB and 16GB cards](https://aliteq.com/best-moe-models-for-12gb-16gb-gpu) works through it with llama.cpp.

A new option since November 20, 2026 is Inkling 2 Mini, a 26.4B MoE with 3.4B active whose 8.5 GB 2-bit file fits a 12GB card without any offload; one RTX 3060 owner reports about 41 tokens per second. Our guide to [running Inkling 2 Mini locally](https://aliteq.com/can-you-run-inkling-2-mini-locally) covers the files, the speeds and the long-context catch.

The Strata engine publishes its own test table. On an RTX 3060 12GB with 46GB of RAM it lists [DeepSeek V4.1 Flash](https://aliteq.com/how-to-run-deepseek-v4-flash-locally-hardware) 1017 at a 2.00-bit quant generating 9 to 11 tokens per second, measured on Strata 0.2.5 per its [README](https://github.com/Niko1221/Strata). That is the vendor's number, at a very low quant, on a model whose download is roughly 239 to 274 GB. It shows what is possible, not what is comfortable.

The trade-offs are the same everywhere: low quants, more setup, and slower replies whenever part of the model lives in RAM or on the SSD.

## The 12GB cards to buy

If you're buying, the current 12GB cards are NVIDIA's [RTX 5070](https://aliteq.com/gpus/rtx-5070) and Intel's Arc B580. The RTX 5070 runs every tool here with no extra setup; the B580 costs less and runs Ollama and LM Studio through Vulkan (see [Intel Arc B50 vs B60 vs B580 for local AI](https://aliteq.com/intel-arc-b50-vs-b60-vs-b580-local-ai), and [what fits on an Intel Arc GPU](https://aliteq.com/intel-arc-gpu-local-llm-what-fits) for model sizes). If your budget stretches, a 16GB card such as the RTX 5060 Ti 16GB opens the [16GB tier](https://aliteq.com/best-local-llm-16gb-vram); we put the two budget cards head to head in [RTX 3060 12GB vs RTX 5060 Ti 16GB for local AI](https://aliteq.com/rtx-3060-12gb-vs-5060-ti-16gb-for-local-ai), and the [cheapest GPU for local AI](https://aliteq.com/cheapest-gpu-for-local-ai) guide ranks every option by price.

**The fast 12GB card: ASUS Prime GeForce RTX 5070 12GB OC (White)** 12GB of GDDR7, per NVIDIA. Runs Gemma 4 12B at Q6_K with 32K context on our numbers. Best for: 12GB local models with no setup friction, plus 1440p gaming.. [Check price on Amazon](https://www.amazon.com/dp/B0FFKWFMYM?tag=aliteqofficia-20) (Referral link: we earn a commission if you buy.)

**The budget 12GB card: Intel Arc B580 Limited Edition 12GB** Intel's own Arc B580 with 12GB of GDDR6 at 456 GB/s, per Intel. Runs local models through Vulkan in Ollama or LM Studio. Best for: the cheapest new 12GB card for 8B to 12B models.. [Check price on Amazon](https://www.amazon.com/dp/B0GMQ7HHR5?tag=aliteqofficia-20) (Referral link: we earn a commission if you buy.)

## Getting the most from 12GB

- **Pick the model by context, not just size.** If you want long chats or documents, a hybrid-attention model (Gemma 4, Qwen3.5) keeps far more context in the same memory.
- **Stay at Q4_K_M or above for daily use.** Drop to a 3-bit quant only to fit a model that is worth it, like Qwen3.8 27B.
- **If it crawls, it spilled.** A model that loads but runs far slower than expected has part of itself or its KV cache in system RAM. Shorten the context or drop a quant.
- **Compare tiers.** The [VRAM ladder](https://aliteq.com/best-local-llm-vram-tiers-what-actually-fits) puts 8GB, 12GB, 16GB and 24GB side by side, and the [24GB picks](https://aliteq.com/best-local-llm-24gb-gpu-qwen-gemma-gptoss) show what the next card up runs.
- **Keep your model list tidy.** Several 8 to 10 GB downloads fill a drive fast; [managing local models in Ollama](https://aliteq.com/how-to-manage-local-ai-models-ollama) covers listing, pulling and deleting them.

**Offloading to RAM too slow for you** For the odd job that needs a bigger model, a rented 24GB card keeps it all on the GPU. Runpod runs pods in Secure Cloud datacenters with one-click templates, so it suits you if you would rather not pick a host yourself. Pay by the hour and keep your 12GB card for everyday use. [Rent a 24GB RTX 4090 on Runpod](https://console.runpod.io/signup?ref=nuninlts) (Referral link: we earn a commission if you buy.) Live RTX 4090 prices on Runpod, from and typical: https://aliteq.com/runpod-pricing

Live hourly prices for 24GB and bigger cards are on our [cloud GPU price page](https://aliteq.com/cloud-gpu).

> **How we got these numbers**
>
> VRAM figures come from our own VRAM engine, the one behind the calculator and cost-to-run pages. It adds the weights at each quant's measured bits per weight, the KV cache in fp16 at 8K or 32K tokens, and about 0.8 GB of runtime overhead, from each model's published config. Model facts come from the official Hugging Face cards and the Strata README, read on November 1, 2026. Reddit speeds are single user reports, and we did not benchmark these models ourselves.

![The image that ran at the top of an earlier version of this guide](https://media.aliteq.com/media/2026/07/b16-12gb.jpg)
The image that ran with an earlier version of this guide.

Writing fiction on a 12GB card? [Our pick for local creative writing and roleplay](https://aliteq.com/best-local-llm-for-creative-writing-roleplay) is a Drummer fine-tune of [Mistral Nemo](https://aliteq.com/how-to-run-mistral-locally), whose Q4 build fits 12GB and keeps characters consistent.

Related guides: [How do you run GLM locally? Which version and which GPU to pick](https://aliteq.com/run-glm-locally), [Which Gemma 4 size fits your GPU? Match E4B up to 31B to your VRAM](https://aliteq.com/run-gemma-4-locally), [What is the best coding model you can run on one GPU? On 24GB, Qwen3.8 27B](https://aliteq.com/best-local-llm-for-coding-single-gpu).

## Quick answers

**Q: What is the best local LLM for a 12GB GPU in November 2026?**

A: On our numbers, Gemma 4 12B at Q6_K. It fits with 32K of context in about 10.4 GB and handles images. Qwen3.5 9B at Q8_0 is the other comfortable pick.

**Q: Can a 12GB GPU run Qwen3.8 27B?**

A: Just about. At IQ3_XS with 8K context it needs about 12.0 GB on our estimate, so it fits with nothing else on the GPU. Longer context means offloading to system RAM, which slows it down.

**Q: Can a 12GB GPU still run 14B models?**

A: Yes, at Q4_K_M with short context. Qwen3-14B needs about 10.4 GB at 8K, but its KV cache grows fast, so at 32K it no longer fits at Q4_K_M.

**Q: What is the best AI model to run on an RTX 3060 12GB?**

A: Gemma 4 12B at Q6_K: on our numbers it fits with 32K of context in about 10.4 GB and reads images. Run it with ollama run gemma4:12b for the 4-bit default, or load a Q6_K GGUF in LM Studio. Qwen3.5 9B at Q8_0 is the other easy fit.

**Q: What is the best multimodal model for 12GB of VRAM?**

A: Gemma 4 12B, which takes text and image input and fits with long context. Qwen3.5 9B also reads images, per its Hugging Face card, and fits at Q8_0.

**Q: What is the best MoE model for 12GB of VRAM?**

A: gpt-oss-20b, with part of its experts in system RAM. Its own MXFP4 release needs about 14.0 GB at 8K context on our engine, more than the card holds, so llama.cpp's --n-cpu-moe flag keeps some experts in RAM. With 32GB or more of system RAM the same flag runs bigger MoE models such as Qwen3.6 35B-A3B, at lower speed.

**Q: Which local model supports tool calling on an RTX 3060 12GB?**

A: Both 12GB picks do. On November 15, 2026 Ollama's library tagged gemma4 and qwen3.5 with the tools capability, so ollama run gemma4:12b or ollama run qwen3.5:9b can call functions through Ollama's tool-calling API. Qwen3.5 9B at its 4-bit default is the smaller download (6.6 GB), which leaves more of the card for context. We have not benchmarked their speed.

**Q: Is 12GB enough for local AI?**

A: For most chat, writing and coding help, yes. You only hit the wall with 27B-class models at long context, or the big MoE models, which need 24GB of VRAM or lots of system RAM.

On 12GB, start with [Gemma 4 12B](https://aliteq.com/cost-to-run/gemma-4-12b) at Q6_K, try Qwen3.8 27B when you want more depth on short prompts, and compare the [8GB](https://aliteq.com/best-local-ai-model-for-8gb-gpu) and [16GB](https://aliteq.com/best-local-llm-16gb-vram) guides if you are deciding on a card. The [RTX 3060 12GB](https://aliteq.com/gpus/rtx-3060-12gb) is still the budget card for this tier. Not sure which app to run it in? See [Ollama vs LM Studio](https://aliteq.com/ollama-vs-lm-studio-which-should-you-use). For coding agents on 12GB, see [how to use Ollama with OpenCode](https://aliteq.com/how-to-use-ollama-with-opencode), and for the default Qwen pick, [how to run Qwen3.5 9B locally](https://aliteq.com/run-qwen3-5-9b-locally).

## Sources

- [Hugging Face (Google) — Gemma 4 12B model card and config](https://huggingface.co/google/gemma-4-12B)
- [Hugging Face (Qwen) — Qwen3.5-9B model card and config](https://huggingface.co/Qwen/Qwen3.5-9B)
- [Hugging Face (Qwen), Qwen3.8-27B model card, read Nov 1, 2026](https://huggingface.co/Qwen/Qwen3.8-27B)
- [Hugging Face (OpenAI) — gpt-oss-20b model card (MXFP4 release, re-checked Nov 18, 2026)](https://huggingface.co/openai/gpt-oss-20b)
- [Strata (GitHub README), read Nov 1, 2026](https://github.com/Niko1221/Strata)
- [Aliteq VRAM calculator](https://aliteq.com/tools/vram-calculator)
- [Ollama library tags: gemma4:12b (7.7-8.0 GB), qwen3.5:9b (6.6-7.6 GB), qwen3.5:9b-q8_0 (10 GB), read Nov 14, 2026](https://ollama.com/library/gemma4/tags)
- [Ollama library, qwen3.5 and gemma4 model pages: both carry the tools, vision and thinking capability tags (read Nov 15, 2026)](https://ollama.com/library/qwen3.5)
- [Ollama docs, Tool calling (read Nov 15, 2026)](https://docs.ollama.com/capabilities/tool-calling)

---

Canonical: https://aliteq.com/best-local-llm-12gb-vram

This page has referral links. As an Amazon Associate we earn from qualifying purchases.
