Add MagmaRouter to Open WebUI

Open WebUI is protocol-first: it treats any OpenAI-compatible endpoint as an OpenAI connection. Add MagmaRouter in the admin UI or through environment variables.
- Base URL
- https://api.magmarouter.com/v1
- API key
- Get one, starts sk-mr-
- Example model
- glm-5.3-xploded
Admin Settings, Connections
Go to Settings, then Admin, then Connections. Next to "Manage OpenAI API Connections", add a connection:
- URL: https://api.magmarouter.com/v1
- API Key: your sk-mr-... key
Leave Model IDs empty to auto-detect the catalogue, or set an allowlist to show only the models you want. Save, and the models appear in the selector.
Or environment variables
Shell
OPENAI_API_BASE_URL=https://api.magmarouter.com/v1 OPENAI_API_KEY=sk-mr-...
Open WebUI's default base URL is https://api.openai.com/v1, so keep the /v1 on the MagmaRouter URL. It caches the model list; saving the connection refreshes it immediately.
Pick a model
Each page has the Open WebUI setup with that model's id and limits filled in, and what a session costs.
GLM 5.3 Xploded in Open WebUI1M context, $2.00 in / $5.00 out per 1M
GLM 5.3 Flash Xploded in Open WebUI1M context, $0.30 in / $1.00 out per 1M
DeepSeek V4.1 Flash 1017 Xploded in Open WebUI1M context, $1.25 in / $2.50 out per 1M
DeepSeek Flash Lite Xploded in Open WebUI512K context, $0.36 in / $1.44 out per 1M
MiMo V2.6 Flash Xploded in Open WebUI1M context, $1.00 in / $2.00 out per 1M
Qwen3.8 27B Xploded in Open WebUI1M context, $1.50 in / $5.00 out per 1M
Qwen3.8 27B Ultrafast Xploded in Open WebUI524K context, $1.75 in / $5.50 out per 1M