โ Tools
Config Generator
openclaw.json
Configure your agent below. The JSON output updates live. 144 models loaded
AI Providers
Select the providers you want to use. Only models from enabled providers will appear in the Models tab.
Select at least one provider to configure models.
API keys are not stored here โ OpenClaw manages credentials in its
own secure store. This just tells the config which auth profiles to
activate.
openclaw.json
{
"update": {
"channel": "stable",
"checkOnStart": true,
"auto": {
"enabled": false
}
},
"auth": {
"profiles": {}
},
"logging": {
"redactSensitive": "tools"
},
"models": {
"mode": "merge",
"providers": {}
},
"agents": {
"defaults": {
"model": {
"primary": "openai-codex/gpt-5.3-codex",
"fallbacks": [
"openai-codex/gpt-5-mini",
"openrouter/anthropic/claude-sonnet-4-5",
"openrouter/google/gemini-flash-1.5",
"openrouter/openai/gpt-4o-mini"
]
},
"models": {
"openai-codex/gpt-5.3-codex": {
"alias": "gpt-53-codex"
},
"openai-codex/gpt-5-mini": {
"alias": "gpt-5-mini"
},
"openrouter/anthropic/claude-sonnet-4-5": {
"alias": "claude-sonne"
},
"openrouter/google/gemini-flash-1.5": {
"alias": "gemini-flash"
},
"openrouter/openai/gpt-4o-mini": {
"alias": "gpt-4o-mini"
}
},
"workspace": "~/.openclaw/workspace",
"memorySearch": {
"sources": [
"memory",
"sessions"
],
"experimental": {
"sessionMemory": true
},
"provider": "openai",
"model": "text-embedding-3-small"
},
"contextPruning": {
"mode": "cache-ttl",
"ttl": "6h",
"keepLastAssistants": 3
},
"compaction": {
"mode": "default",
"memoryFlush": {
"enabled": true,
"softThresholdTokens": 40000
}
},
"heartbeat": {
"model": "openrouter/google/gemini-flash-1.5"
},
"maxConcurrent": 4,
"subagents": {
"maxConcurrent": 8
}
},
"list": [
{
"id": "main",
"default": true
}
]
},
"channels": {},
"gateway": {
"port": 18789,
"mode": "local",
"bind": "loopback",
"auth": {
"mode": "token"
},
"tailscale": {
"mode": "off",
"resetOnExit": false
}
},
"skills": {
"install": {
"preferBrew": true,
"nodeManager": "bun"
}
}
}