Integrations

Use uncensored models in Open WebUI

A self-hosted ChatGPT-style interface on top of Chainless: one OpenAI connection in the admin settings, or two environment variables.

Open WebUI is a self-hosted chat interface. Chainless works as an OpenAI-compatible connection, so your team gets the uncensored models in a familiar UI while the key stays on your server.

Option 1: admin settings

  1. Open Admin Settings → Connections.
  2. Under Manage OpenAI API Connections, click Add Connection.
  3. URL: https://chainless.one/v1 (no trailing slash)
  4. API Key: your cl-… key
  5. Optional: in Model IDs, add the ids you want to show (type an id, click +), for example kimi-k3.1-pro-uncensored and glm-5.3-fast-uncensored. Empty means every model from /v1/models.
  6. Leave the provider on Default and the API type on Chat Completions. Click Verify Connection, then Save.

Option 2: environment variables

shell
docker run -d -p 8080:8080 \
  -e OPENAI_API_BASE_URL=https://chainless.one/v1 \
  -e OPENAI_API_KEY=cl-... \
  -v open-webui:/app/backend/data \
  --name open-webui ghcr.io/open-webui/open-webui:main

For several OpenAI-compatible backends use OPENAI_API_BASE_URLS and OPENAI_API_KEYS (semicolon-separated, same order), plus OPENAI_API_CONFIGS for per-connection options such as a prefix and an allowlist:

shell
OPENAI_API_CONFIGS='{"0":{"enable":true,"prefix_id":"chainless","model_ids":["kimi-k3.1-pro-uncensored","glm-5.3-fast-uncensored"]}}'

These are persistent settings: they seed the database on first start and are ignored afterwards unless ENABLE_PERSISTENT_CONFIG=False.

Notes

  • Verify Connection calls GET /v1/models with your key; a green result means the URL and key are right.
  • Tool use is set per model under Advanced Params → Function Calling.
  • Images: every model except GLM 5.3 Uncensored accepts image uploads in chat.
  • Give the Open WebUI server its own Chainless key with a spending limit; everyone who chats through it spends from that key.

Sources

Checked against the official documentation on 2026-11-29. Tools change their settings often; if a field moved, the source below is the reference.

Other tools

Questions

I changed OPENAI_API_BASE_URL but Open WebUI still uses the old value. Why?

Connection settings are persistent config: environment values apply on first launch, after that the database wins. Change it in Admin Settings, or start with ENABLE_PERSISTENT_CONFIG=False.

Can Open WebUI use Chainless for document embeddings (RAG)?

No. Chainless has no embeddings endpoint. Keep Open WebUI's default local embedding engine and do not switch it to openai.

Which API type should the connection use?

Chat Completions, the default. Open WebUI also offers a Responses type for connections; Chainless does not serve that endpoint.