Skip to main content

Documentation Index

Fetch the complete documentation index at: https://openclaw.zhcndoc.com/llms.txt

Use this file to discover all available pages before exploring further.

Together AI 通过统一的 API 提供对包括 Llama、DeepSeek、Kimi 等在内的领先开源模型的访问。
PropertyValue
Providertogether
AuthTOGETHER_API_KEY
APIOpenAI-compatible
Base 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/moonshotai/Kimi-K2.5" },
    },
  },
}

非交互式示例

openclaw onboard --non-interactive \
  --mode local \
  --auth-choice together-api-key \
  --together-api-key "$TOGETHER_API_KEY"
引导预设会将 together/moonshotai/Kimi-K2.5 设置为默认 模型。

内置目录

OpenClaw 附带以下内置 Together 目录:
Model refNameInputContextNotes
together/moonshotai/Kimi-K2.5Kimi K2.5text, image262,144默认模型;已启用推理
together/zai-org/GLM-4.7GLM 4.7 Fp8text202,752通用文本模型
together/meta-llama/Llama-3.3-70B-Instruct-TurboLlama 3.3 70B Instruct Turbotext131,072快速指令模型
together/meta-llama/Llama-4-Scout-17B-16E-InstructLlama 4 Scout 17B 16E Instructtext, image10,000,000多模态
together/meta-llama/Llama-4-Maverick-17B-128E-Instruct-FP8Llama 4 Maverick 17B 128E Instruct FP8text, image20,000,000多模态
together/deepseek-ai/DeepSeek-V3.1DeepSeek V3.1text131,072通用文本模型
together/deepseek-ai/DeepSeek-R1DeepSeek R1text131,072推理模型
together/moonshotai/Kimi-K2-Instruct-0905Kimi K2-Instruct 0905text262,144次级 Kimi 文本模型

视频生成

捆绑的 together 插件还通过共享的 video_generate 工具注册了视频生成。
PropertyValue
Default video modeltogether/Wan-AI/Wan2.2-T2V-A14B
Modestext-to-video, single-image reference
Supported parametersaspectRatio, resolution
要将 Together 用作默认视频提供方:
{
  agents: {
    defaults: {
      videoGenerationModel: {
        primary: "together/Wan-AI/Wan2.2-T2V-A14B",
      },
    },
  },
}
有关共享工具参数、提供方选择和故障转移行为,请参阅 视频生成
如果 Gateway 作为守护进程运行(launchd/systemd),请确保 TOGETHER_API_KEY 对该进程可用(例如,放在 ~/.openclaw/.env 中或通过 env.shellEnv)。
仅在交互式 shell 中设置的密钥对守护进程管理的 gateway 进程不可见。 请使用 ~/.openclaw/.envenv.shellEnv 配置以实现 持久可用。
  • 验证你的密钥是否可用:openclaw models list --provider together
  • 如果模型没有出现,请确认 API 密钥已为你的 Gateway 进程设置在正确的 环境中。
  • 模型引用使用 together/<model-id> 形式。

相关内容

模型选择

提供方规则、模型引用和故障转移行为。

视频生成

共享的视频生成工具参数和提供方选择。

配置参考

包括提供方设置在内的完整配置模式。

Together AI

Together AI 仪表盘、API 文档和定价。