# 自定义 DeepSeek

HapiGo GPT AI 对话支持使用主流 AI  的自定义 API。以下为 DeepSeek 官网和硅基流量版 AI 自定义设置教程。

### 阿里版 DeepSeek <a href="#ali-bailian" id="ali-bailian"></a>

{% hint style="info" %}
阿里百炼为一站式 AI 云服务平台，即阿里百炼提供市面上包括 DeepSeek 在内的大部分 AI 模型。只要添加对应的模型名称，即可调用。
{% endhint %}

1. 访问阿里百炼官网：<https://bailian.console.aliyun.com/>
2. 使用账号登录
3. 登录后，点击右上角的头像图标，在菜单中点击：API-KEY（见下图） &#x20;

   <figure><img src="/files/WS2wPBKKnlHD7Ev9bQTV" alt=""><figcaption></figcaption></figure>
4. 在新界面中创建 API key，并拷贝
5. &#x20;打开 HapiGo 设置，切换到 「扩展」 - 「GPT AI」
6. 在 AI 服务处选择 「自定义」，然后输入 API key
7. 代理选择 「自定义域名」，并输入：<https://dashscope.aliyuncs.com/compatible-mode/v1/chat/completions>
8. 在 AI 模型菜单中，分别添加 V3：<mark style="background-color:blue;">deepseek-v3</mark> 和 R1：<mark style="background-color:blue;">deepseek-r1</mark> 模型。

如上面所述，阿里百炼提供全面的 AI 模型服务，只需要添加对应的模型名称即可。模型列表可以在模型广场页面获取：<https://bailian.console.aliyun.com/#/model-market>

模型名称需要点开模型才能看到，具体参考下图。

<figure><img src="/files/j5GwwaXOR0pOKfapznyy" alt=""><figcaption></figcaption></figure>

### 官方版 DeepSeek <a href="#deepseek" id="deepseek"></a>

1. 访问 DeepSeek 官方开放平台网址：<https://platform.deepseek.com/>
2. 使用合适的方式进行登录
3. 登录后，在左边栏切换到 「API keys」，然后创建并拷贝 API key。&#x20;

   <figure><img src="/files/qqryH0HXosUXNw1cLLuV" alt=""><figcaption></figcaption></figure>
4. 打开 HapiGo 设置，切换到 「扩展」 - 「GPT AI」
5. 在 AI 服务处选择 「自定义」，然后输入 API key
6. 代理选择 「自定义域名」，并输入：<https://api.deepseek.com/>
7. 在 AI 模型菜单中，分别添加 V3：<mark style="background-color:blue;">deepseek-chat</mark> 和 R1：<mark style="background-color:blue;">deepseek-reasoner</mark> 模型。
8. 后续选择对应的模型即可。

### 硅基流动版 DeepSeek <a href="#siliconflow" id="siliconflow"></a>

{% hint style="info" %}
硅基流动为一站式 AI 云服务平台，即硅基流动提供市面上包括 DeepSeek 在内的大部分 AI 模型。只要添加对应的模型名称，即可调用。
{% endhint %}

1. 访问硅基流动网址：<https://www.siliconflow.com/zh/home>
2. 使用合适的方式进行登录
3. 登录后，在左边栏切换到 「API 密钥」，然后新建并拷贝 API 密钥。&#x20;

   <figure><img src="/files/OP4MxRWi9hk6M9jRMBP0" alt=""><figcaption></figcaption></figure>
4. 打开 HapiGo 设置，切换到 「扩展」 - 「GPT AI」
5. 在 AI 服务处选择 「自定义」，然后输入 API key
6. 代理选择 「自定义域名」，并输入：<https://api.siliconflow.cn/>
7. 在 AI 模型菜单中，分别添加 V3：<mark style="background-color:blue;">deepseek-ai/DeepSeek-V3</mark> 和 R1：<mark style="background-color:blue;">deepseek-ai/DeepSeek-R1</mark> 模型。
8. 后续选择对应的模型即可。

如上面所述，硅基流动提供全面的 AI 模型服务，只需要添加对应的模型名称即可。模型名称列表可以在价格页面获取：<https://www.siliconflow.com/zh/pricing>

<figure><img src="/files/9kHuJ8v5IAANBc8apYUT" alt=""><figcaption></figcaption></figure>


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs-cn.hapigo.com/extention/deepseek.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
