---
url: 'https://docs.byesu.com/en/clients/open-webui.md'
description: >-
  Connect Open WebUI to byesu API via Admin Connections or Docker: filter
  /v1/models and serve Claude 5.5, GPT-6.2, Gemini 4, and DeepSeek V4 to your
  team.
---

# Connect Open WebUI to byesu API

Use **Open WebUI** as a self-hosted AI workspace backed by **byesu** — connect once via OpenAI-compatible Connections or Docker environment variables to serve Claude, GPT, Gemini, DeepSeek, and Grok models to yourself or your team on pay-as-you-go billing.

::: tip Quick configuration

* **OpenAI API URL**: `https://byesu.com/v1`
* **API Key**: your byesu token (`sk-...`, created in the default `auto` group)
* **Model IDs filter (recommended)**: `claude-opus-5-5`, `claude-sonnet-5-5`, `gpt-6.2-sol`, `deepseek-v4-pro`, `gemini-4-argon`
  :::

## Method 1: Admin Panel Connections Setup

1. Create an `sk-...` token in the [byesu Console](https://byesu.com) under the default **`auto`** group (see [Choosing a Group](/en/guide/groups)).
2. Sign in to Open WebUI with an admin account and navigate to **Admin Panel → Settings → Connections**.
3. Under **OpenAI API**, edit the existing row or click **+** to add a new connection:
   * **URL**:
     ```text
     https://byesu.com/v1
     ```
   * **Key**: paste your `sk-...` token
4. *(Recommended for team workspaces)* In the connection modal under **Model IDs**, add a curated shortlist (`claude-opus-5-5`, `claude-sonnet-5-5`, `gpt-6.2-sol`, `deepseek-v4-pro`, `gemini-4-argon`). Adding explicit Model IDs keeps the chat model dropdown clean for team members instead of exposing the entire `/v1/models` catalog.
5. Click the **Verify Connection** icon to confirm reachability, then click **Save**.

## Method 2: Docker Startup (`docker run`)

Launch Open WebUI pre-configured with byesu as its upstream OpenAI API backend:

```bash
docker run -d --name open-webui -p 3000:8080 \
  -e OPENAI_API_BASE_URL="https://byesu.com/v1" \
  -e OPENAI_API_KEY="sk-YOUR_BYESU_TOKEN" \
  -e ENABLE_OLLAMA_API="false" \
  -v open-webui:/app/backend/data \
  --restart always \
  ghcr.io/open-webui/open-webui:main
```

## Practical Notes

* **Disable unused local Ollama probing**: If you only call cloud models via byesu and do not run a local Ollama server, setting `ENABLE_OLLAMA_API="false"` (or disabling **Ollama API** in **Admin Panel → Settings → Connections**) eliminates multi-second startup and model-list delays.
* **Image generation & dedicated groups**: To enable image generation in **Admin Panel → Settings → Images**, select **OpenAI**, set URL to `https://byesu.com/v1`, paste a token from the `media` group, and choose `gpt-image-2` or `gemini-3.1-flash-image-ultra`. For `glm-5.3` or `kimi-k3`, add a second OpenAI connection using a `Glm` or `Kimi` group token.
* **Pay-as-you-go billing**: Token usage is billed per token with no monthly seat fee; view live per-model rates in the [byesu Console](https://byesu.com) after sign-in.

## Troubleshooting & Benchmarks

* **401 invalid\_api\_key**: confirm the OpenAI API URL ends with `/v1` (`https://byesu.com/v1`) and the `sk-...` token is active ([OpenAI 401 fix](/en/errors/openai-api-401-invalid-api-key)).
* **404 / no available channel**: check the **Model IDs** filter spelling and confirm the token group covers the selected model ([no available channel](/en/errors/no-available-channel-error)).
* **429 / benchmarks**: see [OpenAI 429 rate limit vs quota](/en/errors/openai-api-429-rate-limit-vs-quota) and [live production benchmarks](https://byesu.com/benchmarks).
