← All applications · Connect apps section on /docs
OpenAIManual setup
Dify
Dify: hướng dẫn cấu hình kết nối model trong quy trình tự động hóa.
Published instructions · App version: unverified
Chat, ping, invoke and content-generation examples may send real billable requests. Check the model, balance, rate and minimum before running them. GET /v1/models checks authentication and the catalogue only. Set up environment variables safely
Base URL to paste
OpenAI SDKs generally use a URL ending in /v1; Anthropic SDKs use the root URL. Avoid adding /v1 twice. Protocol compatibility does not guarantee every provider feature.
https://apistack.vn/v1Prerequisites
- Dify cloud hoặc self-host
- Quyền admin Model Provider
Recommended model: claude-fable-5
Quick way — command / config
Settings → Model Provider → OpenAI-API-compatible → Add
Model Name : claude-fable-5
API Key : sk-stk-...
API endpoint URL : https://apistack.vn/v1
Model type : LLM
Context size : 1000000
Max tokens : 128000
☑ Vision support (nếu cần)Where to place file / fill Settings
Interfaceany
Settings → Model Provider
Dùng OpenAI-API-compatible (không phải OpenAI official) để đổi endpoint.
Verify connection
- Trong studio Dify chọn model API Stack và Run thử
Troubleshooting
| Symptom | Reason | How to handle |
|---|---|---|
| Invalid URL | Endpoint thừa /chat/completions. | Chỉ dán https://apistack.vn/v1 — Dify tự nối path. |