docs/providers/stepfun.md
OpenClaw includes a bundled StepFun provider plugin with two provider ids:
stepfun for the standard endpointstepfun-plan for the Step Plan endpoint| Endpoint | China (.com) | Global (.ai) |
|---|---|---|
| Standard | https://api.stepfun.com/v1 | https://api.stepfun.ai/v1 |
| Step Plan | https://api.stepfun.com/step_plan/v1 | https://api.stepfun.ai/step_plan/v1 |
Auth env var: STEPFUN_API_KEY
Standard (stepfun):
| Model ref | Context | Max output | Notes |
|---|---|---|---|
stepfun/step-3.5-flash | 262,144 | 65,536 | Default standard model |
Step Plan (stepfun-plan):
| Model ref | Context | Max output | Notes |
|---|---|---|---|
stepfun-plan/step-3.5-flash | 262,144 | 65,536 | Default Step Plan model |
stepfun-plan/step-3.5-flash-2603 | 262,144 | 65,536 | Additional Step Plan model |
Choose your provider surface and follow the setup steps.
<Tabs> <Tab title="Standard"> **Best for:** general-purpose use via the standard StepFun endpoint.<Steps>
<Step title="Choose your endpoint region">
| Auth choice | Endpoint | Region |
| -------------------------------- | -------------------------------- | ------------- |
| `stepfun-standard-api-key-intl` | `https://api.stepfun.ai/v1` | International |
| `stepfun-standard-api-key-cn` | `https://api.stepfun.com/v1` | China |
</Step>
<Step title="Run onboarding">
```bash
openclaw onboard --auth-choice stepfun-standard-api-key-intl
```
Or for the China endpoint:
```bash
openclaw onboard --auth-choice stepfun-standard-api-key-cn
```
</Step>
<Step title="Non-interactive alternative">
```bash
openclaw onboard --auth-choice stepfun-standard-api-key-intl \
--stepfun-api-key "$STEPFUN_API_KEY"
```
</Step>
<Step title="Verify models are available">
```bash
openclaw models list --provider stepfun
```
</Step>
</Steps>
### Model refs
- Default model: `stepfun/step-3.5-flash`
<Steps>
<Step title="Choose your endpoint region">
| Auth choice | Endpoint | Region |
| ---------------------------- | --------------------------------------- | ------------- |
| `stepfun-plan-api-key-intl` | `https://api.stepfun.ai/step_plan/v1` | International |
| `stepfun-plan-api-key-cn` | `https://api.stepfun.com/step_plan/v1` | China |
</Step>
<Step title="Run onboarding">
```bash
openclaw onboard --auth-choice stepfun-plan-api-key-intl
```
Or for the China endpoint:
```bash
openclaw onboard --auth-choice stepfun-plan-api-key-cn
```
</Step>
<Step title="Non-interactive alternative">
```bash
openclaw onboard --auth-choice stepfun-plan-api-key-intl \
--stepfun-api-key "$STEPFUN_API_KEY"
```
</Step>
<Step title="Verify models are available">
```bash
openclaw models list --provider stepfun-plan
```
</Step>
</Steps>
### Model refs
- Default model: `stepfun-plan/step-3.5-flash`
- Alternate model: `stepfun-plan/step-3.5-flash-2603`