OpenClaw Custom OpenAI-Compatible Provider Setup Guide — HefuAI Platform

Configure a Custom OpenAI-compatible provider in OpenClaw with the current Base URL, API key and model ID, then validate a short task.

Setup and verification

  1. Create a dedicated API key in the HefuAI Platform console.
  2. Open OpenClaw'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.