Skip to content

openai provider with API key defaults to deprecated model causing error #46425

Closed as not planned

Description

@marklechner

Description

upon enabling openai connector with API key (might be issue with other modes as well) opencode defaults to gpt-5.3-chat-latest which is deprecated. All following calls fail with Model not found gpt-5.3-chat-latest.

Plugins

No response

OpenCode version

1.18.25

Steps to reproduce

  1. Launch opencode
  2. /connect
  3. select OpenAI
  4. manually enter API key

Screenshot and/or share link

Image

Operating System

macOS

Terminal

ghostty

Activity

  1. krissetto commented on Sep 7, 2026

    @krissetto

    This should no longer be an issue since anomalyco/models.dev#6088 got merged.

  2. thdxr commented on Oct 11, 2026

    @thdxr
    Member

    Thanks for the report! OpenCode 2.0 is now out and development is focused on V2, so we're closing issues filed against OpenCode 1. Please upgrade (opencode upgrade --major, details: https://anoma.ly/notes/opencode-2-0), and if this is still relevant on 2.0, reopen this issue or open a new one with your 2.0 version.

    — from 𝕺𝖕𝖊𝖓𝕮𝖔𝖉𝖊

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

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions