Qwen4-35B-A3B Drops Under Apache-2.0: 3.8B Active Parameters, 1M Context, and Day-One Local Inference — Cover Illustration
Qwen4-35B-A3B Drops Under Apache-2.0: 3.8B Active Parameters, 1M Context, and Day-One Local Inference — Cover Illustration

Alibaba’s Qwen team shipped Qwen4-35B-A3B on December 4, 2026, delivering 3.8B active parameters per token, a 1M-token context window, and full Apache-2.0 weights ready for local hardware on day one. On a single B300 GPU running FP8 in vLLM, it hits 514 tokens/s at a 46 ms time-to-first-token while holding a full 1M-token KV cache inside 8 GiB. While rivals gate weights behind staged rollouts, API-only launches, or restrictive MaaS clauses, Qwen4 landed simultaneously across vLLM, SGLang, MLX, and llama.cpp.

Executive Summary: What Engineers Need to Know

  • The Real Parameter Math: The backbone is ~35B parameters with ~3.8B active per token (some ecosystem docs round this to 3B, while official specs anchor at ~3.8B), plus a ~20.5B Per-Layer n-gram Embedding (PLE) lookup table in the second decoder layer—totaling ~56B. Weights are live under Apache-2.0 on the Hugging Face Qwen4 Collection and ModelScope.
  • Memory & Throughput Footprint: The FP8 checkpoint takes 39.7GB plus 20.5GB for the PLE table (BF16 requires 72.7GB plus 41GB). Because only 10 layers retain KV state and store it in NVFP4 (3.6x smaller than BF16), a 1M-token context consumes just 8 GiB of KV cache instead of 80 GiB.
  • December 2026 Release Contrast: On December 3, Reuters reported DeepSeek’s new three-tier risk and four "red line" safety margin gate before releasing weights; MiniMax M4 (2.74T total / 66B active) launched API-first with weights pending; Amazon Ergo (1.1T) shipped with acceptable-use and MaaS restrictions. Qwen4 shipped unrestricted weights and full runtime support immediately.
Qwen4-35B-A3B Drops Under Apache-2.0: 3.8B Active Parameters, 1M Context, and Day-One Local Inference — Architecture & Benchmark Diagram
Qwen4-35B-A3B Drops Under Apache-2.0: 3.8B Active Parameters, 1M Context, and Day-One Local Inference — Architecture & Benchmark Diagram

Day-One Release Scope & Multimodal Specs

Released on December 4, 2026, Qwen4-35B-A3B is the first open-weight model in the Qwen4 family, following the November API debut of flagship Qwen4-Max and the architectural preview in Qwen3.8-Flash-Next.

  • Compute vs. Lookup Separation: The 20.5B PLE table does not execute dense matrix multiplies across layers. Instead, it resolves token combinations via memory lookups, allowing inference engines like vLLM to offload PLE into pinned host RAM to preserve GPU VRAM.
  • Formats & Ecosystem Support: Official BF16 and FP8 weights launched alongside community GGUF builds such as ggml-org/Qwen4-35B-A3B-GGUF. Tooling support landed immediately across transformers, llama.cpp, Llama App, vLLM, SGLang, and MLX.
  • Native Multimodal Pipeline: Accepts text, images, and video with text output across a native 1,000,000-token context window. Vision encoders slice images into 16×16 patches (merging every 2×2 spatial block into one visual token) and sample video at 2 fps, processing adjacent frames in pairs.

Architecture Breakdown: 3:1 Hybrid Attention & Speculative Decoding

The architecture targets long-context memory bottlenecks without sacrificing needle-in-a-haystack retrieval.

40-Layer Hybrid Backbone & MoE Routing

The 40-layer stack repeats a 4-layer block 10 times:

  1. Layers 1–3 (Gated DeltaNet): Linear attention layers maintaining a fixed-size recurrent state per token, preventing KV cache growth from scaling linearly with sequence length.
  2. Layer 4 (Qwen Sparse Attention / QSA): Full-retrieval safeguard. The QSA indexer groups keys into 4-token blocks, averages each group, and selects the top 512 groups (up to 2,048 tokens) per query, plus the active partial group and up to 3 trailing tokens. This 30:10 (3:1) linear-to-sparse split drives the 10x KV cache reduction.
  3. Fine-Grained MoE & Residual Streams: Every layer houses 256 routed experts (8 active per token) plus 1 shared expert, while maintaining four 2048-dimensional embedding copies per token across four parallel residual streams.

20.5B PLE Lookups & MTP Acceleration

  • 16-Row PLE Lookups: For every token, the second decoder layer reads just 16 rows from the 20.5B PLE table (8 lookups for 2-token combinations and 8 for 3-token combinations). Compute cost is negligible; throughput depends on RAM/VRAM capacity and memory bandwidth.
  • Multi-Token Prediction (MTP): An integrated ~2B-parameter MTP head drafts 3 candidate tokens per step for main-model verification. Official benchmarks show llama.cpp running Q4 quantization on Apple M5 gains a 22% speed boost with MTP enabled.
  • Reasoning Effort Controls: Supports four explicit thinking levels (xhigh, high, low, off), defaulting to high with reasoning enabled unless explicitly disabled.

Benchmarks, vLLM Telemetry & Deployment Caveats

Separate single-card hero numbers from multi-tenant production realities before sizing clusters:

  • vLLM Single-GPU Telemetry: Per the vLLM Official Blog, running the FP8 checkpoint on a single B300 GPU (batch size 1, SPEED-Bench prompts, temperature 1.0, top-p 0.95, top-k 20) delivers 514 tokens/s, a 46 ms P50 time-to-first-token (TTFT), and 1.91 ms inter-token latency. At 4 concurrent requests, per-request speed holds at 336 tokens/s, with MTP averaging 2.25 accepted tokens out of 3 drafted.
  • 1M-Context VRAM Math: Storing KV cache only for the 10 QSA layers in NVFP4 (3.6x smaller than BF16) keeps a 1M-token context at 8 GiB (versus 80 GiB for 40 layers of dense BF16 attention), while 20.5GB of PLE stays in host RAM.
  • Evaluation & Local Quantization Boundaries: Hugging Face’s release post highlights parity or wins against the larger Qwen3.8-Flash-Next across 8 Frontier List benchmarks alongside Qwen3.8-27B and Inkling2 Mini, though exact per-task table scores were not transcribed in text—monitor independent leaderboards like Artificial Analysis for standardized runs. On edge hardware, llama.cpp (Q4_K_M, Q6_K, Q8_0) and oMLX (custom Metal kernels supporting QSA, gated residuals, vision inputs, MTP, and SSD offloading for PLE) shipped day-one support; community claims around Unsloth running in ~9.3GB RAM, real-world Mac long-context latency, and Alibaba Cloud API regional pricing still require hardware-specific verification.

December 2026 Open-Weight Landscape

Early December 2026 brought five major model and policy announcements with sharply different deployment realities:

  • Qwen4-35B-A3B (Dec 4, 2026): ~35B backbone / ~3.8B active / ~20.5B PLE (~56B total). Immediate Apache-2.0 weight release with native multimodality, 1M context, 30 Gated DeltaNet + 10 QSA layers, and day-one vLLM, SGLang, MLX, and llama.cpp support.
  • DeepSeek Open-Source Safety Policy (Dec 3, 2026, via Reuters): Pre-release safety gate imposing three risk tiers and four red lines (cyberattacks, CBRN threats, harmful manipulation, and loss of control). Models lacking sufficient safety margins—tested without external online filters—will have weights withheld.
  • MiniMax M4 (Dec 3, 2026): 2.74T total MoE parameters with 66B active per token and 1M context. Available via API and MiniMax Code, with open weights promised later rather than delivered at launch.
  • Amazon Ergo (Around Dec 2, 2026): 1.1T total parameters (reported by media/community at ~55B active, pending full official spec confirmation) focused on agentic coding loops, distributed under custom terms carrying acceptable-use and MaaS restrictions.
  • NVIDIA Nemotron 4 Family (Dec 1, 2026, GTC Washington): Multi-model lineup (Nemotron 4 Super, 3.5 Decision, CodonFM 5B, GR00T 2) spanning long-horizon coding, enterprise agents, biology, and robotics, with flagship Super slated for early 2027.

FAQ

1. Why is Qwen4-35B-A3B listed at ~56B total parameters when inference compute matches a 3.8B model?

Compute scales with the 3.8B active parameters executed per token, not the 56B total footprint. The 35B backbone uses sparse MoE routing, while 20.5B sits inside a second-layer PLE n-gram table that performs only 16 memory row lookups per token—consuming RAM/VRAM capacity and bandwidth rather than dense matrix FLOPs.

2. How does Qwen4-35B-A3B fit a 1M-token context window into 8 GiB of KV cache?

Thirty of its 40 layers use Gated DeltaNet linear attention with constant recurrent state size, leaving only 10 QSA layers that store historical KV entries. Quantizing those 10 layers to NVFP4 (3.6x smaller than BF16) reduces 1M-token KV memory from 80 GiB down to 8 GiB, while the 20.5GB PLE table can reside in pinned host RAM.

3. Can enterprises fine-tune and deploy Qwen4-35B-A3B in closed-source commercial products?

Yes. Released under Apache-2.0, the weights permit commercial use, internal fine-tuning, modification, and proprietary distribution without MaaS restrictions, provided you retain copyright notices, modification disclosures, and patent terms. Teams deploying agentic workflows should still add guardrails before granting high-privilege execution access.

4. What should engineering teams verify before moving Qwen4-35B-A3B into production?

Track four signals: independent third-party benchmark reproductions on leaderboards like Artificial Analysis, accuracy retention and PLE offload latency under 4-bit (Q4_K_M) quantization on long-context coding tasks, official hosted API pricing tiers, and whether competing releases like MiniMax M4 follow through on open-weight delivery.