Skip to main content

Together AI

The Together API makes it easy to fine-tune or run leading open-source models with a couple lines of code. We have integrated the world’s leading open-source models, including Llama-2, RedPajama, Falcon, Alpaca, Stable Diffusion XL, and more. Read more:

To use, you’ll need an API key which you can find here: This can be passed in as init param together_api_key or set as environment variable TOGETHER_API_KEY.

Together API reference:

You will also need to install the langchain-together integration package:

%pip install --upgrade --quiet langchain-together
from __module_name__ import (
Together, # LLM

See the docs for their