Ali

Qwen3-235B-A22B

ali/qwen3-235b-a22b
/v1/chat/completions/v1/messages/v1/responses/v1beta/models/*/v1/models/*

Qwen3-235B-A22B 是通义千问研发的一款拥有 2350 亿参数的MoE模型,每次前向传播仅激活 220 亿参数。该模型支持在 “思考” 模式与 “非思考” 模式间无缝切换 —— 前者适用于复杂推理、数学及代码任务,后者则能提升日常对话的效率。它具备强大的推理能力,支持 100 多种语言及方言的多语种处理,在指令遵循和智能体工具调用方面表现出色,原生支持 32Ktoken 的上下文窗口,并可通过基于 YaRN 的扩展技术将上下文长度提升至 131Ktoken。

Input / output modalities
文本 to 文本
Reference input / output price
Input¥2Output¥20per 1M tokens
Context window
131.1K
Added to catalog
Apr 29, 2025

Providers and pricing

ProviderInput /MOutput /MCached /MContextMax outputDetails
Ali¥2¥20¥0131.1K16.4K

Ali

Latency
0.34s
Throughput
43 tokens/s
Context
131.1K

Pricing

Input
¥2/M tokens
Output
¥20/M tokens
Cached
¥0/M tokens

Specifications

Context
131.1K
Max output
16.4K
Supported APIs
/v1/chat/completions/v1/messages/v1/responses/v1beta/models/*/v1/models/*

Qwen3-235B-A22B 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-235b-a22b", 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