Models / Qwen4 35B-A3B
Can I run Qwen4 35B-A3B locally?new
Qwen · 57B parameters · mixture of experts, 3B active per token · up to 1024K context · license apache-2.0 · Hugging Face
At Q4_K_M with a 32K context, Qwen4 35B-A3B needs about 37.5 GB of GPU or unified memory by our estimate. The official checkpoint is 114 GB on disk.
The published checkpoint is about 57B parameters: a 35B language model with 3B activated, plus a 20B n-gram embedding and a 2B MTP head (model card; Hugging Face safetensors metadata totals 56.8B). Official ggml-org GGUFs include the n-gram table in one file (Q4_K_M is 36.01 GB). Unsloth splits it for SSD offload: UD-IQ2_XS weights are 12.95 GB and UD-IQ1_S weights are 9.75 GB, each with an 11.52 GB engram file. With the engram off the GPU, those two fit a 16 GB card (15.5 GB usable) and a 12 GB card (11.5 GB usable) respectively at short context; the figures on this page still use the full parameter count and so overstate the GPU need in that setup.
Hybrid model: only the full-attention layers keep a growing KV cache; linear/conv layers keep a small fixed state (not counted).
Memory by quantization and context
| Quantization | Weights | Total at 8K | Total at 32K | Total at 128K |
|---|---|---|---|---|
| Q3_K_M (~4.0 bit) | 28.4 GB | 30.4 GB | 30.9 GB | 32.9 GB |
| Q4_K_M (~4.9 bit, popular default) | 34.8 GB | 37.0 GB | 37.5 GB | 39.5 GB |
| Q5_K_M (~5.7 bit) | 40.5 GB | 42.9 GB | 43.4 GB | 45.4 GB |
| Q6_K (~6.6 bit) | 46.6 GB | 49.2 GB | 49.7 GB | 51.7 GB |
| Q8_0 (~8.5 bit, near-lossless) | 60.4 GB | 63.4 GB | 63.9 GB | 65.9 GB |
| F16 / BF16 (16 bit) | 114 GB | 118 GB | 119 GB | 121 GB |
Bits per weight from llama.cpp's quantize docs. F16 KV cache. Totals include our runtime-overhead estimate.
Cheapest hardware that fits (Q4_K_M, 32K)
- 3× Intel Arc A770 16GB: about €912 (new, alternate.de, 45.0 GB usable)
- 4× Intel Arc B580 12GB: about €1,288 (new, alternate.de, 44.0 GB usable)
- 2× Intel Arc Pro B60 24GB: about €1,998 (new, mindfactory.de, 46.0 GB usable)
- 3× AMD Radeon RX 9070 XT 16GB: about €3,126 (new, alternate.de, 45.0 GB usable)
- NVIDIA A100 40GB PCIe: about €4,784 (used, ebay.com, 39.5 GB usable)
Runs in
| Tool | Platforms | How | Source |
|---|---|---|---|
| Ollama Desktop app + CLI | macOS, Windows, Linux | ollama run qwen4 | source |
| llama.cpp Inference engine (C/C++) | Linux, Windows, macOS, Android (build) | GGUF: ggml-org/Qwen4-35B-A3B-GGUF | source |
| MLX (mlx-lm) Apple framework + CLI | macOS (Apple Silicon only) | MLX conversion: mlx-community/Qwen4-35B-A3B-4bit | source |
| vLLM Serving engine | Linux | named in the official model card | source |
| SGLang Serving engine | Linux | named in the official model card | source |
| TokenSpeed Serving engine | Linux | named in the official model card | source |
Only tools with a public source are listed: an official build (ggml-org, lmstudio-community, mlx-community, bartowski or Unsloth on Hugging Face), the model card, ollama.com or the tool's own README. Apps built on llama.cpp, such as Jan and PocketPal AI, can usually load the same GGUF files. All local apps.
Try other settings
Hybrid model: only the full-attention layers keep a growing KV cache; linear/conv layers keep a small fixed state (not counted).
37 hardware options fit
Cheapest real offer per device from AI Hardware Deals, converted to EUR at approximate rates. Multi-GPU rows multiply the card price.
Tap a box to filter by it; tap it again to remove that filter. Filters combine.
37 of 50 devices.
| Setup | Headroom | ||||
|---|---|---|---|---|---|
| Intel Arc Pro B60 24GB workstation GPU | 2× cards | 46.0 GB | 8.5 GB | €1,998 new, mindfactory.de | n/a |
| NVIDIA A100 40GB PCIe server GPU (passive cooling) | 1 device | 39.5 GB | 2.0 GB | €4,784 used, ebay.com | n/a |
| NVIDIA GeForce RTX 3090 24GB consumer GPU | 2× cards | 46.0 GB | 8.5 GB | €5,198 used, alternate.de | n/a |
| NVIDIA GeForce RTX 4090 24GB consumer GPU | 2× cards | 46.0 GB | 8.5 GB | €5,800 new, idealo.de | n/a |
| HP Z2 Mini G1a (Ryzen AI Max+ PRO 395, 128GB) unified memory | 1 device | 120 GB | 82.5 GB | €5,903 new, mindfactory.de | ≤ 139 tok/s |
| ASUS Ascent GX10 (GB10, 128GB) unified memory | 1 device | 120 GB | 82.5 GB | €6,506 new, alternate.de | ≤ 149 tok/s |
| MSI EdgeXpert MS-C931 (GB10, 128GB) unified memory | 1 device | 120 GB | 82.5 GB | €7,981 new, alternate.de | ≤ 149 tok/s |
| NVIDIA DGX Spark (GB10, 128GB) unified memory | 1 device | 120 GB | 82.5 GB | €10,066 new, mindfactory.de | ≤ 149 tok/s |
| NVIDIA GeForce RTX 5090 32GB consumer GPU | 2× cards | 62.0 GB | 24.5 GB | €16,998 new, alternate.de | n/a |
| NVIDIA GeForce RTX 3090 Ti 24GB consumer GPU | 2× cards | 46.0 GB | 8.5 GB | no verified price | n/a |
| AMD Radeon RX 7900 XTX 24GB consumer GPU | 2× cards | 46.0 GB | 8.5 GB | no verified price | n/a |
| NVIDIA RTX A6000 48GB workstation GPU | 1 device | 47.5 GB | 10.0 GB | no verified price | n/a |
| NVIDIA RTX 6000 Ada 48GB workstation GPU | 1 device | 47.5 GB | 10.0 GB | no verified price | n/a |
| NVIDIA RTX A5000 24GB workstation GPU | 2× cards | 46.0 GB | 8.5 GB | no verified price | n/a |
| NVIDIA Tesla V100 32GB (PCIe or SXM2) server GPU (passive cooling) | 2× cards | 62.0 GB | 24.5 GB | no verified price | n/a |
| NVIDIA A100 80GB PCIe server GPU (passive cooling) | 1 device | 79.5 GB | 42.0 GB | no verified price | n/a |
| NVIDIA A10 24GB server GPU (passive cooling) | 2× cards | 46.0 GB | 8.5 GB | no verified price | n/a |
| NVIDIA A40 48GB server GPU (passive cooling) | 1 device | 47.5 GB | 10.0 GB | no verified price | n/a |
| NVIDIA L4 24GB server GPU (passive cooling) | 2× cards | 46.0 GB | 8.5 GB | no verified price | n/a |
| AMD Instinct MI100 32GB server GPU (passive cooling) | 2× cards | 62.0 GB | 24.5 GB | no verified price | n/a |
| AMD Radeon RX 7900 XT 20GB consumer GPU | 2× cards | 38.0 GB | 0.5 GB | no verified price | n/a |
| AMD Radeon Pro W7900 48GB workstation GPU | 1 device | 47.5 GB | 10.0 GB | no verified price | n/a |
| AMD Radeon Pro W7800 32GB workstation GPU | 2× cards | 62.0 GB | 24.5 GB | no verified price | n/a |
| Apple Mac Studio M5 Max 128GB (2026) unified memory | 1 device | 96.0 GB | 58.5 GB | no verified price | ≤ 335 tok/s |
| Apple Mac Studio M5 Ultra 96GB (2026, base Ultra) unified memory | 1 device | 72.0 GB | 34.5 GB | no verified price | ≤ 654 tok/s |
| Apple Mac Studio M5 Ultra 256GB (2026) unified memory | 1 device | 192 GB | 155 GB | no verified price | ≤ 654 tok/s |
| Apple Mac Studio M5 Ultra 512GB (2026) unified memory | 1 device | 384 GB | 347 GB | no verified price | ≤ 654 tok/s |
| Apple Mac Studio M3 Ultra 256GB (2025) unified memory | 1 device | 192 GB | 155 GB | no verified price | ≤ 446 tok/s |
| Apple Mac Studio M4 Max 128GB (2025) unified memory | 1 device | 96.0 GB | 58.5 GB | no verified price | ≤ 297 tok/s |
| Apple Mac mini M5 Pro 64GB (2026) unified memory | 1 device | 48.0 GB | 10.5 GB | no verified price | ≤ 167 tok/s |
| Dell Pro Max with GB10 (FCM1253, 128GB) unified memory | 1 device | 120 GB | 82.5 GB | no verified price | ≤ 149 tok/s |
| Lenovo ThinkStation PGX (GB10, 128GB) unified memory | 1 device | 120 GB | 82.5 GB | no verified price | ≤ 149 tok/s |
| HP ZGX Nano G1n AI Station (GB10, 128GB) unified memory | 1 device | 120 GB | 82.5 GB | no verified price | ≤ 149 tok/s |
| Gigabyte AI TOP ATOM (GB10, 128GB) unified memory | 1 device | 120 GB | 82.5 GB | no verified price | ≤ 149 tok/s |
| Framework Desktop (Ryzen AI Max+ 395, 128GB) unified memory | 1 device | 120 GB | 82.5 GB | no verified price | ≤ 139 tok/s |
| GMKtec EVO-X2 (Ryzen AI Max+ 395, 128GB) unified memory | 1 device | 120 GB | 82.5 GB | no verified price | ≤ 139 tok/s |
| NVIDIA DGX Station (GB300) unified memory | 1 device | 740 GB | 703 GB | no verified price | ≤ 3868 tok/s |
Speed ceiling is memory bandwidth divided by the bytes of (active) weights read per token, shown only where we have a sourced bandwidth figure. Real decode speed is lower, especially with long contexts or when splitting across cards. All memory numbers are estimates; see the methodology.
FAQ
- How much VRAM does Qwen4 35B-A3B need?
- About 37.5 GB at Q4_K_M with a 32K-token context (34.8 GB weights, 0.7 GB KV cache, 2.0 GB overhead). These are estimates.
- Can I run Qwen4 35B-A3B on a single GPU?
- Yes, at Q4_K_M and 32K context a NVIDIA A100 40GB PCIe (40 GB) has enough memory, from about €4,784.
- Which apps can run Qwen4 35B-A3B locally?
- Verified so far: Ollama, llama.cpp, MLX (mlx-lm), vLLM, SGLang, TokenSpeed. Each entry links to its source on this page.