Open WebUI Custom LLM API Setup & Self-Hosted Docker Guide

Connect Open WebUI to https://deepclub.net/v1 via Admin Connections or Docker Compose, restrict exposed models with explicit Model IDs, pin gemini-4-hydrogen or deepseek-v4.1-flash as Task Model, and keep team chat history private with ZDR.

1. Connect Open WebUI via Admin Panel or Docker Compose

Open WebUI is the leading self-hosted workspace for team chat and RAG. Issue a dedicated DeepClub sub-key with a spend cap first, then configure via either method:

Option A: Admin Panel UI

  1. Log in as Admin and open Admin Panel → Settings → Connections.
  2. Under OpenAI API, add a connection:
    • URL: https://deepclub.net/v1 (do not add /chat/completions)
    • API Key: your scoped DeepClub sub-key (sk-...)
    • Model IDs (recommended explicit allowlist): deepseek-v4.1-flash, gemini-4-hydrogen, gemini-4-neon, gemini-4-carbon, glm-5.3, kimi-k3, gpt-6.2-sol, claude-sonnet-5-5.

Option B: Docker Compose (Infrastructure as Code)

services:
  open-webui:
    image: ghcr.io/open-webui/open-webui:main
    ports:
      - "3000:8080"
    environment:
      - OPENAI_API_BASE_URLS=https://deepclub.net/v1
      - OPENAI_API_KEYS=${DEEPCLUB_API_KEY}
      - ENABLE_OLLAMA_API=false
      - WEBUI_SECRET_KEY=${WEBUI_SECRET_KEY}
    volumes:
      - open-webui-data:/app/backend/data
    restart: unless-stopped

volumes:
  open-webui-data:

2. Four Production Guardrails for Team Open WebUI

  1. Always pin a cheap External Task Model: By default, Open WebUI uses the active chat model to generate titles, tags, and search queries—wasting flagship tokens on background tasks. Go to Admin Panel → Settings → Interface → Task Model and lock External Task Model to gemini-4-hydrogen or deepseek-v4.1-flash.
  2. Use explicit Model IDs instead of auto-syncing everything: Prevent casual clicks on ultra-flagships (claude-fable-5-2, gpt-6.2-astra) by curating an explicit allowlist and enforcing per-group permissions in Admin Panel → Settings → Models.
  3. Avoid invalid parameter overrides: Keep default sampling parameters on Claude 5.x models (do not override temperature), and never send thinking.type="disabled" to glm-5.3.
  4. Clear privacy boundary: Conversations and uploaded RAG files stay inside your open-webui-data volume, while inference traffic routed through DeepClub follows site-wide Zero Data Retention (Privacy Policy).

Looking for personal desktop multi-protocol isolation? Compare Cherry Studio, Chatbox, or LobeChat & NextChat. Check Live Pricing.

Frequently Asked Questions

Which Task Model should I set in Open WebUI?
Set External Task Model to gemini-4-hydrogen or deepseek-v4.1-flash so title generation, autocomplete suggestions, and search query rewrites never burn flagship tokens.
Should OPENAI_API_BASE_URLS end with /v1 in Open WebUI?
Yes. Set OPENAI_API_BASE_URLS=https://deepclub.net/v1 without adding /chat/completions.
How do I limit which models my team can access in Open WebUI?
Combine a model-restricted DeepClub sub-key with explicit Model IDs in Open WebUI Connections, then assign group visibility under Admin Panel → Settings → Models.

Updated