Together AI
Together AI 提供對領先開源模型的存取, 包括 Llama、DeepSeek、Kimi 等等,透過統一的 API。
| 屬性 | 值 |
|---|---|
| 提供者 | together |
| 驗證 | TOGETHER_API_KEY |
| API | OpenAI 相容 |
| Base URL | https://api.together.xyz/v1 |
取得 API 金鑰
在 api.together.ai/settings/api-keys 建立 API 金鑰。
執行引導設定
Terminal window openclaw onboard --auth-choice together-api-key設定預設模型
{agents: {defaults: {model: {primary: "together/meta-llama/Llama-3.3-70B-Instruct-Turbo",},},},}
非互動式範例
Section titled “非互動式範例”openclaw onboard --non-interactive \ --mode local \ --auth-choice together-api-key \ --together-api-key "$TOGETHER_API_KEY"OpenClaw 隨附此捆綁的 Together 目錄:
| 模型參照 | 名稱 | 輸入 | Context | 備註 |
|---|---|---|---|---|
together/meta-llama/Llama-3.3-70B-Instruct-Turbo | Llama 3.3 70B Instruct Turbo | 文字 | 131,072 | 預設模型 |
together/moonshotai/Kimi-K2.6 | Kimi K2.6 FP4 | 文字、圖片 | 262,144 | Kimi 推理模型 |
together/deepseek-ai/DeepSeek-V4-Pro | DeepSeek V4 Pro | 文字 | 512,000 | 推理文字模型 |
together/Qwen/Qwen2.5-7B-Instruct-Turbo | Qwen2.5 7B Instruct Turbo | 文字 | 32,768 | 快速文字模型 |
together/zai-org/GLM-5.1 | GLM 5.1 FP4 | 文字 | 202,752 | 推理文字模型 |
隨附的 together 外掛程式也會透過
共用的 video_generate 工具註冊影片生成功能。
| 屬性 | 值 |
|---|---|
| 預設影片模型 | together/Wan-AI/Wan2.2-T2V-A14B |
| 模式 | 文字生成影片;僅支援單張圖片參考搭配 Wan-AI/Wan2.2-I2V-A14B |
| 支援的參數 | aspectRatio、 resolution |
若要將 Together 作為預設的影片供應商:
{ agents: { defaults: { videoGenerationModel: { primary: "together/Wan-AI/Wan2.2-T2V-A14B", }, }, },}環境注意事項
如果 Gateway 作為守護程序(launchd/systemd)運行,請確保
TOGETHER_API_KEY 對該程序可用(例如,在
~/.openclaw/.env 中或透過 env.shellEnv)。
疑難排解
- 驗證您的金鑰是否正常運作:
openclaw models list --provider together - 如果模型未出現,請確認 API 金鑰已在您的 Gateway 程序的 正確環境中設定。
- 模型參照使用格式 `together/
`。
模型選擇
提供者規則、模型參照和故障轉移行為。
影片生成
共用的影片生成工具參數和提供者選擇。
設定參考
完整的設定架構,包括提供者設定。
Together AI
Together AI 儀表板、API 文件和定價。