Skip to content
VECTOR WIREAI INTELLIGENCE
UTC
Home

Alibaba ships open-weight Qwen4 35B A3B model with 1,048,576-token context and Apache-2.0 license

The Apache-2.0 release brings a one-million-token multimodal mixture-of-experts model to vLLM and SGLang with 514 tokens per second on a single B300 GPU.

Alibaba has published Qwen4 35B A3B, a multimodal mixture-of-experts model with 35 billion total parameters, about 3 billion active parameters per token, a native context window of 1,048,576 tokens, and an Apache-2.0 license, according to a report by explainx.ai2. The open-weight FP8 build, Qwen4-35B-A3B-FP8, is a post-trained image-text-to-text model that accepts text, image, and video inputs and adds 20 billion n-gram embedding parameters and 2 billion multi-token prediction parameters. The vLLM serving engine supports Qwen4 35B A3B from day zero, reaching 514 tokens per second for a single request on one B300 GPU1. The Apache-2.0 license permits commercial use, modification, and redistribution with a patent grant.

The open-weight release follows Alibaba's November 16, 2026 press release announcing Qwen4-Max, a closed flagship sparse mixture-of-experts model with 2.4 trillion total parameters, about 71 billion active parameters per token, and a one-million-token context window. Alibaba stated at the time that smaller open-weight Qwen4 models would "soon be released". The Hugging Face model card for Qwen4-35B-A3B-FP8 states no exact release date, though its citation lists December 2026 and its first citation carries an August 2026 date under the title On the Design of Qwen3.8-Next Architecture.

Hybrid attention and MoE architecture

The Hugging Face model card describes Qwen4-35B-A3B-FP8 as a 40-layer network with a hidden dimension of 2048 and a vocabulary of 248,320 padded tokens. The architecture repeats ten blocks, each containing three Gated DeltaNet layers followed by one Qwen Sparse Attention layer, with a mixture-of-experts feed-forward layer after every one. Gated DeltaNet uses 32 value heads and 16 query-key heads with a head dimension of 128, whereas Qwen Sparse Attention uses 16 query heads and 2 key-value heads with a head dimension of 256.

The mixture-of-experts routing spans 256 experts, activating 8 routed experts and 1 shared expert per token, with each expert using an intermediate dimension of 512. The network includes a gated residual with 4 branches and a bottleneck rank of 256, an n-gram embedding table of 10,000,000 entries covering bigrams and trigrams at layer 2, and one multi-token prediction layer trained over several steps. The vLLM implementation supports this hybrid Gated DeltaNet and Qwen Sparse Attention stack alongside an NVFP4 KV cache, N-gram embeddings kept in host memory, and multi-token prediction.

Serving stacks and benchmark disclosures

The model card lists recipes and serving support for Transformers, vLLM, SGLang, and TokenSpeed, provide two serving commands for vLLM and SGLang, and notes llama.cpp, Ollama, Unsloth, mlx-vlm, and LiteRT-LM for local execution. Qwen provides two sampling profiles, and the reasoning_effort parameter accepts xhigh, high, low, or off, defaulting to high. The documentation suggests allocating 262,144 tokens for reasoning content and 131,072 tokens for the final reply where separate limits are supported. Video processing defaults to a frame rate of 2 frames per second, with vLLM supporting frame-sampling control via a media-io-kwargs flag and the model card suggesting raising longest_edge to 469,762,048 and setting shortest_edge to 4096 in the video preprocessor configuration for long videos.

The model card text lists no numerical benchmark scores, placing its evaluation results inside an image file named score.png. Footnotes identify the underlying tests as Terminal Bench 4.1, FrontierCode-AA 2.0, AA-Briefcase v1.1, AutomationBench-AA, APEX-Agents v1.1, ChartoGraphy, and Work360, which Alibaba's Qwen4-Max release describes as a proprietary benchmark covering 721 specialized fields. Alibaba's Qwen4-Max documentation states that its safety training filtered offensive cyber content and incorporated chemical, biological, radiological, and nuclear safeguards, though the Qwen4-35B-A3B-FP8 model card does not repeat those safety claims and leaves training data, FP8 quantization details, and throughput on common GPUs unstated.

Was this useful?

The day’s vector, in your inbox.

Vector Wire Daily: one dispatch each publishing day.