Qwen

Qwen: Qwen3.5 397B A17B

qwen/qwen3.5-397b-a17b

Access Qwen3.5 397B A17B from Qwen using Puter.js AI API.

Get Started
// npm install @heyputer/puter.js
import { puter } from '@heyputer/puter.js';

puter.ai.chat("Explain quantum computing in simple terms", {
    model: "qwen/qwen3.5-397b-a17b"
}).then(response => {
    document.body.innerHTML = response.message.content;
});
<html>
<body>
    <script src="https://js.puter.com/v2/"></script>
    <script>
        puter.ai.chat("Explain quantum computing in simple terms", {
            model: "qwen/qwen3.5-397b-a17b"
        }).then(response => {
            document.body.innerHTML = response.message.content;
        });
    </script>
</body>
</html>
# pip install openai
from openai import OpenAI

client = OpenAI(
    base_url="https://api.puter.com/puterai/openai/v1/",
    api_key="YOUR_PUTER_AUTH_TOKEN",
)

response = client.chat.completions.create(
    model="qwen/qwen3.5-397b-a17b",
    messages=[
        {"role": "user", "content": "Explain quantum computing in simple terms"}
    ],
)

print(response.choices[0].message.content)
curl https://api.puter.com/puterai/openai/v1/chat/completions \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer YOUR_PUTER_AUTH_TOKEN" \
  -d '{
    "model": "qwen/qwen3.5-397b-a17b",
    "messages": [
      {"role": "user", "content": "Explain quantum computing in simple terms"}
    ]
  }'

Model Card

Qwen3.5-397B-A17B is an open-weight native vision-language model from Alibaba's Qwen team, released in February 2026. It uses a hybrid architecture combining Gated Delta Networks (linear attention) with a sparse mixture-of-experts design, totaling 397 billion parameters but activating only 17 billion per forward pass for efficient inference. The model delivers strong performance across reasoning, coding, agent tasks, and multimodal understanding, competing with frontier models like GPT-5.2, Claude 4.5 Opus, and Gemini-3 Pro. It supports 201 languages and dialects and features a 250k-token vocabulary. Its decoding throughput is reported at 8.6x that of Qwen3-Max under a 32k context length.

Context Window 262K

tokens

Max Output 66K

tokens

Input Cost $0.6

per million tokens

Output Cost $3.6

per million tokens

Input text, image, video, audio

modalities

Tool Use Yes

 

Release Date Feb 15, 2026

 

Output Speed 51

tokens / sec

Latency 1.66s

time to first token

Model Playground

Try Qwen3.5 397B A17B instantly in your browser.
This playground uses the Puter.js AI API — no API keys or setup required.

Chat qwen/qwen3.5-397b-a17b
Qwen
Chat with Qwen3.5 397B A17B
Powered by Puter.js

Benchmarks

How Qwen3.5 397B A17B performs on standard evaluations.

Artificial Analysis
Intelligence Index
33.7
Better than 85% of tracked models
Artificial Analysis
Coding Index
48.2
Better than 71% of tracked models
BenchmarkScore
GPQA Diamond Graduate-level science Q&A
89.3%
Humanity's Last Exam Cross-domain reasoning
27.3%
SciCode Scientific programming
42.0%
IFBench Instruction following
78.8%
LCR Long-context reasoning
65.7%
Terminal-Bench Hard Agentic terminal tasks
40.9%
τ²-Bench Tool use / agents
95.6%

Scores sourced from Artificial Analysis.

Find other Qwen models

Chat

Qwen3.7 Plus

Qwen3.7 Plus is Alibaba's multimodal agent model, released in June 2026, combining vision-language understanding with full agentic capabilities across a 1 million-token context window. Unlike the text-only Qwen3.7 Max, Plus ingests images and video alongside text, processed through early-fusion training so vision and language are jointly understood from the first layer. This enables GUI grounding — the model can interpret screenshots and issue precise on-screen actions — scoring 79.0 on ScreenSpot Pro, placing it alongside Claude Computer Use and OpenAI Operator in the GUI automation tier. Beyond vision, it adds deep reasoning, self-programming, tool invocation, and autonomous iteration: the model writes and tests code, calls external APIs, and loops until the task is done. On the Artificial Analysis Intelligence Index it scores 53. Choose it over Qwen3.7 Max when your workflow requires image or video inputs, browser/desktop automation, or end-to-end agentic pipelines that combine seeing, reasoning, and doing.

Chat

Qwen3.7 Max

Qwen3.7 Max is Alibaba's flagship proprietary reasoning model, released in May 2026, built for long-horizon agentic workloads with a 1 million-token context window and a chain-of-thought reasoning architecture. It is purpose-built for complex, multi-step autonomous tasks. Alibaba demonstrated the model running for 35 hours without degradation, executing over 1,000 tool calls in a single session — making it a strong candidate for coding agents, automated pipelines, and deep document analysis. On benchmarks, it ranks 13th globally on LM Arena's text leaderboard and scores 56.6 on the Artificial Analysis Intelligence Index, making it the highest-ranked Chinese model on that index. It posted 90.2 on Arena-Hard v2 and 72.5 on SWE-Bench Verified. Qwen3.7 Max supports the Anthropic API protocol natively, so it integrates cleanly with tooling like Claude Code. It is well-suited for developers building coding assistants, research agents, or any API use case requiring extended reasoning over large contexts.

Chat

Qwen3.6 Flash

Qwen3.6 Flash is the speed-optimized tier of Alibaba's Qwen3.6 model family, designed for high-throughput, low-latency inference pipelines. It sits alongside Qwen3.6 Max Preview, Plus, and 35B-A3B in the product lineup, targeting use cases where fast response times matter more than peak benchmark scores. Like other Qwen3.6 models, it builds on a hybrid architecture combining linear attention with sparse mixture-of-experts routing. It is best suited for high-volume production workloads such as classification, extraction, summarization, and lightweight agent tasks where latency and cost efficiency are the primary constraints.

Frequently Asked Questions

How do I use Qwen3.5 397B A17B?

You can access Qwen3.5 397B A17B by Qwen through Puter.js AI API. Include the library in your web app or Node.js project and start making calls with just a few lines of JavaScript — no backend and no configuration required. You can also use it with Python or cURL via Puter's OpenAI-compatible API.

Is Qwen3.5 397B A17B free?

Yes, it is free if you're using it through Puter.js. With the User-Pays Model, you can add Qwen3.5 397B A17B to your app at no cost — your users pay for their own AI usage directly, making it completely free for you as a developer.

What is the pricing for Qwen3.5 397B A17B?
Qwen3.5 397B A17B costs $0.6 per 1M input tokens and $3.6 per 1M output tokens.
Price per 1M tokens
Input$0.6
Output$3.6
Who created Qwen3.5 397B A17B?

Qwen3.5 397B A17B was created by Qwen and released on Feb 15, 2026.

What is the context window of Qwen3.5 397B A17B?

Qwen3.5 397B A17B supports a context window of 262K tokens. For reference, that is roughly equivalent to 524 pages of text.

What is the max output length of Qwen3.5 397B A17B?

Qwen3.5 397B A17B can generate up to 66K tokens in a single response.

What types of input can Qwen3.5 397B A17B process?

Qwen3.5 397B A17B accepts the following input types: text, image, video, audio. It produces: text.

Does Qwen3.5 397B A17B support tool use (function calling)?

Yes, Qwen3.5 397B A17B supports tool use (function calling), allowing it to interact with external tools, APIs, and data sources as part of its response flow.

How does Qwen3.5 397B A17B perform on benchmarks?

Qwen3.5 397B A17B scores 33.7 on the Artificial Analysis Intelligence Index, outperforming 85% of tracked models. On coding, it scores 48.2 (outperforms 71% of models).

Does it work with React / Vue / Vanilla JS / Node / etc.?

Yes — the Qwen3.5 397B A17B API works with any JavaScript framework, Node.js, or plain HTML through Puter.js. Just include the library and start building. See the documentation for more details.

Get started with Puter.js

Add Qwen3.5 397B A17B to your app without worrying about API keys or setup.

Read the Docs View Tutorials