model releaseAlibaba / Qwen

Qwen releases Qwen4-35B-A3B: 35B total, 3B active parameters, 1,048,576-token native context

TL;DR

Qwen has published Qwen4-35B-A3B on Hugging Face, a mixture-of-experts model with 35B total and 3B activated parameters and a native 1,048,576-token context window. It uses a hybrid of Gated DeltaNet linear attention and Qwen Sparse Attention. The Qwen Cloud API is listed as coming soon.

3 min read
0

Qwen has released Qwen4-35B-A3B, a post-trained model with 35B total parameters and 3B activated per token, and a native context length of 1,048,576 tokens. Weights and configuration files are on Hugging Face in Transformers format.

Architecture

Qwen4 is built on a hybrid of linear attention and sparse attention. Qwen says this gives faster inference and a drastically reduced cache footprint in long-sequence scenarios. It also says n-gram embeddings improve model quality without extra compute or accelerator memory overhead.

Specifications listed for Qwen4-35B-A3B:

  • Type: causal language model with a vision encoder
  • Parameters: 35B with 3B activated, plus 20B n-gram embedding and 2B MTP
  • Layers: 40, laid out as 10 × (3 × (Gated DeltaNet → MoE) → 1 × (Qwen Sparse Attention → MoE))
  • Hidden dimension: 2048
  • Experts: 256, with 8 routed and 1 shared expert activated; expert intermediate dimension 512
  • Gated DeltaNet: 32 linear attention heads for V and 16 for QK, head dimension 128
  • Qwen Sparse Attention: 16 Q heads and 2 KV heads, head dimension 256; the indexer is MQA with 4 query heads and 1 shared key head; budget is 512 blocks or 2048 tokens
  • N-gram embedding: 10,000,000 (bigrams/trigrams at layer 2)
  • MTP: 1 layer, trained with multiple steps
  • Token embedding and LM output: 248320 (padded)

Positioning

Qwen describes Qwen4-Max as the flagship of the Qwen4 series, an ultra-sparse model designed for long-horizon agentic applications. It says the Qwen4 open model series builds on the same architecture and training techniques. The company notes that the community has adopted the Qwen4 architecture, especially for local and self-hosted deployment, since the release of Qwen3.8-Flash-Next.

Qwen claims stronger long-horizon agentic capability, better coding for visual and creative deliverables (frontend development, 3D modeling, game development), and improved token efficiency. It says thinking is more concise at every effort level and that the levels are now better separated.

Benchmarks

Qwen reports results on Terminal Bench 4.1, FrontierCode-AA 2.0, AA-Briefcase v1.1 and AutomationBench-AA, with scores cited from Artificial Analysis. APEX-Agents v1.1 scores are cited from the Mercor leaderboard. Work360 is Qwen's own benchmark for industrial and professional workflows. ChartoGraphy scores were obtained with min_pixels set to 4096×32×32.

Deployment and API

The weights work with Hugging Face Transformers, vLLM, SGLang and TokenSpeed. Qwen recommends SGLang, vLLM and TokenSpeed for production and high-throughput workloads, and lists support for llama.cpp, ollama, unsloth, mlx-vlm and LiteRT-LM for local use.

On Qwen Cloud, the model will be served as qwen4-35b-a3b with additional production features such as official built-in tools. Qwen says the APIs will be available there soon. API pricing is not yet disclosed.

The release includes a reference Qwen4 Tokenizer/Processor. It depends on tiktoken and requires trust_remote_code=True. A Jinja chat template is included in tokenizer-compat/ for backward compatibility only. It produces the same formatted text but can yield different token IDs, because the reference implementation distinguishes control tokens from regular tokens at the ID level.

Thinking control

The model defaults to thinking mode with reasoning_effort="high" and preserve_thinking enabled. Supported levels:

  • xhigh: complex tasks where quality matters most
  • high: common tasks (default)
  • low: fast responses with minimal thinking
  • off: disables thinking; enable_thinking=False is equivalent

Recommended sampling for thinking mode is temperature=1.0, top_p=0.95, top_k=20, min_p=0.0, presence_penalty=0.0, repetition_penalty=1.0. For 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.

What this means

Qwen4-35B-A3B activates 3B of its 35B parameters per token, so it targets efficient inference. The hybrid attention design and the native 1,048,576-token context are aimed at long-sequence workloads. Broad framework support at launch, including local engines, makes self-hosted testing possible before the Qwen Cloud API arrives.

Qwen's own guidance on effort levels matters for agent builders. In multi-turn agentic tasks, it warns, lower reasoning effort does not always cut total completion time. It can cause insufficient analysis, more failures and repeated retries, which may raise total latency and token consumption. Benchmark numbers should be checked against the cited Artificial Analysis and Mercor sources before any comparison, since several results come from third-party leaderboards and one comes from Qwen's internal Work360 suite.

Related Articles

model release

Alibaba Qwen releases Qwen-Audio-3.1-Live, a full-duplex voice model for live calls and agent task work

Alibaba's Qwen team has released Qwen-Audio-3.1-Live, a full-duplex speech model for live calls and task work. It is a hosted voice service that listens, speaks and hands work to a backend model at the same time.

model release

Recursive releases Flint 1.1, a 39.8B-parameter MoE coding model with 2.5B active parameters and Apache 2.0 weights

Recursive has published Flint 1.1, an updated mixture-of-experts coding-agent model with 39.8 billion total and about 2.5 billion active parameters per token. The weights are Apache 2.0 licensed and run on a single B300 or H200 GPU per replica. Recursive reports 64.5% on Terminal-Bench 2.1 and 76.6% on SWE-bench Verified.

model release

Salesforce releases SOV-Omni-1-Mini, a 31.4B open-weight speech-to-action model under Apache 2.0

Salesforce released SOV-Omni-1-Mini, a 31.4 billion-parameter open-weight model that combines speech recognition, reasoning and agentic tool use. It is available on Hugging Face under Apache 2.0. Salesforce claims it ranks first among open-weight models on three benchmarks and second on a fourth.

model release

Ai2 releases Molmo 3 4B and 8B, open vision-language models with 3D grounding, trained on 22.32M examples

Ai2 has released Molmo 3 in 4B and 8B sizes, with open weights, training data and code. The models combine 3D scene understanding, pointing, segmentation and embodied reasoning, and Ai2 claims they beat Gemini 4 Argon and GPT-6 Astra on point-to-depth and point-to-normal prediction.

Comments

Loading...