Integrating Dify with HPC-AI Tech
Dify is an open-source platform for building AI applications, chatbots, RAG systems, and AI workflows with minimal code. By integrating Dify with the HPC-AI Tech Model APIs platform, you can access high-performance models like MiniMax-M2.5 through a unified OpenAI-compatible API.
In this guide, we'll walk you through how to integrate Dify with HPC-AI Tech so you can start building AI applications in minutes.

🚀 Prerequisites
Before we dive in, make sure you have:
-
Dify installed or deployed
-
An HPC-AI Tech API Key (from the Model APIs platform)
🛠️ Configuration: Choose Your Method
Dify offers multiple ways to configure model providers depending on your workflow. Pick what suits you best.
Method 1: Interactive Configuration (Recommended)
Best for developers using the Dify web interface.
Log in to Dify.
Navigate to Settings → Model Provider.
Add a new OpenAI-Compatible provider.
Enter the following:
Base URL
https://api.hpc-ai.com/inference/v1
API Key
your-hpc-ai-api-key
Select the model:
minimax/minimax-m2.5
(You can replace this with any model available on the HPC-AI Tech Model APIs platform.)
Save the provider and use it when creating applications.
Method 2: Config File (The Structured Way)
Best for self-hosted deployments and automation.
Configure your model provider:
provider: openai-compatible
base_url: https://api.hpc-ai.com/inference/v1
api_key: ${HPC_AI_API_KEY}
model: minimax/minimax-m2.5
Store API credentials using environment variables whenever possible.
Method 3: Environment Variables (The Lightweight Way)
Best for Docker deployments or CI/CD pipelines.
export HPC_AI_API_KEY="sk-your-hpc-ai-api-key"
export OPENAI_API_BASE="https://api.hpc-ai.com/inference/v1"
Restart Dify and select:
minimax/minimax-m2.5
as the default model.
✅ Verifying the Connection
After configuration, it's important to confirm everything is working correctly.
-
Create a test application or chatbot
-
Send a sample prompt
-
Ensure responses are returned successfully from the model
A successful response confirms:
-
Your API key is valid
-
The endpoint is reachable
-
The model is correctly configured
🎯 Summary
By integrating Dify with HPC-AI Tech, you unlock:
-
Access to multiple leading AI models
-
OpenAI-compatible APIs
-
Cost-efficient inference
-
Flexible AI application development
-
Production-ready infrastructure
Whether you're building chatbots, AI assistants, RAG systems, or enterprise applications, HPC-AI Tech provides the performance and flexibility needed to bring your ideas to life.
Happy building!