Qwen4-35B-A3B: 57B That Runs at 3.8B per Token, Across Eight Runtimes on Day Zero
A large model that runs at a small active footprint: a few bright pathways through a dense, dim field.
A team serving models on Kubernetes faces the same question twice. How many GPUs does it take to put a 57B model on-premises, and how much memory does a 1M-token multimodal model need to run on a developer’s machine? Qwen4-35B-A3B, released by the Alibaba Qwen team on December 4, 2026, is built to answer both at once. It is a Mixture-of-Experts (MoE) model with roughly 57B total parameters, but it uses only 3.8B active parameters per token. Hugging Face opened day-zero serving paths across transformers, llama.cpp, oMLX, vLLM and SGLang.
This release starts from Hugging Face announcing that it opened the serving paths together with the Qwen team. Opening a model release and its serving infrastructure at the same time is unusual. In the past, a model would ship and the path to actually run it would open months later; this time the local and datacenter execution paths opened alongside the release.
This post opens up the three structures behind it (MoE, Per-Layer N-gram Embedding (PLE), and Multi-Token Prediction (MTP)) to show why it is large but cheap to run, how the quantization format sets the serving path, and what the model-card numbers say about serving throughput. It also maps the model to ThakiCloud’s serving candidate in Metis and its agent path in Paxis.
The three structures that make 57B run at 3.8B per token
The 35B-A3B in the name means 35B main parameters and 3B active per token. The actual card lists the active count at about 3.8B. Three structures are why a model that processes large data stays close to a small model in inference cost.
The first is MoE. Each layer holds 256 routed experts, and only 8 of them plus one shared expert are activated per token. The other 200-plus are not used for that token. The parameters total 57B, but a single token’s compute is only the 3.8B that are active. MoE is the device that separates a model’s capacity from its inference cost. The decoder repeats a 4-layer pattern 10 times and routes experts within it, turning on a different expert set per token. It keeps the full capacity while computing only the parts a token needs.
The second is PLE. PLE is a per-layer n-gram embedding table; in this model about 20.5B parameters sit in decoder layer 2. It lets the model reference the running pattern of recent tokens directly, cutting the attention computation. Because the table is large but not fully used at once, runtimes such as oMLX can offload it to SSD, according to public material.
The third is MTP. MTP is speculative decoding that predicts several next tokens at once. When the model emits 3 draft tokens in one go, only the tokens that pass verification are kept, which moves generation forward. The model card reports that this 3-draft MTP makes generation about 22% faster on Apple Silicon M5 with a 4-bit quant.
Keeping 1M context at this cost is thanks to a hybrid attention. The decoder repeats a 4-layer pattern 10 times; layers 1-3 use Gated DeltaNet and layer 4 uses Qwen Sparse Attention (QSA). QSA groups tokens into blocks of 4, selects up to 512 groups, and reads up to 2,048 selected tokens plus the final 3. Because it does not scan the whole document for every token, the attention cost rises gently even as context reaches 1M. The structure also makes the strength of reasoning a serving parameter. The model card takes reasoning_effort as xhigh, high, low or off, letting one model vary how long it thinks before answering. A task that needs long reasoning uses a high value; a serving path that needs fast, short answers uses a low one.
A dense model computes every parameter for every token. Qwen4-35B-A3B computes only the 3.8B active, so 4-bit fits a 24-33GB unified-memory range.
The path a token takes through the model is as follows.
flowchart TB
A["input: text + image + video"] --> B["vision encoder<br/>16x16 patches -> 2x2 spatial merge"]
B --> C["decoder 4-layer pattern x 10<br/>layers 1-3 Gated DeltaNet, layer 4 QSA"]
C --> D["MoE: of 256 experts<br/>only 8 + 1 shared active"]
D --> E["PLE: n-gram embedding table<br/>(SSD offload possible)"]
E --> F["MTP: 3-draft speculative decoding"]
F --> G["output: text (1M context)"]
1M context and multimodal across eight runtimes on day zero
Qwen4-35B-A3B is a multimodal model that takes text, image and video in and returns text. The context is 1,048,576 tokens (1M), and video is processed at 2 frames per second in consecutive frame pairs. The license is Apache-2.0.
The second axis of the model is that day-zero serving is open across eight or more runtimes. The runtimes Hugging Face listed with the release are transformers, llama.cpp, Llama App, vLLM, SGLang, MLX, oMLX, mlx-lm and TRL, with cloud paths such as Inference Providers, Inference Endpoints, AWS SageMaker AI, Google Cloud and Dell Enterprise Hub also open at the same time.
Day-zero matters because it removes the wait for conversion. On the day the model ships, the same model can run on datacenter GPUs (vLLM, SGLang) and on consumer hardware (llama.cpp, oMLX). Reading the runtime list one by one shows the range. transformers and TRL are the path to load directly in the Python ecosystem and carry on to fine-tuning; llama.cpp and Llama App are open-source local inference and app distribution; MLX, oMLX and mlx-lm are Apple Silicon; vLLM and SGLang are datacenter-grade concurrent serving. Inference Providers and Inference Endpoints are Hugging Face’s hosted inference paths. One model covers open-source local, cloud-hosted and datacenter concurrent serving all on day zero. Multimodal input is added on top. Text, image and video go in together, into the same model and the same context. Vision is cut into 16x16 patches and each 2x2 spatial group is merged into one visual token; video is read at 2 frames per second in consecutive pairs. A request mixing a document, a diagram and a meeting clip can be handled in one context instead of split across two models.
Qwen4-35B-A3B takes text, image and video in and returns text. All three inputs can be used together inside the 1M-token context (values are format examples).
Quantization format sets the serving path
The checkpoints come in four formats: BF16, FP8, GGUF and OMLX. The format effectively sets the serving path.
| Format | Bits | Runtimes | Target |
|---|---|---|---|
| BF16 | 16-bit fixed | vLLM, SGLang, transformers | Datacenter GPU, quality baseline |
| FP8 | 8-bit | vLLM, SGLang | Datacenter GPU, memory saving |
| GGUF | Q4_K_M (4), Q6_K (6), Q8_0 (8) | llama.cpp, Llama App | Consumer / on-device |
| OMLX | oQ (e.g. oQ4e) | oMLX, MLX | Apple Silicon, MTP support |
GGUF is the standard format of the llama.cpp ecosystem, with the three bit-widths Q4_K_M, Q6_K and Q8_0 released. OMLX is the MLX runtime format for Apple Silicon. Public material indicates that a 4-bit Qwen4-35B-A3B fits roughly 24-33GB of unified memory depending on context length. That is the range where an M-series Mac can run the model at a practical context, not the full 1M. MTP is supported on both GGUF and OMLX.
The rule for picking a format is simple. If it will land on a datacenter GPU, look at FP8 or BF16. If it will land on consumer or on-device hardware, look at GGUF 4-bit or OMLX oQ4e first. Because it is the same model, changing the format is what changes the serving path. The format is not set once and left; it is split by environment. The same Qwen4-35B-A3B runs on FP8 in the datacenter to hold quality, and drops to GGUF 4-bit on edge or on-device to fit memory. FP8 is an 8-bit floating point that halves the memory of 16-bit while keeping quality loss relatively small. From a local-inference view, 4-bit is the dividing point. Public material indicates that 4-bit fits roughly a 24-33GB unified-memory range. That means the model can run on an M-series Mac at a practical context, not the full 1M. Raising to 6- or 8-bit lifts accuracy but also lifts the memory range. So on local, it is common to start at 4-bit and step up to 6-bit if quality falls short.
Serving throughput from the model card
The throughput numbers are taken as reported by the Hugging Face model card. ThakiCloud has not re-measured them, so treat them as reference values to compare against on your own workload.
At 64 concurrent requests, vLLM emits about 2,660 output tokens per second and SGLang about 2,180. For a single request, vLLM is about 330 tokens/s and SGLang about 260; time to first token (TTFT) is about 90ms for vLLM and about 80ms for SGLang.
At 64 concurrent requests, vLLM emits about 2,660 output tokens/s and SGLang about 2,180. Single request: vLLM 330, SGLang 260; TTFT vLLM 90ms, SGLang 80ms.
The reason these numbers matter is that they show the 3.8B-active structure actually translates into serving throughput. A model that computed all 57B per token would have a hard time producing this throughput. In an MoE, serving throughput mostly tracks the active parameter count, not the total. So the checkpoint is confirming that the 3.8B-active design actually lands in these numbers. The model card lists both engines’ single-request throughput and time to first token together, so you do not judge by concurrent throughput alone.
A serving candidate for Metis, an agent path for Paxis
ThakiCloud’s Metis is the inference product that owns model serving, quantization and routing. When a customer brings GPUs into an on-prem or sovereign environment, Qwen4-35B-A3B is interesting from Metis’s view for two reasons. First, the 3.8B-active structure lets the same card take more requests. Second, because changing the format covers both datacenter (FP8, BF16) and on-device (GGUF, OMLX) with the same model, the serving matrix can widen while the model catalog stays fixed.
Paxis is the agent-native cloud that runs on top of it. The oMLX and MLX paths become the path for running local agents on Apple Silicon. The 1M context makes it easier to hold a long agent trajectory (long documents, multi-step tool calls) in one window, and the 22% from MTP touches directly the inference cost of one agent step. Both of these applications rest on model-card numbers that have not yet been re-measured, so before putting it on a real agent workload, the tool-calling and instruction-following axes should be measured first. From a serving view, the model’s practical value is widening the serving range without widening the model catalog. Instead of adding one more model to the catalog, the same model can be served in different formats on different hardware, so the number of models to operate and validate stays the same while the environments it covers grow.
Before you use it
First, the throughput is a model-card report. ThakiCloud has not re-measured it, and it will change with real request length and concurrency.
Second, 3.8B active means inference cost, not the quality of a 3.8B model. MoE quality depends on expert routing and total capacity; a small active count does not mean small-model quality.
Third, the 24-33GB unified-memory figure is a range from public material and it shifts with context length. Filling the full 1M pushes that range up sharply.
Fourth, the 22% from MTP is under M5 with 4-bit. Other chips or bit-widths will differ.
Fifth, the model card also reports frontier benchmark scores such as Deep Swe (61.8), Diamond (86.9) and Terminal Bench 4.1 (21.2). These scores have different scales and targets, so this post stays focused on serving and local inference and does not interpret the individual scores.
In closing
Qwen4-35B-A3B is a 57B MoE that, through the combination of 3.8B active per token, 1M context, multimodality and Apache-2.0, is a case of opening a large-but-cheap model, on day zero, to both datacenter and consumer hardware. Change the format and you change the serving path, and serving throughput is on the order of vLLM at about 2,660 tokens/s (64 concurrent) on the model-card measurements.
The first experiment you can run is this. Load a 4-bit GGUF into llama.cpp, turn on MTP, and measure TTFT and TPOT on your own machine. If those two numbers are acceptable for your workload, you keep the benefit of the 3.8B-active structure as-is.
- Model: Qwen/Qwen4-35B-A3B (Apache-2.0)
- Announcement: Hugging Face blog (Qwen4)
- Source of numbers: the model card (README) above and public serving material