Archive of AI

Source Snapshot / 2026-04-17-alibaba-qwen3-6-open-agent-model-1

Qwen/Qwen3.6-35B-A3B

Linked event: 2026-04-17 · Alibaba Qwen Open-Sources High-Efficiency Agent Model Qwen3.6-35B-A3B Under Apache 2.0 with Only 3B Active Parameters

Publisher
Hugging Face
Archived
2026-11-23
Capture Method
Direct page capture
HTTP / SHA-256
200 / d91690505af2e41f
Original URL
Open source ↗
Wayback Backup
Wayback archive ↗
This page preserves a plain-text static snapshot against link rot. When citing figures, tables, or full legal terms, verify against the original URL and Wayback Machine archive.

[来源关键摘录] Qwen3.6-35B-A3B 官方 Apache 2.0 模型仓库,包含 35B-A3B 架构参数、262K 上下文及评测基准结果。

[正文前段节选] Hugging Face

Search models, datasets, users... ⌘K

Qwen3.6-35B-A3B

Image-Text-to-Text

Transformers

conversational

Eval Results

License: apache-2.0

Model card Files Files and versions

Copy to bucket

Use this model

This repository contains model weights and configuration files for the post-trained model in the Hugging Face Transformers format.

These artifacts are compatible with Hugging Face Transformers, vLLM, SGLang, KTransformers, etc.

Following the February release of the Qwen3.5 series, we're pleased to share the first open-weight variant of Qwen3.6. Built on direct feedback from the community, Qwen3.6 prioritizes stability and real-world utility, offering developers a more intuitive, responsive, and genuinely productive coding experience.

Qwen3.6 Highlights

This release delivers substantial upgrades, particularly in

Agentic Coding: the model now handles frontend workflows and repository-level reasoning with greater fluency and precision.

Thinking Preservation: we've introduced a new option to retain reasoning context from historical messages, streamlining iterative development and reducing overhead.

For more details, please refer to our blog post Qwen3.6-35B-A3B.

Model Overview

Type: Causal Language Model with Vision Encoder

Training Stage: Pre-training & Post-training

Language Model

Number of Parameters: 35B in total and 3B activated

Hidden Dimension: 2048

Token Embedding: 248320 (Padded)

Number of Layers: 40

Hidden Layout: 10 × (3 × (Gated DeltaNet → MoE) → 1 × (Gated Attention → MoE))

Gated DeltaNet:

Number of Linear Attention Heads: 32 for V and 16 for QK

Head Dimension: 128

Gated Attention:

Number of Attention Heads: 16 for Q and 2 for KV

Head Dimension: 256

Rotary Position Embedding Dimension: 64

Mixture Of Experts

Number of Experts: 256

Number of Activated Experts: 8 Routed + 1 Shared

Expert Intermediate Dimension: 512

LM Output: 248320 (Padded)

MTP: trained with multi-steps

Context Length: 262,144 natively and extensible up to 1,010,000 tokens.

Benchmark Results

Qwen3.5-27BGemma4-31BQwen3.5-35BA3BGemma4-26BA4BQwen3.6-35BA3B

Coding Agent

SWE-bench Verified

SWE-bench Multilingual

SWE-bench Pro

Terminal-Bench 2.0

Claw-Eval Avg

Claw-Eval Pass^3

SkillsBench Avg5

QwenClawBench

QwenWebBench

General Agent

DeepPlanning

Tool Decathlon

STEM & Reasoning

LiveCodeBench v6

IMOAnswerBench

* SWE-Bench Series: Internal agent scaffold (bash + file-edit tools); temp=1.0, top_p=0.95, 200K context window. We correct some problematic tasks in the public set of SWE-bench Pro and evaluate all baselines on the refined benchmark.

* Terminal-Bench 2.0: Harbor/Terminus-2 harness; 3h timeout, 32 CPU/48 GB RAM; temp=1.0, top_p=0.95, top_k=20, max_tokens=80K, 256K ctx; avg of 5 runs.

* SkillsBench: Evaluated via OpenCode on 78 tasks (self-contained subset, excluding API-dependent tasks); avg of 5 runs.

* NL2Repo: Others are evaluated via Claude Code (temp=1.0, top_p=0.95, max_turns=900).

* QwenClawBench: An internal real-user-distribution Claw agent benchmark (open-sourcing soon); temp=0.6, 256K ctx.

* QwenWebBench: An internal front-end code generation benchmark; bilingual (EN/CN), 7 categories (Web Design, Web Apps, Games, SVG, Data Visualization, Animation, and 3D); auto-render + multimodal judge (code/visual correctness); BT/Elo rating system.

* TAU3-Bench: We use the official user model (gpt-5.2, low reasoning effort) + default BM25 retrieval.

* VITA-Bench: Avg subdomain scores; using claude-4-sonnet as judger, as the official judger (claude-3.7-sonnet) is no longer available.

* MCPMark: GitHub MCP v0.30.3; Playwright responses truncated at 32K tokens.

* MCP-Atlas: Public set score; gemini-2.5-pro judger.

* AIME 26: We use the full AIME 2026 (I & II), where the scores may differ from Qwen 3.5 notes.

Vision Language

Qwen3.5-27BClaude-Sonnet-4.5Gemma4-31BGemma4-26BA4BQwen3.5-35B-A3BQwen3.6-35B-A3B

STEM and Puzzle

Mathvista(mini)

ZEROBench_sub

MMBenchEN-DEV-v1.1

HallusionBench

Text Recognition and Document Understanding

OmniDocBench1.5

Spatial Intelligence

RefCOCO(avg)

EmbSpatialBench

RefSpatialBench

Video Understanding

VideoMME(w sub.)

VideoMME(w/o sub.)

* Empty cells (--) indicate scores not available or not applicable.

For streamlined integration, we recommend using Qwen3.6 via APIs. Below is a guide to use Qwen3.6 via OpenAI-compatible API.

Serving Qwen3.6

Qwen3.6 can be served via APIs with popular inference frameworks.

In the following, we show example commands to launch OpenAI-Compatible API servers for Qwen3.6 models.

Inference efficiency and throughput vary significantly across frameworks.

We recommend using the latest framework versions to ensure optimal performance and compatibility.

For production workloads or high-throughput scenarios, dedicated serving engines such as SGLang, KTransformers or vLLM are strongly recommended.

The model has a default context length of 262,144 tokens.

If you encounter out-of-memory (OOM) errors, consider reducing the context window.

However, because Qwen3.6 leverages extended context for complex tasks, we advise maintaining a context length of at least 128K tokens to preserve thinking capabilities.

SGLang is a fast serving framework for large language models and vision language models.

sglang>=0.5.10 is recommended for Qwen3.6, which can be installed using the following command in a fresh environment:

uv pip install sglang[all]

See its documentation for more details.

The following will create API endpoints at http://localhost:8000/v1:

Standard Version: The following command can be used to create an API endpoint with maximum context length 262,144 tokens using tensor parallel on 8 GPUs.

python -m sglang.launch_server --model-path Qwen/Qwen3.6-35B-A3B --port 8000 --tp-size 8 --mem-fraction-static 0.8 --context-length 262144 --reasoning-parser qwen3

Tool Use: To support tool use, you can use the following command.

python -m sglang.launch_server --model-path Qwen/Qwen3.6-35B-A3B --port 8000 --tp-size 8 --mem-fraction-static 0.8 --context-length 262144 --reasoning-parser qwen3 --tool-call-parser qwen3_coder

Multi-Token Prediction (MTP): The following command is recommended for MTP:

python -m sglang.launch_server --model-path Qwen/Qwen3.6-35B-A3B --port 8000 --tp-size 8 --mem-fraction-static 0.8 --context-length 262144 --reasoning-parser qwen3 --speculative-algo NEXTN --speculative-num-steps 3 --speculative-eagle-topk 1 --speculative-num-draft-tokens 4

For detailed deployment guide, see the SGLang Qwen3.5 Cookbook.

vLLM is a high-throughput and memory-efficient inference and serving engine for LLMs.

vllm>=0.19.0 is recommended for Qwen3.6, which can be installed using the following command in a fresh environment:

uv pip install vllm --torch-backend=auto

vllm serve Qwen/Qwen3.6-35B-A3B --port 8000 --tensor-parallel-size 8 --max-model-len 262144 --reasoning-parser qwen3

Tool Call: To support tool use, you can use the following command.

vllm serve Qwen/Qwen3.6-35B-A3B --port 8000 --tensor-parallel-size 8 --max-model-len 262144 --reasoning-parser qwen3 --enable-auto-tool-choice --tool-call-parser qwen3_coder

vllm serve Qwen/Qwen3.6-35B-A3B --port 8000 --tensor-parallel-size 8 --max-model-len 262144 --reasoning-parser qwen3 --speculative-config '{"method":"qwen3_next_mtp","num_speculative_tokens":2}'

Text-Only: The following command skips the vision encoder and multimodal profiling to free up memory for additional KV cache:

vllm serve Qwen/Qwen3.6-35B-A3B --port 8000 --tensor-parallel-size 8 --max-model-len 262144 --reasoning-parser qwen3 --language-model-only

For detailed deployment guide, see the vLLM Qwen3.5 Recipe.

KTransformers

KTransformers is a flexible framework for experiencing cutting-edge LLM inference optimizations with CPU-GPU heterogeneous computing.

For running Qwen3.6 with KTransformers, see the KTransformers Deployment Guide.

Hugging Face Transformers

[...内容已截断,完整版请查看原文或 Wayback 快照]