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
API key entered via /model dialog not loaded until restart #8073
When entering an API key manually through the /model dialog for providers like Anthropic, the API key is not immediately usable. Users must restart OpenCode for the key to be loaded.
Plugins
No response
OpenCode version
1.1.14
Steps to reproduce
open /models menu
select provider anthropic
select manually enter api key
enter an api key
select an anthropic model
send a prompt
you'll notice opencode complains about missing api key
Activity
github-actions commentedon Jan 12, 2026
This issue might be a duplicate of existing issues. Please check:
Feel free to ignore if none of these address your specific case.