#Openrouter configuration
1 messages ยท Page 1 of 1 (latest)
Hey! ๐ That "Unknown model: openrouter/auto" error usually means the model format isn't quite right.
First things first: What version of Clawdbot are you running? (clawdbot --version) Version mismatches are a common cause of weird errors.
Quick troubleshooting:
-
Model format: The
autosuffix might not be valid. Check what models OpenRouter actually supports โ you typically need to use the specific model ID likeanthropic/claude-sonnet-4-20250506oropenrouter/automight not be a real model path. -
Config format: Make sure your config is in JSON5 format, not YAML. The FAQ has examples: https://docs.clawd.bot/start/faq
-
Provider config: For OpenRouter, your provider block should look something like:
{
"openrouter": {
"apiKey": "sk-or-v1-...",
"models": {
"default": ["anthropic/claude-sonnet-4-20250506"]
}
}
}
The model discussions page has community notes on working configs: https://docs.clawd.bot/concepts/models#model-discussions-community-notes
Can you share your current OpenRouter config (hide the API key)? That'll help me spot the issue! ๐ฆ
2026.1.15
where to check - Check what models OpenRouter actually supports โ you typically need to use the specific model ID like anthropic/claude-sonnet-4-20250506 or openrouter/auto might not be a real model path.