阿
Qwen-max
阿里
对话
text
模型 Code
qwen-max服务状态
可调用
模型介绍
千问2.5系列千亿级别超大规模语言模型,支持中文、英文等不同语言输入。随着模型的升级,qwen-max将滚动更新升级。如果希望使用固定版本,请使用历史快照版本。
模型能力
输入模态
模型体验支持
思考模式不支持
Function Calling支持
结构化输出支持
输出模态
内置工具支持
联网搜索未提供
缓存未提供
模型价格
输入2.4元/ 百万 token
输入(缓存命中)0.48元/ 百万 token
输入(Batch File)1.2元/ 百万 token
输入(Batch Chat)2.4元/ 百万 token
输出9.6元/ 百万 token
输出(Batch File)4.8元/ 百万 token
输出(Batch Chat)9.6元/ 百万 token
近 30 天实测性能
- 首包延迟 P50
- 2.5 s
- 出字速度(含思考)
- 30 tok/s
- 统计样本
- 97 次
统计窗口 2026-09-22 至 2026-10-21(不含当天)。只计本网关上流式且真实返回正文的成功请求, 非流式、失败与零字节请求不在口径内;出字速度取首包之后阶段的平均值。
模型限流与上下文
- 最大输入长度
- 30K Tokens
- 上下文长度
- 32K Tokens
- 最大输出长度
- 8K Tokens
API 代码示例
import requests
url = "https://limapi.com/api/v1/chat/completions"
headers = {
"Authorization": "Bearer YOUR_API_KEY",
"Content-Type": "application/json"
}
payload = {
"model": "qwen-max",
"stream": True,
"messages": [
{"role": "system", "content": "You are a helpful assistant."},
{"role": "user", "content": "你好,请介绍一下你自己"}
]
}
response = requests.post(url, headers=headers, json=payload, stream=True)
for line in response.iter_lines():
if line:
print(line.decode("utf-8"))将示例中的 YOUR_API_KEY 替换为你的 API Key 即可调用。