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.
Quick configuration
- OpenAI API URL:
https://byesu.com/v1 - API Key: your byesu token (
sk-..., created in the defaultautogroup) - 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
- Create an
sk-...token in the byesu Console under the defaultautogroup (see Choosing a Group). - Sign in to Open WebUI with an admin account and navigate to Admin Panel → Settings → Connections.
- 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
- URL:
- (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/modelscatalog. - 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:mainPractical 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 themediagroup, and choosegpt-image-2orgemini-3.1-flash-image-ultra. Forglm-5.3orkimi-k3, add a second OpenAI connection using aGlmorKimigroup 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 after sign-in.
Troubleshooting & Benchmarks
- 401 invalid_api_key: confirm the OpenAI API URL ends with
/v1(https://byesu.com/v1) and thesk-...token is active (OpenAI 401 fix). - 404 / no available channel: check the Model IDs filter spelling and confirm the token group covers the selected model (no available channel).
- 429 / benchmarks: see OpenAI 429 rate limit vs quota and live production benchmarks.