Qwen4-35B-A3B: fast on a 24 GB Mac, tripped by code fences
Alibaba's Qwen Team released Qwen4-35B-A3B, an Apache-2.0 multimodal MoE with a 1M-token context and day-0 support in llama.cpp, vLLM and MLX.
You can now download an Apache-2.0 model that reads text, images and video, carries a 1M-token context window, and runs on a desktop machine. Hugging Face announced Qwen4-35B-A3B from the Alibaba Qwen Team on Dec 4, 2026. It shipped with day-0 support in transformers, llama.cpp, vLLM, SGLang and MLX, and comes in BF16, FP8 and GGUF checkpoints.
The name undercounts the size. The post describes a mixture-of-experts model with ~35B main parameters, ~3.8B active per token, plus ~20.5B in a per-layer n-gram embedding table, about 56B in total. Each token reads only 16 rows of that table, which is why runtimes such as oMLX can offload it to SSD. Reasoning effort is adjustable (xhigh, high, low, off). Hugging Face reports a 22% generation speedup on an Apple Silicon M5 with the Q4 quant and multi-token prediction drafting. It also notes that mlx-lm support for the language model is not yet in the official repository.
Kingy AI's local tests (Dec 3–4, 2026) show both the appeal and the catch. On a 24 GB M6 Mac mini with 2-bit UD-IQ2_M files (26.61 GB download), Qwen4 finished a typical task in 1.7 seconds against 8.6 for Qwen3.8-27B. But it passed only 1 of 12 attempts under strict grading, versus 8 of 12 for Qwen3.8-27B. Markdown code fences around its JSON caused four failures, and removing them lifted Qwen4 to 5 of 12. On a laptop with an 8 GB GPU, Kingy scored it 85.0 to Qwen3.6-35B-A3B's 79.9, at 33.6 versus 49.5 tokens per second. In a report test, Qwen4 correctly said a figure was missing rather than inventing one. Kingy lists hosted pricing on QwenCloud at $0.06 per million input tokens and $0.36 per million output in Singapore, checked Dec 4.
For AMD hardware, Crypto Briefing reports quantized memory needs of 20–28 GB, at least 24 GB of VRAM and about 17 tokens per second. It calls that speed figure worth checking as users publish results, and treats the 1M context as a ceiling on modest hardware, not a guarantee.
Kingy says its results cover only those heavily quantized files, six text tasks and output limits up to 2,048 tokens. Image input, other quants and long-running agent work each still need their own tests.
Try it: start the GGUF with llama serve -hf ggml-org/Qwen4-35B-A3B-GGUF:Q4_K_M --spec-type draft-mtp --spec-draft-n-max 3, the command Hugging Face gives, then send one of your own JSON-output prompts. If the reply arrives wrapped in a Markdown fence, add a fence-stripping step before your parser (our example) and confirm the same reply now parses.
Sources
- Welcome Qwen 4: Cutting-edge intelligence on-device · Hugging Face
- Qwen4-35B-A3B benchmarks, pricing and specs: How it compares · Kingy AI
- AMD adds day 0 support for Qwen4 35B A3B on Ryzen AI PCs and Radeon GPUs · Crypto Briefing