Router9
Documentation
Integrations

ZeroClaw

Use Router9 as a custom provider in ZeroClaw

ZeroClaw logo

ZeroClaw is a lightweight, zero-config member of the OpenClaw agent family. Like the rest of the family it supports custom OpenAI-compatible providers, so it runs on Router9 with no code changes.

Setup

Add Router9 as a custom provider in zeroclaw.json:

{
  models: {
    providers: {
      router9: {
        baseUrl: "https://api.router9.com/v1",
        apiKey: "${ROUTER9_API_KEY}",
        api: "openai-completions",
        models: [
          { id: "gpt-4o", name: "GPT-4o via Router9" }
        ]
      }
    }
  }
}

Set as Default Model

{
  agents: {
    defaults: {
      model: { primary: "router9/gpt-4o" }
    }
  }
}

Environment Variables

export ROUTER9_API_KEY=sk-r9k-your-key-here

Anthropic Protocol

To use Anthropic-native models, point baseUrl at https://api.router9.com/anthropic and set api: "anthropic-messages".

Tips

  • ZeroClaw shares OpenClaw's provider format — the OpenClaw guide covers advanced options like failover and key rotation (ROUTER9_API_KEYS).
  • Model references follow the provider/model format — use router9/gpt-4o.

On this page