Integrations
NanoClaw
Use Router9 as a custom provider in NanoClaw
NanoClaw is a minimal single-binary agent from the OpenClaw family. It supports custom OpenAI-compatible providers, so it runs on Router9 with no code changes.
Setup
Add Router9 as a custom provider in nanoclaw.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-hereAnthropic Protocol
To use Anthropic-native models, point baseUrl at https://api.router9.com/anthropic and set api: "anthropic-messages".
Tips
- NanoClaw shares OpenClaw's provider format — see the OpenClaw guide for advanced options.
- Model references follow the
provider/modelformat — userouter9/gpt-4o.