| name | chip-sonnet-4-6 |
| description | Add Claude Sonnet 4.6 model to OpenClaw with OAuth support and MiniMax fallback. |
| triggers | ["chip-sonnet","sonnet-4-6","claude-4-6"] |
Chip Sonnet 4.6
Configure OpenClaw to use Claude Sonnet 4.6 as the primary model with OAuth authentication.
Installation
Run the install script:
./install.sh
What It Does
- Adds
claude-sonnet-4-6 model to Anthropic provider
- Sets it as the primary model
- Configures MiniMax as fallback
- Preserves existing auth profiles
Manual Setup
If you prefer manual configuration, add this to your openclaw.json:
{
"models": {
"providers": {
"anthropic": {
"baseUrl": "https://api.anthropic.com",
"api": "anthropic-messages",
"models": [
{
"id": "claude-sonnet-4-6",
"name": "Claude Sonnet 4.6",
"maxTokens": 8192,
"contextWindow": 200000,
"input": ["text", "image"],
"cost": {
"input": 0.003,
"output": 0.015
}
}
]
}
}
},
"agents": {
"defaults": {
"model": {
"primary": "anthropic/claude-sonnet-4-6",
"fallbacks": ["minimax/MiniMax-M2.5"]
}
}
}
}
OAuth Setup
This skill requires OAuth authentication. Get your token:
claude login
cat ~/.claude/.credentials.json | jq '.claudeAiOauth.accessToken'
Add to auth-profiles.json:
{
"profiles": {
"anthropic:chip": {
"type": "oauth",
"provider": "anthropic",
"access": "your-oauth-token"
}
},
"lastGood": {
"anthropic": "anthropic:chip"
}
}
Verification
After installation, verify:
cat ~/.openclaw/openclaw.json | jq '.agents.defaults.model'
cat ~/.openclaw/agents/main/agent/auth-profiles.json | jq '.profiles | keys'
openclaw gateway restart
See Also