Prerequisites
Before configuring OpenClaw, make sure you have:- Subscribed to Step Plan
- Logged in to platform.stepfun.ai and created an API Key in the console.
Install OpenClaw
If you havenât installed OpenClaw yet, complete the installation first. Run one of the following commands in your terminal:- macOS / Linux / WSL2
- Windows
- npm
Configure the Step Model
After installation, the Onboard wizard launches automatically. If youâve already installed OpenClaw, you can re-launch the Onboard wizard with:Configure the model API key
Use the following settings:- In Model/auth provider, select StepFun.
- In StepFun auth method, select StepFun Step Plan API key.
- In Enter StepFun API key, paste your API key.
- Model configured displays the default model under this auth method.
- In the Default model list, you can keep the default or pick another model.
Complete the remaining configuration
Next, configure channel, search, skills, and hooks based on your needs. After configuration, you can choose to launch in the terminal (TUI) or in the Web UI.Verify
After launching, ask any question and check whether OpenClaw responds in the interface.Other configuration methods
- Quick setup via official script
- Edit the configuration file manually
macOS / Linux (Bash)
Windows (PowerShell, administrator mode)
Note: You must run this in PowerShell as administrator. Otherwise the script will print a notice and exit.- Right-click the Windows Start menu and choose âTerminal (Admin)â or âWindows PowerShell (Admin)â.
- Run the following command:
FAQ
Q: 'Model is not allowed' after configuration
Q: 'Model is not allowed' after configuration
If youâve configured Or simply remove the
agents.defaults.models (an allowlist), make sure stepfun/<model_id> is also added to that list, otherwise the model will be blocked. To fix:agents.defaults.models entry to disable the allowlist.Q: Why does the `api` field use `openai-completions`?
Q: Why does the `api` field use `openai-completions`?
StepFunâs API is fully compatible with the OpenAI Chat Completions request format. When configuring a custom provider in OpenClaw, two API types are supported:
openai-completions: for providers compatible with the OpenAI format (most third-party providers)anthropic-messages: for providers compatible with the Anthropic Messages format
Q: Can I skip WSL2 on Windows?
Q: Can I skip WSL2 on Windows?
Not recommended. OpenClaw depends on Linux toolchains (
make, g++, etc.) and systemd service management; running natively on Windows runs into many compatibility issues. WSL2 is the officially recommended way to use OpenClaw on Windows.