Skip to content
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. 1

    Open model providers

    In Dify, go to Settings → Model Provider.
  2. 2

    Add [OI]-API-compatible

    Choose the [OI]-API-compatible provider.
  3. 3

    Enter the connection

    Base URL: https://api.relayrouter.org/v1
    API Key: your sk-or-v1-… key.
  4. 4

    Add models

    Add the exact model ids you need, for example deepseek-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.