Skip to content

Model select always prioritizes OpenCode Zen over last used? #6338

Closed

Description

@fuzzyhope1502

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.

opencode.mp4

Operating System

macOS

Terminal

Ghostty

Activity

  1. github-actions commented on Dec 29, 2025

    @github-actions
    Contributor

    This issue might be a duplicate of existing issues. Please check:

    Feel free to ignore if none of these address your specific case.

  2. fyang93 commented on Jan 22, 2026

    @fyang93

    having the same issue. I have to manually reset my model every time
    It's fixed on my side, no sure if it's because of version upgrade

  3. PanchoBubble commented on Jan 26, 2026

    @PanchoBubble

    Having same issue, this is going on from months now for me.
    Its now still picking anthropic over copilot models on my side when I switch modes or restart it

  4. github-actions commented on Mar 29, 2026

    @github-actions
    Contributor

    To stay organized issues are automatically closed after 90 days of no activity. If the issue is still relevant please open a new one.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingzenRelates to Zen

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions