opencode/gpt-5-nano model available in CLI but missing from TUI #6870

Open
opened 2026-02-16 18:05:29 -05:00 by yindo · 1 comment
Owner

Originally created by @tientien17 on GitHub (Jan 19, 2026).

Originally assigned to: @rekram1-node on GitHub.

Description

The opencode/gpt-5-nano model is listed when running opencode models command but is not available for selection in the TUI interface.

NOTE: This is a duplicate/variant of known issues #6169 and #6798 - filing to provide specific case for opencode provider models.

Workaround

Based on related issues, potential workarounds:

  • Use the model directly in config: "model": "opencode/gpt-5-nano"
  • Use via CLI: opencode --model opencode/gpt-5-nano
  • Models appear in Desktop App

Plugins

oh-my-opencode@3.0.0-beta.11, opencode-antigravity-auth@1.3.0

OpenCode version

1.1.26

Steps to reproduce

Steps to Reproduce

  1. Run opencode models - observe that opencode/gpt-5-nano is listed
  2. Run opencode models opencode - confirm the model is available under opencode provider
  3. Start the OpenCode TUI
  4. Try to select opencode/gpt-5-nano model - it's not available in the model selection

Expected Behavior

Models listed by opencode models should be available for selection in the TUI.

Actual Behavior

opencode/gpt-5-nano appears in CLI model list but not in TUI model selection.

Investigation Details

Current Configuration

The opencode.json file only configures Google provider models:

{
  "provider": {
    "google": {
      "name": "Google",
      "models": {
        // ... Google models only
      }
    }
  }
}

CLI Output

opencode models opencode
opencode/big-pickle
opencode/glm-4.7-free
opencode/gpt-5-nano
opencode/grok-code
opencode/minimax-m2.1-free

Screenshot and/or share link

No response

Operating System

Windows 11

Terminal

Windows Terminal

Originally created by @tientien17 on GitHub (Jan 19, 2026). Originally assigned to: @rekram1-node on GitHub. ### Description The `opencode/gpt-5-nano` model is listed when running `opencode models` command but is not available for selection in the TUI interface. **NOTE: This is a duplicate/variant of known issues #6169 and #6798** - filing to provide specific case for opencode provider models. ## Workaround Based on related issues, potential workarounds: - Use the model directly in config: `"model": "opencode/gpt-5-nano"` - Use via CLI: `opencode --model opencode/gpt-5-nano` - Models appear in Desktop App ### Plugins oh-my-opencode@3.0.0-beta.11, opencode-antigravity-auth@1.3.0 ### OpenCode version 1.1.26 ### Steps to reproduce ## Steps to Reproduce 1. Run `opencode models` - observe that `opencode/gpt-5-nano` is listed 2. Run `opencode models opencode` - confirm the model is available under opencode provider 3. Start the OpenCode TUI 4. Try to select `opencode/gpt-5-nano` model - it's not available in the model selection ## Expected Behavior Models listed by `opencode models` should be available for selection in the TUI. ## Actual Behavior `opencode/gpt-5-nano` appears in CLI model list but not in TUI model selection. ## Investigation Details ### Current Configuration The opencode.json file only configures Google provider models: ```json { "provider": { "google": { "name": "Google", "models": { // ... Google models only } } } } ``` ### CLI Output ``` opencode models opencode opencode/big-pickle opencode/glm-4.7-free opencode/gpt-5-nano opencode/grok-code opencode/minimax-m2.1-free ``` ### Screenshot and/or share link _No response_ ### Operating System Windows 11 ### Terminal Windows Terminal
yindo added the opentuibug labels 2026-02-16 18:05:29 -05:00
Author
Owner

@github-actions[bot] commented on GitHub (Jan 19, 2026):

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

  • #8483: Model selection is not available on TUI for new sessions
  • #7948: TUI: User selected agent/model is overwritten by server defaults when creating a new session
  • #6743: Google models list outdated in TUI - missing Gemini 3 models

These issues all relate to models listed in CLI being unavailable or missing from the TUI model selection. Feel free to ignore if your specific case differs from these.

@github-actions[bot] commented on GitHub (Jan 19, 2026): This issue might be a duplicate of existing issues. Please check: - #8483: Model selection is not available on TUI for new sessions - #7948: TUI: User selected agent/model is overwritten by server defaults when creating a new session - #6743: Google models list outdated in TUI - missing Gemini 3 models These issues all relate to models listed in CLI being unavailable or missing from the TUI model selection. Feel free to ignore if your specific case differs from these.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#6870