On this page
Integrations
Dify
Add RelayRouter as an [OI]-API-compatible model provider in Dify.
Dify supports [OI]-API-compatible providers. Configure the base URL and key once, then use catalog models in apps and workflows.
Setup
- 1
Open model providers
In Dify, go to Settings → Model Provider. - 2
Add [OI]-API-compatible
Choose the[OI]-API-compatibleprovider. - 3
Enter the connection
Base URL:https://api.relayrouter.org/v1
API Key: yoursk-or-v1-…key. - 4
Add models
Add the exact model ids you need, for exampledeepseek-v4.1-flash. Set the model type to chat for conversational apps.
Model type matters
Dify groups models by type (chat, embedding, rerank). Add a model under the type that matches its capability.