Dify
Configure Dify with EasyAPI as a model provider to access every supported model through the relay.
Prerequisites
- Dify workspace deployed or accessible (https://dify.ai)
- An EasyAPI API token created in the console
- Dify workspace admin permissions
Step 1: Open Dify Workspace Settings
After signing in to Dify, click your avatar in the top-right corner → Settings to open the workspace configuration page.
Step 2: Open Model Providers
In Settings, choose Model Providers and find the OpenAI or OpenAI-API-compatible provider.
Community and cloud editions share the same interface; the entry is always inside workspace settings.
Step 3: Configure EasyAPI Key and API Base
Add or edit the OpenAI provider: set API Key to your EasyAPI token and API Base to the site API address (must include the /v1 suffix). After saving, click Verify to confirm connectivity.
https://token.easyapi.com/v1Create your token in Console → Token Management; see Standard Integration for the standard integration guide.
OpenAI API
Step 4: Select a Model in an App
When creating or editing an app, pick the configured EasyAPI model in the model dropdown; the model name must match the EasyAPI model ID.
Verification
- Run a conversation or workflow in a Dify app and confirm the model responds
- A matching API call appears in EasyAPI console usage records