Different layers. OpenClaw is a personal AI assistant that runs on your machine and talks to you through the chat apps you already use. GoModel sits between software and model providers, so OpenClaw can use it as its model provider.
OpenClaw is the assistant. GoModel is the layer that pays for, routes, and logs its model calls.
| GoModel | OpenClaw | |
|---|---|---|
| What it is | AI gateway in front of providers | Personal AI assistant you chat with |
| Who calls it | Your apps, agents, and SDKs | You, from 30+ chat apps |
| Model access | 34 providers behind one endpoint | 40+ providers, set per assistant |
| Failover | Virtual models, retries, circuit breaker | Model fallback list, key rotation |
| Spend control | Enforced budgets and rate limits | Usage and cost reporting |
| Tools and channels | MCP gateway, no chat channels | Tools, skills, MCP, voice, canvas |
| Runtime | One Go binary, ~21 MB image | Node.js 24.16+ or 26.1+ |
They work well together.
Add GoModel as a custom provider. Every model call the assistant makes is then authenticated, metered, logged, and failed over by the gateway.
// ~/.openclaw/openclaw.json
{
env: { GOMODEL_API_KEY: "sk_gom_..." },
models: {
mode: "merge",
providers: {
gomodel: {
baseUrl: "http://your-gomodel:8080/v1",
apiKey: "${GOMODEL_API_KEY}",
api: "openai-completions",
models: [{ id: "anthropic/claude-sonnet-4-6", name: "Claude via GoModel" }],
},
},
},
agents: {
defaults: { model: { primary: "gomodel/anthropic/claude-sonnet-4-6" } },
},
}Use a GoModel API key scoped to the assistant, for example under/assistants/openclaw. For the Anthropic Messages API, setapi: "anthropic-messages" and drop /v1 from the base URL. OpenClaw facts are from its docs and repository as of October 2026.
Benchmarks are an argument; your traffic is the proof. GoModel speaks the OpenAI and Anthropic APIs natively, so pointing an existing app at it is a base-URL change.
docker run --rm -p 8080:8080 \
-e LOG_FORMAT=text \
-e OPENAI_API_KEY="your-openai-key" \
enterpilot/gomodelfrom openai import OpenAI
client = OpenAI(
base_url="http://localhost:8080/v1",
api_key="your-gomodel-key",
)Full setup, providers, and configuration live in the documentation. Questions? Ask on Discord or book a 30-minute call.