Appearance
Together AI
Together AI 通过统一 API 提供对主流开源模型的访问,包括 Llama、DeepSeek、Kimi 等。
- Provider:
together - Auth:
TOGETHER_API_KEY - API:OpenAI 兼容
快速上手
- 设置 API Key(推荐通过 Gateway 存储):
bash
openclaw onboard --auth-choice together-api-key- 设置默认模型:
json5
{
agents: {
defaults: {
model: { primary: "together/moonshotai/Kimi-K2.5" },
},
},
}非交互式配置示例
bash
openclaw onboard --non-interactive \
--mode local \
--auth-choice together-api-key \
--together-api-key "$TOGETHER_API_KEY"执行后默认模型将设置为 together/moonshotai/Kimi-K2.5。
环境变量说明
如果 Gateway 以守护进程(launchd/systemd)方式运行,需确保 TOGETHER_API_KEY 对该进程可见(例如写入 ~/.openclaw/.env 或通过 env.shellEnv 配置)。
可用模型
Together AI 提供多款主流开源模型供你的龙虾调用:
- GLM 4.7 Fp8 —— 默认模型,200K 上下文窗口
- Llama 3.3 70B Instruct Turbo —— 快速高效的指令跟随模型
- Llama 4 Scout —— 支持图像理解的视觉模型
- Llama 4 Maverick —— 高级视觉与推理模型
- DeepSeek V3.1 —— 强大的编程和推理模型
- DeepSeek R1 —— 高级推理模型
- Kimi K2 Instruct —— 高性能模型,262K 上下文窗口
所有模型均支持标准 chat completions,完全兼容 OpenAI API。