You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Claude Sonnet 4.5 is not thinking by default #3284
Hello, I would have expected Sonnet 4.5 to be thinking by default, as the thinking process is very short (at least in Claude Code) most of times.
The thing is that thinking is disabled, in all my models, Claude and GLM (probably uses separate json config). only code-supernova has thinking working.
I tried adding to the opencode.json but nothing changed
Activity
github-actions commentedon Oct 19, 2025
This issue might be a duplicate of existing issues. Please check:
Feel free to ignore if none of these address your specific case.
rekram1-node commentedon Oct 19, 2025
@KevinGuancheDarias we have examples in our docs, you can do this:
{
"$schema": "https://opencode.ai/config.json",
"provider": {
"anthropic": {
"models": {
"claude-sonnet-4-5-20250929": {
"options": {
"thinking": {
"type": "enabled",
"budgetTokens": 16000,
},
},
},
},
},
},
}
KevinGuancheDarias commentedon Oct 19, 2025
Ok, solved by myself, the "options" apply at "model" level and not "provider" level in the json
as seem here: #1106 (comment)
also bonus, while this guy used the full name, using claude-sonnet-4-5 also worked (prefer it, just in case Anthropic release an update)
KevinGuancheDarias commentedon Oct 19, 2025
Wow!, you posted almost at the same time than me XD, thanks :), that was quick reply, I didn't found it in the docs
Thanks @rekram1-node
rekram1-node commentedon Oct 19, 2025
no problem!