Skip to header Skip to main navigation Skip to main content Skip to footer
Scott Lawson
Your next upgrade lives here

Main navigation

  • Home
  • About
  • Articles

Alibaba Open-Sources Qwen4-35B-A3B, a Million-Token Model Built to Run Locally

Alibaba Group headquarters buildings in Hangzhou, China, with their distinctive patterned facades.

Alibaba's Qwen team has released Qwen4-35B-A3B as an open-weight model, posting the weights on Hugging Face on December 4 under the Apache 2.0 license. That license matters as much as the specifications: anyone can download the model, modify it, and use it commercially, with no per-token bill and no requirement to send data to someone else's cloud.

The headline number is context. The model handles a native window of 1,048,576 tokens — roughly a million — enough to hold a large code repository, a long legal record, or hours of transcribed meetings in a single prompt. It is also multimodal, accepting text, images, and video as input and producing text in response, and it is aimed squarely at local deployment, coding, and long-running agent work rather than only at large data centers.

The engineering trick is how little of the model works on each token. The main network holds about 35 billion parameters, but the model card summarizes the design as "35B with 3B activated, plus 20B n-gram embedding and 2B MTP" — a mixture-of-experts architecture in which only a small fraction of the network fires at a time. The card describes 40 layers that interleave Gated DeltaNet blocks with Qwen Sparse Attention blocks, and an expert stack of 256 experts, of which eight routed experts and one shared expert are active per token. A large n-gram embedding table, covering bigrams and trigrams, is designed to lift quality without adding accelerator memory overhead, because it can be read on demand rather than held entirely in GPU memory.

That design is what makes the local story plausible. At 4-bit quantization, the model needs roughly 21 to 25 gigabytes of memory, with the n-gram table offloaded to an SSD — within reach of a 32-gigabyte Apple Silicon Mac or a single-GPU workstation. Support arrived on day one for the tools developers already use, including vLLM and SGLang on servers and llama.cpp, Ollama, and MLX for local runs. The model also lets developers adjust reasoning effort across four levels, or turn reasoning off, to trade response time against difficulty.

On the benchmarks circulated with the release, the picture is strong but not one-sided. Qwen4-35B-A3B ranks first among 17 open-weight models in its size class on the Artificial Analysis Intelligence Index, and it beat the larger dense Qwen3.8-27B in the reported comparisons. Against Qwen3.8-Flash-Next it won on DeepSWE, 61.8 to 58.7, on NL2Repo, 51.7 to 48.1, and on HealthBench, 47.4 to 34.8 — but lost on FrontierCode and Terminal Bench. Those are the vendor's own release numbers, and independent testing over the coming week will show whether the hybrid attention design holds up at very long context lengths on workloads the Qwen team did not choose.

The release also lands in a crowded week for open weights, alongside other open models from major labs, and it sharpens a familiar divide. Closed frontier models still lead on the hardest research tasks, but a million-token, multimodal model that a small team can run on its own hardware — and inspect, fine-tune, and ship commercially — changes the calculation for coding assistants, document analysis, and agent systems where cost and data control matter. For many buyers, the question is no longer whether an open model is good enough. It is whether there is still a reason to rent one.

Photo: Alibaba Group headquarters in Hangzhou, China. Photo by Thomas Lombard, via Wikimedia Commons, CC BY-SA 3.0.

Artificial Intelligence
Generative AI
Large Language Models
Machine Learning
Innovation
Big Tech

About Scott Lawson

Scott Lawson covers technology news in three editions a day — artificial intelligence, big tech, startups, gadgets, and tech policy.

More about Scott Lawson

Copyright © 2026 Rocky Mountain Madman LLC - All rights reserved

Developed and Designed by Rocky Mountain Madman LLC