Skip to Content
ModelWorks logoModelWorks
AdaptorsOpenAI SSE Adaptor

Connect Open WebUI

Add any ModelWorks circuit as a model in Open WebUI via the OpenAI SSE adaptor.

Connect Open WebUI to ModelWorks

Open WebUI is a self-hosted AI chat interface with 160K+ GitHub stars. This guide shows you how to add ModelWorks circuits as custom models.

Prerequisites

Step 1: Get your adaptor URL

Every circuit with an OpenAI SSE adaptor exposes a URL like:

Text
https://modelworks.ai/api/circuit-adaptors/ca-xxxxxxxxxxxxxxxxx/query

Step 2: Add a connection in Open WebUI

  1. Open Admin Panel → Settings → Connections
  2. Click + to add a new OpenAI API connection
  3. Fill in:
    • URL: https://modelworks.ai/api/circuit-adaptors/ca-xxxxxxxxx/query
    • API Key: mw_YOUR_API_KEY
  4. Click Save

Step 3: Select the model

The model name in your dropdown is the circuit's adaptor ID. In a new chat, select the ModelWorks connection and start prompting.

Troubleshooting

IssueFix
Connection test failsVerify the adaptor URL ends with /query.
401 UnauthorizedGenerate a new API key from Settings → Security Tokens.
402 Payment RequiredFund your wallet at modelworks.ai/settings/wallet.
Model not showingThe circuit must be RUNNING — check its status on the circuit page.
On this page

On this page

© 2026 ModelWorks. All rights reserved.