I want to use a free model for daily chats and only when doing real work I would switch to bigger models. I picked a free model for everyday chats. I use open router to provide the model mistralai/mistral-small-3.1-24b-instruct:free.
But the problem is that although the Mistral is default at restart it sets Haiku as active model. Then I need to manually switch always back to Mistral. Here is the openclaw.json file partly:
{
"env": {
"OPENROUTER_API_KEY": "sk-or-v1-XXX”,
"OLLAMA_API_KEY": "ollama-local"
},
"auth": {
"profiles": {
"anthropic:default": {
"provider": "anthropic",
"mode": "api_key"
}
}
},
"agents": {
"defaults": {
"model": {
"primary": "mistralai/mistral-small-3.1-24b-instruct:free",
"fallbacks": ["anthropic/claude-haiku-4-5"]
},
"models": {
"arcee-ai/trinity-large-preview:free": {
"alias": "trinity"
},
"anthropic/claude-opus-4-5": {
"alias": "opus"
},
"anthropic/claude-haiku-4-5": {
"alias": "haiku"
},
"anthropic/claude-sonnet-4-5": {
"alias": "sonnet"
}
},
"workspace": "/home/clawd/clawd",
"compaction": {
"mode": "safeguard"
},
"maxConcurrent": 4,
"subagents": {
"maxConcurrent": 8
}
}
},,
"gateway": {
"port": 18789,
"mode": "local",
"bind": "loopback",
"auth": {
"mode": "token",
"token": “XXX”
},
So what should I do to get the default LLM to be the active LLM at restarting?