OpenClaw uses the OpenAI API. Simply point it to an OpenAI-compatible gateway.
Step 1: Modify the Configuration File
macOS / Linux:
~/.openclaw/openclaw.json
Windows:
%USERPROFILE%\.openclaw\openclaw.json
Configuration:

Step 2: Start Chatting
openclaw chat
You can now start chatting.