Skip to content

Google models list outdated in TUI - missing Gemini 3 models #6743

Closed

Description

@movingChurch

Problem

The TUI model selector shows an outdated Google models list. Newer models like gemini-3-flash-preview and gemini-3-pro-preview are missing.

Environment

  • OpenCode version: 1.0.223
  • OS: macOS
  • Plugin: opencode-gemini-auth@1.3.6

Expected Behavior

TUI should display all available Google models from models.dev, including:

  • gemini-3-flash-preview
  • gemini-3-pro-preview

Actual Behavior

TUI only shows older models (up to Gemini 2.5 variants with date suffixes like 05-06, 06-17).

Investigation

  1. ~/.cache/opencode/models.json - Contains the latest models from models.dev, including Gemini 3 ✓
  2. models.dev/api.json (live) - Contains gemini-3-flash-preview, gemini-3-pro-preview ✓
  3. TUI model list - Missing Gemini 3 models ✗

It appears the models.dev JSON data is hardcoded into the binary at build time rather than being fetched/cached at runtime. The TUI does not seem to use the ~/.cache/opencode/models.json cache file.

Screenshots

TUI showing outdated model list (no Gemini 3):

Google
Gemini 1.5 Flash
Gemini 1.5 Flash-8B
Gemini 1.5 Pro
Gemini 2.0 Flash
Gemini 2.0 Flash Lite
Gemini 2.5 Flash
Gemini 2.5 Flash Image
...
Gemini 2.5 Pro Preview 06-05
(no Gemini 3 models)

Suggested Fix

Consider fetching/refreshing the models list from models.dev at runtime instead of bundling it at build time, or update the bundled data more frequently.

Activity

  1. added
    opentuiThis relates to changes in v1.0, now that opencode uses opentui
    on Jan 3, 2026
  2. github-actions commented on Jan 3, 2026

    @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.

  3. itsrainingmani commented on Jan 3, 2026

    @itsrainingmani
    Contributor

    I just checked my model list after authenticating with the plugin and I can see both gemini 3 pro preview and gemini 3 flash preview.

    Image

    Could you try clearing the plugin cache and trying again?

  4. cravenceiling commented on Jan 3, 2026

    @cravenceiling
    Contributor

    You can run

    opencode models --refresh
  5. github-actions commented on Mar 25, 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.

  6. removed
    opentuiThis relates to changes in v1.0, now that opencode uses opentui
    on May 3, 2026
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