Qwen3.8-max

阿里
对话
text
image
模型 Code
qwen3.8-max
服务状态
可调用

模型介绍

通义千问系列模型,支持复杂推理、代码生成、多模态理解等任务

模型能力

输入模态
模型体验支持
思考模式未提供
Function Calling未提供
结构化输出未提供
输出模态
内置工具未提供
联网搜索未提供
缓存未提供

模型价格

输入12元/ 百万 token
输入(缓存命中)1.5元/ 百万 token
输入(Batch File)6元/ 百万 token
显式缓存创建15元/ 百万 token
显式缓存命中1.5元/ 百万 token
输入(Batch Chat)12元/ 百万 token
输出36元/ 百万 token
输出(Batch File)18元/ 百万 token
输出(Batch Chat)36元/ 百万 token

工具调用价格

web_searchResponses API4元/千次调用
t2i_searchResponses API24元/千次调用
i2i_searchResponses API48元/千次调用
pdf_parsingCompletions API0.02元/页
code_interpreterResponses API限时免费
web_extractorResponses API限时免费

模型限流与上下文

上下文长度
1M Tokens
最大输出长度
16K Tokens

API 代码示例

from openai import OpenAI
import os

client = OpenAI(
    api_key=os.getenv("ALIAPI_KEY"),
    base_url="https://limapi.com/api/v1",
)

completion = client.chat.completions.create(
    model="qwen3.8-max",
    messages=[{"role": "user", "content": "你是谁"}],
    stream=True,
)

for chunk in completion:
    print(chunk.choices[0].delta.content or "", end="")