Skip to main content

At a glance

Credentials

Set these per environment. See Connect an integration.

Setup

  1. Create a Together AI account: Go to https://api.together.ai and sign up or sign in. New accounts include trial credits for testing.
  2. Create an API key: Open Settings → API Keys at https://api.together.ai/settings/api-keys and create a new key.
  3. Store the key: Copy the key and add it to your .env file as TOGETHER_API_KEY=…
  4. Verify access: Run the List Models tool to confirm the key works. A 401 means the key is wrong or revoked.

Provider notes

  • The official base URL is https://api.together.ai/v1 (the legacy api.together.xyz host also resolves)
  • Inference is billed per token (text) or per image step - check model pricing in the dashboard before large jobs
Provider API reference.

Tools

Verify the connection

Call a read tool such as together-ai__list_models with arguments for your account. Confirm that the result comes from the intended account or workspace before enabling write tools.