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