User GuideAPI ReferenceAI Applications

Dify

Dify is an open-source LLM application development and orchestration platform (40k+ Stars). Combining the concepts of BaaS and LLMOps, it supports visual orchestration of autonomous Agents, enterprise knowledge bases (RAG), complex Workflows, and Tool Calling. Integrate with OpenRely API to aggregate top global foundation model computing power in one stop.

🔑 Prerequisites


🚀 Steps

Log in to Dify Platform

Open Dify Cloud in your browser or log in to your self-hosted Dify Web console.

Go to Model Provider Settings

  1. Click your profile avatar in the top-right corner of the Dify page;
  2. Select Settings from the dropdown menu;
  3. Click Model Providers in the left navigation bar.

Add OpenRely Custom Model Provider

In the model provider list:

  1. Locate the OpenAI-API-compatible card and click Add Model;
  2. Fill in the parameters according to the table below:
Configuration ItemRecommended ValueDescription
Model TypeLLMLarge Language Model
Model Nameclaude or gptEnter any model identifier you need to invoke (e.g., claude, gpt, etc.)
API Base URLhttps://api.openrely.ai/v1Must include the /v1 suffix
API Keysk-...Dedicated access Token created in the OpenRely console
  1. Click the Save button in the bottom-right corner, and Dify will automatically run a connectivity test.

Invoke Models in Workflows and Applications

Once configured, you can use the model in any scenario within Dify:

  • Studio Application Orchestration: Create Chat Apps or Agents, and select the OpenRely model from the top model dropdown;
  • Workflow Orchestration: Freely select the model in LLM nodes to leverage high-concurrency, ultra-fast model inference capabilities.

💡 Core Features

Feature ModuleDescription
Visual WorkflowChain Prompts, conditional branches, code execution nodes, and external HTTP requests like building blocks
Enterprise Knowledge Base (RAG)Supports batch importing PDF, Word, and Notion documents, with text chunking, vector retrieval, and semantic reranking
Tool Ecosystem & PluginsNative support for Google Search, code sandboxes, DALL-E image generation, and custom OpenAPI tool integration
Full API Access & EmbeddingOrchestrated Agents support one-click generation of standard RESTful APIs or Web widgets for third-party system integration

❓ FAQ

Encountering other API errors or billing questions? Please refer to the complete FAQ and Troubleshooting Guide.

Was this page helpful?

Dify | OpenRely Docs