Skip to content
masterclass Buddy

Integrations · Class

ChatTogether

ChatTogether is LangChain's Python integration for Together AI chat models. Install langchain-together, set a Together API key, choose a model, and call the model with chat messages.

Last updated

Syntax

ChatTogether(model="model-id", temperature=0, max_tokens=None, timeout=None, max_retries=2)

In-depth API docs are only for subscribers: parameters, examples, common mistakes and interview practice.

Subscribe
  • Together
  • langchain-together
  • TOGETHER_API_KEY
  • together_api_key
  • stream_events
  • invoke

Source: ChatTogether integration. Checked 2026-11-03.