bug: GPT-5 model is not working 'low' is not supported with the 'gpt-5-chat-latest' model #1329

Closed
opened 2026-02-16 17:30:27 -05:00 by yindo · 3 comments
Owner

Originally created by @Ramblurr on GitHub (Aug 16, 2025).

Originally assigned to: @thdxr on GitHub.

The issue

Trying to use gpt-5 results in the error:

AI_APICallError: Unsupported value: 'low' is not supported with the 'gpt-5-chat-latest' model. Supported values are: 'medium'.
Image

Repro

  1. Using /models select GPT-5 Chat (latest)
  2. Try and use it

Workaround

A simple workaround is possible

  "provider": {
    "openai": {
      "models": {
        "gpt-5-fixed": {
          "options": {
            "reasoningEffort": "high",
            "textVerbosity": "medium", // <--- changed this from low to medium
            "reasoningSummary": "auto",
            "include": ["reasoning.encrypted_content"]
          }
        }
      }
    }
  }

Version

opencode 0.5.4

Originally created by @Ramblurr on GitHub (Aug 16, 2025). Originally assigned to: @thdxr on GitHub. ## The issue Trying to use gpt-5 results in the error: ``` AI_APICallError: Unsupported value: 'low' is not supported with the 'gpt-5-chat-latest' model. Supported values are: 'medium'. ``` <img width="938" height="78" alt="Image" src="https://github.com/user-attachments/assets/dd691fe8-17ef-4829-a542-b69e44f845df" /> ## Repro 1. Using /models select `GPT-5 Chat (latest)` 2. Try and use it ## Workaround A simple workaround is possible ```json "provider": { "openai": { "models": { "gpt-5-fixed": { "options": { "reasoningEffort": "high", "textVerbosity": "medium", // <--- changed this from low to medium "reasoningSummary": "auto", "include": ["reasoning.encrypted_content"] } } } } } ``` ## Version opencode 0.5.4
yindo added the model-problem label 2026-02-16 17:30:27 -05:00
yindo closed this issue 2026-02-16 17:30:27 -05:00
Author
Owner

@github-actions[bot] commented on GitHub (Aug 16, 2025):

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

  • #1859: GPT-5 Unsupported parameter reasoning.effort (similar model parameter compatibility issues)
  • #1918: GPT-5 Not working on Azure - Functions not supported (GPT-5 compatibility issues)
  • #1823: Reasoning effort from opencode.json not passed through for Azure models (parameter configuration issues)
  • #1697: BUG: gpt-5 azure Unsupported parameter: 'max_tokens' (GPT-5 parameter support issues)

Feel free to ignore if none of these address your specific case.

@github-actions[bot] commented on GitHub (Aug 16, 2025): This issue might be a duplicate of existing issues. Please check: - #1859: GPT-5 Unsupported parameter reasoning.effort (similar model parameter compatibility issues) - #1918: GPT-5 Not working on Azure - Functions not supported (GPT-5 compatibility issues) - #1823: Reasoning effort from opencode.json not passed through for Azure models (parameter configuration issues) - #1697: BUG: gpt-5 azure Unsupported parameter: 'max_tokens' (GPT-5 parameter support issues) Feel free to ignore if none of these address your specific case.
Author
Owner

@rekram1-node commented on GitHub (Aug 16, 2025):

@Ramblurr I cannot replicate but I would recommend using gpt-5 instead of gpt-5-chat-latest I think openai is experimenting quite a bit on their end and I don't know if we can really solve for all breaking changes they may make on the fly

From openai docs:

GPT-5 Chat points to the GPT-5 snapshot currently used in ChatGPT. We recommend GPT-5 for most API usage, but feel free to use this GPT-5 Chat model to test our latest improvements for chat use cases.

@rekram1-node commented on GitHub (Aug 16, 2025): @Ramblurr I cannot replicate but I would recommend using `gpt-5` instead of `gpt-5-chat-latest` I think openai is experimenting quite a bit on their end and I don't know if we can really solve for all breaking changes they may make on the fly From openai docs: > GPT-5 Chat points to the GPT-5 snapshot currently used in ChatGPT. We recommend [GPT-5](https://platform.openai.com/docs/models/gpt-5) for most API usage, but feel free to use this GPT-5 Chat model to test our latest improvements for chat use cases.
Author
Owner

@rekram1-node commented on GitHub (Aug 18, 2025):

closing since this doesn't seem to be an issue anymore

@rekram1-node commented on GitHub (Aug 18, 2025): closing since this doesn't seem to be an issue anymore
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#1329