Skip to main content
Open WebUI is a self-hosted web interface for chatting with models. Beyond Ollama it works with any OpenAI-compatible API, so RuAPI connects as an OpenAI connection — just an address and a key.

Prerequisites

1

RuAPI account and API key

Console → Tokens → create an sk-... key. The balance tops up in USDT — see Top-up.
2

A running Open WebUI

Install per the Open WebUI docs (usually Docker).

Option 1: through the UI

1

Open connection settings

Admin Panel → Settings → Connections (or Settings → Connections for the current user).
2

Add an OpenAI connection

Enable the OpenAI API and enter:Save. Open WebUI pulls the model list via /v1/models.

Option 2: through environment variables

When starting the container, set:

Verify

Start a new chat, pick a model (e.g. claude-opus-4-8) and send a message. A reply plus an entry in RuAPI Console → Logs means it works.

Troubleshooting

  • Check the Base URL is https://www.ruapi.ai/v1 with /v1: models are fetched via /v1/models.
  • The key must be a RuAPI token (sk-...).
The key is wrong or has spaces. Check its state in RuAPI Console → Tokens.
You can: Open WebUI supports several connections at once. Local Ollama models and cloud RuAPI models show up in the same picker.