Back to Open Interpreter

Together AI

docs/language-models/hosted-models/togetherai.mdx

0.4.21.0 KB
Original Source

To use Open Interpreter with Together AI, set the model flag:

<CodeGroup>
bash
interpreter --model together_ai/<together_ai-model>
python
from interpreter import interpreter

interpreter.llm.model = "together_ai/<together_ai-model>"
interpreter.chat()
</CodeGroup>

Supported Models

All models on Together AI are supported.

Required Environment Variables

Set the following environment variables (click here to learn how) to use these models.

Environment VariableDescriptionWhere to Find
TOGETHERAI_API_KEYThe TogetherAI API key from the Settings pageTogetherAI -> Profile -> Settings -> API Keys