Home / use case

Qwen4-35B-A3B as a daily local agent model on a 12 GB RTX 3060

At a glance
Hardware
RTX3060 12 GB VRAM (only used for inference, everything else is on the iGPU)
i5-14600K
32 GB RAM
Models & engines
Model: Qwen4-35B-A3B UD-IQ2_XXS quant, the biggest that fits on the card
Runtime: llama.cpp master, with llama-swap to switch engines and Pi as the agent harness
Key gotcha
Video understanding is accurate but slow on this card, too slow for the video editing he wants

What they built

Jeena bought an RTX 3060 in February 2025 because it had the most VRAM (12 GB) in a roughly $1000 PC budget, and paired it with 32 GB of RAM. He says local models kept failing agentic work in OpenCode and later Pi, until Qwen4-35B-A3B arrived.

He now runs Qwen4-35B-A3B on llama.cpp master and calls it the first local model that did every task he threw at it: finding the closest Christmas tree seller using a knowledge base with his address in Korea, writing a browser guitar tuner that uses the microphone, adding todos to his CalDAV list through an existing skill, and checking whether his JTube TV app breaks with the PeerTube 9.0.0 API changes.

He plans to use it for sensitive work such as his knowledge base, taxes and family documents, and possibly work tasks he is not allowed to send to a cloud provider.

Setup

  • RTX3060 12 GB VRAM (only used for inference, everything else is on the iGPU)
  • i5-14600K
  • 32 GB RAM
  • 2 TB NVMe
  • Model: Qwen4-35B-A3B UD-IQ2_XXS quant, the biggest that fits on the card
  • Runtime: llama.cpp master, with llama-swap to switch engines and Pi as the agent harness

How it works

  1. -cmoe --moe-cache-mib 2800 keeps routed experts in host RAM while the card holds an LRU cache of the hot ones
  2. -ub 1024 is the largest ubatch that fits beside the cache
  3. KV cache set to q8_0 for K and q4_0 for V, which he says frees 1.4 GB at 256k for the drafter
  4. --spec-type draft-mtp with --spec-draft-n-max 1 uses the model's own MTP block for speculative decoding
  5. --lazy-mode auto keeps the 11.5 GB n-gram table on disk and reads rows on demand
  6. The vision projector runs on the CPU with --no-mmproj-offload

Results & numbers

  • 37 tokens/s out of the box, already faster than any other local model he had (mid 20s at best)
  • About 60 tokens/s with the VRAM MoE cache, and around 71 tokens/s after the KV cache and MTP changes
  • 500K context works fine, and at 262K there is not much impact on speed; 1M works as a demo but pushes experts off VRAM
  • Describing a 15-second video took 2.5 minutes, with most of the work on the CPU

Gotchas

  • Video understanding is accurate but slow on this card, too slow for the video editing he wants
  • Very long contexts push experts out of VRAM and slow it down
  • His harness only handles images natively, so video needed a custom skill that sends frames to the API endpoint
  • For coding he still uses a hosted model
“for the first time I have the feeling that it's possible to use this one for most of the things I'm using my agents for”— Jeena

Do it yourself

  1. Build llama.cpp from a recent master that supports Qwen4-35B-A3B
  2. Download the largest quant that fits your VRAM
  3. Start with -cmoe and a --moe-cache-mib value that leaves room for the drafter
  4. Add --spec-type draft-mtp with --spec-draft-n-max 1
  5. Try q8_0 K and q4_0 V cache types and measure tokens/s after each change
--lazy-mode auto
-cmoe --moe-cache-mib 2800
-ub 1024
--spec-type draft-mtp --spec-draft-n-max 1
-ctk q8_0 -ctv q4_0
--mmproj mmproj-Qwen4-35B-A3B-Q8_0.gguf --no-mmproj-offload
Source: jeena.net · Published 2026-12-05 · Added 2026-12-05. This write-up summarizes the original source; see it for full details.

Similar setups

RTX 4090

Selective MoE offloading in llama.cpp on a 16 GB laptop GPU: faster for some models, much slower for others

Jessica Doering benchmarked five Mixture-of-Experts models too big for her 16 GB RTX 4090 laptop GPU, comparing llama.cpp's --n-cpu-moe expert offloading against plain layer offloading.

Jessica Doering (DEV Community) · 2026-10-31
RTX 5060 Ti 16 GB

Running 80 GB MoE models on two 16 GB GPUs with llama.cpp 1.0

Gancho Stoychev measured five llama.cpp 1.0 settings one at a time on his homelab box with two RTX 5060 Ti 16 GB cards, running Qwen3.8-Flash-Next and DeepSeek V4 Flash, each about 80 GiB.

DEV Community (Gancho Stoychev) · 2026-11-25
CPU / Mini PC

A local eve agent on a 4B model that keeps its pending approval through kill -9

@VarunChopr17597 ran Vercel's open-source eve 1.1 agent framework against Qwen3.5-4B on llama.cpp on a CPU-only Linux box, with no Vercel account, and tested whether a tool waiting for human approval survives the server being killed.

X (@VarunChopr17597) · 2026-11-20
RTX 4060 Ti

A Baroque music events calendar fed by a local Qwen agent on a home llama.cpp server

A data scientist serves small models with llama.cpp from a 16 GB RTX 4060 Ti box on his home network, and a LangChain agent on it finds upcoming concerts for his wife's Bavarian Baroque events calendar.

Andreas Kaempf (FastDataScience.eu) · 2026-11-04