---
last_updated: 2026-11-26
source_url: https://opper.ai/alibaba/qwen3-5-397b-a17b
title: "Qwen 3.5 397B by Alibaba"
description: "Qwen3.5 397B A17B by Alibaba: large sparse MoE model with 397B total (17B active) parameters for advanced reasoning and coding."
---

# Qwen 3.5 397B

By [Alibaba](https://opper.ai/alibaba).

Released 16 Feb 2026, 13 days after [Qwen 3 Coder Next](https://opper.ai/alibaba/qwen3-coder-next) · [Announcement](https://qwen.ai/blog?id=qwen3.5) · [All Alibaba releases](https://opper.ai/model-releases/alibaba)

Qwen3.5 397B A17B is Alibaba's large sparse Mixture-of-Experts model with 397 billion total parameters and 17 billion activated per token, built for frontier-class reasoning and coding. It is multimodal across text, image, and video, with a 262,144 token native context window extensible toward roughly one million tokens with YaRN scaling.

Reported scores include MMLU-Pro 87.8, MMMU-Pro 79.0, and SWE-bench Verified 76.4. The model runs in thinking mode by default, generating reasoning tokens before its response, and supports recommended output lengths up to 81,920 tokens for hard problems.

It targets demanding agentic workflows, repository-level code reasoning, structured outputs, and tool calling across more than 200 languages.

## Available routes

Qwen 3.5 397B runs on 6 different routes through the Opper gateway. Prices are per 1M tokens. In the EU it is served by GreenPT, OVHcloud (France) and Scaleway (France). [See every Qwen model hosted in the EU](https://opper.ai/models/eu/qwen). One route also sells flex and priority processing: the same model at another price, picked per request with service_tier. [How service tiers work](https://docs.opper.ai/build/gateway/service-tiers). Its routes and prices, live from the catalogue, are public JSON with no API key needed at https://api.opper.ai/v3/models?q=qwen3.5-397b-a17b.

| Provider | Model id | Region | Zero data retention | Training | Input | Output | Cache read |
| --- | --- | --- | --- | --- | --- | --- | --- |
| [DeepInfra](https://opper.ai/provider/deepinfra) | `deepinfra/Qwen/Qwen3.5-397B-A17B` | US (United States) | Yes | No | $0.45 | $3.00 | $0.22 |
| [DeepInfra](https://opper.ai/provider/deepinfra), Flex | `deepinfra:flex/Qwen/Qwen3.5-397B-A17B` | US (United States) | Yes | No | $0.36 | $2.40 | $0.18 |
| [DeepInfra](https://opper.ai/provider/deepinfra), Priority | `deepinfra:priority/Qwen/Qwen3.5-397B-A17B` | US (United States) | Yes | No | $0.68 | $4.50 | $0.33 |
| [DigitalOcean](https://opper.ai/provider/digitalocean) | `digitalocean/qwen3.5-397b-a17b` | US (United States) | Abuse monitoring | No | $0.55 | $3.50 | $0.11 |
| [GreenPT](https://opper.ai/provider/greenpt) | `greenpt/qwen3.5-397b-a17b` | EU | Yes | No | $0.77 | $4.76 | Input price |
| [Novita](https://opper.ai/provider/novita) | `novita/qwen3.5-397b-a17b` | US (United States) | Yes | No | $0.60 | $3.60 | Input price |
| [OVHcloud](https://opper.ai/provider/ovhcloud) | `ovhcloud/Qwen3.5-397B-A17B` | EU (France) | Yes | No | $0.66 | $3.94 | Input price |
| [Scaleway](https://opper.ai/provider/scaleway) | `scaleway/qwen3.5-397b-a17b` | EU (France) | Abuse monitoring | No | $0.66 | $3.94 | Input price |

## Key info

- Model id: `qwen3.5-397b-a17b` (routes across DeepInfra, GreenPT, Novita, OVHcloud, Scaleway)
- Input: Text, Image, Video
- Output: Text
- Features: Reasoning, Tools, Structured output
- Context window: 262K
- Max output: 262K
- Input price: $0.45 per 1M tokens ($0.22 cache read)
- Output price: $3.00 per 1M tokens
- Released: 16 Feb 2026
- EU residency available on GreenPT, OVHcloud and Scaleway
- US residency available on DeepInfra, DigitalOcean and Novita
- Zero data retention on pay-as-you-go
- No training by default

## Data handling per route

Each route hosting Qwen 3.5 397B has its own privacy posture, residency, and GDPR terms. Postures are maintained by Opper with a last-verification timestamp.

### DeepInfra — United States

Zero data retention: nothing is logged, held for abuse monitoring or used for training. No training on customer data. US; SCCs.

- Zero data retention: Yes. Nothing is logged, held for abuse monitoring or used for training.
- Training: No training on customer data.
- Logging: None
- Abuse monitoring: No classifier
- Transfer mechanism: SCCs

Verified by Opper on 2026-10-19.

### DigitalOcean — United States

Zero data retention with abuse monitoring: nothing is logged or used for training; content flagged by abuse monitoring is held for review. No training on customer data. US; dpf sccs.

- Zero data retention: With abuse monitoring, flagged content held.
- Training: No training on customer data.
- Logging: None
- Abuse monitoring: Always on, holds flagged content, stored in United States
- Caching: Content cached for replay
- Subprocessor access: No subprocessor reads content
- Transfer mechanism: dpf sccs

Verified by Opper on 2026-09-03.

### GreenPT — EU

Zero data retention: nothing is logged, held for abuse monitoring or used for training. No training on customer data. EU.

- Zero data retention: Yes. Nothing is logged, held for abuse monitoring or used for training.
- Training: No training on customer data.
- Logging: None
- Abuse monitoring: Keeps nothing
- Caching: Content cached for replay
- Subprocessor access: Subprocessors may read content
- Transfer mechanism: Not applicable — data stays in EU

Verified by Opper on 2026-09-25.

### Novita — United States

Zero data retention: nothing is logged, held for abuse monitoring or used for training. No training on customer data. US; SCCs.

- Zero data retention: Yes. Nothing is logged, held for abuse monitoring or used for training.
- Training: No training on customer data.
- Logging: None
- Abuse monitoring: On by default, keeps nothing
- Transfer mechanism: SCCs

Verified by Opper on 2026-09-15.

### OVHcloud — France

Zero data retention: nothing is logged or used for training. No training on customer data. EU.

- Zero data retention: Yes. Nothing is logged or used for training.
- Training: No training on customer data.
- Logging: None
- Transfer mechanism: Not applicable — data stays in EU

Verified by Opper on 2026-11-18.

### Scaleway — France

Zero data retention with abuse monitoring: prompts and outputs are kept for up to 14 days for abuse monitoring only, and are not used for training. No training on customer data. EU.

- Zero data retention: With abuse monitoring, 14-day window.
- Training: No training on customer data.
- Logging: Abuse monitoring (14-day retention)
- Abuse monitoring: No classifier
- Caching: Content cached for replay
- Subprocessor access: No subprocessor reads content
- Transfer mechanism: Not applicable — data stays in EU

Verified by Opper on 2026-09-24.

## Best for

Where Qwen 3.5 397B ranks among the models on Opper with a score for each use case (0 to 100).

- [Multilingual](https://opper.ai/models?use=multilingual): 90.0, #8 of 35 (Tasks across languages)
- [Agents](https://opper.ai/models?use=agents): 3.5 (Terminal-Bench 4.0 and AutomationBench)

## Benchmarks

Independent benchmark scores via [Artificial Analysis](https://artificialanalysis.ai) ([view on AA](https://artificialanalysis.ai/models/qwen3-5-397b-a17b)). Indices and domain scores are out of 100, Omniscience runs from −100 to 100, Briefcase is an Elo rating, and the other evaluation scores are the share of tasks solved.

- Global rank: #165 of 521 LLMs on the [LLM leaderboard](https://opper.ai/llm-leaderboard)
- Tier: Efficient
- Output speed: 58 tok/s
- Intelligence Index (previous version): 21.4

### Coding

- Terminal-Bench 4.0: 0%
- SciCode: 45%

### Agentic & knowledge work

- AutomationBench: 7%
- GDPval: 15%
- GDP.pdf: 12%
- Briefcase (Elo): 565
- Terminal-Bench Hard: 41%
- τ²-Bench Telecom: 96%

### Science & reasoning

- HLE Diamond: 12%
- Humanity's Last Exam: 29%
- GPQA Diamond: 89%
- Long-context reasoning: 77%

### Knowledge

- MMMU-Pro: 77%

### Math & instruction following

- IFBench: 79%

## Get started

Call Qwen 3.5 397B through the Opper gateway with one API key. Opper is drop-in compatible with the OpenAI, Anthropic and Google AI SDKs.

Qwen 3.5 397B is a premium model on Opper. Sign up needs no credit card: you get an API key straight away and the free models work in the playground and the API. Add a card to use premium models, pay-as-you-go with no minimum.

### Set it up with your agent

Paste this into a coding agent like Claude Code, Cursor or Codex and it will wire up Opper for you:

```text
Use curl to download, read and follow: https://skills.opper.ai Call Qwen 3.5 397B
```

### Or call it directly

OpenAI:

```javascript
import OpenAI from "openai";

const client = new OpenAI({
  apiKey: process.env.OPPER_API_KEY,
  baseURL: "https://api.opper.ai/v3/compat",
});

const completion = await client.chat.completions.create({
  model: "qwen3.5-397b-a17b",
  messages: [{ role: "user", content: "Hello" }],
});
console.log(completion.choices[0].message.content);
```

Anthropic:

```javascript
import Anthropic from "@anthropic-ai/sdk";

const client = new Anthropic({
  apiKey: process.env.OPPER_API_KEY,
  baseURL: "https://api.opper.ai/v3/compat",
});

const message = await client.messages.create({
  model: "qwen3.5-397b-a17b",
  max_tokens: 1024,
  messages: [{ role: "user", content: "Hello" }],
});
console.log(message.content);
```

Gemini:

```javascript
import { GoogleGenAI } from "@google/genai";

const ai = new GoogleGenAI({
  apiKey: process.env.OPPER_API_KEY,
  httpOptions: { baseUrl: "https://api.opper.ai/v3/compat" },
});

const response = await ai.models.generateContent({
  model: "qwen3.5-397b-a17b",
  contents: "Hello",
});
console.log(response.text);
```

cURL:

```bash
curl https://api.opper.ai/v3/compat/chat/completions \
  -H "Authorization: Bearer $OPPER_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "qwen3.5-397b-a17b",
    "messages": [{ "role": "user", "content": "Hello" }]
  }'
```

## Use Qwen 3.5 397B in your apps

Pick your tool to see how to run it on Qwen 3.5 397B through Opper.

- [Claude Code](https://opper.ai/apps/claude-code/qwen3-5-397b-a17b)
- [Claude Cowork](https://opper.ai/apps/claude-cowork/qwen3-5-397b-a17b)
- [Codex](https://opper.ai/apps/codex/qwen3-5-397b-a17b)
- [DeepSeek Harness](https://opper.ai/apps/deepseek-harness/qwen3-5-397b-a17b)
- [GitHub Copilot CLI](https://opper.ai/apps/github-copilot-cli/qwen3-5-397b-a17b)
- [Aider](https://opper.ai/apps/aider/qwen3-5-397b-a17b)
- [Goose](https://opper.ai/apps/goose/qwen3-5-397b-a17b)
- [Droid](https://opper.ai/apps/droid/qwen3-5-397b-a17b)
- [OpenCode](https://opper.ai/apps/opencode/qwen3-5-397b-a17b)
- [Pi](https://opper.ai/apps/pi/qwen3-5-397b-a17b)
- [OpenClaw](https://opper.ai/apps/openclaw/qwen3-5-397b-a17b)
- [Hermes](https://opper.ai/apps/hermes/qwen3-5-397b-a17b)
- [Copilot for Obsidian](https://opper.ai/apps/obsidian-copilot/qwen3-5-397b-a17b)
- [OmniRoute](https://opper.ai/apps/omniroute/qwen3-5-397b-a17b)
- [Cursor](https://opper.ai/apps/cursor/qwen3-5-397b-a17b)
- [Cline](https://opper.ai/apps/cline/qwen3-5-397b-a17b)
- [Continue](https://opper.ai/apps/continue/qwen3-5-397b-a17b)
- [Kilo Code](https://opper.ai/apps/kilo-code/qwen3-5-397b-a17b)
- [GitHub Copilot](https://opper.ai/apps/github-copilot/qwen3-5-397b-a17b)
- [Zed](https://opper.ai/apps/zed/qwen3-5-397b-a17b)
- [JetBrains AI Assistant](https://opper.ai/apps/jetbrains-ai-assistant/qwen3-5-397b-a17b)
- [Voidleap Code](https://opper.ai/apps/voidleap-code/qwen3-5-397b-a17b)
- [n8n](https://opper.ai/apps/n8n/qwen3-5-397b-a17b)
- [LibreChat](https://opper.ai/apps/librechat/qwen3-5-397b-a17b)
- [Open WebUI](https://opper.ai/apps/open-webui/qwen3-5-397b-a17b)
- [See all apps](https://opper.ai/apps)

## Other models from Alibaba

- [Qwen4-Max](https://opper.ai/alibaba/qwen4-max)
- [Qwen3.8 Max](https://opper.ai/alibaba/qwen3-8-max)
- [Qwen3.8 27B](https://opper.ai/alibaba/qwen3-8-27b)
- [Qwen3.8-2.4T-A95B](https://opper.ai/alibaba/qwen3-8-2-4t-a95b)
- [Qwen3.8 Flash-Next](https://opper.ai/alibaba/qwen3-8-flash-next)
- [Qwen3.7-Max](https://opper.ai/alibaba/qwen3-7-max)
