Together AI 目前將 Qwen4 Max 定價為每 1M input tokens $1.05、每 1M output tokens $3.15。這項促銷標示會持續到 2026 年 11 月 22 日;實際切換時間仍應以即時頁面為準,之後牌價會調整為 $1.50 與 $4.50。促銷期間 Together AI 最便宜;促銷結束後,各家價格持平,真正影響選擇的會是快取行為、延遲與路由方式。
Together AI 在 模型頁面與 2026 年 11 月 21 日發布的發布文章中,列出了端點 Qwen/Qwen4-Max、1M context 與促銷價格。
$0.69 做了什麼:單次請求分析 344 個檔案
Together AI 將 Tornado 的 344 個檔案(共 652,519 個 input tokens)連同一份 WebSocket 錯誤報告,在單次請求中交給模型處理,過程沒有使用 retrieval 或 tools(Together AI 發布文章)。Qwen4 Max 找出問題、提出修補方案,並通過新增測試及原有的 1,673 項測試;54 秒產生第一個 token,72 秒完成整個回應(Together AI 發布文章)。
這次執行在促銷價下約花費 $0.69,按牌價則約為 $0.98,而且成本幾乎全來自 input。將約 630k 的重複內容快取後,input 成本從約 $0.66 降至 $0.03,首 token 延遲也從 54 秒縮短到 8 秒;不過快取採 best-effort,並不保證每次都命中(Together AI 發布文章)。
「我透過 Alibaba 的 Token Plan 測過,在幾個 coding task 加上遠端執行個體工作上,它表現得比 DeepSeek 4.1Flash 好,但完成所需的時間久到不行。」—— u/FlounderRecent,r/Qwen_AI
Together AI 價格一覽
Together AI 有公布促銷結束日期,但沒有說明具體截止時間或時區(模型頁面);要進行大量執行前,最好先確認即時價格。計價方式為:input / 1M 乘以 input rate,再加上 output 與 reasoning / 1M 乘以 output rate;已快取的 input 則套用 cached rate。
| 價格級別 | Input / 1M | Cached input / 1M | Output / 1M |
|---|---|---|---|
| Together AI 促銷價(截至 2026 年 11 月 22 日) | $1.05 | $0.0525 | $3.15 |
| Together AI 牌價 | $1.50 | $0.075 | $4.50 |
Cached input 是一般 input 價格的 5%。Thinking tokens 會按 output 計費(Together AI 發布文章)。
| 工作負載 | Input | Output | 促銷價成本 | 牌價成本 |
|---|---|---|---|---|
| Agentic coding session | 60,000 | 4,000 | $0.0756 | $0.108 |
| Tornado 完整 repository 請求 | 652,519 | 約 2,000(估算) | 約 $0.69 | 約 $0.98 |
| 約 630k prompt 的快取重複請求 | 約 630,000 cached | 少量 | input 約 $0.03 | input 約 $0.047 |
Tornado 那一列的 output 只是約略值,因為實際計費的 reasoning tokens 會隨 effort 改變。
Together AI 的 1M context:標示容量不等於可用 input
Qwen4 Max 標示的 1M tokens 由 prompt、reasoning 與 output 共用。某個 gateway snapshot 顯示可用 input 約為 984k(Sovyron);Vercel 則將 output 上限設為 384k,而且 reasoning 也算在其中。當 input 超過 900k 時,建議預留約 100k 餘裕。
Together AI 首次呼叫最容易踩到的三個坑
1. 非串流請求會回傳 streaming_required。 Together AI 只接受串流請求(發布文章)。非串流請求會得到 HTTP 400。修正方式是在請求中加入 "stream": true 或 stream=True。
2. Thinking 預設開啟,而且會按 output 計費。 串流回應會將 delta.reasoning 與 delta.content 分開傳送(發布文章)。如果只是要便宜地做資料擷取,可以關閉它:
response = client.chat.completions.create(
model="Qwen/Qwen4-Max",
messages=messages,
stream=True,
reasoning={"enabled": False},
)面對更複雜的工作,可以用 "reasoning_effort": "max" 提高推理強度(發布文章)。
3. 只有 serverless、快取採 best-effort,prompt 不要放 secrets。 Together AI 不提供 fine-tuning 或 dedicated endpoint(發布文章)。快取會自動運作,但不保證一定命中。官方範例會列出 git ls-files 所追蹤的每個檔案(發布文章),因此把整個 repository 傳上去之前,務必先清除 secrets。
Together、QwenCloud、OpenRouter:該在哪裡呼叫 Qwen4 Max?
| Provider | Input / 1M | Output / 1M | Cache read / 1M | 備註 |
|---|---|---|---|---|
| Together AI 促銷價 | $1.05 | $3.15 | $0.0525 | 截至 11 月 22 日;Qwen/Qwen4-Max,僅 serverless、僅串流 |
| Together AI 牌價 | $1.50 | $4.50 | $0.075 | 促銷結束後仍使用相同端點 |
| QwenCloud | $1.50 | $4.50 | $0.075 | 以引用的新加坡價格計算的直接 Qwen 路由 |
| OpenRouter 經由 Ailyre / CloudTweaks | $1.425 | $4.275 | 約 $0.071 | 全球路由;11 月 20 至 22 日的 snapshot |
| Deep Infra / Novita AI 經由 Sovyron | $1.413 | $4.24 | 約 $0.071 | Sovyron 11 月 17 日 snapshot 中,非促銷選項裡價格最低 |
| Vercel AI Gateway | $1.50 | $4.50 | $0.08 read / $1.88 write | 引用的 snapshot:3.3 秒延遲、52 tok/s、93% cache-hit;$5 credit |
促銷期間,Together AI 對重複 prompt 最划算。促銷結束後,引用的 snapshot 顯示 Deep Infra 或 Novita AI 仍屬非促銷方案中價格較低的選擇;OpenRouter 與 Vercel 則以小幅溢價換取路由與工具支援。
在 Together AI 發出串流請求
curl -X POST "https://api.together.ai/v1/chat/completions" \
-H "Authorization: Bearer $TOGETHER_API_KEY" \
-H "Content-Type: application/json" \
-d '{"model": "Qwen/Qwen4-Max", "messages": [{"role": "user", "content": "Hi"}], "stream": true}'from together import Together
client = Together()
response = client.chat.completions.create(
model="Qwen/Qwen4-Max",
messages=[{"role": "user", "content": "Explain this diff in 3 bullets."}],
stream=True,
)
for chunk in response:
print(chunk.choices[0].delta.content or "", end="")完整 repository 的做法是:將 repository 檔案以 === FILE: path === 的格式放進 system message,再把錯誤報告放進 user message,最後以串流方式接收修補內容(發布文章)。
該不該透過 Together AI 路由 Qwen4 Max?
| 工作負載 | 本週建議路由 | 原因 |
|---|---|---|
| 整個 repository 的分流處理(300-650k input) | Together AI 促銷價 | 約 $0.69 的執行成本;不需要 retrieval pipeline |
| 反覆處理同一份 codebase | Together AI(任一價格級別) | 重複請求成本從約 $0.66 降至約 $0.03;TTFT 從 54 秒降至 8 秒 |
| 以 output 為主的 reasoning traces | 已確認的最低 output rate;品質允許時關閉 reasoning | Thinking 會按 $3.15-$4.50 的 output 價格計費 |
| 對地區敏感的工作負載 | 路由前先查看 QwenCloud 的區域文件 | Together AI 沒有 dedicated endpoint 或 fine-tuning |
| 故障切換與 playground 測試 | OpenRouter / Vercel AI Gateway | 提供路由、重試,以及 $5 Vercel credit |
在引用的 Tornado 測試中,650k 的 cold prompt 花了 54 秒才產生第一個 token,這代表它更適合批次處理或隔夜執行,不太適合互動式 IDE 迴圈。快取改善了重複請求,卻幫不上第一次執行;規劃成本時要把 cold start 算進去。
FAQ
Together AI 的確切 model ID 是什麼?
Qwen/Qwen4-Max,端點為 https://api.together.ai/v1/chat/completions。
可以在 Together AI 上對 Qwen4 Max 進行 fine-tune 嗎?
不行。發布時 Together AI 僅提供 serverless,沒有 fine-tuning 或 dedicated endpoint(發布文章)。
Together AI 的促銷價格何時結束?
促銷持續到 2026 年 11 月 22 日,但官方沒有公布截止時間;大量執行前請查看模型頁面。
Together AI 比 QwenCloud Singapore 便宜嗎?
促銷期間是($1.05/$3.15 對上 $1.50/$4.50);促銷結束後牌價相同,接下來就看快取、延遲與路由。