Together AI
Together AI 通过统一的 API 提供对领先的开源模型(包括 Llama、DeepSeek、Kimi 等)的访问。
| 属性 | 值 |
|---|---|
| 提供商 | together |
| 身份验证 | TOGETHER_API_KEY |
| API | 与 OpenAI 兼容 |
| 基础 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/moonshotai/Kimi-K2.5" },},},}
非交互式示例
Section titled “非交互式示例”openclaw onboard --non-interactive \ --mode local \ --auth-choice together-api-key \ --together-api-key "$TOGETHER_API_KEY"OpenClaw 附带了此捆绑的 Together 目录:
| 模型引用 | 名称 | 输入 | 上下文 | 备注 |
|---|---|---|---|---|
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 插件还通过共享的 video_generate 工具注册了视频生成功能。
| 属性 | 值 |
|---|---|
| 默认视频模型 | together/Wan-AI/Wan2.2-T2V-A14B |
| 模式 | text-to-video, single-image reference |
| 支持的参数 | 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 文档和定价。