open ~/.openclaw{
"gateway": {
"mode": "local"
},
"agents": {
"defaults": {
"model": {
"primary": "zetarouter/claude-sonnet-4-5"
},
"models": {
"zetarouter/claude-sonnet-4-5": {}
}
}
},
"models": {
"mode": "merge",
"providers": {
"zetarouter": {
"baseUrl": "https://plan.zetarouter.com",
"apiKey": "sk-xxxxx(复制你的令牌密钥到这里)",
"api": "anthropic-messages",
"headers": {
"User-Agent": "Mozilla/5.0"
},
"models": [
{
"id": "claude-sonnet-4-5",
"name": "claude-sonnet-4-5",
"input": ["text"]
}
]
}
}
}
}