Skip to main content

Initialize OpenClaw

Follow the official documentation to install and initialize OpenClaw, and confirm the gateway starts. Prepare an APIONE key and a tool-capable model.

Merge the provider configuration

Back up ~/.openclaw/openclaw.json and merge these fields without replacing existing channels, gateway settings, or permissions:
Replace the key and both model placeholders. The apione/ prefix belongs to OpenClaw’s provider selection, not the APIONE model ID. Restrict access to the credential file and keep it out of repositories. Set context, output, and image capabilities according to the selected model.

Apply and verify

Confirm APIONE in the model list and send a simple message through an existing chat entry point. Test tools and channels after inference works.

Windows local operation

First confirm the installed version and current configuration file location in PowerShell.
The default configuration is usually in the user’s .openclaw/openclaw.json, based on the actual output of openclaw config file. Back up this file before modifying, then merge the APIONE provider configuration above.
If the actual configuration is in another directory, change $openclawConfigPath to that path first. After saving, validate the configuration and view the models.
After confirming the APIONE model is listed, set it as the default model. Replace the placeholder with the actual model ID from the configuration above.

Verify actual replies

Send “Reply only OK” in an existing chat entry point, and check the model and status in APIONE request details. To verify from the local command line, use a local Agent call.
This command will call the model and produce corresponding usage. Model visibility, gateway running, and actual replies are three checkpoints; confirm them in order. If the interface indicates the key is expired but the backend shows it is valid, follow the authentication troubleshooting and provide the request identifier for verification.

Troubleshoot

If configuration is ignored, check the home directory of the user running the gateway. If text works but tools fail, check model support and parameter compatibility. Keep gateway authentication and tool permissions intact while diagnosing inference. See OpenClaw custom providers. For cloud deployment, follow Alibaba Cloud OpenClaw.
Integration directory · Choose a model · Troubleshooting