Qwen3.8 Max (0902) 是一款多模態模型,列於供應商 qwen 的 OrcaRouter 上。它在共享的 1,000,000 token 上下文視窗內接受文字、影像和影片輸入,並可產生最多 131,072 token 的回應。OrcaRouter 透過 OpenAI 相容的 API(https://api.orcarouter.ai/v1)公開此模型;模型 ID 為 qwen/qwen3.8-max-0902。所列價格為每 1,000,000 個輸入 token 收費 $2.00,每 1,000,000 個輸出 token 收費 $6.00,以供應商費率計費且零加價。 此模型適合需要在單一請求中分析長篇或混合來源素材的開發人員:文字、影像和影片可置於同一提示中,且輸出上限很高。所提供的資料未包含基準測試或延遲數據,因此應根據您自己的負載來檢查答案品質和速度。透過 OrcaRouter 呼叫時,請使用確切的模型 ID qwen/qwen3.8-max-0902。
| 輸入 / 1M tokens | $2.00 |
|---|---|
| 輸出 / 1M tokens | $6.00 |
| 快取讀取 / 1M | $0.250 |
| 快取寫入 / 1M | $2.50 |
| 貨幣 | USD |
1.6M 輸入 × $2/M + 400K 輸出 × $6/M
提示快取按一半輸入 token 命中快取估算,快取讀取價 $0.25/M。
基於標價的估算
| 情境 | 輸入 / 輸出 token | 每次請求 | 每 1,000 次請求 |
|---|---|---|---|
| 聊天回覆 | 200 / 300 | $0.0022 | $2.20 |
| 長文件摘要 | 30K / 1K | $0.066 | $66.00 |
| 程式碼審查 | 8K / 2K | $0.028 | $28.00 |
僅為估算——實際 Token 數取決於供應商的分詞器。
使用任何相容 OpenAI 的 SDK,或直接發送 HTTP 請求。 取得 API Key
export ORCAROUTER_API_KEY=…https://api.orcarouter.ai/v1原生端點: Anthropic SDK https://api.orcarouter.ai
import os
from openai import OpenAI
client = OpenAI(
base_url="https://api.orcarouter.ai/v1",
api_key=os.environ["ORCAROUTER_API_KEY"],
)
response = client.chat.completions.create(
model="qwen/qwen3.8-max-0902",
messages=[{"role": "user", "content": "Hello"}],
)
print(response.choices[0].message.content){
"id": "chatcmpl-…",
"object": "chat.completion",
"created": 1763280000,
"model": "qwen/qwen3.8-max-0902",
"choices": [
{
"index": 0,
"message": {
"role": "assistant",
"content": "Hello! How can I help you today?"
},
"finish_reason": "stop"
}
],
"usage": {
"prompt_tokens": 9,
"completion_tokens": 10,
"total_tokens": 19
}
}choices[0].message.content — 模型的回答。finish_reason — "stop" 表示回答已完整結束;"length" 表示達到 max_tokens 被截斷。usage — 本次呼叫計費的輸入和輸出 token 數。回傳 HTTP 200 且 finish_reason 為 "stop",表示呼叫成功。
| 參數 | 作用 |
|---|---|
max_tokens | 模型最多生成的 token 數。 |
temperature | 取樣隨機性:越低越穩定,越高越多樣。 |
tools | 模型可呼叫的函式,以 JSON Schema 描述。 |
response_format | 強制輸出 JSON,可指定 JSON Schema。 |
reasoning_effort | 回答前的推理強度:low、medium 或 high。 |
top_p | 核取樣:只從累計機率在此範圍內的 token 中選取。 |
stop | 遇到這些序列時模型停止生成。 |
tool_choice | 控制模型必須、可以或不得呼叫工具。 |
structured_outputs | 模型能嚴格遵循 response_format 中給定的 JSON Schema。 |
reasoning | 設定模型推理:推理強度、token 預算或關閉。 |
include_reasoning | 隨回答一併回傳模型的推理過程文字。 |
seed | 對相同輸入盡量回傳可重現的結果。 |
presence_penalty | 對已出現過的 token 施加懲罰,鼓勵引入新話題。 |
enable_thinking |
嵌入此徽章
@misc{orcarouter_qwen3_8_max_0902,
title = {Qwen3.8 Max (0902) API},
author = {Qwen},
year = {2026},
howpublished = {OrcaRouter},
url = {https://www.orcarouter.ai/models/qwen/qwen3.8-max-0902}
}Qwen. (2026). Qwen3.8 Max (0902) API. OrcaRouter. https://www.orcarouter.ai/models/qwen/qwen3.8-max-0902