1
Open settings
In Dify, click your avatar in the top-right corner and choose Settings.
2
Install the OpenAI-API-compatible provider
Under Model Provider, find OpenAI-API-compatible and click Install.
3
Add a model
After installing, click Add Model inside the OpenAI-API-compatible provider and fill in:
- Model name: copy a model ID from globalai.vip/pricing, for example
gpt-4o - API endpoint URL:
https://globalai.vip/v1 - API Key: paste your
sk-token
4
Set the system reasoning model
Back in System Model Settings → System Reasoning Model, select the model you just added and save.
5
Use it in an app
Return to your Dify app and pick the model in a workflow node or orchestration. A successful response confirms the integration.
Add multiple models
If an app needs GPT, Claude, and Gemini side by side, repeat the Add Model step inside the same OpenAI-API-compatible provider. Create one record per model ID and reuse the same API key across all of them.Troubleshooting
Authentication failed when adding a model
Authentication failed when adding a model
Confirm the API endpoint URL is
https://globalai.vip/v1 (including /v1) and that there are no extra spaces around your key.Balance drops quickly during use
Balance drops quickly during use
A Dify workflow can call the model several times per run, and long prompts plus retrieved context all count as tokens. Filter Logs by token name to find the node consuming the most.