Dify
1.1 API Configuration
Add custom LLMs via Dify's Model Providers interface:
Configuration Steps
-
Log in to Dify (self-hosted or cloud)
-
Go to Settings → Model Providers
-
Click Add Provider → Select OpenAI-API-compatible
-
Configure:
-
Name: HPC-AI Tech
-
API Key:
sk-your-hpc-ai-api-key -
Base URL:
https://api.hpc-ai.com/inference/v1 -
Model Name:
minimax/minimax-m2.5
-
-
Click Save
1.2 Using Models
When creating an app:
-
Select the LLM node
-
Choose the configured model from the dropdown
-
Set other parameters
1.3 References
-
Dify Documentation: https://docs.dify.ai/en/use-dify/workspace/model-providers
-
OpenAI-API-compatible Plugin: https://marketplace.dify.ai/plugin/langgenius/openai\_api\_compatible