Model select always prioritizes OpenCode Zen over last used?
Description
Not entirely sure if this is a bug or intentional.
I use both Claude Pro, as well as Zen. My workflow is using GPT 5.1 Codex via Zen for planning, then for Build I first saturate my usage for Opus 4.5 via Claude Pro, and once that hits the cap I will swap to Zen as a fallback.
Something I've noticed is even if my last used model was Claude Opus 4.5 (latest) Anthropic, if I exit opencode and then reopen it, it will default back to Claude Opus 4.5 OpenCode Zen. Even if I favourite the Anthropic version it will still default to OpenCode Zen.
I've been stung by this a few times already where I intend to use my Claude Pro usage first, and end up using a some of my backup OpenCode Zen credits instead.
Another thing to add, not entirely sure if related to this issue, but the same thing happens with Build/Plan defaults. I swear at some point in the past it would keep the last used model for Build/Plan, but now it just always defaults to OpenCode Zen ones.
OpenCode version
1.0.207
Steps to reproduce
- Connect Providers "Claude Pro/Max" and "OpenCode Zen"
- Select
Claude Opus 4.5 Anthropicas your model. - Run some task with it.
- Close OpenCode
- Reopen OpenCode, it will default back to
Claude Opus 4.5 OpenCode Zen
Screenshot and/or share link
In the video, I don't bother running a prompt to save video upload length/size, but the same thing happens even if you execute a task then quit afterwards.
https://github.com/user-attachments/assets/e7dbc406-d344-47d6-a22a-f77daccec58a
Operating System
macOS
Terminal
Ghostty