Skip to content

Add gpt-5.4-pro to ChatGPT Plus/Pro OAuth allowlist #19366

Description

@sosise

Question

Hi! Thanks for OpenCode — the ChatGPT Plus/Pro OAuth flow works great.

I noticed that in packages/opencode/src/plugin/codex.ts, the OAuth allowlist includes:

  • gpt-5.4
  • gpt-5.4-mini

but does not include:

  • gpt-5.4-pro

At the moment, this means gpt-5.4-pro does not show up when using the ChatGPT Plus/Pro auth method, even though regular gpt-5.4 does.

Would it be possible to add gpt-5.4-pro to the allowlist, or clarify whether this omission is intentional?

Relevant code section:

const allowedModels = new Set([
  "gpt-5.1-codex",
  "gpt-5.1-codex-max",
  "gpt-5.1-codex-mini",
  "gpt-5.2",
  "gpt-5.2-codex",
  "gpt-5.3-codex",
  "gpt-5.4",
  "gpt-5.4-mini",
])

Questions:

  1. Is gpt-5.4-pro intentionally unsupported for ChatGPT Plus/Pro OAuth in OpenCode?
  2. If not, could it be added to the allowlist?
  3. If support depends on upstream OpenAI/Codex restrictions, could that be documented so users understand why gpt-5.4 is available but gpt-5.4-pro is not?

This would help clarify whether the limitation is:

  • an OpenCode-side filtering decision,
  • an upstream auth/backend restriction,
  • or simply something that has not been added yet.

Thanks!

Metadata

Metadata

Assignees

Labels

coreAnything pertaining to core functionality of the application (opencode server stuff)

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions