| 1 | --- |
| 2 | title: "How to Configure DeepSeek with Continue" |
| 3 | slug: ../deepseek |
| 4 | description: "Configure DeepSeek models with Continue, including DeepSeek Chat for general conversations and DeepSeek Coder specifically optimized for code autocomplete and programming tasks" |
| 5 | sidebarTitle: "DeepSeek" |
| 6 | --- |
| 7 | |
| 8 | <Info> |
| 9 | You can get an API key from the [DeepSeek console](https://www.deepseek.com/). |
| 10 | </Info> |
| 11 | |
| 12 | ## How to Set Up DeepSeek Chat Models |
| 13 | |
| 14 | We recommend configuring **DeepSeek Chat** as your chat model. |
| 15 | |
| 16 | <Tabs> |
| 17 | <Tab title="YAML"> |
| 18 | ```yaml title="config.yaml" |
| 19 | models: |
| 20 | - name: DeepSeek Chat |
| 21 | provider: deepseek |
| 22 | model: deepseek-chat |
| 23 | apiKey: <YOUR_DEEPSEEK_API_KEY> |
| 24 | ``` |
| 25 | </Tab> |
| 26 | <Tab title="JSON"> |
| 27 | ```json title="config.json" |
| 28 | { |
| 29 | "models": [ |
| 30 | { |
| 31 | "title": "DeepSeek Chat", |
| 32 | "provider": "deepseek", |
| 33 | "model": "deepseek-chat", |
| 34 | "apiKey": "<YOUR_DEEPSEEK_API_KEY>" |
| 35 | } |
| 36 | ] |
| 37 | } |
| 38 | ``` |
| 39 | </Tab> |
| 40 | </Tabs> |
| 41 | |
| 42 | ## How to Set Up DeepSeek Autocomplete Models |
| 43 | |
| 44 | For recommended autocomplete models, please refer to our [Model Recommendations page](/customization/models). |
| 45 | |
| 46 | <Tabs> |
| 47 | <Tab title="YAML"> |
| 48 | ```yaml title="config.yaml" |
| 49 | models: |
| 50 | - name: DeepSeek Coder |
| 51 | provider: deepseek |
| 52 | model: deepseek-coder |
| 53 | apiKey: <YOUR_DEEPSEEK_API_KEY> |
| 54 | roles: |
| 55 | - autocomplete |
| 56 | ``` |
| 57 | </Tab> |
| 58 | <Tab title="JSON"> |
| 59 | ```json title="config.json" |
| 60 | { |
| 61 | "tabAutocompleteModel": { |
| 62 | "title": "DeepSeek Coder", |
| 63 | "provider": "deepseek", |
| 64 | "model": "deepseek-coder", |
| 65 | "apiKey": "<YOUR_DEEPSEEK_API_KEY>" |
| 66 | } |
| 67 | } |
| 68 | ``` |
| 69 | </Tab> |
| 70 | </Tabs> |
| 71 | |
| 72 | ## How to Configure DeepSeek Embeddings Models |
| 73 | |
| 74 | DeepSeek currently does not offer any embeddings models. |
| 75 | |
| 76 | [Click here](../../model-roles/embeddings.mdx) to see a list of embeddings model providers. |
| 77 | |
| 78 | ## How to Configure DeepSeek Reranking Models |
| 79 | |
| 80 | DeepSeek currently does not offer any reranking models. |
| 81 | |
| 82 | [Click here](../../model-roles/reranking.mdx) to see a list of reranking model providers. |