qwen/qwen3.8-max
阿里通義千問 Qwen3.8 系列的旗艦模型,2026 年 8 月正式商用。混合推理模型,面向程式設計、智慧體工作流程與複雜分析,工具呼叫能力強,支援圖片輸入,100 萬 token 上下文。思考預設開啟、可以關閉,推理強度可在 low 到 max 之間調整。
快取讀取 $0.2/M · 快取寫入 $2/M
API 呼叫時用任一 ID 都可以。
qwen/qwen3.8-max請求中的 model 可以直接使用這些名稱。
把 ONEHOP_KEY 佔位符替換為你的 API Key。 建立 →
from openai import OpenAI
client = OpenAI(
base_url="https://api.onehop.ai/v1",
api_key="<ONEHOP_KEY>",
)
completion = client.chat.completions.create(
model="qwen/qwen3.8-max",
messages=[{"role": "user", "content": "What is the meaning of life?"}],
)
print(completion.choices[0].message.content)