Model: Qwen4 35B-A3B Alibaba released Qwen4 35B-A3B, an Apache-2.0 multimodal mixture-of-experts model, on 2026-12-04 with day-0 support in llama.cpp v1.1.1 and Ollama v0.40.21. The model pairs a 35B language trunk with 3B active parameters across 256 experts (8 routed plus 1 shared), a 1M native context window, a separate 0.84 GiB vision projector, and a 20B n-gram embedding table that llama.cpp reads lazily from RAM or disk without consuming VRAM. At Q4_K_M the model needs about 22.3 GB of VRAM at 4K context and 23.0 GB at 32K, because only 10 of 40 layers grow a KV cache; IQ4_XS drops that to roughly 20.8 GB at 4K for 24 GB cards. Alibaba Qwen4 Alibaba's Apache-2.0 Qwen4 35B-A3B multimodal MoE model released 2026-12-04 with day-0 support in llama.cpp v1.1.1 and Ollama v0.40.21 qwen4:35b-a3b . It pairs a 35B language trunk 3B active across 256 experts, 8 routed + 1 shared with a 1M native context window, a separate 0.84 GiB vision projector mmproj-F16.gguf , and a 20B n-gram embedding table that llama.cpp reads lazily from RAM/disk without consuming VRAM though it adds ~11.5–21.8 GB to GGUF downloads . Because only 10 of 40 layers grow a KV cache, Q4 K M needs about 22.3 GB VRAM at 4K and 23.0 GB at 32K tight on 24 GB, comfortable on 32 GB GPUs or 48 GB+ Macs ; IQ4 XS ~20.8 GB at 4K gives 24 GB cards extra headroom. Sizes use generic trunk bpw rates since GGUF files bundle the host-side n-gram table. Quick Launch Command Commands for GGUF Q4 K M · adjust hardware and context in the CLI Generator Prerequisites: a CUDA toolkit matching your driver nvcc --version , Python 3 Install on Linux with CUDA sudo apt install -y build-essential cmake git git clone https://github.com/ggml-org/llama.cpp && cd llama.cpp cmake -B build -DGGML CUDA=ON cmake --build build --config Release -j$ nproc Download the model installs the hf CLI the next line needs pip install -U huggingface hub hf download unsloth/Qwen4-35B-A3B-GGUF --include "Qwen4-35B-A3B-Q4 K M.gguf" --local-dir ./models Run ./build/bin/llama-server \ -m ./models/Qwen4-35B-A3B-Q4 K M.gguf \ --host 127.0.0.1 --port 8080 \ -ngl 99 \ -np 1 \ -c 4096 \ -t 8 Quantization Variants Per-quant VRAM, quality loss, and inference speed on RTX 4090 Measured = run on this site · Estimated = not run here: calculated, or a figure this site has not verified · Community = public reports | Format | Level | BPW | VRAM | PPL Loss | Speed | Source | Actions | |---|---|---|---|---|---|---|---| | GGUF | IQ4 XS | 4.5 | 20.7 GB | — | — | Estimated | | | GGUF | Q4 K M | 4.85 | 22.3 GB | — | — | Estimated | | | GGUF | Q5 K M | 5.7 | 26.2 GB | — | — | Estimated | | | GGUF | Q6 K | 6.6 | 30.3 GB | — | — | Estimated | | | GGUF | Q8 0 | 8.5 | 39.0 GB | — | — | Estimated | | Which file each size is for Weights use recorded file bytes where available, otherwise BPW. Both receive a separate 2% planning allowance. VRAM at 4K includes KV and a 10% activation buffer GiB . Downloads use decimal GB. Separate vision projectors are excluded from this table. - GGUF IQ4 XSModel-specific BPW estimate. The index has no exact file byte count for this row. - GGUF Q4 K MBPW matches the generic rate for this level. Exact bytes are unavailable. - GGUF Q5 K MModel-specific BPW estimate. The index has no exact file byte count for this row. - GGUF Q6 KModel-specific BPW estimate. The index has no exact file byte count for this row. - GGUF Q8 0BPW matches the generic rate for this level. Exact bytes are unavailable. Running Qwen4 35B-A3B locally At Q4 K M and 4K of context, Qwen4 35B-A3B needs about 22.3 GB — 20.2 GB of weights, 0.10 GB of KV cache and a 2.0 GB activation buffer. The smallest cards in this index that clear that comfortably are 32 GB ones — 5 of them, from the RTX 5090 up — and 37 of the 127 cards here do. These are calculated figures, not measurements: the estimate stops counting a card as comfortable at 88% of its VRAM, which is roughly the room a desktop session needs. What longer context costs Going from 4K to 32K adds about 0.68 GB, taking the total to 23.0 GB. That is gentler than the parameter count suggests: only 10 of 40 layers keep a KV cache that grows with context, so the cache scales at a fraction of the usual rate. The model's native window is 1M; holding all of it at Q4 K M would need about 50 GB. Which build to download This index only tracks Qwen4 35B-A3B in GGUF, across 5 levels IQ4 XS, Q4 K M, Q5 K M, Q6 K, Q8 0 . No per-level perplexity sweep has been published for this model, so the quality column is empty rather than estimated — within one model, more bits per weight is the only ordering the data supports. No throughput has been measured for this model on this site's hardware. GGUF runs on llama.cpp and Ollama across NVIDIA, AMD and Apple silicon; AWQ and GPTQ target vLLM on CUDA and ROCm; EXL2 is ExLlamaV2 — CUDA only, and now archived, so local use rather than serving. Common questions - How much VRAM does Qwen4 35B-A3B need? - About 22.3 GB at Q4 K M with 4K of context and batch 1, rising to roughly 23.0 GB at 32K. That figure is weights plus KV cache plus a 10% activation buffer, calculated from the model's architecture rather than measured on a card. - Will Qwen4 35B-A3B run on a 32GB GPU? - Yes — at Q4 K M and 4K context it needs about 22.3 GB, which leaves 9.7 GB spare on a RTX 5090, or on any of the other 32 GB cards here 5 in all . That is the smallest size in this index that clears it comfortably; 37 of 127 do. - Which quantization of Qwen4 35B-A3B should I use? - No published quality comparison exists for this model, so pick by footprint: Q4 K M is the level most people run, and a higher bits-per-weight level is more faithful. All 5 levels in the index are IQ4 XS, Q4 K M, Q5 K M, Q6 K, Q8 0. Note this is a mixture-of-experts model — all parameters must be resident even though only a fraction are active per token, so the memory cost follows the total, not the active count. Where this model fits Sized at Q4 K M with a 4K context window, smallest card first. Comfortable means the estimate uses at most 88% of the memory. - Runs comfortably on - RTX 509032GB · +9.7 https://quantized.uk/gpu/rtx-5090/ Arc Pro B70 32G32GB · +9.7 https://quantized.uk/gpu/arc-pro-b70-32g/ Radeon AI PRO R9700 32G32GB · +9.7 https://quantized.uk/gpu/radeon-ai-pro-r9700-32g/ Tesla V100 PCIe 32G32GB · +9.7 https://quantized.uk/gpu/tesla-v100-pcie-32g/ Instinct MI100 32G32GB · +9.7 https://quantized.uk/gpu/instinct-mi100-32g/ - Tight but possible - RTX 2080 Ti 22G Mod 22GB https://quantized.uk/gpu/rtx-2080-ti-22g-mod/ RTX 309024GB https://quantized.uk/gpu/rtx-3090/ Radeon RX 7900 XTX24GB https://quantized.uk/gpu/radeon-rx-7900-xtx/ - Ships in - GGUF https://quantized.uk/formats/gguf/ - A top pick for - Best local LLM for 24GB https://quantized.uk/best/24gb-vram/ - Try it yourself - Size it in the calculator https://quantized.uk/tools/vram-calc/?model=qwen4-35b-a3b&quant=Q4 K M Generate the run command https://quantized.uk/tools/cli-gen/?model=qwen4-35b-a3b&quant=Q4 K M How to actually run this Deployment guides for this model and this class of hardware. Similar models Compare with Gemma 4 https://quantized.uk/tools/compare/?a=qwen4-35b-a3b&b=gemma-4-26b-a4b 26B-A4BConsumer GPUPro GPUQ4 K M18.2 GB—perplexity rise https://quantized.uk/quant-hub/gemma-4-26b-a4b/ Gemma 4 26B-A4B IT Google Gemma 4 Google's Gemma 4 mixture-of-experts model: about 25B parameters in the text model, roughly 4B active per token, a 256K window and image input. Only 5 of its 30 layers keep a cache that grows with context, and those use fewer, wider heads, so the cache stays small — about 0.9 GB at 32K and 5.3 GB at the full 256K. At Q4 K M that is about 18.8 GB at 32K: comfortable on a 24 GB card, which can still load the whole window tight, about 23.6 GB . A 16 GB card cannot hold it, since the Q4 K M file alone is 17.0 GB. The vision encoder is a separate 1.2 GB file on top. Sizes come from bartowski's GGUF files, whose Q4 K M works out at 5.40 bits per weight, well above the generic 4-bit rate; Unsloth's UD-Q4 K M is a different file, 0.09 GB smaller. No per-level quality loss has been published. 31BConsumer GPUPro GPUQ4 K M22.1 GB—perplexity rise https://quantized.uk/quant-hub/gemma-4-31b/ Gemma 4 31B IT Google Gemma 4 Google's dense Gemma 4 flagship: about 31B parameters, a 256K window and image input. Only 10 of its 60 layers cache the full context, and those use four wide KV heads, so 128K of context adds about 11 GB of cache where a conventional 60-layer design would need about 120 GB. At Q4 K M it needs about 22.1 GB at 4K, tight on a 24 GB card; Q3 K M is about 18.3 GB at 4K. A 32 GB card holds Q4 K M at 32K comfortably. Google also publishes its own quantization-aware QAT Q4 0 build, a single 17.7 GB file: about 20.1 GB at 4K, comfortable on 24 GB up to 16K. Its 1.2 GB vision encoder is a separate file, and with it loaded even 4K is tight on 24 GB. The other levels are sized from bartowski's GGUF files, and no per-level quality loss has been published. That repository also carries two MTP draft-head files 349 MB at Q4 0, 515 MB at Q8 0 for speculative decoding; they are not the model itself and are not counted in these sizes. 35B-A3BConsumer GPUPro GPUQ4 K M23.4 GB—perplexity rise https://quantized.uk/quant-hub/qwen3-6-35b-a3b/ Qwen3.6 35B-A3B Alibaba Qwen3.6 One of the most recommended models for a 24 GB card this year: 35.5B parameters, about 3B active per token, so it reads per token about as much as a 3B model. Only 10 of its 40 layers keep a growing KV cache, so context is cheap: at Q4 K M it needs about 23.4 GB at 4K and 24.0 GB at 32K. On this site's rule that is tight on a 24 GB card, not comfortable, because it counts a working buffer most guides leave out. A 32 GB card, or a 48 GB Mac through the GPU's share of unified memory, has real room. It reads images through a separate vision encoder. Sizes come from bartowski's GGUF files; Unsloth's UD-Q4 K M is a different file, 0.15 GB smaller. No per-level quality loss has been published. 27BConsumer GPUPro GPUQ4 K M19.1 GB—perplexity rise https://quantized.uk/quant-hub/qwen3-6-27b/ Qwen3.6 27B Alibaba Qwen3.6 The dense model of the Qwen3.6 generation and a popular local coding model. It has the same layout as Qwen3.8 27B, the newer release: only 16 of its 64 layers keep a growing KV cache. At Q4 K M it needs about 19.1 GB at 4K context and 21.0 GB at 32K, comfortable on a 24 GB card either way. Q5 K M is tight on 24 GB, and a 16 GB card cannot hold it at any level listed here. Sizes come from bartowski's published GGUF files; Unsloth's builds of the same levels are about 1 GB smaller. No per-level quality loss has been published. This page's figures change when the model or the runtime does.Last updated 2026-12-06 RSS → /feed.xml https://quantized.uk/feed.xml