---
title: Qwen: Qwen3.5 397B A17B API | Text Generation | ModelsLab
description: Multimodal LLM with 397B total / 17B active params in Hybrid MoE architecture, 256K context, native text/image/video support, 8.6-19x faster decoding.
url: https://modelslab.com/models/together_ai/qwen-qwen3.5-397b-a17b.md
canonical: https://modelslab.com/models/together_ai/qwen-qwen3.5-397b-a17b.md
type: product
component: Playground/LLM/Index
generated_at: 2026-05-05T21:30:01.794534Z
---

Qwen: Qwen3.5 397B A17B
---

 [LLMs.txt](https://modelslab.com/models/alibaba_cloud/qwen-qwen3.5-397b-a17b/llms.txt) [.md](https://modelslab.com/models/alibaba_cloud/qwen-qwen3.5-397b-a17b.md)

qwen-qwen3.5-397b-a17b alibaba\_cloud Closed Source Model $2.100000 / call

Qwen: Qwen3.5 397B A17B
---

Choose a prompt below to get started or type your own message

 Explain quantum computing in simple terms

 Write a Python function to sort a list

 Create a marketing email for a SaaS product

 Compare REST vs GraphQL APIs

Send

### Qwen: Qwen3.5 397B A17B

alibaba\_cloud qwen-qwen3.5-397b-a17b

Copy model ID

PricingInput $0.60 / 1M tokens

Output $3.60 / 1M tokens

API EndpointsOpenAI Compatible

`https://modelslab.com/api/v7/llm/chat/completions`Endpoint

Anthropic Compatible

`https://modelslab.com/api/v7/llm/v1/messages`Messages

`https://modelslab.com/api/v7/llm/v1/messages/count_tokens`Count Tokens

`https://modelslab.com/api/v7/llm/v1/models`Models

Use with Claude Code

cURL Example

ParametersSystem MessageYou are a helpful AI assistant specialized in providing accurate and detailed responses.

Temperature0.7

Max Tokens1000

Top P0.9

Frequency Penalty0

Presence Penalty0

Model Info

Support

Related Models
---

Discover similar models you might be interested in

 [View all LLM Models](https://modelslab.com/models?feature=llmaster)

[MM](https://modelslab.com/models/open_router/minimax-minimax-01)[Open Router](https://modelslab.com/models/open_router)

 [MiniMax: MiniMax-01

Closed Source Model](https://modelslab.com/models/open_router/minimax-minimax-01)

[MM](https://modelslab.com/models/open_router/mistralai-mistral-medium-3-5)[Open Router](https://modelslab.com/models/open_router)

 [Mistral: Mistral Medium 3.5

Closed Source Model](https://modelslab.com/models/open_router/mistralai-mistral-medium-3-5)

[M(](https://modelslab.com/models/together_ai/mistralai-Mistral-7B-Instruct-v0.1)[Together AI](https://modelslab.com/models/together_ai)

 [Mistral (7B) Instruct v0.1

Closed Source Model](https://modelslab.com/models/together_ai/mistralai-Mistral-7B-Instruct-v0.1)

[MM](https://modelslab.com/models/open_router/mistralai-mistral-medium-3.1)[Open Router](https://modelslab.com/models/open_router)

 [Mistral: Mistral Medium 3.1

Closed Source Model](https://modelslab.com/models/open_router/mistralai-mistral-medium-3.1)

[AO](https://modelslab.com/models/open_router/allenai-olmo-3-32b-think)[Open Router](https://modelslab.com/models/open_router)

 [AllenAI: Olmo 3 32B Think

Closed Source Model](https://modelslab.com/models/open_router/allenai-olmo-3-32b-think)

[QQ](https://modelslab.com/models/open_router/qwen-qwen2.5-vl-72b-instruct)[Open Router](https://modelslab.com/models/open_router)

 [Qwen: Qwen2.5 VL 72B Instruct

Closed Source Model](https://modelslab.com/models/open_router/qwen-qwen2.5-vl-72b-instruct)

[Q7](https://modelslab.com/models/together_ai/Qwen-Qwen2.5-72B-Instruct-Turbo)[Together AI](https://modelslab.com/models/together_ai)

 [Qwen2.5 72B Instruct Turbo

Closed Source Model](https://modelslab.com/models/together_ai/Qwen-Qwen2.5-72B-Instruct-Turbo)

[BE](https://modelslab.com/models/open_router/baidu-ernie-4.5-300b-a47b)[Open Router](https://modelslab.com/models/open_router)

 [Baidu: ERNIE 4.5 300B A47B

Closed Source Model](https://modelslab.com/models/open_router/baidu-ernie-4.5-300b-a47b)

[DD](https://modelslab.com/models/open_router/deepseek-deepseek-v3.2-exp)[Open Router](https://modelslab.com/models/open_router)

 [DeepSeek: DeepSeek V3.2 Exp

Closed Source Model](https://modelslab.com/models/open_router/deepseek-deepseek-v3.2-exp)

[G4](https://modelslab.com/models/together_ai/google-gemma-4-26B-A4B-it)[Together AI](https://modelslab.com/models/together_ai)

 [Gemma 4 26B A4b It

Closed Source Model](https://modelslab.com/models/together_ai/google-gemma-4-26B-A4B-it)

[ML](https://modelslab.com/models/meta/meta-llama-Llama-3.2-11B-Vision-Instruct-Turbo)[ModelsLab](https://modelslab.com/models/meta)

 [Meta Llama 3.2 11B Vision Instruct Turbo

Closed Source Model](https://modelslab.com/models/meta/meta-llama-Llama-3.2-11B-Vision-Instruct-Turbo)

[OG](https://modelslab.com/models/open_router/openai-gpt-5.1)[Open Router](https://modelslab.com/models/open_router)

 [OpenAI: GPT-5.1

Closed Source Model](https://modelslab.com/models/open_router/openai-gpt-5.1)

[AJ](https://modelslab.com/models/open_router/ai21-jamba-large-1.7)[Open Router](https://modelslab.com/models/open_router)

 [AI21: Jamba Large 1.7

Closed Source Model](https://modelslab.com/models/open_router/ai21-jamba-large-1.7)

[BS](https://modelslab.com/models/open_router/bytedance-seed-seed-2.0-mini)[Open Router](https://modelslab.com/models/open_router)

 [ByteDance Seed: Seed-2.0-Mini

Closed Source Model](https://modelslab.com/models/open_router/bytedance-seed-seed-2.0-mini)

[GL](https://modelslab.com/models/open_router/google-lyria-3-clip-preview)[Open Router](https://modelslab.com/models/open_router)

 [Google: Lyria 3 Clip Preview

Closed Source Model](https://modelslab.com/models/open_router/google-lyria-3-clip-preview)

[OO](https://modelslab.com/models/open_router/openai-o3)[Open Router](https://modelslab.com/models/open_router)

 [OpenAI: o3

Closed Source Model](https://modelslab.com/models/open_router/openai-o3)

[G2](https://modelslab.com/models/together_ai/google-gemma-2-9b-it)[Together AI](https://modelslab.com/models/together_ai)

 [Gemma 2 9B It

Closed Source Model](https://modelslab.com/models/together_ai/google-gemma-2-9b-it)

[ML](https://modelslab.com/models/open_router/meta-llama-llama-3.2-11b-vision-instruct)[Open Router](https://modelslab.com/models/open_router)

 [Meta: Llama 3.2 11B Vision Instruct

Closed Source Model](https://modelslab.com/models/open_router/meta-llama-llama-3.2-11b-vision-instruct)

About Qwen: Qwen3.5 397B A17B
---

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. It delivers state-of-the-art performance comparable to leading-edge models across a wide range of tasks, including language understanding, logical reasoning, code generation, agent-based tasks, image understanding, video understanding, and graphical user interface (GUI) interactions.

### Technical Specifications

Model IDqwen-qwen3.5-397b-a17bCategoryLLM ModelsTaskText GenerationPrice$2.100000 per million tokensAddedFebruary 20, 2026

### Key Features

- Chat completion and multi-turn conversation API
- Streaming response with token-by-token output
- Function calling and tool use support
- System prompts and role-based messaging
- JSON mode and structured output

### Quick Start

Integrate Qwen: Qwen3.5 397B A17B into your application with a single API call. Get your API key from the [pricing page](https://modelslab.com/pricing) to get started.

PythonJavaScriptcURLPHP

```
<code>import requests
import json

url = "https://modelslab.com/api/v7/llm/chat/completions"

headers = {
    "Content-Type": "application/json"
}

data = {
        "model_id": "qwen-qwen3.5-397b-a17b",
        "messages": [
            {
                "role": "user",
                "content": "Hello!"
            }
        ],
        "max_tokens": 1000,
        "key": "YOUR_API_KEY"
    }

try:
    response = requests.post(url, headers=headers, json=data)
    response.raise_for_status()  # Raises an HTTPError for bad responses (4XX or 5XX)
    result = response.json()
    print("API Response:")
    print(json.dumps(result, indent=2))
except requests.exceptions.HTTPError as http_err:
    print(f"HTTP error occurred: {http_err} - {response.text}")
except Exception as err:
    print(f"Other error occurred: {err}")</code>
```

View the [full API documentation](https://modelslab.com/models/alibaba_cloud/qwen-qwen3.5-397b-a17b/api) for SDKs, code examples in Python, JavaScript, and more.

### Pricing

Qwen: Qwen3.5 397B A17B API costs $2.100000 per million tokens. Pay only for what you use with no minimum commitments. [View pricing plans](https://modelslab.com/pricing)

### Use Cases

- AI chatbots and virtual assistants
- Code generation and developer tools
- Content writing and copywriting automation
- Data analysis, summarization, and extraction

[Learn more about Qwen: Qwen3.5 397B A17B](https://modelslab.com/qwen-qwen35-397b-a17b) [Browse LLM Models](https://modelslab.com/models?feature=llmaster) [More from Alibaba Cloud](https://modelslab.com/models/open_router) [View Pricing](https://modelslab.com/pricing)

Qwen: Qwen3.5 397B A17B FAQ
---

### What is Qwen: Qwen3.5 397B A17B?

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. It delivers state-of-the-art performance comparable to leading-edge models across a

### How do I use the Qwen: Qwen3.5 397B A17B API?

You can integrate Qwen: Qwen3.5 397B A17B into your application with a single API call. Sign up on ModelsLab to get your API key, then use the model ID "qwen-qwen3.5-397b-a17b" in your API requests. We provide SDKs for Python, JavaScript, and cURL examples in the API documentation.

### How much does Qwen: Qwen3.5 397B A17B cost?

Qwen: Qwen3.5 397B A17B costs $2.100000 per million tokens. ModelsLab uses pay-per-use pricing with no minimum commitments. A free tier is available to get started.

### What is the Qwen: Qwen3.5 397B A17B model ID?

The model ID for Qwen: Qwen3.5 397B A17B is "qwen-qwen3.5-397b-a17b". Use this ID in your API requests to specify this model.

### Does Qwen: Qwen3.5 397B A17B have a free tier?

Yes, ModelsLab offers a free tier that lets you try Qwen: Qwen3.5 397B A17B and other AI models. Sign up to get free API credits and start building immediately.

---

*This markdown version is optimized for AI agents and LLMs.*

**Links:**
- [Website](https://modelslab.com)
- [API Documentation](https://docs.modelslab.com)
- [Blog](https://modelslab.com/blog)

---
*Generated by ModelsLab - 2026-05-06*