Integration guide · Evidence checked 20 November 2026

Open WebUI with Plugsky: Docker setup, models and RAG

Open WebUI gives a team a self-hosted chat interface over any OpenAI-compatible backend. This guide connects it to Plugsky with environment variables, fixes the model-list and RAG failures that catch most deployments, and lists the limits to size before rollout.

Short answer. Run the Open WebUI container with OPENAI_API_BASE_URL=https://api.plugsky.com/v1 and OPENAI_API_KEY=sk-live-..., keep the /app/backend/data volume, and set RAG_EMBEDDING_ENGINE=openai with plugsky-embed if you want knowledge bases. Open WebUI reads the catalogue from GET /v1/models, so model discovery is automatic.

What this integration is, and what it is not

Open WebUI is a self-hosted interface for models. It does not serve a model itself; it forwards chat and embedding requests to a backend that speaks an OpenAI-compatible protocol. Plugsky supplies that backend: 39 public model IDs, chat completions, streaming, JSON mode, tool calling and embeddings behind one key.

The result is a workspace you host yourself with a hosted inference backend. That distinction matters for security review. Your chats and uploaded documents live in the Open WebUI database and volume; prompts and generations leave your network for the Plugsky region your account uses. Both sides need to be in the data-flow diagram.

The approved base URL for these examples is https://api.plugsky.com/v1. Plugsky's public docs also show https://plugsky.com/v1 in places; use one consistently and confirm which host your network policy allows.

Run Open WebUI with Docker

Generate a persistent secret once, then start the container. The UI listens on port 8080 inside the container; the example publishes it on host port 3000.

export WEBUI_SECRET_KEY="$(openssl rand -hex 32)"

docker run -d --name open-webui \
  -p 3000:8080 \
  -v open-webui:/app/backend/data \
  -e WEBUI_SECRET_KEY="$WEBUI_SECRET_KEY" \
  -e OPENAI_API_BASE_URL="https://api.plugsky.com/v1" \
  -e OPENAI_API_KEY="sk-live-..." \
  --restart unless-stopped \
  ghcr.io/open-webui/open-webui:main

Open http://localhost:3000 and create the first account, which becomes the administrator. After that, set ENABLE_SIGNUP=False and restart so strangers cannot create accounts on an exposed instance.

Key handling. Passing the API key with -e puts it in your shell history and in docker inspect. For anything beyond a local test, use an env file with restricted permissions, a Docker secret, or a secret manager, and rotate the key if it was ever pasted into a shared terminal.

Configure the connection in the UI instead

Environment variables are convenient for a reproducible deployment, but Open WebUI also supports the same connection through the admin UI. Go to Settings > Connections, choose Add Connection under the OpenAI section, enter the URL and key, and save. The Model IDs allowlist lets you expose a subset instead of all 39 models.

Two behaviours are worth knowing. First, Verify Connection calls /models with a bearer token; a failure there does not always mean chat will fail, because some providers do not implement model discovery. Plugsky does implement it, so a failure usually means the URL, key or network path is wrong. Second, Open WebUI rewrites token-limit parameters for model IDs that look like OpenAI reasoning models. Plugsky IDs start with plugsky-, so they do not match that pattern; Open WebUI sends max_tokens and keeps the system role as written.

Model selection and plan fit

Plugsky's catalogue is 39 model IDs. The Free plan serves plugsky-micro and plugsky-lite; paid plans expose the rest of the catalogue. If you are testing on Free, put those two IDs in the allowlist so users do not pick a model their key cannot serve.

Plugsky plans and the limits that shape an Open WebUI deployment
PlanMonthlyRequests/dayTokens/dayConcurrentRPMInput / output
Free$0100 new / 500 legacy50K new / 250K legacy1 new / 2 legacy3032K / 2K
Hobby$81,0002M412064K / 8K
Starter$202,0005M6240128K / 16K
Builder$60Fair useNo monthly token cap10600256K / 32K
Scale$120Fair useNo monthly token cap161,200512K / 32K

“No monthly token cap” means no monthly token meter and no per-token overage, not infinite capacity. Concurrency, RPM and per-request context still apply, and the plan input ceiling can be lower than the model's 262,144-token serving context.

A chat UI is bursty. Twenty people opening the app at 09:00 can produce more concurrency than a background batch job that uses ten times the tokens. Size for concurrent requests first, then check the daily token allowance against real conversation length.

Enable RAG with Plugsky embeddings

Open WebUI's default embedding engine is a local SentenceTransformers model, so knowledge bases work without an API key but download and run a model inside the container. To use Plugsky embeddings instead, set the engine and the embedding endpoint explicitly. The command below assumes PLUGSKY_API_KEY is exported in your shell.

docker run -d --name open-webui \
  -p 3000:8080 \
  -v open-webui:/app/backend/data \
  -e WEBUI_SECRET_KEY="$WEBUI_SECRET_KEY" \
  -e OPENAI_API_BASE_URL="https://api.plugsky.com/v1" \
  -e OPENAI_API_KEY="$PLUGSKY_API_KEY" \
  -e RAG_EMBEDDING_ENGINE="openai" \
  -e RAG_OPENAI_API_BASE_URL="https://api.plugsky.com/v1" \
  -e RAG_OPENAI_API_KEY="$PLUGSKY_API_KEY" \
  -e RAG_EMBEDDING_MODEL="plugsky-embed" \
  -e CHUNK_SIZE="1024" \
  -e CHUNK_OVERLAP="100" \
  -e RAG_TOP_K="10" \
  --restart unless-stopped \
  ghcr.io/open-webui/open-webui:main

RAG_OPENAI_API_BASE_URL defaults to the value of OPENAI_API_BASE_URL, and RAG_OPENAI_API_KEY defaults to OPENAI_API_KEY. Setting them explicitly is still worthwhile because it documents the dependency and survives a future change to the chat connection.

plugsky-embed returns 2,048-dimension vectors and accepts up to 2,048 inputs per request. Chunk size and overlap are retrieval settings, not model limits: 1,024 tokens with 100 tokens of overlap is a reasonable starting point for prose, but tables, code and contracts often need smaller chunks and a higher top-k.

Dimension lock-in. An existing knowledge base built with the local MiniLM model uses a different vector size from plugsky-embed. Changing the embedding model does not re-embed old documents automatically. Create a new knowledge base after the switch, or reindex before you rely on retrieval.

Troubleshooting

Open WebUI symptoms, likely causes and fixes
SymptomLikely causeFix
Empty model listBase URL missing /v1, wrong host, blocked egress or an invalid key.Test GET https://api.plugsky.com/v1/models with the key from inside the container network; then click Verify Connection.
401 Unauthorized in chatKey was not passed into the container, or it was revoked.Inspect the container environment without printing the key; create a new key if needed.
404 model_not_foundAllowlist contains an old or misspelled model ID.Use an ID from /v1/models; legacy IDs map to the documented serving engines.
429 plan_concurrency_limit or plan_rpm_limitToo many in-flight requests or too many requests per minute for the plan.Honour Retry-After, reduce parallel users or upgrade the plan.
RAG upload succeeds but retrieval is poorLocal embedding model still active, or chunks are too large.Confirm RAG_EMBEDDING_ENGINE=openai; rebuild the knowledge base with the new model; tune chunk size and top-k.
Streaming arrives in one blockA reverse proxy buffers the response.Disable proxy buffering for the UI route and confirm the upstream supports chunked responses.
Slow first model listModel discovery is waiting on a slow or unreachable endpoint.Raise AIOHTTP_CLIENT_TIMEOUT_MODEL_LIST or fix the network path; do not leave an unreachable URL saved.

Security checklist before you expose it

  • TLS and a reverse proxy. Do not publish port 3000 directly to the internet. Terminate TLS at a proxy you update, and keep the app on a private network.
  • Single sign-on or private access. Open WebUI supports OAuth, OIDC and trusted-header authentication. Use one of them for a team deployment rather than shared local accounts.
  • Persistent secret. Set WEBUI_SECRET_KEY from a secret manager and keep it stable across restarts. A changing key invalidates sessions.
  • Close sign-ups. Create the first administrator, then set ENABLE_SIGNUP=False. Review admin roles before inviting users.
  • Server-side API key. The Plugsky key belongs in the container or a secret store, never in browser code or a shared prompt.
  • Retention on both sides. Decide how long chats, uploads and embeddings live in Open WebUI, and confirm Plugsky's retention and deletion terms for prompts and outputs.
  • Region and contract. Choose the Plugsky region that matches your policy, and put residency, DPA and support terms in writing. SOC 2 is a readiness position in public material; request the current report under NDA and confirm its scope and period.

What we did not verify

  • We did not benchmark response latency or concurrent-user capacity. The plan table is a limit table, not a throughput guarantee.
  • We did not test every Open WebUI release or every reverse proxy. Environment variable names and defaults were checked on 20 November 2026.
  • We did not audit Open WebUI's security posture or its database encryption. Treat it as an application you operate and patch.
  • We did not verify retrieval quality for plugsky-embed on your corpus. Build a labelled query set before migration.

Frequently asked questions

What base URL should Open WebUI use for Plugsky?

Use https://api.plugsky.com/v1, including the /v1 suffix. Open WebUI appends the OpenAI paths such as /chat/completions and /models itself. Plugsky's public docs also show https://plugsky.com/v1; pick one host and use it consistently.

Why is the Open WebUI model list empty?

Check that the container can reach the base URL, that the key is valid and that the URL ends in /v1. Then click Verify Connection. If discovery still fails, add model IDs such as plugsky-pro to the Model IDs allowlist manually.

How do I enable RAG embeddings in Open WebUI?

Set RAG_EMBEDDING_ENGINE to openai, point RAG_OPENAI_API_BASE_URL at https://api.plugsky.com/v1, set RAG_OPENAI_API_KEY and use plugsky-embed as RAG_EMBEDDING_MODEL. The default engine is a local SentenceTransformers model, not an API.

Does Open WebUI streaming work with Plugsky?

Yes, because Open WebUI streams chat completions over the OpenAI-compatible endpoint. If tokens arrive in one block, check for a reverse proxy that buffers responses and disable buffering for the UI route.

Which Plugsky plan should I use for a team?

Starter at $20 per month suits a small team with 2,000 requests and 5M tokens per day, six concurrent requests and 240 RPM. Builder and Scale remove the monthly token cap and raise concurrency, subject to fair use.

Is Open WebUI plus Plugsky suitable for regulated data?

It can be, but the chat UI is only one part of the control. Put Open WebUI behind TLS and SSO, keep the API key server-side, review retention in both systems, and confirm the inference region and contract terms in writing.

Related pages

Put a team UI in front of a stable API

Open WebUI for the workspace, Plugsky for chat and embeddings. Start free, then pick the plan that matches your concurrency.

Start Free → See pricing

Sources

Open WebUI settings were checked against its documentation on 20 November 2026. Plugsky limits were checked against the pricing page on the same date.

Official pages used for this integration guide
SourcePage checkedChecked
Open WebUIOpenAI-compatible provider setup20 Nov 2026
Open WebUIEnvironment variable reference20 Nov 2026
Open WebUIRetrieval augmented generation20 Nov 2026
Open WebUIQuick start and Docker command20 Nov 2026
PlugskyPricing and fair-use limits20 Nov 2026

Last checked 20 November 2026. The canonical plan terms are at /pricing; the model list is at /models.