跳轉到主要內容
Together AI 透過統一 API 提供對 Llama、DeepSeek、Kimi 等領先開源模型的存取。 OpenClaw 將其內建為 together 供應器。
屬性
供應器together
驗證TOGETHER_API_KEY
APIOpenAI 相容
基礎 URLhttps://api.together.xyz/v1

開始使用

1

取得 API 金鑰

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

執行入門設定

openclaw onboard --auth-choice together-api-key
3

設定預設模型

{
  agents: {
    defaults: {
      model: {
        primary: "together/meta-llama/Llama-3.3-70B-Instruct-Turbo",
      },
    },
  },
}

非互動式範例

openclaw onboard --non-interactive \
  --mode local \
  --auth-choice together-api-key \
  --together-api-key "$TOGETHER_API_KEY"
入門設定會將 together/meta-llama/Llama-3.3-70B-Instruct-Turbo 設為 預設模型。

內建目錄

費用以每百萬個 token 的美元計價。
模型參照名稱輸入內容脈絡最大輸出費用(輸入/輸出)備註
together/meta-llama/Llama-3.3-70B-Instruct-TurboLlama 3.3 70B Instruct Turbo文字131,0728,1920.88 / 0.88預設模型
together/moonshotai/Kimi-K2.6Kimi K2.6 FP4文字、圖片262,14432,7681.20 / 4.50推理模型
together/deepseek-ai/DeepSeek-V4-ProDeepSeek V4 Pro文字512,0008,1922.10 / 4.40推理模型
together/Qwen/Qwen2.5-7B-Instruct-TurboQwen2.5 7B Instruct Turbo文字32,7688,1920.30 / 0.30快速、非推理
together/zai-org/GLM-5.1GLM 5.1 FP4文字202,7528,1921.40 / 4.40推理模型

影片生成

內建的 together 外掛也會透過共用的 video_generate 工具註冊影片生成。
屬性
預設影片模型Wan-AI/Wan2.2-T2V-A14B
其他模型Wan-AI/Wan2.2-I2V-A14B, minimax/Hailuo-02, Kwai/Kling-2.1-Master
模式文字轉影片;圖片轉影片僅適用於 Wan-AI/Wan2.2-I2V-A14B(單一參考圖片)
時長1-10 秒
支援的參數size(解析為 <width>x<height>);不會讀取 aspectRatio/resolution
若要使用 Together 作為預設影片供應器:
{
  agents: {
    defaults: {
      videoGenerationModel: {
        primary: "together/Wan-AI/Wan2.2-T2V-A14B",
      },
    },
  },
}
請參閱影片生成,了解共用工具參數、 供應器選擇與容錯移轉行為。
如果閘道以常駐程式(launchd/systemd)執行,請確保該程序可使用 TOGETHER_API_KEY(例如位於 ~/.openclaw/.env,或透過 env.shellEnv)。
只在互動式 shell 中設定的金鑰,對常駐程式管理的閘道程序不可見。 請使用 ~/.openclaw/.envenv.shellEnv 設定以確保持久可用。
  • 驗證你的金鑰可用:openclaw models list --provider together
  • 如果模型沒有出現,請確認 API 金鑰已在閘道程序的正確環境中設定。
  • 模型參照使用 together/<model-id> 格式。

相關內容

模型供應器

供應器規則、模型參照與容錯移轉行為。

影片生成

共用影片生成工具參數與供應器選擇。

設定參考

完整設定結構描述,包含供應器設定。

Together AI

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