Skip to main content
OpenClaw is an open-source personal AI assistant that can run on your own devices and connect to messaging channels you already use. It connects to Routeway through the OpenAI-compatible Chat Completions endpoint.
Requires a valid Routeway API key. Get yours from the dashboard.

Setup

1

Install OpenClaw

Ensure OpenClaw is installed and running on your device. Follow the official OpenClaw documentation for installation instructions.
2

Update your OpenClaw config

Open ~/.openclaw/openclaw.json and add a provider named routeway. Replace YOUR_MODEL_ID with a model from routeway.ai/models:
{
  "models": {
    "mode": "merge",
    "providers": {
      "routeway": {
        "baseUrl": "https://api.routeway.ai/v1",
        "apiKey": "YOUR_ROUTEWAY_API_KEY",
        "api": "openai-completions",
        "models": [
          {
            "id": "YOUR_MODEL_ID",
            "name": "Routeway model",
            "api": "openai-completions"
          }
        ]
      }
    }
  },
  "agents": {
    "defaults": {
      "model": {
        "primary": "routeway/YOUR_MODEL_ID"
      }
    }
  }
}
If your OpenClaw setup expects more model metadata, copy an existing provider entry and only change the base URL, API key, and model ID.
3

Apply the config

Apply the updated file and restart OpenClaw if needed:
openclaw gateway config.apply --file ~/.openclaw/openclaw.json
4

Verify the connection

Start OpenClaw and run a simple prompt. If the assistant responds and your selected model is shown correctly, the integration is working.

Notes

  • Base URL must include /v1: https://api.routeway.ai/v1
  • OpenClaw model names use the provider prefix, e.g. routeway/YOUR_MODEL_ID
  • Keep real API keys out of version control