Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs2.openclaw.ai/llms.txt

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

Together AI 通过统一的 API 提供对领先开源模型的访问,包括 Llama、DeepSeek、Kimi 等。
属性
提供商together
凭证TOGETHER_API_KEY
APIOpenAI 兼容
基础 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 目录:
模型引用名称输入上下文说明
together/moonshotai/Kimi-K2.5Kimi K2.5文本、图像262,144默认模型;已启用推理
together/zai-org/GLM-4.7GLM 4.7 Fp8文本202,752通用文本模型
together/meta-llama/Llama-3.3-70B-Instruct-TurboLlama 3.3 70B Instruct Turbo文本131,072快速指令模型
together/meta-llama/Llama-4-Scout-17B-16E-InstructLlama 4 Scout 17B 16E Instruct文本、图像10,000,000多模态
together/meta-llama/Llama-4-Maverick-17B-128E-Instruct-FP8Llama 4 Maverick 17B 128E Instruct FP8文本、图像20,000,000多模态
together/deepseek-ai/DeepSeek-V3.1DeepSeek V3.1文本131,072通用文本模型
together/deepseek-ai/DeepSeek-R1DeepSeek R1文本131,072推理模型
together/moonshotai/Kimi-K2-Instruct-0905Kimi K2-Instruct 0905文本262,144辅助 Kimi 文本模型

视频生成

内置 together 插件还会通过共享的 video_generate 工具注册视频生成能力。
属性
默认视频模型together/Wan-AI/Wan2.2-T2V-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)。
仅在你的交互式 shell 中设置的密钥对由守护进程管理的 gateway 进程不可见。使用 ~/.openclaw/.envenv.shellEnv 配置来实现持久可用性。
  • 验证你的密钥可用:openclaw models list --provider together
  • 如果模型没有出现,请确认 API 密钥已在你的 Gateway 网关进程所用的正确环境中设置。
  • 模型引用使用 together/<model-id> 形式。

相关内容

模型选择

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

视频生成

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

配置参考

完整配置 schema,包括提供商设置。

Together AI

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