> ## Documentation Index
> Fetch the complete documentation index at: https://docs.aihubmix.com/llms.txt
> Use this file to discover all available pages before exploring further.

# 在 Dify 中使用

## 通常使用情況（使用OpenAI模型）

網頁右上角點擊自己的使用者名稱，進入設定介面。\
在模型供應商中選擇ApenAI並開啟設定。\\

<img src="https://mintcdn.com/aihubmix/_Cbum_77AgsRh-CI/public/cn/dify1.png?fit=max&auto=format&n=_Cbum_77AgsRh-CI&q=85&s=748a2ebc3ac26c9f8f081c12b8e895e1" alt="圖片" width="1563" height="845" data-path="public/cn/dify1.png" />

* 在API Key一欄輸入[本站的Key](https://aihubmix.com/token)。
* 在API Base一欄輸入：

```
https://aihubmix.com
```

<img src="https://mintcdn.com/aihubmix/_Cbum_77AgsRh-CI/public/cn/dify2.png?fit=max&auto=format&n=_Cbum_77AgsRh-CI&q=85&s=ca31629fb592daccc7a54ec241b2f37d" alt="圖片" width="863" height="672" data-path="public/cn/dify2.png" />

## 使用非OpenAI模型方法

在模型供應商下拉找到OpenAI-API-compatible並點擊新增模型。\\

<img src="https://mintcdn.com/aihubmix/_Cbum_77AgsRh-CI/public/cn/dify3.png?fit=max&auto=format&n=_Cbum_77AgsRh-CI&q=85&s=6146e1ffd5ba9faeda9f401bc3f88f43" alt="圖片" width="1242" height="761" data-path="public/cn/dify3.png" />

* 開啟網站後台設定頁面，找到模型清單。
* 複製你想要使用的模型名稱（如gemini-pro或claude-3-opus-20240229）。
* 在API Key一欄輸入[本站的Key](https://aihubmix.com/token)。
* 在API endpoint URL一欄輸入：

```
https://aihubmix.com/v1
```

## <img src="https://mintcdn.com/aihubmix/_Cbum_77AgsRh-CI/public/cn/dify4.png?fit=max&auto=format&n=_Cbum_77AgsRh-CI&q=85&s=e003ecb7709d1d3cd37048ade357ed1e" alt="圖片" width="770" height="713" data-path="public/cn/dify4.png" />

最後更新：2026-06-01
