Dify

Connect AI Nexus in Dify through the OpenAI-API-compatible model provider.

Dify connects through the "OpenAI-API-compatible" model provider; you can use any model on the model square that supports /v1/chat/completions.

Verification status

The settings on this page follow the tool's official documentation and have not all been tested hands-on against AI Nexus. Labels may change between versions; follow what you actually see. Only two values matter: Base URL and API Key.

Setup

  1. In Dify, go to Settings → Model Provider.
  2. Install and select OpenAI-API-compatible.
  3. Click Add Model and fill in:
FieldValue
Model TypeLLM
Model Nameyour-model-id (replace with a model ID from the model square; must match GET /v1/models)
API Keysk-xxxxxxxx
API endpoint URLhttps://ai.myaiexp.com/v1
  1. If the model supports function calling or image input, set those capabilities to "Support" in the advanced options.
  2. Save, then pick the model from the model dropdown in your app. Add each model separately.

Notes

If Dify runs in containers on a private network, make sure the containers can reach https://ai.myaiexp.com.

This service is provided for learning and research purposes only. Please follow each model provider's usage policies.

On this page