1. Prerequisites
(1) Obtain an API Key
Register and log in to Myrouter. Enter invitation code [YGHNZ0] during registration to receive a $2 sign-up bonus.


(2) Generate and Save the API Key
Note: The key is stored encrypted on the server and cannot be viewed again after creation. Please save your key securely. If lost, you will need to delete it from the console and create a new one.
(3) Obtain the Model ID You Want to Use
Find the desired model in the Myrouter Model Hub and copy the model ID and base URL.
- Gemini-3-pro-preview
- Gemini-2.5-pro
- Claude-sonnet-4-5
- Gpt-5.1
- Gpt-4o
2. Adding and Configuring LLM in RAGFlow
(1) Visit the RAGFlow Official Website

(2) Add a Model
Select [Model Providers], find [OpenAI-API-Compatible], and click [Add Model].
(3) Fill in the Corresponding Configuration

(4) Successfully Added
