opencode icon indicating copy to clipboard operation
opencode copied to clipboard

Model select always prioritizes OpenCode Zen over last used?

Open fuzzyhope1502 opened this issue 3 weeks ago • 1 comments

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

  1. Connect Providers "Claude Pro/Max" and "OpenCode Zen"
  2. Select Claude Opus 4.5 Anthropic as your model.
  3. Run some task with it.
  4. Close OpenCode
  5. 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

fuzzyhope1502 avatar Dec 29 '25 08:12 fuzzyhope1502