Skip to content

Together AI

Together AI 透過統一的 API 提供對領先開源模型的存取,包括 Llama、DeepSeek、Kimi 等等。

屬性
提供者together
驗證TOGETHER_API_KEY
APIOpenAI 相容
Base URLhttps://api.together.xyz/v1
  1. 取得 API 金鑰

    api.together.ai/settings/api-keys 建立 API 金鑰。

  2. 執行導覽設定

    Terminal window
    openclaw onboard --auth-choice together-api-key
  3. 設定預設模型

    {
    agents: {
    defaults: {
    model: { primary: "together/moonshotai/Kimi-K2.5" },
    },
    },
    }
Terminal window
openclaw onboard --non-interactive \
--mode local \
--auth-choice together-api-key \
--together-api-key "$TOGETHER_API_KEY"

OpenClaw 隨附此捆綁的 Together 目錄:

模型參照名稱輸入Context備註
together/moonshotai/Kimi-K2.5Kimi K2.5文字、圖片262,144預設模型;已啟用推理
together/zai-org/GLM-4.7GLM 4.7 Fp8文字202,752通用文字模型
together/meta-llama/Llama-3.3-70B-Instruct-TurboLlama 3.3 70B Instruct Turbo文字131,072快速指令模型
together/meta-llama/Llama-4-Scout-17B-16E-InstructLlama 4 Scout 17B 16E Instruct文字、圖片10,000,000多模態
together/meta-llama/Llama-4-Maverick-17B-128E-Instruct-FP8Llama 4 Maverick 17B 128E Instruct FP8文字、圖片20,000,000多模態
together/deepseek-ai/DeepSeek-V3.1DeepSeek V3.1文字131,072一般文字模型
together/deepseek-ai/DeepSeek-R1DeepSeek R1文字131,072推理模型
together/moonshotai/Kimi-K2-Instruct-0905Kimi K2-Instruct 0905文字262,144次要 Kimi 文字模型

隨附的 together 外掛程式也會透過 共用的 video_generate 工具註冊影片生成功能。

屬性
預設影片模型together/Wan-AI/Wan2.2-T2V-A14B
模式文字生成影片、單一圖片參考
支援的參數aspectRatio, resolution

若要將 Together 設為預設的影片提供者:

{
agents: {
defaults: {
videoGenerationModel: {
primary: "together/Wan-AI/Wan2.2-T2V-A14B",
},
},
},
}

環境提示

如果 Gateway 作為守護程序 執行,請確保 TOGETHER_API_KEY 可供該程序使用 (例如,在 ~/.openclaw/.env 中或透過 env.shellEnv)。

疑難排解
  • 驗證您的金鑰是否正常運作:openclaw models list --provider together
  • 如果模型未顯示,請確認 API 金鑰已在您的 Gateway 程序的環境中正確設定。
  • 模型參照使用格式 `together/

`。

模型選擇

提供者規則、模型參照和失效轉移行為。

影片生成

共享的影片生成工具參數和提供者選擇。

設定參考

包含提供者設定的完整設定架構。

Together AI

Together AI 儀表板、API 文件和定價。