Ali

Qwen3.5-397B-A17B

ali/qwen3.5-397b-a17b
/v1/chat/completions/v1/messages/v1/responses/v1beta/models/*/v1/models/*

Qwen3.5系列397B-A17B原生视觉语言模型,基于混合架构设计,融合了线性注意力机制与稀疏混合专家模型,实现了更高的推理效率。在语言理解、逻辑推理、代码生成、智能体任务、图像理解、视频理解、图形用户界面(GUI)等多种任务中,均展现出与当前顶尖前沿模型相媲美的卓越性能。具备强大的代码生成与智能体能力,对于各类智能体场景具有良好的泛化性。

Input / output modalities
文本 · 图像 · 视频 to 文本
Reference input / output price
Input¥1.2Output¥7.2per 1M tokens
Context window
256K
Added to catalog
Feb 24, 2026

Providers and pricing

ProviderInput lengthInput /MOutput /MCached /MContextMax outputDetails
Ali≤ 128K¥1.2¥7.2¥0256K64K
128K – 256K¥3¥18¥0
baidu≤ 128K¥1.2¥7.2¥0256K64K
128K – 256K¥3¥18¥0
Streamlake≤ 128K¥1.2¥7.2¥0256K64K
128K – 256K¥3¥18¥0

Ali

Latency
1.01s
Throughput
116 tokens/s
Context
256K

Pricing

Input
¥1.2/M tokens
Output
¥7.2/M tokens
Cached
¥0/M tokens

Tiered pricing

Pricing varies by input token range.

0–128K Token

Input tier
¥1.2/M tokens
Output tier
¥7.2/M tokens
Cached tier
¥0/M tokens

128K–256K Token

Input tier
¥3/M tokens
Output tier
¥18/M tokens
Cached tier
¥0/M tokens

Additional pricing

Tools · Web search preview
¥0.006

Specifications

Context
256K
Max output
64K
Supported APIs
/v1/chat/completions/v1/messages/v1/responses/v1beta/models/*/v1/models/*

baidu

Latency
2.99s
Throughput
53 tokens/s
Context
256K

Pricing

Input
¥1.2/M tokens
Output
¥7.2/M tokens
Cached
¥0/M tokens

Tiered pricing

Pricing varies by input token range.

0–128K Token

Input tier
¥1.2/M tokens
Output tier
¥7.2/M tokens
Cached tier
¥0/M tokens

128K–256K Token

Input tier
¥3/M tokens
Output tier
¥18/M tokens
Cached tier
¥0/M tokens

Specifications

Context
256K
Max output
64K
Supported APIs
/v1/chat/completions/v1/messages/v1/responses/v1beta/models/*/v1/models/*

Streamlake

Latency
4.48s
Throughput
92 tokens/s
Context
256K

Pricing

Input
¥1.2/M tokens
Output
¥7.2/M tokens
Cached
¥0/M tokens

Tiered pricing

Pricing varies by input token range.

0–128K Token

Input tier
¥1.2/M tokens
Output tier
¥7.2/M tokens
Cached tier
¥0/M tokens

128K–256K Token

Input tier
¥3/M tokens
Output tier
¥18/M tokens
Cached tier
¥0/M tokens

Specifications

Context
256K
Max output
64K
Supported APIs
/v1/chat/completions/v1/messages/v1/responses/v1beta/models/*/v1/models/*

Qwen3.5-397B-A17B code examples and API guide

Modelmesh normalizes requests and responses across service providers behind one consistent API.

Modelmesh provides an OpenAI-compatible Completion API for more than 300 models and service providers. Call it directly, through the OpenAI SDK, or with supported third-party SDKs.

Modelmesh-specific request headers in these examples are optional. When supplied, your application can appear on the Modelmesh rankings.

Supported endpointsSelect an endpoint to switch the example below.
/v1/chat/completions
from openai import OpenAI API_KEY = "$SSY_API_KEY" client = OpenAI( base_url="https://router.shengsuanyun.com/api/v1", api_key=API_KEY, ) try: completion = client.chat.completions.create( model="ali/qwen3.5-397b-a17b", messages=[{"role": "user", "content": "Which number is larger, 9.11 or 9.8?"}], temperature=0.6, top_p=0.7, stream=True, ) response_text = "" for chunk in completion: if chunk.choices and chunk.choices[0].delta.content is not None: content = chunk.choices[0].delta.content print(content, end="", flush=True) response_text += content except Exception as error: print(f"Request failed: {error}")
                
              

Related Models