Guide · Bots & assistants

ChatGPT for your team: Open WebUI with llmbox models

Deploy Open WebUI for a team: run it in Docker, connect GPT, Gemini, DeepSeek, and Qwen with one llmbox key, then set up roles and a spend limit.

20 min time
Docker stack
1 team of code
Beginner level

When a whole team uses AI, personal subscriptions quickly become inconvenient: everyone pays separately, everyone has different models, and there is no shared view of spending. The other route is a self-hosted ChatGPT for business: a shared chat on your own server where employees sign in with their own accounts, and the models are connected with one key. In this guide we build such a team chat on Open WebUI and llmbox models: we run it in Docker, connect GPT, Gemini, DeepSeek and Qwen, go through user roles and set up spending control.

Why a team needs its own chat

Open WebUI is an open-source web chat interface that you deploy yourself. In appearance and workflow, it resembles familiar chat services: a list of conversations on the left, a model picker above the thread and saved history. The difference is who controls the system.

  • One balance instead of several subscriptions. Open WebUI connects to llmbox with one key, and requests are paid from your balance for actual usage. If an employee did not open the chat for a week, nothing is charged for them.
  • Different models in one interface. GPT, Gemini, DeepSeek and Qwen are available in a shared list. An employee picks a suitable option at the start of a chat, and you can use different models for everyday and complex tasks.
  • Centralized management. Chat history is stored in Open WebUI on your server, model requests go through your key, and spending is visible in your llmbox account by day, model and key.

To llmbox, Open WebUI is an ordinary OpenAI-compatible client. The chat works through /v1/chat/completions, and Open WebUI takes its list of models from GET /v1/models, so models from the catalog appear in it automatically.

What you need

  • A server or a computer with Docker. Your laptop is fine for testing; for a team, use a server that employees can reach over the network.
  • An llmbox key. You create it in the Keys section of your account. For a team chat, it is better to create a separate key: its spending is then visible separately from other projects, and you can set a dedicated spend limit. Learn more in Keys and authentication.
  • A positive balance. You can add funds and check the remaining amount in the Balance section of your account.

Running Open WebUI in Docker

The simplest way to start Open WebUI is the one-line command from the documentation. After it starts, the interface opens at http://localhost:3000:

bash
docker run -d -p 3000:8080 -v open-webui:/app/backend/data --name open-webui ghcr.io/open-webui/open-webui:main

The open-webui volume stores Open WebUI data: accounts, settings and chat history. If you recreate the container with the same volume, the data is kept.

On your first visit to http://localhost:3000, create an administrator account. It manages connections and users, so choose a strong password.

For a team, run the same command on a server. To let employees open the chat by domain name over HTTPS, place the container behind the reverse proxy you already use for other services.

Connecting llmbox

In Open WebUI, models are connected as an OpenAI-compatible connection. Signed in as the administrator, follow these steps:

  1. Open Settings → Admin → Connections and find the Manage OpenAI API Connections block.
  2. Click Add Connection.
  3. In the URL field, enter https://llmbox.cc/v1.
  4. In the API Key field, paste the llmbox key from your account.
  5. Click Verify Connection, then Save.

After you save the connection, Open WebUI requests the list of models from llmbox. At the start of a new chat, you can choose, for example, openai/gpt-6.1-sol or deepseek/deepseek-v4.1-flash.

If verification fails, check the address and the key. The URL must end with /v1, and a 401 invalid_api_key response means the key is wrong or has been revoked.

Connecting with environment variables

The same connection can be set when you start the container. This is more convenient if the server is deployed by a script. The key is passed from the LLMBOX_API_KEY variable:

bash
export LLMBOX_API_KEY="your-key"
docker run -d -p 3000:8080 \
  -e OPENAI_API_BASE_URL=https://llmbox.cc/v1 \
  -e OPENAI_API_KEY="$LLMBOX_API_KEY" \
  -e TASK_MODEL_EXTERNAL=deepseek/deepseek-v4.1-flash \
  -v open-webui:/app/backend/data --name open-webui ghcr.io/open-webui/open-webui:main

The TASK_MODEL_EXTERNAL variable sets the model for service tasks: chat titles and suggestions. These are separate requests, and without this variable they go to the model of the current chat. A fast, inexpensive model lowers the cost of service tasks.

Open WebUI reads these variables only on the first start. After that, the settings from Settings → Admin apply: to change the address or the key, edit the connection there.

Which models to open to the team

If you configure nothing, Open WebUI shows all the models returned by GET /v1/models. For a team, a long list tends to get in the way because employees may find it hard to choose a model. Keep only a few models by listing their IDs in the connection's Model IDs field (the + button).

It is useful to split models into two groups. For everyday tasks such as writing emails, translating, summarizing and giving short answers, fast models with low request costs are a good fit. For complex tasks such as reviewing a contract, analyzing a report or answering coding questions, choose a strong model that reasons more deeply.

The cards below show current rates per million tokens from the catalog. Click a card to open the model page with a description and calculator.

A good starting set is three or four models. For example, DeepSeek V4.1 Flash and Gemini 3.8 Flash for everyday work, GPT-6.1 Sol and Gemini 3.1 Pro for complex questions. Another candidate for complex tasks is Qwen3.8 Max, Alibaba's flagship for programming, office work and professional fields such as law and finance. All vendor models are collected on the OpenAI, Google, DeepSeek and Qwen pages.

When a new model appears in the catalog, you only need to add its ID to Model IDs; the key and the address stay the same.

Users and roles

In Open WebUI every employee has their own account. The first account created becomes the administrator. New users go into a pending status by default: until the administrator approves the account, they cannot send requests. This way a random visitor to the server cannot start using the models without approval.

There are three roles: administrator, user and pending approval. The administrator manages connections, models and accounts, and a user works in the chat with the models that are open to them. Give administrator rights to one or two people: any administrator can change the connection and see the connection settings.

Keep in mind that all employees work through one llmbox key. In your account their requests appear as requests from this key. If departments need separate budgets, run a separate Open WebUI instance for each department with its own key and limit.

Controlling spending

A team chat's spending is the sum of all employees' requests: each has their own conversations and chosen models. So before a shared launch, set up three things.

A separate key with a limit

When you create a key in the Keys section of your account, fill in the "Spend limit" field. The limit applies for the lifetime of the key. When the key's spending reaches it, new requests get a 403 spend_limit_exceeded error, and your other keys keep working. You can raise the limit in the key settings to restore the chat. If a key is compromised, revoke it in your account and create a new one; a revoked key cannot be restored.

The Usage section

The Usage section of your account shows spending by day and model. On the "By key" tab, the team chat's spending is separated from other projects. If most spending goes to an expensive model while the team's tasks are simple, consider changing the default model.

The Logs section

The Logs section shows every request with its status, model, tokens and cost. The "Key" filter shows only Open WebUI requests. If you set a separate model for chat titles and suggestions, you can distinguish service requests from employees' questions by model.

What it costs

With each chat request, the model receives the entire conversation history. A request therefore usually has more input tokens than output tokens, and the input grows with the length of the thread. The article What are tokens and how to calculate the cost of a request explains how tokens are counted.

Consider a team of twenty employees, each asking about fifteen questions a day, for roughly 300 requests. Assume each request, including history, is 2,000 tokens and each response is 600. The calculator estimates monthly spending on a fast model at the current catalog rates, and you can enter your own numbers in the fields:

Per month on DeepSeek V4.1 Flash ≈ $3.26 18M in · 5.4M out

Estimate complex questions with long documents separately. If the team asks a strong model about 40 such questions a day, use this estimate:

Per month on GPT-6.1 Sol ≈ $26.28 9.6M in · 1.8M out

After a week of use, compare the estimate with the Usage section and adjust the key's limit if needed.

Configuration tips

  • Set a default model. Let each new chat open with a fast, inexpensive model that suits emails, translations and summaries. Employees can choose a stronger model when the task requires it.
  • Set TASK_MODEL_EXTERNAL. Titles and suggestions do not need a strong model, so it is better to send service requests to a fast one.
  • Explain to the team when to start a new chat. A long conversation with past topics increases the input tokens in every subsequent request. Start a new chat for a question on a different topic.
  • Keep the model list short. It is easier to choose from three or four options with a clear purpose than from the whole catalog.
  • Add image generation if you need it. The Open WebUI documentation describes the IMAGES_* and IMAGE_GENERATION_* variables. They let the GPT Image 2 model, for example, create images directly in the chat with the same key. The image price and a calculator are on the model page.

What's next

The same key works for scripts and bots: you can build a Telegram bot in Python or connect any code written for the OpenAI SDK to llmbox; the article How to move code from the OpenAI SDK to other models: changing base_url covers this. An overview of the setup and a selection of models for Open WebUI are on the Open WebUI with llmbox models page.

Questions

Does each employee need their own subscription or their own key?

No. Open WebUI connects to llmbox with a single key, and employees sign in to Open WebUI with their own accounts. You pay from your llmbox balance for actual usage, with no subscription.

How do I limit the team's spending?

Create a separate key for Open WebUI and set a spend limit on it in the Keys section of your account. When the limit is reached, requests with this key get a spend_limit_exceeded error, and your other keys keep working as before. You can raise the limit.

How do I keep only the models I need in the list?

List their IDs in the Model IDs field of the llmbox connection in Open WebUI. Without it, Open WebUI shows all the models returned by GET /v1/models.

Where is the chat history stored?

In Open WebUI itself, in the open-webui Docker volume on your server. Only model requests go to llmbox, and each of them, with its status, tokens and cost, is visible in the Logs section of your account.

Can I generate images in the same chat?

Yes. When you start the container, enable image generation with the openai engine, set the same llmbox address and key, and a model such as openai/gpt-image-2. The price of an image is on the model page.

Published November 15, 2026

One key — every model

GPT, Gemini, DeepSeek, Qwen, video and audio. Pay as you go.

Create a key