Elith日本語版
Menu

Local LLMs and Open Models: Qwen 4 (Qwen4-35B-A3B), a Multimodal MoE Model You Can Run on Your Own Hardware

A look at Qwen4-35B-A3B, the open model released by Alibaba's Qwen team, based on its model card and Hugging Face's post (December 4, 2026): its design and size, mechanisms such as PLE, what to watch for when running it locally, benchmark values and their sources, a TRL training example, limitations, and three checks.

Published
{minutes} min read
5 min read
Abstract 3D illustration on a blue background of three bundles of thin translucent sheets stacked on a white base, with thin light-blue and orange lines running into them from small translucent pieces and a thin bar on the left

Alibaba's Qwen team has released Qwen4-35B-A3B, an open model that accepts text, images and video, on Hugging Face. On December 4, 2026, Hugging Face published a post explaining how it works and how to run it locally (Hugging Face's post, model card). This article covers what is new and what to watch for when running it on your own hardware.

What was released

Qwen4-35B-A3B is a multimodal model that takes text, images and video as input and produces text. It is licensed under Apache-2.0, with a context length of 1,048,576 tokens.

According to Hugging Face's post, it consists of about 35B main parameters plus about 20.5B of PLE (described below), about 56B in total. About 3.8B are active when processing each token. The model card counts it slightly differently from Hugging Face's post: "35B with 3B activated, plus 20B n-gram embedding and 2B MTP". Even though only part of the model is active, that does not mean it runs in 3.8B worth of memory (editors' note).

Architecture

According to the model card and Hugging Face's post, the design is as follows:

  • The 40 layers repeat a four-layer group ten times. Each group has three layers using Gated DeltaNet (linear attention) and one using Qwen Sparse Attention (QSA).
  • Each token's embedding is copied four times to form four residual streams, which learned gates mix into one input before each attention or MoE block.
  • Each layer's MoE picks 8 of 256 experts and also uses one shared expert.
  • A large n-gram embedding table (PLE) sits in the second layer. Each token reads not the whole table but only 16 rows: 8 for the last two tokens and 8 for the last three tokens, counting the current token.
  • A one-layer multi-token prediction (MTP) module can serve as a drafter for speculative decoding.
Diagram of the architecture of Qwen4-35B-A3B and tips for running it locally, headed: Qwen4-35B-A3B, a 40-layer MoE plus about 20.5B of PLE. The subtitle gives input as text, image and video, output as text, context as 1M tokens and the license as Apache-2.0. On the left is the architecture: beside four residual streams, a box for layers 1 to 4 repeated ten times for 40 layers, with three Gated DeltaNet and MoE layers and one QSA and MoE layer. From the second layer extends the PLE (layer 2 of 40 only), an n-gram embedding table of about 20.5B from which each token reads only 16 rows. The MoE picks 8 of 256 experts plus 1 shared expert. Separately there is an MTP drafter for speculative decoding. On the right are tips for running it locally. 1, quantization (GGUF): Q2_K 27.9 GB, Q4_K_M 32.9 GB, Q8_0 49.0 GB, totals from ggml-org as of December 5, which are file sizes and not the memory required. 2, offload the PLE to SSD if needed (oMLX). 3, memory needs vary (editors' note) with quantization, context length (KV cache), images, MTP use and PLE offloading. The notes at the bottom say there are about 35B main parameters, about 3.8B active per token and about 20.5B of PLE (Hugging Face blog figures), that this does not mean it runs in 3.8B worth of memory (editors' note), and that the model card gives no memory figure

Figure 1: The architecture of Qwen4-35B-A3B and tips for running it locally. GGUF sizes are file sizes, not the memory required. Sources: Qwen's model card, Hugging Face's post (December 4, 2026), ggml-org's GGUF file list

What to watch for when running it locally

Hugging Face's post lists BF16, FP8 and GGUF versions, plus oMLX versions for Apple Silicon. oMLX supports offloading the PLE to SSD. Support for the language model in mainline MLX (mlx-lm) is said to be on its way.

The model card gives no figure for the memory needed to run the model. The GGUF files published by ggml-org (total of three split files, as of December 5, 2026) are about 27.9 GB for Q2_K, about 32.9 GB for Q4_K_M and about 49.0 GB for Q8_0 (GGUF file list). They do not include the file for image input (about 0.6 GB) or the MTP files. These are file sizes, not the memory required. The memory actually needed depends on the quantization, the context length, whether the PLE is offloaded and so on (editors' note).

In Hugging Face's measurement, MTP speculative decoding in llama.cpp increased generation speed by 22% on an Apple Silicon M5 with the Q4 quant and 3 draft tokens.

Performance: note who measured what

We picked some values from the benchmark chart in the model card. According to the model card's notes, some are cited from external evaluation sites.

Benchmark Qwen4-35B-A3B Qwen3.8-Flash-Next Source of the values
DeepSWE v1.1 61.8 58.7 Published by Qwen (no external source noted)
Terminal Bench 4.1 21.2 24.2 Cited from Artificial Analysis
AutomationBench-AA 57.9 55.9 Cited from Artificial Analysis
APEX Agents v1.1 59.0 61.0 Cited from the Mercor leaderboard
Work360 42.9 43.7 Qwen's in-house benchmark

On DeepSWE and AutomationBench, it beats Qwen3.8-Flash-Next, the previous model that Hugging Face's post calls much larger, while Qwen3.8-Flash-Next scores higher on Terminal Bench, APEX Agents and Work360. It did not come out ahead on every benchmark.

An example of training with TRL

Hugging Face's post shows an example of reinforcement learning with the TRL training library on a defensive task: triaging security alerts. On 12 held-out tasks (CyberDefense Bench), the base model passed 4/12, the version after 50 updates passed 6/12, and the version after 100 updates passed 3/12. Even though the training reward trended upward overall, the earlier version did best on this sample. It is a small example, but it shows that more training does not always mean better results.

Limitations

The model card does not mention the composition of the training data or any safety evaluation. The model card itself also notes that lowering the reasoning effort (reasoning_effort) can make each response faster, but in agentic tasks it can lead to insufficient analysis, more failures and retries, and so increase total time and token use.

What Japanese companies should check

Companies considering local LLMs should check the following:

  1. Whether they have measured actual memory use and speed on their own hardware, after choosing the quantization and context length.
  2. Whether they have tested performance on their own business tasks.
  3. Whether they have assessed, for their use case, the limited information on training data and safety.

Qwen 4 could be a strong option for running models on your own hardware. But most of the figures are published by the developer and Hugging Face, and the memory needed varies with the setup. Testing in your own environment is the place to start.

Elith builds AI products for enterprises and conducts advanced research, with AI safety and security as its foundation. We share trends in AI safety and security, along with insights from research and practice, through Elith AI Signal. We will continue to read developments in open models and local LLMs from primary sources and report on them.

Sources

  1. Qwen, Qwen4-35B-A3B model card (Hugging Face)
  2. Hugging Face, Welcome Qwen 4: Cutting-edge intelligence on-device (December 4, 2026)
  3. ggml-org, Qwen4-35B-A3B-GGUF file list (Hugging Face)