VRAMGlass contains affiliate links. As an eBay Partner, we may be compensated if you make a purchase. As an Amazon Associate I earn from qualifying purchases.We may earn from eBay and Amazon links.Learn more

GPUs tracked64Price history93 daysPrice points (24h)29,167 pointsBiggest 24h dropCMP 170HX 64GB-12.1%Biggest 24h riseTesla V100 16GB+7.0%Updated
$ USD

Run Qwen4 35B A3B Locally: VRAM & GPU Requirements

Qwen4 35B A3B is Qwen's first open-weight Qwen4 model (December 2026), with 35B parameters, 3B active per token, and a ~20B n-gram lookup table. The 4-bit download is 34.6 GB, but because the lookup table stays in system RAM, a single 24GB GPU can fit the rest of the model in VRAM. On smaller GPUs, you can offload experts to RAM, so a 12GB GPU paired with 32GB of system RAM can still run 2-bit. Unified memory machines such as Macs must count the entire file, which takes roughly 36 GB at 4-bit.

Qwen4 35B A3B details

  • Min VRAM at 4-bit (8K context)25 GB
  • Parameters56.8B
  • Active params3B
  • Max context1M
Architecture
MoE
Experts offloaded
4 GB VRAM + 34 GB RAM
License
Apache-2.0
Launch date
Dec 4, 2026
Vendor
Alibaba
Hugging Face repo
Qwen/Qwen4-35B-A3B
Layers
40
Hidden size
2,048
KV heads
2
Head dim
256

How does Qwen4 35B A3B score on benchmarks?

Despite activating only 3B parameters per token, it beats Qwen3.8 Flash Next (6B active, roughly 111 GB at 4-bit) on 6 of the 10 benchmarks shown. Against other models that fit on a 24GB GPU, Qwen3.8 27B and Inkling 2 Mini, it ties or leads on everything except GPQA. On coding, it scores 61.8 on DeepSWE, about 3 points ahead of Flash Next, but falls behind on harder programming problems with 16.1 on FrontierCode versus Flash Next's 27.1. All scores in the chart come from Qwen's official model card.

Qwen4 35B A3B benchmark bar chart comparing scores against Qwen3.8 Flash Next, Qwen3.8 27B, and Inkling 2 Mini across 10 benchmarks including DeepSWE, Terminal Bench, and GPQA, plotted by VRAMGlass from Qwen's published scores
Data: Qwen Qwen4-35B-A3B model card (December 4, 2026)

How much VRAM does Qwen4 35B A3B need?

The table below assumes all experts stay in VRAM with no RAM offloading. If you are short on VRAM, you can offload experts to RAM; see the complete builds below.

Weight size includes an n-gram lookup table (11.5 GB at 4-bit); unified memory machines like Macs count the full file size.

QuantizationWeightsGB32K contextGB128K contextGB256K contextGB1M context (max)GB
1-bit21.9GGUF12.114.116.832.9
2-bit27.2GGUF17.419.422.138.2
3-bit30.4GGUF20.622.625.341.4
4-bit34.6GGUF24.826.829.545.6
5-bit41.7GGUF28.130.132.848.9
8-bit60.6GGUF40.642.645.361.4
BF16/FP16111.1GGUF71.973.976.692.7

Full calculation rules are on the Methodology page.

Can a single GPU run Qwen4 35B A3B?

A single 24GB GPU runs 4-bit, with an RTX 3090 estimated at around 134 t/s at 8K context, nearly as fast as Qwen3.6 35B A3B without a lookup table, and scaling up to roughly 77K context. A 32GB RTX 5090 reaches about 486K. Since 4-bit does not fit on 16GB GPUs, you have to drop to 2-bit: an RTX 5060 Ti 16GB hits around 115 t/s, but context tops out at roughly 20K. Running 8-bit on one GPU requires 48GB of VRAM. Unified memory systems can all use the full 1M context, and a 96GB Mac Studio M5 Ultra runs 4-bit at about 147 t/s.

The table below assumes all experts stay in VRAM with no RAM offloading. If you are short on VRAM, you can offload experts to RAM; see the complete builds below.

eBay
DevicePriceSpeed t/sMax context
Tesla V100 32GB32 GB$1,37813 listings131.9486K
Radeon RX 7900 XTX24 GB$1,48025 listings135.177K
GeForce RTX 309024 GB$1,999113 listings133.977K
GeForce RTX 409024 GB$3,70082 listings137.577K
Ryzen AI Max+ 395 128GBWhole system · 128 GB$4,11228 listings67.41M
RTX A600048 GB$4,89925 listings123.81M
Mac Studio M5 Ultra 96GBWhole system · 96 GB$6,7995 listings146.81M
MacBook Pro M5 Max 128GBWhole system · 128 GB$7,00029 listings112.11M
GeForce RTX 509032 GB$7,335132 listings162.7486K
DGX Spark 128GBWhole system · 128 GB$7,94738 listings70.41M
RTX PRO 600096 GB$18,20019 listings162.71M

Only common GPUs and systems are listed, from cheapest to most expensive.

What PC or server build do you need to run Qwen4 35B A3B locally?

On desktops with less than 24GB of VRAM, you can offload experts to RAM using llama.cpp's --cpu-moe flag. With all 4-bit experts in RAM, the GPU only needs about 4 GB while system RAM needs around 34 GB (about 22.5 GB for experts and 11.5 GB for the lookup table). More VRAM lets you keep more expert layers on the GPU and lowers RAM usage. A home desktop with a 12GB RTX 5070 and 32GB of DDR5 is a solid fit for 2-bit, keeping 26 of the 40 expert layers in VRAM at an estimated 107 t/s.

eBay

2 × GeForce RTX 5070 + Desktop DDR5

Home PC
Generation speed111.4t/s
Memory bandwidth96GB/s
GPU
2 × GeForce RTX 507038 / 40 expert layers in 24 GB VRAM
$1,978
RAM
32 GB DDR5-60002 × 16 GB sticks
$464
CPU
AMD Ryzen 7 77008 cores / 16 threads · 2-channel
$189
Board
Gigabyte B650 EAGLE AX4 DIMM slots
$119
PSU
Corsair RM850x850 W
$71
Reference build price$2,821

Detailed calculation rules are on the Methodology page.

As an eBay Partner, VRAMGlass may be compensated if you buy through the eBay links on this page. The price you pay stays the same.

What to know before running Qwen4 35B A3B locally

  1. GGUF splits into two files

    Unsloth splits every quant into two files: the first holds the main model weights and the second contains only the lookup table, and you need to download both. The 1-bit through 4-bit quants share the same 11.5 GB IQ4_NL lookup table, so it takes up a larger share at lower quants, accounting for over 40% of the 27.2 GB 2-bit download. The commands on this page use Unsloth's Q4_K_M; official ggml-org GGUFs only cover Q4_K_M, Q6_K, and Q8_0. Make sure to use a llama.cpp build from December 4 or later.

  2. Enabling MTP boosts speed by ~20%

    The model includes a built-in Multi-Token Prediction (MTP) layer for speculative decoding, guessing several tokens ahead per step and verifying them in one pass. In llama.cpp, add --spec-type draft-mtp --spec-draft-n-max 3 to turn it on; Hugging Face tested 4-bit on an Apple M5 and measured 22% faster generation. The MTP layer is bundled in Unsloth's first file at about 0.5 GB, and llama.cpp skips loading it when disabled, so the VRAM table on this page excludes it.

  3. Ollama and Mac support still catching up

    The official model card links to Ollama, but as of December 4, there are no official qwen4 tags in the Ollama library yet. To run it today, use llama.cpp with Unsloth's GGUFs. On Mac, mlx-community already has MLX conversions ready, though mlx-lm requires installing the unmerged PR #2141. oMLX already supports the model with vision, MTP, and SSD offloading for the lookup table to save RAM.

  4. Official vLLM recipe uses FP8

    vLLM's official recipe runs the FP8 weights (Qwen/Qwen4-35B-A3B-FP8) with an NVFP4 KV cache and MTP enabled by default at 3 draft tokens per step, using the dedicated Docker image vllm/vllm-openai:qwen4. The recipe is validated on single B300, GB200, H200, and MI350X GPUs, with RTX PRO 6000 and H100 listed as supported. SGLang and TokenSpeed also have official recipes.

  5. Reasoning effort and sampling settings

    reasoning_effort has four levels: xhigh, high (default), low, and off (no thinking). On simple prompts, the model may answer directly even when thinking is enabled. Qwen notes that lowering reasoning effort in multi-turn agentic tasks does not always save time, since under-thinking can trigger repeated retries. Recommended sampling parameters are temperature 1.0, top_p 0.95, and top_k 20 for thinking mode, and temperature 0.7, top_p 0.8, top_k 20, and presence_penalty 1.5 for non-thinking mode.

Launch commands

llama.cpp

  • NVIDIA
  • AMD
  • Mac
  • CPU
All on GPU
Terminal
llama-server -hf unsloth/Qwen4-35B-A3B-GGUF:Q4_K_M -c 8192
MoE offloading

Short on VRAM? Add --cpu-moe to keep the routed experts in system RAM (about 34 GB needed).

Terminal
llama-server -hf unsloth/Qwen4-35B-A3B-GGUF:Q4_K_M -c 8192 -ngl 99 \
  --cpu-moe

vLLM

  • Linux
  • NVIDIA

Follow the deployment guide to prepare the required runtime and hardware.

Terminal
vllm serve Qwen/Qwen4-35B-A3B-FP8 \
  --trust-remote-code \
  --enable-prefix-caching \
  --tensor-parallel-size 1 \
  --max-model-len auto \
  --disable-flashinfer-autotune \
  --kv-cache-dtype nvfp4 \
  --attention-config.indexer_kv_dtype fp8 \
  --enable-auto-tool-choice \
  --tool-call-parser qwen4 \
  --reasoning-parser qwen4 \
  --speculative-config '{"method":"mtp","num_speculative_tokens":3,"index_share_for_mtp_iteration":true}'

Ollama

  • Windows
  • macOS
  • Linux

The Ollama library has no official tag for it yet.

File names follow that week's model-library snapshot; the definitions are in the methodology. Methodology

Other models in the Qwen family

ModelTotal paramsActive params4-bit size
Qwen3 8BDense8.2B8.2B5 GB
Qwen3.5 9BDense9.7B9.7B5.7 GB
Qwen3.6 27BDense27.8B27.8B16.8 GB
Qwen3.8 27BDense27.8B27.8B16.6 GB
Qwen3 32BDense32.8B32.8B19.8 GB
Qwen3.6 35B A3BMoE36B3B22.1 GB
Qwen3.8 Flash NextMoE176B6B111.3 GB
Qwen3.8 2.4T A95BMoE2,446B95B1,310.9 GB

About Qwen