KernelFox
Home / Models / Alibaba (Qwen) / Qwen3.5 397B-A17B

Qwen3.5 397B-A17B

6.9 / 10
About the level of Qwen3.7-PlusEpoch index 147.96, updated 24 Nov 2026
Released
16 Feb 2026
Type
Open weights
Apache 2.0
Context
262,144 tokens
Up to 81,920 output tokens
Price per million
$0.45 in
$3 out

The Qwen3.5 series 397B-A17B native vision-language model is built on a hybrid architecture that integrates a linear attention mechanism with a sparse mixture-of-experts model, achieving higher inference efficiency.

Will it run on my PC?

Not on a home PC. Qwen3.5 397B-A17B is an open model, but even the 4-bit version needs about 245.3 GB of memory, which takes server-class hardware. You can download the weights, or use it through one of the providers below.

How it compares

Models closest in score, open and proprietary together.

Kimi-K2.5Open weights
7.0
server hardware (about 622 GB)
Qwen3.5 397B-A17B (this page)Open weights
6.9
245.1 GB VRAM (Q4)
Qwen3.7-PlusProprietary, API only
6.8
$0.56/M tokens (blended)
MiniMax-M3Open weights
6.8
server hardware (about 266 GB)
Claude Sonnet 4.5Proprietary, API only
6.8
$6.0/M tokens (blended)
o3-proProprietary, API only
6.8
$35.0/M tokens (blended)

What it costs

Through an API, per million tokens.

$0.45 in / $3 out

Cached input: $0.22 per million.

about $951for a heavy coding-agent month (13,000 calls, 4 billion tokens, mostly cached context). Measured on one heavy Claude Code user (September 2026), priced at list.

Flat-rate subscriptions can cost far less than API list prices for heavy use. Treat this as a reference, not a bill.

Where to run it through an API

Same open model, several inference providers, very different prices. Cheapest first.

Provider
Input $/M
Output $/M
Precision
Context
Uptime
DeepInfra
0.36
2.4
fp8
262,144
Alibaba
0.39
2.34
not stated
262,144
100%
Parasail
0.5
3.6
fp8
262,144
100%
StreamLake
0.6
3.6
not stated
256,000
100%
Venice
0.75
4.5
not stated
128,000
100%

Prices from OpenRouter’s public provider list. “Precision” is how the weights are stored: a lower-precision copy (fp4, fp8) is cheaper and faster but can be slightly less accurate. Uptime over the last 30 minutes.

Call Qwen3.5 397B-A17B through the API

OpenRouter exposes this model through an OpenAI-compatible API. Create a key on OpenRouter, then use the model identifier qwen/qwen3.5-397b-a17b.

Python
OpenRouter API
import os
from openai import OpenAI

client = OpenAI(
    base_url="https://openrouter.ai/api/v1",
    api_key=os.environ["OPENROUTER_API_KEY"],
)

response = client.chat.completions.create(
    model="qwen/qwen3.5-397b-a17b",
    messages=[{"role": "user", "content": "Explain 4-bit quantization in two sentences."}],
)
print(response.choices[0].message.content)
JavaScript
OpenRouter API
import OpenAI from "openai";

const client = new OpenAI({
  baseURL: "https://openrouter.ai/api/v1",
  apiKey: process.env.OPENROUTER_API_KEY,
});

const response = await client.chat.completions.create({
  model: "qwen/qwen3.5-397b-a17b",
  messages: [{ role: "user", content: "Explain 4-bit quantization in two sentences." }],
});
console.log(response.choices[0].message.content);
cURL
OpenRouter API
curl https://openrouter.ai/api/v1/chat/completions \
  -H "Authorization: Bearer $OPENROUTER_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "qwen/qwen3.5-397b-a17b",
    "messages": [{"role": "user", "content": "Explain 4-bit quantization in two sentences."}]
  }'

Prices and providers are in the sections above. Check the exact identifier on the OpenRouter model page.

Specifications

Released
16 Feb 2026
Type
Open weights
License
Apache 2.0
Parameters
403.4 billion
Layers
60 (15 full attention, 45 linear attention)
Experts
512 experts, 10 active per token
Context window
262,144 tokens, up to 81,920 output tokens
Reads
text, image and video
Writes
text
Full weights on disk
806.8 GB
Name on Hugging Face

Where to get it

Download on Hugging Face GGUF files for local use Use it through OpenRouter License

To run it on your own machine, the two easiest tools are Ollama and LM Studio.

Frozen facts (name, specifications, links) are fixed when the page is created. Scores, prices and download numbers: refreshed daily; last update 24 Nov 2026. Scores: Epoch AI (Capabilities & benchmarking, CC BY 4.0), adapted by KernelFox.