1
Clone MonoRelay
Clone the repository from GitHub and change into the project directory.
2
Install dependencies
Install the Python packages listed in
requirements.txt. Using a virtual environment is recommended.Python 3.11 or later is required. Run
python3 --version to check. Python 3.12 is recommended.3
Configure config.yml
Copy the example configuration file and open it in your editor.At minimum, set your
access_key and enable at least one provider. Here is a minimal configuration using OpenRouter:config.yml
4
Start the server
Run MonoRelay directly with Python. The server starts on port 8787 by default.You should see output similar to:
5
Send your first API call
With the server running, send a chat completion request using A successful response looks like this:
curl. Replace my-secret-relay-key with the access_key you set in config.yml.Admin dashboard
Once the server is running, open http://localhost:8787 in your browser and log in with youraccess_key. The dashboard shows request counts, error rates, token usage, provider health, and a live request log.
The Swagger API explorer is available at http://localhost:8787/docs. It lists every endpoint and lets you test requests directly in the browser.