Skip to main content

Prerequisites

Before configuring OpenClaw, make sure you have:

Install OpenClaw

If you haven’t installed OpenClaw yet, complete the installation first. Run one of the following commands in your terminal:
curl -fsSL https://openclaw.ai/install.sh | bash

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:
openclaw onboard

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

macOS / Linux (Bash)

curl -fsSL https://raw.githubusercontent.com/Zgh332358/openclaw-stepfun-installer/main/add_stepfun_smart.sh | bash

Windows (PowerShell, administrator mode)

Note: You must run this in PowerShell as administrator. Otherwise the script will print a notice and exit.
  1. Right-click the Windows Start menu and choose “Terminal (Admin)” or “Windows PowerShell (Admin)”.
  2. Run the following command:
irm https://raw.githubusercontent.com/Zgh332358/openclaw-stepfun-installer/main/add_stepfun_smart.ps1 | iex

FAQ

If you’ve configured 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": {
        "stepfun/<model_id>": {
          "alias": "Step Model"
        }
      }
    }
  }
}
Or simply remove the agents.defaults.models entry to disable the allowlist.
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
StepFun belongs to the former.
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.

References