Skip to main content

Together AI Provider Guide

Open-source LLMs at production scale via the Together gateway


Overview

Together AI hosts a large catalog of open-weight models — Llama 3.x, Qwen, DeepSeek, Mixtral, Gemma — behind an OpenAI-compatible chat-completions endpoint. NeuroLink wraps it with no translation cost.

Key Facts

  • Protocol: OpenAI-compatible (/v1/chat/completions)
  • Default base URL: https://api.together.xyz/v1
  • Default model: meta-llama/Llama-3.3-70B-Instruct-Turbo
  • Vision: Yes — Llama 3.2 Vision variants
  • Streaming: Supported
  • Tool calling: Supported on Llama 3.1+ and DeepSeek

Quick Start

1. Get an API Key

https://api.together.xyz/settings/api-keys

2. Configure Environment

TOGETHER_API_KEY=tgp_your-key
TOGETHER_MODEL=meta-llama/Llama-3.3-70B-Instruct-Turbo

3. Generate

import { NeuroLink } from "@juspay/neurolink";
const ai = new NeuroLink();
const result = await ai.generate({
provider: "together",
input: { text: "Write a haiku about RAG pipelines." },
});
console.log(result.content);

Supported Models (sample)

Model IDNotes
meta-llama/Llama-3.3-70B-Instruct-TurboDefault; production quality
meta-llama/Meta-Llama-3.1-405B-Instruct-TurboFlagship size
meta-llama/Meta-Llama-3.1-70B-Instruct-TurboMid-tier
deepseek-ai/DeepSeek-R1Reasoning model
Qwen/Qwen2.5-72B-Instruct-TurboQwen 2.5 flagship

Browse the full catalog: https://docs.together.ai/docs/serverless-models


CLI Usage

pnpm run cli generate "Explain MoE routing" --provider together
pnpm run cli generate "..." --provider together --model deepseek-ai/DeepSeek-R1

Provider Aliases

AliasExample
together--provider together
together_ai--provider together_ai

Configuration Reference

Environment VariableRequiredDefault
TOGETHER_API_KEYYes
TOGETHER_MODELNometa-llama/Llama-3.3-70B-Instruct-Turbo
TOGETHER_BASE_URLNohttps://api.together.xyz/v1

Feature Support Matrix

FeatureSupport
Text generationYes
StreamingYes
Tool callingYes (model-dep.)
Structured outputYes (model-dep.)
VisionYes (Llama 3.2 V)
EmbeddingsLimited

See Also