At a glance
- Availability: Experimental (how to enable).
- Authentication: API key.
- Connection: The key comes from
TOGETHER_API_KEY. - Provider documentation: Authentication reference.
Credentials
Set these per environment. See Connect an integration.Setup
- Create a Together AI account: Go to https://api.together.ai and sign up or sign in. New accounts include trial credits for testing.
- Create an API key: Open Settings → API Keys at https://api.together.ai/settings/api-keys and create a new key.
- Store the key: Copy the key and add it to your .env file as TOGETHER_API_KEY=…
- 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
Tools
Verify the connection
Call a read tool such astogether-ai__list_models with arguments for your account. Confirm that the result comes from the intended account or workspace before enabling write tools.