AI News · 7 min read

Qwen4-35B-A3B Is Open Weight Under Apache 2.0

Qwen4-35B-A3B is open weight under Apache 2.0: 35B parameters with 3B active, 1M context, how to get the weights, and official Qwen Cloud API pricing.

A dark editorial illustration of a compact multimodal core with a few illuminated sparse expert pathways inside a vast dim compute hall, with no text or logos

Qwen4-35B-A3B is an open-weight, native multimodal Mixture-of-Experts model released by Alibaba’s Qwen team under the Apache 2.0 license on December 4, 2026. The model combines 35 billion total parameters with 3 billion activated, a 1-million-token native context window, and Qwen Cloud API pricing starting at $0.057 per million input tokens.

What Is Qwen4-35B-A3B and When Was It Released?

Qwen4-35B-A3B is a compact sparse multimodal model announced by Alibaba’s Qwen team on X on December 4, 2026, at 02:06 UTC (10:06 Asia/Shanghai). Using a Mixture-of-Experts (MoE) design, the release brings Qwen4’s hybrid attention and native multimodal capabilities to an open-weight checkpoint licensed under apache-2.0.

According to the announcement and the official Hugging Face model card, Qwen4-35B-A3B targets practical agentic workflows such as long-document analysis, enterprise knowledge bases, and edge deployment. The Quickstart examples on the model card document text, image, and video inputs with text output.

Qwen4-35B-A3B Architecture and Official Specs

Qwen4-35B-A3B uses a hybrid 40-layer architecture that pairs 35 billion parameters and 3 billion activated parameters with 20 billion n-gram embedding parameters and 2 billion multi-token prediction (MTP) parameters. On the official model card, the Qwen team notes that combining linear attention (Gated DeltaNet) and sparse attention (Qwen Sparse Attention) enables faster inference and a drastically reduced cache footprint across a 1,048,576-token native context window, while layer-2 n-gram embeddings improve model quality without extra compute or accelerator memory overhead.

Specification Official Model Card Value
Model Type Causal Language Model with Vision Encoder
Training Stage Pre-training and Post-training
License Apache 2.0 (apache-2.0)
Main / Active Parameters 35B with 3B activated
Additional Parameters 20B n-gram embedding, 2B MTP
Native Context Length 1,048,576 tokens
Number of Layers 40
Hidden Layout 10 × (3 × (Gated DeltaNet → MoE) → 1 × (Qwen Sparse Attention → MoE))
Hidden Dimension 2,048
MoE Configuration 256 experts (8 routed + 1 shared activated); intermediate dim 512
Token Embedding 248,320 (padded)
N-gram Embedding 10,000,000 bigrams/trigrams at layer 2
Multi-Token Prediction (MTP) 1 layer, trained with multi-steps

In a separate partner blog post titled “Welcome Qwen 4: Cutting-edge intelligence on-device” published December 4, 2026, Hugging Face reports slightly more granular figures of roughly 35B main parameters, roughly 3.8B active parameters per token, and roughly 20.5B Per-Layer N-gram Embedding parameters (about 56B total). Those Hugging Face estimates differ from the primary figures listed on Qwen’s official model card and X announcement.

Thinking Modes and Sampling Settings

Qwen4-35B-A3B supports configurable reasoning via reasoning_effort (xhigh, high, low, and off) alongside preserve_thinking. By default, thinking mode runs with reasoning_effort="high" and preserve_thinking enabled, while enable_thinking=False maps to reasoning_effort="off". The model card notes that the model may answer simple prompts directly even when thinking is active, and cautions that lowering reasoning effort in multi-turn agentic tasks does not always shorten total completion time.

Official recommended sampling parameters differ by mode:

  • Thinking mode: temperature=1.0, top_p=0.95, top_k=20, min_p=0.0, presence_penalty=0.0, repetition_penalty=1.0.
  • Non-thinking mode: temperature=0.7, top_p=0.80, top_k=20, min_p=0.0, presence_penalty=1.5, repetition_penalty=1.0.

Is Qwen4-35B-A3B the Same as Qwen4-Max Going Open Source?

Qwen4-35B-A3B is a smaller open-weight model in the Qwen4 family, while Qwen4-Max remains a separate closed flagship service. Alibaba made Qwen4-Max generally available earlier on November 16, 2026, under the production API ID qwen4-max.

On the Qwen4-35B-A3B model card, the Qwen team describes Qwen4-Max (linking to the Qwen4-Max blog post) as “the flagship of the Qwen4 series: an ultra-sparse model designed for long-horizon agentic applications,” and then adds: “Building on the same architecture and training techniques, the Qwen4 open model series is now on its way.” Qwen4-35B-A3B is an open-weight release built on that shared architecture rather than open weights for Qwen4-Max itself.

Weight Downloads and Supported Inference Runtimes

Qwen4-35B-A3B weights and configuration files are available on Hugging Face and ModelScope in the Hugging Face Transformers format. When loading the reference Qwen4 Tokenizer or Processor, Qwen notes that trust_remote_code=True is required and that the tokenizer depends on tiktoken.

For production serving and local deployment, the official model card lists several compatible engines:

  • Production serving frameworks: Hugging Face Transformers, vLLM, SGLang, and TokenSpeed.
  • Local inference engines: llama.cpp, ollama, unsloth, mlx-vlm, and LiteRT-LM, along with specialized inference engines for Qwen4.

On X, the Qwen team also states that Qwen4-35B-A3B runs on a single GPU when quantized, without specifying a GPU model or memory requirement. Separately, Hugging Face writes in its partner blog post that it collaborated with the Qwen team on day-0 support across transformers, llama.cpp, Llama App, vLLM, SGLang, MLX, Inference Providers, Inference Endpoints, and TRL for fine-tuning, alongside GGUF quantizations (Q4_K_M, Q6_K, Q8_0), BF16, FP8, and OMLX checkpoints.

How Do You Call the Qwen Cloud API and What Is the List Price?

Qwen4-35B-A3B is served on Qwen Cloud under the managed API model name qwen4-35b-a3b with built-in production tools, as detailed on the Qwen Cloud model overview page. On the official Qwen Cloud model pricing page, qwen4-35b-a3b appears under the Qwen4 open-source text generation tier with identical per-token rates for both thinking and non-thinking modes.

As of December 5, 2026, the official Qwen Cloud standard list prices for 0 < Token <= 1M are as follows:

Deployment Scope Input Price (per 1M tokens) Output Price (per 1M tokens) Free Quota & Notes
International $0.06 $0.36 1M free tokens (90-day validity from activation, release, or approval, whichever is later); context cache discount noted
Global $0.057 $0.339 Context cache discount noted; no free quota listed in the Global table

Output unit pricing covers both chain-of-thought reasoning tokens and final response tokens. The pricing page notes that context caching receives a discount without publishing a separate cache unit rate, and separately states that batch calls are at half price. Developers planning production workloads should confirm current billing rules directly on the official Qwen Cloud pricing page.

Official Performance Claims vs. Third-Party Benchmarks

Qwen4-35B-A3B performance statements come from three distinct sources that should be read separately. In its December 4 X announcement, @Alibaba_Qwen claims the model outperforms dense Qwen3.8-27B and “matches Qwen3.8-Flash-Next at ~1/3 the size.”

In its separate partner post, Hugging Face frames that comparison slightly differently, writing that Qwen4-35B-A3B “is comparable to the much larger Qwen 3.8 Flash Next, or even better in some tasks.” Neither statement is an independent third-party evaluation.

On the official Hugging Face model card, Qwen publishes a benchmark chart that attributes external evaluation figures to specific third-party suites: Terminal Bench 4.1, FrontierCode-AA 2.0, AA-Briefcase v1.1, and AutomationBench-AA are cited from Artificial Analysis, while APEX-Agents v1.1 scores are cited from the Mercor leaderboard and Work360 is identified as Qwen’s built-in benchmark. Only those source attributions are stated in text on the card; detailed numeric score tables are not reproduced here.

FAQ

Is Qwen4-35B-A3B open source under Apache 2.0?

Yes, Alibaba’s Qwen team released the Qwen4-35B-A3B post-trained weights and configuration files under Apache 2.0 on December 4, 2026. The official Hugging Face repository lists apache-2.0 in its metadata and states that these artifacts are compatible with Hugging Face Transformers, vLLM, SGLang, and TokenSpeed for deployment.

What input and output modalities does Qwen4-35B-A3B support?

Qwen4-35B-A3B is classified on its official model card as a Causal Language Model with a Vision Encoder. The Quickstart section on Hugging Face includes documented examples for text-only prompts, image inputs, and video inputs, generating text responses. Audio output and image generation are not documented on the official model card.

How do thinking modes work in Qwen4-35B-A3B?

Qwen4-35B-A3B defaults to thinking mode with reasoning_effort set to high and preserve_thinking enabled. Developers can choose xhigh, high, low, or off, or set enable_thinking=False to match reasoning_effort="off". The model card notes that simple tasks may skip thinking automatically and that lower effort does not always shorten multi-turn agentic task completion.

Why do parameter counts for Qwen4-35B-A3B differ between Qwen and Hugging Face?

Alibaba’s official X post summarizes Qwen4-35B-A3B as 35B total with 3B activated, while the official model card specifies 35B with 3B activated plus 20B n-gram embedding and 2B MTP parameters. In a separate December 4 blog post, Hugging Face reports more granular estimates of roughly 35B main, 3.8B active, and 20.5B PLE parameters (~56B total).

What is the official Qwen Cloud API price for Qwen4-35B-A3B?

As of December 5, 2026, Qwen Cloud lists qwen4-35b-a3b at standard rates of $0.06 per million input tokens and $0.36 per million output tokens for International deployments, and $0.057 input and $0.339 output for Global deployments (0 to 1M tokens). Output pricing covers both chain-of-thought and final response tokens. The official pricing page separately notes that batch calls are billed at half price.

Sources

Written by

Chunyu Cai

Chunyu Cai is the CEO of Lotook, LLC and an entrepreneur who writes about AI models, agents, and how they change everyday work. Chunyu holds a master's degree from Imperial College London.