Skip to content

OpenClaw

Register Webway as an OpenAI-compatible provider in OpenClaw.

Install OpenClaw and complete its onboarding, then add a custom provider to ~/.openclaw/openclaw.json:

json5
{
  env: { vars: { WEBWAY_API_KEY: "sk-ww-…" } },
  agents: {
    defaults: {
      model: { primary: "webway/openai/gpt-5.6-terra" }
    }
  },
  models: {
    mode: "merge",
    providers: {
      webway: {
        baseUrl: "https://api.webway.sh/v1",
        apiKey: "${WEBWAY_API_KEY}",
        api: "openai-completions",
        models: [
          { id: "openai/gpt-5.6-terra", name: "GPT-5.6 Terra" }
        ]
      }
    }
  }
}

Restart the gateway and verify the model:

bash
openclaw gateway restart
openclaw models list

The OpenClaw model reference adds its local provider prefix (webway/) to the Webway routing ID. The API request still sends openai/gpt-5.6-terra.