Open WebUI Custom OpenAI API Setup Guide — HefuAI Platform

Add an OpenAI API connection in Open WebUI with the current Base URL, API key and model ID, then verify a chat and troubleshoot errors.

Setup and verification

  1. Create a dedicated API key in the HefuAI Platform console.
  2. Open Open WebUI's provider settings and choose the documented OpenAI-compatible API connection.
  3. Copy the current Base URL and model ID, save the configuration, then send a short test before a real task.
  4. For 401, check the key. For 404, check the Base URL and live model ID. Review tool and modality support before agent workflows.