Files
openclaw/docs/providers/together.md
Peter Steinberger f7d7148cf0 docs: rewrite published docs grounded in current source (#100142)
Source-grounded rewrite of 529 published docs pages with per-unit information-loss verification: 1,713 factual corrections cited to src/**, generated surfaces regenerated, frontmatter titles preserved for i18n, release notes pages untouched. All docs gates green.

Closes #100141
2026-07-05 00:32:47 -04:00

5.3 KiB

summary, title, read_when
summary title read_when
Together AI setup (auth + model selection) Together AI
You want to use Together AI with OpenClaw
You need the API key env var or CLI auth choice

Together AI provides access to leading open-source models including Llama, DeepSeek, Kimi, and more through a unified API. OpenClaw bundles it as the together provider.

Property Value
Provider together
Auth TOGETHER_API_KEY
API OpenAI-compatible
Base URL https://api.together.xyz/v1

Getting started

Create an API key at [api.together.ai/settings/api-keys](https://api.together.ai/settings/api-keys). ```bash openclaw onboard --auth-choice together-api-key ``` ```json5 { agents: { defaults: { model: { primary: "together/meta-llama/Llama-3.3-70B-Instruct-Turbo", }, }, }, } ```

Non-interactive example

openclaw onboard --non-interactive \
  --mode local \
  --auth-choice together-api-key \
  --together-api-key "$TOGETHER_API_KEY"
Onboarding sets `together/meta-llama/Llama-3.3-70B-Instruct-Turbo` as the default model.

Built-in catalog

Cost is USD per million tokens.

Model ref Name Input Context Max output Cost (in/out) Notes
together/meta-llama/Llama-3.3-70B-Instruct-Turbo Llama 3.3 70B Instruct Turbo text 131,072 8,192 0.88 / 0.88 Default model
together/moonshotai/Kimi-K2.6 Kimi K2.6 FP4 text, image 262,144 32,768 1.20 / 4.50 Reasoning model
together/deepseek-ai/DeepSeek-V4-Pro DeepSeek V4 Pro text 512,000 8,192 2.10 / 4.40 Reasoning model
together/Qwen/Qwen2.5-7B-Instruct-Turbo Qwen2.5 7B Instruct Turbo text 32,768 8,192 0.30 / 0.30 Fast, non-reasoning
together/zai-org/GLM-5.1 GLM 5.1 FP4 text 202,752 8,192 1.40 / 4.40 Reasoning model

Video generation

The bundled together plugin also registers video generation through the shared video_generate tool.

Property Value
Default video model Wan-AI/Wan2.2-T2V-A14B
Other models Wan-AI/Wan2.2-I2V-A14B, minimax/Hailuo-02, Kwai/Kling-2.1-Master
Modes text-to-video; image-to-video only with Wan-AI/Wan2.2-I2V-A14B (single reference image)
Duration 1-10 seconds
Supported parameters size (parsed as <width>x<height>); aspectRatio/resolution are not read

To use Together as the default video provider:

{
  agents: {
    defaults: {
      videoGenerationModel: {
        primary: "together/Wan-AI/Wan2.2-T2V-A14B",
      },
    },
  },
}
See [Video generation](/tools/video-generation) for the shared tool parameters, provider selection, and failover behavior. If the Gateway runs as a daemon (launchd/systemd), make sure `TOGETHER_API_KEY` is available to that process (for example, in `~/.openclaw/.env` or via `env.shellEnv`).
<Warning>
Keys set only in your interactive shell are not visible to daemon-managed
gateway processes. Use `~/.openclaw/.env` or `env.shellEnv` config for
persistent availability.
</Warning>
- Verify your key works: `openclaw models list --provider together` - If models are not appearing, confirm the API key is set in the correct environment for your Gateway process. - Model refs use the form `together/`. Provider rules, model refs, and failover behavior. Shared video generation tool parameters and provider selection. Full config schema including provider settings. Together AI dashboard, API docs, and pricing.