openclaw/docs/providers/together.md

1.5 KiB

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

Together AI

The Together AI provides access to leading open-source models including Llama, DeepSeek, Qwen, and more through a unified API.

  • Provider: together
  • Auth: TOGETHER_API_KEY
  • API: OpenAI-compatible

Quick start

  1. Set the API key (recommended: store it for the Gateway):
clawdbot onboard --auth-choice together-api-key
  1. Set a default model:
{
  agents: {
    defaults: {
      model: { primary: "together/meta-llama/Llama-3.3-70B-Instruct-Turbo" }
    }
  }
}

Non-interactive example

clawdbot onboard --non-interactive \
  --mode local \
  --auth-choice together-api-key \
  --together-api-key "$TOGETHER_API_KEY"

Environment note

If the Gateway runs as a daemon (launchd/systemd), make sure TOGETHER_API_KEY is available to that process (for example, in ~/.clawdbot/.env or via env.shellEnv).

Available models

Together AI provides access to many popular open-source models:

  • Llama 3.3 70B Instruct Turbo - Fast, efficient instruction following
  • Llama 4 Scout - Vision model with image understanding
  • Llama 4 Maverick - Advanced vision and reasoning
  • DeepSeek V3.1 - Powerful coding and reasoning model
  • DeepSeek R1 - Advanced reasoning model
  • Qwen 2.5 72B - Multilingual capabilities

All models support standard chat completions and are OpenAI API compatible.