[!Note] 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.
In light of its parameter scale, the intended use cases are prototyping, task-specific fine-tuning, and other research or development purposes.
Over recent months, we have intensified our focus on developing foundation models that deliver exceptional utility and performance. Qwen3.5 represents a significant leap forward, integrating breakthroughs in multimodal learning, architectural efficiency, reinforcement learning scale, and global accessibility to empower developers and enterprises with unprecedented capability and efficiency.
Qwen3.5 features the following enhancement:
Unified Vision-Language Foundation: Early fusion training on multimodal tokens achieves cross-generational parity with Qwen3 and outperforms Qwen3-VL models across reasoning, coding, agents, and visual understanding benchmarks.
Efficient Hybrid Architecture: Gated Delta Networks combined with sparse Mixture-of-Experts deliver high-throughput inference with minimal latency and cost overhead.
Scalable RL Generalization: Reinforcement learning scaled across million-agent environments with progressively complex task distributions for robust real-world adaptability.
Global Linguistic Coverage: Expanded support to 201 languages and dialects, enabling inclusive, worldwide deployment with nuanced cultural and regional understanding.
Next-Generation Training Infrastructure: Near-100% multimodal training efficiency compared to text-only training and asynchronous RL frameworks supporting massive-scale agent scaffolds and environment orchestration.
For more details, please refer to our blog post Qwen3.5.
Non-Thinking Mode
| Benchmark | Score |
|---|---|
| MMLU-Pro | 29.7 |
| MMLU-Redux | 48.5 |
| C-Eval | 46.4 |
| SuperGPQA | 16.9 |
| IFEval | 52.1 |
| MMMLU | 34.1 |
Knowledge & STEM (Thinking)
| Benchmark | Score |
|---|---|
| MMLU-Pro | 42.3 |
| MMLU-Redux | 59.5 |
| C-Eval | 50.5 |
| SuperGPQA | 21.3 |
| GPQA | 11.9 |
Instruction Following (Thinking)
| Benchmark | Score |
|---|---|
| IFEval | 44.0 |
| IFBench | 21.0 |
| MultiChallenge | 18.9 |
Long Context (Thinking)
| Benchmark | Score |
|---|---|
| AA-LCR | 4.7 |
| LongBench v2 | 26.1 |
Reasoning (Thinking)
| Benchmark | Score |
|---|---|
| HMMT Feb 25 | -- |
| HMMT Nov 25 | -- |
General Agent (Thinking)
| Benchmark | Score |
|---|---|
| BFCL-V4 | 25.3 |
| TAU2-Bench | 11.6 |
Multilingualism (Thinking)
| Benchmark | Score |
|---|---|
| MMMLU | 44.3 |
| MMLU-ProX | 34.6 |
| NOVA-63 | 42.4 |
| INCLUDE | 40.6 |
| Global PIQA | 59.4 |
| PolyMATH | 8.2 |
| WMT24++ | 27.2 |
| MAXIFE | 39.2 |
Scores of Qwen3.5 models are reported per mode. Empty cells (
--) indicate scores not yet available or not applicable.
Scores reported as Thinking / Non-Thinking.
STEM and Puzzle
| Benchmark | Score |
|---|---|
| MMMU | 49 / 47.4 |
| MMMU-Pro | 31.2 / 31.4 |
| Mathvista(mini) | 62.2 / 58.6 |
| DynaMath | 49.9 / 46.5 |
| ZEROBench | 0.0 / 0.0 |
| ZEROBench_sub | 12.9 / 11.4 |
| VlmsAreBlind | 59.4 / 57.3 |
General VQA
| Benchmark | Score |
|---|---|
| RealWorldQA | 63.4 / 61.6 |
| MMStar | 58.3 / 55.9 |
| MMBench (EN-DEV-v1.1) | 69.9 / 68.0 |
| SimpleVQA | 31.3 / 30.4 |
| HallusionBench | 53.1 / 46.7 |
Text Recognition & Doc Understanding
| Benchmark | Score |
|---|---|
| MMLongBench-Doc | 33.6 / 28.1 |
| AI2D_TEST | 69.9 / 68.7 |
| CC-OCR | 63.2 / 66.7 |
| OmniDocBench1.5 | 61.0 / 70.6 |
| CharXiv(RQ) | 41.3 / 38.2 |
| OCRBench | 74.5 / 79.1 |
Spatial Intelligence
| Benchmark | Score |
|---|---|
| RefCOCO(avg) | 79.3 / 77.8 |
| CountBench | 77.0 / 68.6 |
| ODInW13 | 31.6 / 33.2 |
| ERQA | 34.5 / 23.8 |
| EmbSpatialBench | 68.6 / 54.6 |
| RefSpatialBench | 23.5 / 21.7 |
| Hypersim | 11.9 / 11.0 |
| SUNRGBD | 26.1 / 23.3 |
| Nuscene | 5.7 / 7.0 |
Video Understanding
| Benchmark | Score |
|---|---|
| VideoMME (w sub.) | 63.8 / -- |
| VideoMME (w/o sub.) | 57.7 / -- |
| VideoMMMU | 44.3 / -- |
| MLVU | 65.6 / -- |
| MVBench | 55.8 / -- |
| LVBench | 45.1 / -- |
| MMVU | 34.3 / -- |
Visual Agent
| Benchmark | Score |
|---|---|
| ScreenSpot Pro | -- / 46.5 |
Medical VQA
| Benchmark | Score |
|---|---|
| SLAKE | 62.6 / 59.5 |
| PMC-VQA | 40.4 / 45.5 |
| MedXpertQA-MM | 17.1 / 25.3 |
Experimental settings for Video benchmarks:
top_p=0.95, top_k=20, presence_penalty=1.5, temperature=1.0. Other benchmarks usetemperature=0.6(thinking) ortop_p=0.8, top_k=20, presence_penalty=1.5, temperature=0.7(non-thinking).
以下为 Qwen3.5-0.8B 在华为昇腾环境下的真实适配验证结果(ascend-model-verification Skill,2026-03-30)。
| 项目 | 内容 |
|---|---|
| 硬件环境 | 华为昇腾 Ascend 910 (8×NPU) |
| 设备选择 | ASCEND_RT_VISIBLE_DEVICES=15 (NPU 7, Chip 1) |
| vLLM 版本 | 0.17.0 |
| vLLM-Ascend 版本 | 0.17.0rc1 |
| 编译模式 | PIECEWISE (ACL Graph) |
| KV 缓存 | 48.53 GiB / 1,041,408 tokens |
| 最大并发 (8192 tokens/req) | 369.91x |
| 评估项 | 结果 | 说明 |
|---|---|---|
| 首请求延迟 | 3.17 s | 含 PIECEWISE 编译预热 |
| 稳定态延迟 | ~1.9 s | 128 input + 100 output tokens |
| 并发吞吐 | 2.5 req/s | 10 并发请求 |
| 请求成功率 | 100% (10/10) | 服务稳定 |
延迟明细(128+100 tokens):首请求 3169ms(含编译预热),稳定态 1884/1899/1968/1939ms,平均 ~1923ms。
✅ Qwen3.5-0.8B 在昇腾 NPU 上完全适配:vLLM-Ascend 官方支持 Qwen3.5 系列,标准 Qwen3.5 架构无特殊不支持算子,Models/Completions/Chat Completions 接口全部正常。
推荐启动命令:
VLLM_USE_MODELSCOPE=true ASCEND_RT_VISIBLE_DEVICES=15 vllm serve Qwen/Qwen3.5-0.8B \
--host 0.0.0.0 \
--port 8000 \
--tensor-parallel-size 1 \
--max-model-len 8192 \
--trust-remote-code \
--gpu-memory-utilization 0.85[!Important] Qwen3.5 models support both non-thinking and thinking mode. Qwen3.5-0.8B operates in non-thinking mode by default. To enable thinking, refer to the examples here.
For streamlined integration, we recommend using Qwen3.5 via APIs. Below is a guide to use Qwen3.5 via OpenAI-compatible API.
Qwen3.5 can be served via APIs with popular inference frameworks. In the following, we show example commands to launch OpenAI-Compatible API servers for Qwen3.5 models.
[!Important] 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.
[!Important] The model has a default context length of 262,144 tokens. If you encounter out-of-memory (OOM) errors, consider reducing the context window.
SGLang is a fast serving framework for large language models and vision language models. SGLang from the main branch of the open-source repository is required for Qwen3.5, which can be installed using the following command in a fresh environment:
uv pip install 'git+https://github.com/sgl-project/sglang.git#subdirectory=python&egg=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.5-0.8B --port 8000 --tp-size 1 --mem-fraction-static 0.8 --context-length 262144Tool Use: To support tool use, you can use the following command.
python -m sglang.launch_server --model-path Qwen/Qwen3.5-0.8B --port 8000 --tp-size 1 --mem-fraction-static 0.8 --context-length 262144 --tool-call-parser qwen3_coderMulti-Token Prediction (MTP): The following command is recommended for MTP:
python -m sglang.launch_server --model-path Qwen/Qwen3.5-0.8B --port 8000 --tp-size 1 --mem-fraction-static 0.8 --context-length 262144 --speculative-algo NEXTN --speculative-num-steps 3 --speculative-eagle-topk 1 --speculative-num-draft-tokens 4vLLM is a high-throughput and memory-efficient inference and serving engine for LLMs. vLLM from the main branch of the open-source repository is required for Qwen3.5, which can be installed using the following command in a fresh environment:
uv pip install vllm --torch-backend=auto --extra-index-url https://wheels.vllm.ai/nightlySee its documentation for more details.
For detailed Qwen3.5 usage guide, see the vLLM Qwen3.5 recipe.
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.
vllm serve Qwen/Qwen3.5-0.8B --port 8000 --tensor-parallel-size 1 --max-model-len 262144 Tool Call: To support tool use, you can use the following command.
vllm serve Qwen/Qwen3.5-0.8B --port 8000 --tensor-parallel-size 1 --max-model-len 262144 --enable-auto-tool-choice --tool-call-parser qwen3_coder Multi-Token Prediction (MTP): The following command is recommended for MTP:
vllm serve Qwen/Qwen3.5-0.8B --port 8000 --tensor-parallel-size 1 --max-model-len 262144 --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.5-0.8B --port 8000 --tensor-parallel-size 1 --max-model-len 262144 --language-model-onlyKTransformers is a flexible framework for experiencing cutting-edge LLM inference optimizations with CPU-GPU heterogeneous computing. For running Qwen3.5 with KTransformers, see the KTransformers Deployment Guide.
Hugging Face Transformers contains a lightweight server which can be used for quick testing and moderate load deployment.
The latest transformers is required for Qwen3.5:
pip install "transformers[serving] @ git+https://github.com/huggingface/transformers.git@main"See its documentation for more details. Please also make sure torchvision and pillow are installed.
Then, run transformers serve to launch a server with API endpoints at http://localhost:8000/v1; it will place the model on accelerators if available:
transformers serve --force-model Qwen/Qwen3.5-0.8B --port 8000 --continuous-batchingThe chat completions API is accessible via standard HTTP requests or OpenAI SDKs. Here, we show examples using the OpenAI Python SDK.
Before starting, make sure it is installed and the API key and the API base URL is configured, e.g.:
pip install -U openai
# Set the following accordingly
export OPENAI_BASE_URL="http://localhost:8000/v1"
export OPENAI_API_KEY="EMPTY"[!Tip] We recommend using the following set of sampling parameters for generation
- Non-thinking mode for text tasks:
temperature=1.0, top_p=1.00, top_k=20, min_p=0.0, presence_penalty=2.0, repetition_penalty=1.0- Non-thinking mode for VL tasks:
temperature=0.7, top_p=0.80, top_k=20, min_p=0.0, presence_penalty=1.5, repetition_penalty=1.0- Thinking mode for text tasks:
temperature=1.0, top_p=0.95, top_k=20, min_p=0.0, presence_penalty=1.5, repetition_penalty=1.0- Thinking mode for VL or precise coding (e.g. WebDev) tasks :
temperature=0.6, top_p=0.95, top_k=20, min_p=0.0, presence_penalty=0.0, repetition_penalty=1.0Please note that the support for sampling parameters varies according to inference frameworks.
from openai import OpenAI
# Configured by environment variables
client = OpenAI()
messages = [
{"role": "user", "content": "Give me a short introduction to large language models."},
]
chat_response = client.chat.completions.create(
model="Qwen/Qwen3.5-0.8B",
messages=messages,
max_tokens=32768,
temperature=1.0,
top_p=1.0,
presence_penalty=2.0,
extra_body={
"top_k": 20,
},
)
print("Chat response:", chat_response)from openai import OpenAI
# Configured by environment variables
client = OpenAI()
messages = [
{
"role": "user",
"content": [
{
"type": "image_url",
"image_url": {
"url": "https://qianwen-res.oss-accelerate.aliyuncs.com/Qwen3.5/demo/RealWorld/RealWorld-04.png"
}
},
{
"type": "text",
"text": "Where is this?"
}
]
}
]
chat_response = client.chat.completions.create(
model="Qwen/Qwen3.5-0.8B",
messages=messages,
max_tokens=32768,
temperature=0.7,
top_p=0.8,
presence_penalty=1.5,
extra_body={
"top_k": 20,
},
)
print("Chat response:", chat_response)from openai import OpenAI
# Configured by environment variables
client = OpenAI()
messages = [
{
"role": "user",
"content": [
{
"type": "video_url",
"video_url": {
"url": "https://qianwen-res.oss-accelerate.aliyuncs.com/Qwen3.5/demo/video/N1cdUjctpG8.mp4"
}
},
{
"type": "text",
"text": "Summarize the video content."
}
]
}
]
# When vLLM is launched with `--media-io-kwargs '{"video": {"num_frames": -1}}'`,
# video frame sampling can be configured via `extra_body` (e.g., by setting `fps`).
# This feature is currently supported only in vLLM.
#
# By default, `fps=2` and `do_sample_frames=True`.
# With `do_sample_frames=True`, you can customize the `fps` value to set your desired video sampling rate.
chat_response = client.chat.completions.create(
model="Qwen/Qwen3.5-0.8B",
messages=messages,
max_tokens=32768,
temperature=0.7,
top_p=0.8,
presence_penalty=1.5,
extra_body={
"top_k": 20,
"mm_processor_kwargs": {"fps": 2, "do_sample_frames": True},
},
)
print("Chat response:", chat_response)[!Important] Qwen3.5 does not officially support the soft switch of Qwen3, i.e.,
/thinkand/nothink.
You can make the model think before response by configuring the API parameters. For example,
from openai import OpenAI
# Configured by environment variables
client = OpenAI()
messages = [
{"role": "user", "content": "Type \"I love Qwen3.5\" backwards"},
]
chat_response = client.chat.completions.create(
model="Qwen/Qwen3.5-0.8B",
messages=messages,
max_tokens=81920,
temperature=1.0,
top_p=0.95,
presence_penalty=1.5,
extra_body={
"top_k": 20,
"enable_thinking": True,
},
)
print("Chat response:", chat_response)[!Important] In thinking mode, we have observed that when using the recommended sampling parameters, Qwen3.5-0.8B is more prone to entering thinking loops compared to other Qwen3.5 models, which may prevent it from terminating generation properly. We recommend further tuning the sampling parameters specific to your use case and utilizing the API's streaming generation mode (if supported) to enable timely detection and interruption of such anomalous generation behaviors.
Qwen3.5 excels in tool calling capabilities.
We recommend using Qwen-Agent to quickly build Agent applications with Qwen3.5.
To define the available tools, you can use the MCP configuration file, use the integrated tool of Qwen-Agent, or integrate other tools by yourself.
import os
from qwen_agent.agents import Assistant
# Define LLM
# Using OpenAI-compatible API endpoint. The API backend should disable response parsers.
llm_cfg = {
# Use your own model service compatible with OpenAI API by vLLM/SGLang:
'model': 'Qwen/Qwen3.5-0.8B',
'model_type': 'qwenvl_oai',
'model_server': 'http://localhost:8000/v1', # api_base
'api_key': 'EMPTY',
'generate_cfg': {
'use_raw_api': True,
# Pass the parameter of whether to enable thinking mode in this way
# 'extra_body': {
# 'chat_template_kwargs': {'enable_thinking': True}
# },
},
}
# Define Tools
tools = [
{'mcpServers': { # You can specify the MCP configuration file
"filesystem": {
"command": "npx",
"args": ["-y", "@modelcontextprotocol/server-filesystem", "/Users/xxxx/Desktop"]
}
}
}
]
# Define Agent
bot = Assistant(llm=llm_cfg, function_list=tools)
# Streaming generation
messages = [{'role': 'user', 'content': 'Help me organize my desktop.'}]
for responses in bot.run(messages=messages):
pass
print(responses)
# Streaming generation
messages = [{'role': 'user', 'content': 'Develop a dog website and save it on the desktop'}]
for responses in bot.run(messages=messages):
pass
print(responses)Qwen Code is an open-source AI agent for the terminal, optimized for Qwen models. It helps you understand large codebases, automate tedious work, and ship faster.
For more information, please refer to Qwen Code.
To achieve optimal performance, we recommend the following settings:
Sampling Parameters:
We suggest using the following sets of sampling parameters depending on the mode and task type:
temperature=1.0, top_p=1.00, top_k=20, min_p=0.0, presence_penalty=2.0, repetition_penalty=1.0temperature=0.7, top_p=0.80, top_k=20, min_p=0.0, presence_penalty=1.5, repetition_penalty=1.0temperature=1.0, top_p=0.95, top_k=20, min_p=0.0, presence_penalty=1.5, repetition_penalty=1.0temperature=0.6, top_p=0.95, top_k=20, min_p=0.0, presence_penalty=0.0, repetition_penalty=1.0For supported frameworks, you can adjust the presence_penalty parameter between 0 and 2 to reduce endless repetitions. However, using a higher value may occasionally result in language mixing and a slight decrease in model performance.
Adequate Output Length: We recommend using an output length of 32,768 tokens for most queries. For benchmarking on highly complex problems, such as those found in math and programming competitions, we suggest setting the max output length to 81,920 tokens. This provides the model with sufficient space to generate detailed and comprehensive responses, thereby enhancing its overall performance.
Standardize Output Format: We recommend using prompts to standardize model outputs when benchmarking.
answer field with only the choice letter, e.g., "answer": "C"."No Thinking Content in History: In multi-turn conversations, the historical model output should only include the final output part and does not need to include the thinking content. It is implemented in the provided chat template in Jinja2. However, for frameworks that do not directly use the Jinja2 chat template, it is up to the developers to ensure that the best practice is followed.
Long Video Understanding: To optimize inference efficiency for plain text and images, the size parameter in the released video_preprocessor_config.json is conservatively configured. It is recommended to set the longest_edge parameter in the video_preprocessor_config file to 469,762,048 (corresponding to 224k video tokens) to enable higher frame-rate sampling for hour-scale videos and thereby achieve superior performance. For example,
{"longest_edge": 469762048, "shortest_edge": 4096}Alternatively, override the default values via engine startup parameters. For implementation details, refer to: vLLM / SGLang.
If you find our work helpful, feel free to give us a cite.
@misc{qwen3.5,
title = {{Qwen3.5}: Towards Native Multimodal Agents},
author = {{Qwen Team}},
month = {February},
year = {2026},
url = {https://qwen.ai/blog?id=qwen3.5}
}