cd /news/large-language-models/qwen4-35b-a3b-run-it-locally-tonight… · home › topics › large-language-models › article
[ARTICLE · art-182714] src=dev.to ↗ pub= topic=large-language-models verified=true sentiment=↑ positive

Qwen4-35B-A3B: Run It Locally Tonight — Setup, Speed, and Where It Actually Wins

Alibaba released Qwen4-35B-A3B on 4 December 2026, a 56.82B-parameter mixture-of-experts model with 3B active parameters, a 1-million-token context, native text/image/video understanding, and quantized builds fitting in 18–25 GB of memory. Shivam Kumar reports that on an M4 Pro MacBook Pro with 48 GB unified memory, Ollama's MLX runner loads the model in 24 GB and generates 63–77 tokens per second, while vLLM, SGLang, TokenSpeed and Transformers support it from day one and the Qwen Cloud API serves it at $0.06 per million input tokens and $0.36 per million output tokens. Kumar notes the weights are open but the training data is not, and that long-context quality at the far end of 1M tokens remains a claim to test on your own documents.

recommendation

Update Ollama to v0.40.21 or later before pulling Qwen4, since older versions do not recognize the qwen4_moe architecture, and offload the n-gram table to SSD to keep long-context memory flat.

more in playbook: Inference and self-hosting
by read2 min views8 publishedDec 6, 2026

By Shivam Kumar · 6 December 2026

Alibaba dropped Qwen4-35B-A3B on 4 December 2026, and the spec sheet reads like a dare: a 1-million-token context, native text/image/video understanding, 3 billion active parameters per token — and quantized builds that fit in 18–25 GB of memory. That is a MacBook Air. Here is how to run it, what it actually does, and where it falls short.

Ollama added Qwen4 support in v0.40.21. Update first — older versions will not recognise the qwen4_moe architecture.

ollama --version        # needs >= 0.40.21
ollama pull qwen4       # ~35 GB NVFP4 build on Apple Silicon
ollama show qwen4       # Apache 2.0, check the details

There is also a 37 GB qwen4:35b-a3b-q4_K_M GGUF build and a 114 GB BF16 checkpoint if you have the hardware. The full parameter count is 56.82B — the 35B main network plus a 20B n-gram embedding table and a 2B multi-token prediction head — but the quantized build is what matters on a laptop.

For production-scale serving, vLLM, SGLang, TokenSpeed and Hugging Face Transformers all support it from day one. For a quick API test, the Qwen Cloud API serves it as qwen4-35b-a3b at $0.06 per million input tokens and $0.36 per million output tokens.

On an M4 Pro MacBook Pro with 48 GB unified memory, the model loads in 24 GB via Ollama's MLX runner and generates 63–77 tokens per second depending on the thinking level. That is real-time conversation speed, on a laptop, with no cloud round-trip and no data leaving the machine.

The 1M-token context is the party trick that actually works. The 20B n-gram table can sit on an SSD instead of VRAM, and the hybrid attention design keeps memory flat across long inputs. Drop a whole codebase or a whole contract set into one session and it holds together.

Translation: it is the cheapest capable model you can own, not the smartest model that exists. For code review, data analysis, document work, support triage and agent scaffolding, that trade is a win. For the hardest frontier coding tasks, use a bigger model and pay for it.

Training data is not released, so "open weights" is the accurate label, not "open source". Long-context quality at the far end of 1M tokens is a claim to test on your own documents. And 3B active parameters will not out-reason the frontier closed models on the hardest tasks.

But the direction is unmistakable. December's trillion-parameter models need a data centre. Qwen4 needs a laptop. The frontier just moved onto your desk — go pull it and measure it yourself.

Shivam Kumar builds sovereign AI at VisionQuantech. Sources: Alibaba Qwen4 release (4 Dec 2026); Artificial Analysis; Plotly DataAnalyticsBench; independent Ollama tests (5 Dec 2026).

── more in #large-language-models 4 stories · sorted by recency
── more on @alibaba 3 stories trending now
sponsored brought to you by zahid.host 4,200+ EU-deployed projects
reading about agents? ship yours in a single git push.

Run your AI side-project on zahid.host

EU-based hosting, git-push deploys, automatic HTTPS, no cold starts. Free tier with a custom domain — perfect for shipping the agent you just read about.

$git push zahid main
→ Live at https://your-agent.zahid.host ✓
Get free account → Pricing
from €0/mo · no card required
LIVE [news/qwen4-35b-a3b-run-it…] indexed:0 read:2min 2026-12-06 · —