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
- In Dify, go to Settings → Model Provider.
- Install and select OpenAI-API-compatible.
- Click Add Model and fill in:
| Field | Value |
|---|---|
| Model Type | LLM |
| Model Name | your-model-id (replace with a model ID from the model square; must match GET /v1/models) |
| API Key | sk-xxxxxxxx |
| API endpoint URL | https://ai.myaiexp.com/v1 |
- If the model supports function calling or image input, set those capabilities to "Support" in the advanced options.
- 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.