Use TeamoRouter with Open WebUI
Open WebUI is a self-hosted AI chat interface that works with any OpenAI-compatible API. Add one connection with TeamoRouter's address and your API key, and everyone on your team can use Claude, GPT, DeepSeek, Gemini and other models from the same interface, on one key and one balance.
Checked on 2026-11-25 against Open WebUI v0.13.4 and its official docs.
New accounts start with a $0 balance — top up before your first request. Top up from $5 with a card, Alipay or WeChat Pay, or USDT. If a chat returns 400 or 402 with "wallet balance is insufficient", your balance is empty — your URL and key are fine. Top up and retry.
1. Before you start
Create an API key in the TeamoRouter console.
2. Add the connection in the admin settings
- Sign in to Open WebUI as an admin and open Admin Panel → Settings → Connections.
- Under Manage OpenAI API Connections, click Add Connection (+).
- Fill in:
| Setting | Value |
|---|---|
| URL | https://api.teamorouter.com/v1 |
| API Key | your sk-teamo- key |
| Model IDs | Only the models you need, for example claude-sonnet-5-5, gpt-6.1-sol, deepseek-v4-flash |
- Click Verify Connection next to the URL. When it says Server connection verified, click Save.
- Keep
/v1at the end of the URL. Don't add a trailing slash or/chat/completions. - If you leave Model IDs empty, TeamoRouter's whole model list, including image models, shows up in the model selector. Listing IDs keeps only the ones you want.
- Each connection has a toggle, so you can switch it off without deleting it.
3. Preconfigure with environment variables (Docker)
Start Open WebUI with TeamoRouter already connected:
docker run -d -p 3000:8080 \
-e OPENAI_API_BASE_URL=https://api.teamorouter.com/v1 \
-e OPENAI_API_KEY=sk-teamo-xxxxxx \
-v open-webui:/app/backend/data \
--name open-webui ghcr.io/open-webui/open-webui:main
OPENAI_API_BASE_URL and OPENAI_API_KEY are saved into Open WebUI's database on the first start only. Changing them and restarting later does nothing. Change the connection in the admin settings (section 2) instead.
4. Which model for which job
| Job | Model ID | Official price (input / output per 1M tokens) |
|---|---|---|
| Everyday chat, writing, code | claude-sonnet-5-5 |
$2 / $10 |
| GPT as the main model | gpt-6.1-sol |
$2 / $10 |
| Long documents, images | gemini-3.6-flash |
$0.75 / $3.75 |
| Cheap everyday questions | deepseek-v4-flash |
$0.44 / $1.32 |
These are the vendors' official list prices. TeamoRouter's current prices are in the model list. Open WebUI only speaks the OpenAI-compatible format (/v1/chat/completions). Claude doesn't get prompt caching automatically on that format. That's fine for chat. For very long multi-turn agent work, GPT costs less.
5. Common errors
| What you see | Cause | Fix |
|---|---|---|
| Verify Connection returns 401 | Key copied with missing characters, or the wrong key | Copy the full sk-teamo- key again |
| A chat returns 400 or 402, wallet balance is insufficient | Balance is $0 | Top up, from $5 |
| A long list of models you don't use in the selector | Model IDs is empty, so the whole list shows | Add the model IDs you need in the connection and save |
Changed OPENAI_API_BASE_URL, restarted, nothing changed |
The variable only applies on the first start | Change it in Admin Panel → Settings → Connections |
| Verify fails with an HTML page or 405 | URL missing /v1 |
Use https://api.teamorouter.com/v1 |
| Model not found | Typo in the model ID | Use the IDs from the model list |