Alibaba Open-Sources Qwen4-35B-A3B: A Million-Token AI Model You Can Run at Home

Writer Published Updated 0 comments
Illustration of a laptop glowing in a dark room with a long illuminated scroll of circuit patterns flowing out of its screen

Alibaba's first open-weight Qwen4 model reads text, images and video, remembers a million tokens at once — and fits on a laptop you already own.

December 5, 2026 — Alibaba's Qwen team has released Qwen4-35B-A3B, the first model in its new Qwen4 family with openly available weights, posting it on Hugging Face on Thursday, December 4. The model is free to download, modify and use commercially under the Apache 2.0 licence — and it is built to run on ordinary hardware, not just in a data centre.

Illustration of a laptop glowing in a dark room with a long illuminated scroll of circuit patterns flowing out of its screen

Image: A laptop glowing in a dark room with a long illuminated scroll of circuit patterns flowing out of its screen. Credit: Red Eye Eagle News / AI illustration.

Editor's Highlight: The headline number is the million-token context window, but the real story is the size trick underneath it. Qwen4 activates only about 3 billion parameters per token — so a model that looks like 35 billion on paper behaves, in compute terms, like a much smaller one. That is what makes it runnable on a home machine.

Table of Contents

  • The Release in Brief
  • What's Inside the Model
  • The Million-Token Context
  • Running It on Your Own Hardware
  • How It Scores
  • Open Weights in a Cooling Climate
  • Bottom Line
  • FAQ
  • Sources

Key Facts

Detail Information
Released December 4, 2026, on Hugging Face
Developer Alibaba Qwen Team
Licence Apache 2.0 — free for commercial use
Model size ~35B main parameters, ~3B active per token
Context window 1 million tokens (1,048,576), native
Inputs Text, images and video; text output
Day-0 support transformers, llama.cpp, vLLM, SGLang, MLX, Ollama
Hosted price (OpenRouter) $0.06 per million input tokens, $0.36 output

Watch: "Qwen 4 Is Here: Run Qwen4-35B-A3B on Your Own GPU or Mac" — a walkthrough of what the model includes, which download fits which graphics card or Mac, and how fast it runs.

The Release in Brief

Qwen4-35B-A3B is the first downloadable model in the Qwen4 generation. The flagship, Qwen4-Max, arrived a few weeks earlier as a paid API only, its weights unreleased. This smaller sibling is the one anyone can take home.

The release landed with day-0 support across the tools local-AI users actually run: Hugging Face Transformers, llama.cpp and the Llama App, vLLM, SGLang, MLX on Apple Silicon, and Ollama, which added support in version 0.40.21. Checkpoints ship in BF16 and FP8, plus GGUF quantised versions in 4-bit, 6-bit and 8-bit.

Newsroom Focus: That day-0 support matters more than it sounds. Open-weight releases often arrive as raw files that take weeks to become usable. Here the ecosystem was ready on the same day — community GGUF builds appeared within hours.

What's Inside the Model

Qwen4-35B-A3B is a mixture-of-experts (MoE) model. Its name summarises the design: roughly 35 billion main parameters, with about 3 billion activated for each token. Hugging Face's launch write-up puts the active figure slightly higher, at about 3.8 billion.

The model routes each token through 256 experts, of which eight routed experts plus one shared expert fire per token. Its 40 layers repeat one four-layer pattern ten times: three layers of Gated DeltaNet, a form of linear attention that updates a fixed-size memory as it reads, followed by one layer of Qwen Sparse Attention, which lets a token look back at selected tokens from anywhere in the context.

Then there is the unusual part: a 20.5-billion-parameter n-gram embedding table in the second decoder layer. It stores common word sequences, and each token reads just 16 rows of it. Because the table is a lookup rather than a layer every token computes through, runtimes can keep most of it on an SSD instead of in memory — the trick that makes the model fit on consumer hardware. With that table and a 2-billion-parameter multi-token prediction head, the full files total roughly 56 billion parameters, so budget for a download of about 35 gigabytes.

The Million-Token Context

The headline capability is a native context window of 1,048,576 tokens — roughly a million tokens, enough to hold several long books, a large codebase, or hours of video transcript in one prompt. It is native, meaning the model was built for that length rather than stretched to it afterwards.

The sparse-attention design is what makes that window affordable. Instead of comparing every token with every other token — a cost that explodes as prompts grow — the sparse attention layer picks up to 512 groups of tokens to look at, up to 2,048 selected tokens in total. The linear-attention layers keep only a small fixed-size memory, so their cost does not grow with context length.

The vision side works the same way. A vision transformer reads images in 16-by-16 patches, merging each 2-by-2 group into a single visual token; for video, the processor samples two frames per second. Text, images and video all feed the same text decoder, which replies in text. Users can also dial reasoning effort across four levels — xhigh, high, low, or off — with high as the default.

Running It on Your Own Hardware

The practical question is simple: will it run on my machine? The answer depends on which compressed build you pick, because the headline file size and the memory actually needed are two different numbers.

Build Download Memory needed
4-bit (Q4_K_M) ~35 GB ~24 GB (table on SSD)
3-bit (Q3) ~29 GB ~18 GB, short context
Full precision (BF16) ~114 GB Data-centre GPU

According to Unsloth, whose guide was cited by Notebookcheck, a 3-bit version runs on 18 GB of combined RAM and video memory with a short context, as long as about 20 GB of SSD space is free for the n-gram table. Unsloth recommends the 4-bit version on a Mac with 24 GB of unified memory, or on a 24 GB graphics card such as the RTX 4090.

Independent testers measured speeds close to those claims. One tester running the 4-bit build on an Apple M4 Max recorded 65 to 72 tokens per second while holding about 24 GB of memory. Hugging Face's own server benchmarks, using vLLM on a single NVIDIA H200, put a single request at roughly 330 tokens per second.

Practical Takeaway: Before downloading, check your tool supports the new architecture — Ollama needs version 0.40.21 or newer, llama.cpp v1.1.1 — and that you have roughly 35 GB of free disk.

How It Scores

Alibaba's own benchmarks put Qwen4-35B-A3B ahead of its much larger predecessor on coding: 61.8 on DeepSWE against 58.7 for Qwen3.8-Flash-Next.

Independent testing agrees, with a caveat. The benchmarking firm Artificial Analysis scored the model at 25 on its Intelligence Index, first among 17 open-weight models in its size class — but the same tests found it unusually verbose, producing about 82% more output tokens than the median model in its class, most of it reasoning. That verbosity also means hosted bills grow faster than the headline price suggests.

Open Weights in a Cooling Climate

The timing of this release is part of the story. Qwen4-35B-A3B arrived in the same week that DeepSeek published a policy setting a higher bar for releasing its future models publicly — a shift toward keeping the strongest systems behind an API. Alibaba is moving the other way, handing out a full next-generation architecture under a permissive licence.

Analysis Note: Open weights are not the same as open everything. Alibaba publishes the trained model, not the training data or the full recipe for building it. What users get is the ability to download, run, fine-tune and ship the model commercially — which, for most practical purposes, is the part that matters.

Bottom Line

Qwen4-35B-A3B is the most capable open-weight model you can run at home today: a million-token context, native text, image and video input, and a design that fits a 24 GB machine. Its benchmark scores lead its size class, though its verbosity means answers run long. Watch for the rest of the Qwen4 family, and for whether rival labs follow Alibaba's open lead or DeepSeek's cautious one.

FAQ

What is Qwen4-35B-A3B?

Alibaba Qwen team's first open-weight Qwen4 model, released December 4, 2026: a multimodal mixture-of-experts model with about 35 billion main parameters, roughly 3 billion active per token, a native 1-million-token context window, and an Apache 2.0 licence.

Is Qwen4-35B-A3B really free?

Yes, under the Apache 2.0 licence. You can download it from Hugging Face, run it locally, modify it, fine-tune it and use it in commercial products, keeping the licence notice and marking any files you changed.

Can I run it on my own computer?

On many machines, yes. A 3-bit build runs on about 18 GB of combined memory with a short context, and a 4-bit build on about 24 GB — a Mac with 24 GB of unified memory or a 24 GB graphics card. You need roughly 35 GB of free disk.

How does it compare with the previous Qwen models?

Alibaba's own testing puts it ahead of the larger Qwen3.8-Flash-Next on the DeepSWE coding benchmark, 61.8 to 58.7. Artificial Analysis ranks it first among 17 open-weight models in its size class, though it found the model produces far more output tokens than average.

Sources

  • Hugging Face: "Welcome Qwen 4: Cutting-edge intelligence on-device" — https://huggingface.co/blog/qwen4
  • TechNode: "Alibaba opens Qwen4-35B-A3B with multimodal input and million-token context" — https://technode.com/2026/12/04/alibaba-opens-qwen4-35b-a3b-with-multimodal-input-and-million-token-context/
  • Notebookcheck: "Qwen4: Alibaba's free AI model runs locally on 18 GB of memory" — https://www.notebookcheck.net/Qwen4-Alibaba-s-free-AI-model-runs-locally-on-18-GB-of-memory.1469041.0.html
  • AI Weekly: "Alibaba Open-Sources Qwen4-35B-A3B With 1M-Token Context" — https://aiweekly.co/alerts/alibaba-open-sources-qwen4-35b-a3b-with-1m-token-context
  • YouTube: "Qwen 4 Is Here: Run Qwen4-35B-A3B on Your Own GPU or Mac" — https://www.youtube.com/watch?v=QdWDtbbH0aY
  • Red Eye Eagle News / AI illustration (original)
Illustration of a laptop glowing in a dark room with a long illuminated scroll of circuit patterns flowing out of its screen

Alibaba's first open-weight Qwen4 model reads text, images and video, remembers a million tokens at once — and fits on a laptop you already own.

December 5, 2026 — Alibaba's Qwen team has released Qwen4-35B-A3B, the first model in its new Qwen4 family with openly available weights, posting it on Hugging Face on Thursday, December 4. The model is free to download, modify and use commercially under the Apache 2.0 licence — and it is built to run on ordinary hardware, not just in a data centre.

Illustration of a laptop glowing in a dark room with a long illuminated scroll of circuit patterns flowing out of its screen

Image: A laptop glowing in a dark room with a long illuminated scroll of circuit patterns flowing out of its screen. Credit: Red Eye Eagle News / AI illustration.

Editor's Highlight: The headline number is the million-token context window, but the real story is the size trick underneath it. Qwen4 activates only about 3 billion parameters per token — so a model that looks like 35 billion on paper behaves, in compute terms, like a much smaller one. That is what makes it runnable on a home machine.

Table of Contents

  • The Release in Brief
  • What's Inside the Model
  • The Million-Token Context
  • Running It on Your Own Hardware
  • How It Scores
  • Open Weights in a Cooling Climate
  • Bottom Line
  • FAQ
  • Sources

Key Facts

Detail Information
Released December 4, 2026, on Hugging Face
Developer Alibaba Qwen Team
Licence Apache 2.0 — free for commercial use
Model size ~35B main parameters, ~3B active per token
Context window 1 million tokens (1,048,576), native
Inputs Text, images and video; text output
Day-0 support transformers, llama.cpp, vLLM, SGLang, MLX, Ollama
Hosted price (OpenRouter) $0.06 per million input tokens, $0.36 output

Watch: "Qwen 4 Is Here: Run Qwen4-35B-A3B on Your Own GPU or Mac" — a walkthrough of what the model includes, which download fits which graphics card or Mac, and how fast it runs.

The Release in Brief

Qwen4-35B-A3B is the first downloadable model in the Qwen4 generation. The flagship, Qwen4-Max, arrived a few weeks earlier as a paid API only, its weights unreleased. This smaller sibling is the one anyone can take home.

The release landed with day-0 support across the tools local-AI users actually run: Hugging Face Transformers, llama.cpp and the Llama App, vLLM, SGLang, MLX on Apple Silicon, and Ollama, which added support in version 0.40.21. Checkpoints ship in BF16 and FP8, plus GGUF quantised versions in 4-bit, 6-bit and 8-bit.

Newsroom Focus: That day-0 support matters more than it sounds. Open-weight releases often arrive as raw files that take weeks to become usable. Here the ecosystem was ready on the same day — community GGUF builds appeared within hours.

What's Inside the Model

Qwen4-35B-A3B is a mixture-of-experts (MoE) model. Its name summarises the design: roughly 35 billion main parameters, with about 3 billion activated for each token. Hugging Face's launch write-up puts the active figure slightly higher, at about 3.8 billion.

The model routes each token through 256 experts, of which eight routed experts plus one shared expert fire per token. Its 40 layers repeat one four-layer pattern ten times: three layers of Gated DeltaNet, a form of linear attention that updates a fixed-size memory as it reads, followed by one layer of Qwen Sparse Attention, which lets a token look back at selected tokens from anywhere in the context.

Then there is the unusual part: a 20.5-billion-parameter n-gram embedding table in the second decoder layer. It stores common word sequences, and each token reads just 16 rows of it. Because the table is a lookup rather than a layer every token computes through, runtimes can keep most of it on an SSD instead of in memory — the trick that makes the model fit on consumer hardware. With that table and a 2-billion-parameter multi-token prediction head, the full files total roughly 56 billion parameters, so budget for a download of about 35 gigabytes.

The Million-Token Context

The headline capability is a native context window of 1,048,576 tokens — roughly a million tokens, enough to hold several long books, a large codebase, or hours of video transcript in one prompt. It is native, meaning the model was built for that length rather than stretched to it afterwards.

The sparse-attention design is what makes that window affordable. Instead of comparing every token with every other token — a cost that explodes as prompts grow — the sparse attention layer picks up to 512 groups of tokens to look at, up to 2,048 selected tokens in total. The linear-attention layers keep only a small fixed-size memory, so their cost does not grow with context length.

The vision side works the same way. A vision transformer reads images in 16-by-16 patches, merging each 2-by-2 group into a single visual token; for video, the processor samples two frames per second. Text, images and video all feed the same text decoder, which replies in text. Users can also dial reasoning effort across four levels — xhigh, high, low, or off — with high as the default.

Running It on Your Own Hardware

The practical question is simple: will it run on my machine? The answer depends on which compressed build you pick, because the headline file size and the memory actually needed are two different numbers.

Build Download Memory needed
4-bit (Q4_K_M) ~35 GB ~24 GB (table on SSD)
3-bit (Q3) ~29 GB ~18 GB, short context
Full precision (BF16) ~114 GB Data-centre GPU

According to Unsloth, whose guide was cited by Notebookcheck, a 3-bit version runs on 18 GB of combined RAM and video memory with a short context, as long as about 20 GB of SSD space is free for the n-gram table. Unsloth recommends the 4-bit version on a Mac with 24 GB of unified memory, or on a 24 GB graphics card such as the RTX 4090.

Independent testers measured speeds close to those claims. One tester running the 4-bit build on an Apple M4 Max recorded 65 to 72 tokens per second while holding about 24 GB of memory. Hugging Face's own server benchmarks, using vLLM on a single NVIDIA H200, put a single request at roughly 330 tokens per second.

Practical Takeaway: Before downloading, check your tool supports the new architecture — Ollama needs version 0.40.21 or newer, llama.cpp v1.1.1 — and that you have roughly 35 GB of free disk.

How It Scores

Alibaba's own benchmarks put Qwen4-35B-A3B ahead of its much larger predecessor on coding: 61.8 on DeepSWE against 58.7 for Qwen3.8-Flash-Next.

Independent testing agrees, with a caveat. The benchmarking firm Artificial Analysis scored the model at 25 on its Intelligence Index, first among 17 open-weight models in its size class — but the same tests found it unusually verbose, producing about 82% more output tokens than the median model in its class, most of it reasoning. That verbosity also means hosted bills grow faster than the headline price suggests.

Open Weights in a Cooling Climate

The timing of this release is part of the story. Qwen4-35B-A3B arrived in the same week that DeepSeek published a policy setting a higher bar for releasing its future models publicly — a shift toward keeping the strongest systems behind an API. Alibaba is moving the other way, handing out a full next-generation architecture under a permissive licence.

Analysis Note: Open weights are not the same as open everything. Alibaba publishes the trained model, not the training data or the full recipe for building it. What users get is the ability to download, run, fine-tune and ship the model commercially — which, for most practical purposes, is the part that matters.

Bottom Line

Qwen4-35B-A3B is the most capable open-weight model you can run at home today: a million-token context, native text, image and video input, and a design that fits a 24 GB machine. Its benchmark scores lead its size class, though its verbosity means answers run long. Watch for the rest of the Qwen4 family, and for whether rival labs follow Alibaba's open lead or DeepSeek's cautious one.

FAQ

What is Qwen4-35B-A3B?

Alibaba Qwen team's first open-weight Qwen4 model, released December 4, 2026: a multimodal mixture-of-experts model with about 35 billion main parameters, roughly 3 billion active per token, a native 1-million-token context window, and an Apache 2.0 licence.

Is Qwen4-35B-A3B really free?

Yes, under the Apache 2.0 licence. You can download it from Hugging Face, run it locally, modify it, fine-tune it and use it in commercial products, keeping the licence notice and marking any files you changed.

Can I run it on my own computer?

On many machines, yes. A 3-bit build runs on about 18 GB of combined memory with a short context, and a 4-bit build on about 24 GB — a Mac with 24 GB of unified memory or a 24 GB graphics card. You need roughly 35 GB of free disk.

How does it compare with the previous Qwen models?

Alibaba's own testing puts it ahead of the larger Qwen3.8-Flash-Next on the DeepSWE coding benchmark, 61.8 to 58.7. Artificial Analysis ranks it first among 17 open-weight models in its size class, though it found the model produces far more output tokens than average.

Sources

  • Hugging Face: "Welcome Qwen 4: Cutting-edge intelligence on-device" — https://huggingface.co/blog/qwen4
  • TechNode: "Alibaba opens Qwen4-35B-A3B with multimodal input and million-token context" — https://technode.com/2026/12/04/alibaba-opens-qwen4-35b-a3b-with-multimodal-input-and-million-token-context/
  • Notebookcheck: "Qwen4: Alibaba's free AI model runs locally on 18 GB of memory" — https://www.notebookcheck.net/Qwen4-Alibaba-s-free-AI-model-runs-locally-on-18-GB-of-memory.1469041.0.html
  • AI Weekly: "Alibaba Open-Sources Qwen4-35B-A3B With 1M-Token Context" — https://aiweekly.co/alerts/alibaba-open-sources-qwen4-35b-a3b-with-1m-token-context
  • YouTube: "Qwen 4 Is Here: Run Qwen4-35B-A3B on Your Own GPU or Mac" — https://www.youtube.com/watch?v=QdWDtbbH0aY
  • Red Eye Eagle News / AI illustration (original)

Join the conversation

Comments

Stay connected

Follow the news.

New reporting, in your feed reader. No account required.