| 1 | --- |
| 2 | title: "How to Configure Together AI with Continue" |
| 3 | description: "Configure the Together AI cloud platform for running large language models with Continue, including setup instructions and sample configuration for Qwen2.5 Coder" |
| 4 | sidebarTitle: "Together AI" |
| 5 | --- |
| 6 | |
| 7 | The Together API is a cloud platform for running large AI models. You can sign up [here](https://api.together.xyz/signup), copy your API key on the initial welcome screen, and then hit the play button on any model from the [Together Models list](https://docs.together.ai/docs/serverless-models). Change `~/.continue/config.json` to look like this: |
| 8 | |
| 9 | <Tabs> |
| 10 | <Tab title="YAML"> |
| 11 | ```yaml title="config.yaml" |
| 12 | models: |
| 13 | - name: Together Qwen2.5 Coder |
| 14 | provider: together |
| 15 | model: Qwen/Qwen2.5-Coder-32B-Instruct |
| 16 | apiKey: <YOUR_TOGETHER_API_KEY> |
| 17 | ``` |
| 18 | </Tab> |
| 19 | <Tab title="JSON"> |
| 20 | ```json title="config.json" |
| 21 | { |
| 22 | "models": [ |
| 23 | { |
| 24 | "title": "Together Qwen2.5 Coder", |
| 25 | "provider": "together", |
| 26 | "model": "Qwen/Qwen2.5-Coder-32B-Instruct", |
| 27 | "apiKey": "<YOUR_TOGETHER_API_KEY>" |
| 28 | } |
| 29 | ] |
| 30 | } |
| 31 | ``` |
| 32 | </Tab> |
| 33 | </Tabs> |
| 34 | |
| 35 | [View the source](https://github.com/continuedev/continue/blob/main/core/llm/llms/Together.ts) |