Applicable Products
Qsirch 5.6.0 or later versions on all platforms
What is "OpenAI-Compatible"?
Some language-model providers offer APIs that match OpenAI's REST format (same request and response structure). Qsirch can connect to these services by configuring three fields: API endpoint URL, API key, and Model name. Once set, Qsirch's RAG workflow - retrieving content from your selected files and returning answers with source citations - operates the same as with OpenAI.
Recomended services for OpenAI-Compatible
The services listed below are the ones we have validated with Qsirch using the OpenAI-compatible interface. Other providers may also work - refer to each provider's OpenAI-compatible documentation for details.
xAI Grok
Grok provides an OpenAI-compatible REST API that can be used as a drop-in alternative.
- Sign up in the xAI Console: https://console.x.ai/.
- Create an API key in your account.

3.Note the API endpoint URL: https://api.x.ai/v1
4.Pick a Model name, e.g., grok-4-fast-non-reasoning
5.In Qsirch → Settings → Administrator setting → RAG Search → Cloud Services → Add, choose OpenAI-Compatible, then enter the API endpoint URL, API key, and Model name.

For more information, see the xAI API Documentation: https://docs.x.ai/docs/api-reference.
DeepSeek
DeepSeek offers OpenAI-style endpoints for chat and reasoning models.
1. Open the DeepSeek API portal: https://platform.deepseek.com/api_keys.
2. Create an API key.

3. Note the API endpoint URL: https://api.deepseek.com (some environments use …/v1).
4. Choose a Model, e.g., deepseek-chat or deepseek-reasoner.
5. In Qsirch → Settings → Administrator setting → RAG Search → Cloud Services → Add, select OpenAI-Compatible and enter the API endpoint URL, API key, and Model name.

For more information, see the DeepSeek API Documentation: https://api-docs.deepseek.com/.
Baidu Qianfan
Qianfan provides ERNIE and other models; some routes emulate OpenAI patterns, but authentication typically uses AK/SK and provider-specific endpoints.
1. Sign in to Baidu AI Cloud and enable Qianfan: https://cloud.baidu.com/doc/qianfan-api/s/3m7of64lb.
2. Create an API key https://cloud.baidu.com/doc/qianfan-api/s/ym9chdsy5.
3. Note the API endpoint URL: https://qianfan.baidubce.com/v2.
4. Choose a Model, e.g., ernie-4.5-turbo-128k . https://cloud.baidu.com/doc/qianfan-docs/s/7m95lyy43.
5. In Qsirch → Settings → Administrator setting → RAG Search → Cloud Services → Add, choose OpenAI-Compatible, then enter the API endpoint URL, API key, and Model name.

For more information, see the Qianfan Documentation: https://cloud.baidu.com/doc/WENXINWORKSHOP/index.html
Alibaba Cloud
DashScope exposes OpenAI-compatible endpoints for Qwen models and can be used as a drop-in provider.
Sign in to Alibaba Cloud Model Studio (DashScope) and create an API key: https://dashscope.console.aliyun.com/apiKey.
Note the API endpoint (Base URL):
Pick a Model, e.g., qwen-turbo, qwen-plus, or qwen-max. (Availability varies by region/account.)
In Qsirch → Settings → Administrator setting → RAG Search → Cloud Services → Add, choose OpenAI-Compatible, then enter the API endpoint URL, API key, and Model name.

For more information, see Qwen API Documentation: https://bailian.console.aliyun.com/?spm=5176.29597918.J_SEsSjsNv72yRuRFS2VknO.2.40e47b08Xrh14n&tab=api#/api/?type=model&url=2833609
適用產品
所有平臺上的 Qsirch 5.6.0 或更新版本
什麼是「OpenAI-Compatible」?
一些語言模型提供者提供與 OpenAI 的 RAG 工作流程相匹配的 API - 從您選擇的檔案中檢索內容並返回帶有來源引用的答案 - 與 OpenAI 的操作相同。
OpenAI-Compatible 的推薦服務
以下列出的服務是我們已經使用 Qsirch 驗證過的 OpenAI-compatible 介面。其他提供者也可能適用 - 請參閱每個提供者的 OpenAI-compatible 檔案以獲取詳細資訊。
xAI Grok
Grok 提供一個 OpenAI-compatible 的 REST API,可以作為替代方案使用。
- 在 xAI 控制台中註冊:https://console.x.ai/。
- 在您的帳戶中建立一個 API 金鑰。

3. 記下 API 端點 URL:https://api.x.ai/v1
4. 選擇一個模型名稱,例如,grok-4-fast-non-reasoning
5. 在 Qsirch → 設定 → 系統管理員設定 → RAG 搜尋 → 雲端服務 → 新增,選擇 OpenAI-Compatible,然後輸入 API 端點 URL、API 金鑰和模型名稱。

欲了解更多資訊,請參閱 xAI API 文件:https://docs.x.ai/docs/api-reference。
DeepSeek
DeepSeek 提供 OpenAI 風格的端點,用於聊天和推理模型。
1. 打開 DeepSeek API 入口:https://platform.deepseek.com/api_keys。
2. 建立一個 API 金鑰。

3. 記下 API 端點 URL:https://api.deepseek.com(某些環境使用 …/v1)。
4. 選擇一個模型,例如,deepseek-chat 或 deepseek-reasoner。
5. 在 Qsirch → 設定 → 系統管理員設定 → RAG 搜尋 → 雲端服務 → 新增,選擇 OpenAI 相容 並輸入 API 端點 URL、API 金鑰和模型名稱。

如需更多資訊,請參閱 DeepSeek API 文件:https://api-docs.deepseek.com/。
百度千帆
千帆提供 ERNIE 和其他模型;某些路徑模仿 OpenAI 模式,但驗證通常使用 AK/SK 和特定供應商的端點。
1. 登入百度 AI 雲並啟用千帆:https://cloud.baidu.com/doc/qianfan-api/s/3m7of64lb。
2. 建立 API 金鑰https://cloud.baidu.com/doc/qianfan-api/s/ym9chdsy5。
3. 記下 API 端點 URL:https://qianfan.baidubce.com/v2。
4. 選擇一個模型,例如,ernie-4.5-turbo-128k 。https://cloud.baidu.com/doc/qianfan-docs/s/7m95lyy43。
5. 在 Qsirch → 設定 → 系統管理員設定 → RAG 搜尋 → 雲端服務 → 新增,選擇 OpenAI 相容,然後輸入 API 端點 URL、API 金鑰和模型名稱。

如需更多資訊,請參閱 Qianfan 文件:https://cloud.baidu.com/doc/WENXINWORKSHOP/index.html
阿里雲
DashScope 提供 OpenAI 相容的端點給 Qwen 模型,並可作為替代供應商使用。
登入阿里雲模型工作室 (DashScope) 並建立 API 金鑰:https://dashscope.console.aliyun.com/apiKey。
請注意 API 端點 (Base URL):
選擇模型,例如 qwen-turbo、qwen-plus 或 qwen-max。(可用性因地區 / 帳戶而異。)
在Qsirch → 設定 → 系統管理員設定 → RAG 搜尋 → 雲端服務 → 新增,選擇OpenAI 相容,然後輸入 API 端點 URL、API 金鑰和模型名稱。

如需更多資訊,請參閱 Qwen API 文件:https://bailian.console.aliyun.com/?spm=5176.29597918.J_SEsSjsNv72yRuRFS2VknO.2.40e47b08Xrh14n&tab=api#/api/?type=model&url=2833609