Together AI
Together AI 通过统一的 API 提供对 Llama、DeepSeek、Kimi 等领先开源模型的访问。- 提供商:
together - 凭证:
TOGETHER_API_KEY - API:与 OpenAI 兼容
- 基础 URL:
https://api.together.xyz/v1
快速开始
- 设置 API 密钥(推荐:为 Gateway 网关 存储它):
- 设置默认模型:
非交互式示例
together/moonshotai/Kimi-K2.5 设置为默认模型。
环境说明
如果 Gateway 网关 以守护进程(launchd/systemd)方式运行,请确保TOGETHER_API_KEY
对该进程可用(例如,在 ~/.openclaw/.env 中或通过
env.shellEnv)。
内置目录
OpenClaw 当前内置了以下 Together 模型目录:| Model ref | Name | Input | Context | Notes |
|---|---|---|---|---|
together/moonshotai/Kimi-K2.5 | Kimi K2.5 | 文本、图像 | 262,144 | 默认模型;已启用推理 |
together/zai-org/GLM-4.7 | GLM 4.7 Fp8 | 文本 | 202,752 | 通用文本模型 |
together/meta-llama/Llama-3.3-70B-Instruct-Turbo | Llama 3.3 70B Instruct Turbo | 文本 | 131,072 | 快速指令模型 |
together/meta-llama/Llama-4-Scout-17B-16E-Instruct | Llama 4 Scout 17B 16E Instruct | 文本、图像 | 10,000,000 | 多模态 |
together/meta-llama/Llama-4-Maverick-17B-128E-Instruct-FP8 | Llama 4 Maverick 17B 128E Instruct FP8 | 文本、图像 | 20,000,000 | 多模态 |
together/deepseek-ai/DeepSeek-V3.1 | DeepSeek V3.1 | 文本 | 131,072 | 通用文本模型 |
together/deepseek-ai/DeepSeek-R1 | DeepSeek R1 | 文本 | 131,072 | 推理模型 |
together/moonshotai/Kimi-K2-Instruct-0905 | Kimi K2-Instruct 0905 | 文本 | 262,144 | 次要 Kimi 文本模型 |
together/moonshotai/Kimi-K2.5 设置为默认模型。
视频生成
内置的together 插件还通过共享的 video_generate 工具注册了视频生成功能。
- 默认视频模型:
together/Wan-AI/Wan2.2-T2V-A14B - 模式:文生视频和单图参考流程
- 支持
aspectRatio和resolution