Skip to main content

Dify

1.1 API Configuration

Add custom LLMs via Dify's Model Providers interface:

Configuration Steps

  1. Log in to Dify (self-hosted or cloud)

  2. Go to Settings → Model Providers

  3. Click Add Provider → Select OpenAI-API-compatible

  4. 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

  5. Click Save

1.2 Using Models

When creating an app:

  1. Select the LLM node

  2. Choose the configured model from the dropdown

  3. Set other parameters

1.3 References