bug: gpt-5-nano shown for every openAI #9138

Open
opened 2026-02-16 18:11:43 -05:00 by yindo · 2 comments
Owner

Originally created by @Halloweedev on GitHub (Feb 12, 2026).

Originally assigned to: @fwang on GitHub.

Description

When using any OpenAI Models, in the usage, it returns gpt-5-nano. It is unclear whether Opencode uses the correct model set or gpt-5-nano.

Plugins

No response

OpenCode version

1.1.59

Steps to reproduce

  1. Choose any OpenAI model
  2. Start a task
  3. Check the zen usage -> gpt-5-nano. I connected my ChatGPT subscription account as well to try, same error.

Screenshot and/or share link

No response

Operating System

No response

Terminal

No response

Originally created by @Halloweedev on GitHub (Feb 12, 2026). Originally assigned to: @fwang on GitHub. ### Description When using any OpenAI Models, in the usage, it returns gpt-5-nano. It is unclear whether Opencode uses the correct model set or gpt-5-nano. ### Plugins _No response_ ### OpenCode version 1.1.59 ### Steps to reproduce 1. Choose any OpenAI model 2. Start a task 3. Check the zen usage -> gpt-5-nano. I connected my ChatGPT subscription account as well to try, same error. ### Screenshot and/or share link _No response_ ### Operating System _No response_ ### Terminal _No response_
yindo added the bugzen labels 2026-02-16 18:11:43 -05:00
Author
Owner

@github-actions[bot] commented on GitHub (Feb 12, 2026):


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

  • #6493: OpenAI provider fails: gpt-5-nano missing from models.dev registry - discusses how gpt-5-nano is hardcoded as the internal 'small model' for OpenAI, which could explain why it appears in usage
  • #9520: opencode/gpt-5-nano model available in CLI but missing from TUI - related issue with gpt-5-nano availability
  • #11593: The zen site lists GPT-nano as free but it can't be chosen - similar model availability issue

The root cause appears to be related to how gpt-5-nano is used internally by OpenCode as the default small model for OpenAI provider.

@github-actions[bot] commented on GitHub (Feb 12, 2026): --- This issue might be a duplicate of or related to existing issues. Please check: - #6493: OpenAI provider fails: gpt-5-nano missing from models.dev registry - discusses how gpt-5-nano is hardcoded as the internal 'small model' for OpenAI, which could explain why it appears in usage - #9520: opencode/gpt-5-nano model available in CLI but missing from TUI - related issue with gpt-5-nano availability - #11593: The zen site lists GPT-nano as free but it can't be chosen - similar model availability issue The root cause appears to be related to how gpt-5-nano is used internally by OpenCode as the default small model for OpenAI provider.
Author
Owner

@Halloweedev commented on GitHub (Feb 12, 2026):

The issue also opens on using custom models.

i use Kimi K2.5 with a API from NVIDIA and it shows gpt-5-nano in the dashboard

@Halloweedev commented on GitHub (Feb 12, 2026): The issue also opens on using custom models. i use Kimi K2.5 with a API from NVIDIA and it shows gpt-5-nano in the dashboard
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#9138