Use Open WebUI with TokenMaster
Open WebUI is a self-hosted chat interface. Add TokenMaster as an OpenAI API connection and every model shows up in the model picker.
You will need
- An API key starting with tm- (Console → API keys) — Get an API key
- Base URL:
https://tokenmaster.store/v1 - A model ID, e.g.
anthropic/claude-sonnet-5.5(see the model list)
Setup
- Open Admin Panel → Settings → Connections.
- Under Manage OpenAI API Connections, click + to add a connection.
- Set URL to
https://tokenmaster.store/v1and API Key to yourtm-…key. Leave API Type on Chat Completions. - Optional: list a few IDs in Model IDs to show only those, or set a Prefix ID to tell TokenMaster models apart.
- Click Verify Connection, then Save. TokenMaster's models now appear in the model picker.
Good to know
- For document chat (RAG) you can keep the default local embedding engine, or set the embedding engine to OpenAI with base URL
https://tokenmaster.store/v1, your key and modelbaai/bge-m3(Admin Panel → Settings → Documents). - Not available through TokenMaster: image generation, speech, rerank, the Assistants API, and OpenAI-hosted tools. Chat Completions, the Responses API (stateless), the Anthropic Messages API and embeddings are available.
Checked against Open WebUI 0.12 on 2026-10-19. Menu names can change between versions.
Troubleshooting
- 401 / invalid API key — check the key was copied in full and has not been deleted in the console.
- 404 — the base URL is wrong. It must end in /v1 unless the guide says otherwise.
- Model not found / not available — use the exact ID from the model list (vendor/model, lowercase). Some vendors are not available in every region.
- Errors mentioning /responses — the tool is using OpenAI's Responses API. TokenMaster accepts it, but statelessly (no previous_response_id) and without OpenAI-hosted tools; if the tool relies on those, switch it to Chat Completions as noted above.
- 402 / insufficient balance — top up in the console; requests are refused rather than run up a debt.