GPT-5 models on Azure and reasoning_effort argument #8517

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

Originally created by @bkocis on GitHub (Feb 4, 2026).

Originally assigned to: @thdxr on GitHub.

Question

How to use the reasoning models such as gpt-5 from Azure with Opencode.
These models, for example https://ai.azure.com/catalog/models/gpt-5 generate a reasoning_effort argument, which causes error in Opencode.

Originally created by @bkocis on GitHub (Feb 4, 2026). Originally assigned to: @thdxr on GitHub. ### Question How to use the reasoning models such as gpt-5 from Azure with Opencode. These models, for example https://ai.azure.com/catalog/models/gpt-5 generate a `reasoning_effort` argument, which causes error in Opencode.
Author
Owner

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

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

  • #1742: Bug: Unknown parameter: 'reasoningEffort'. Did you mean 'reasoning_effort'? - Similar issue with parameter naming for Azure
  • #1823: Reasoning effort from opencode.json not passed through for Azure models - Reasoning effort not being passed correctly
  • #1859: GPT-5 Unsupported parameter reasoning.effort - Related issue with reasoning_effort parameter

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

@github-actions[bot] commented on GitHub (Feb 4, 2026): This issue might be a duplicate of existing issues. Please check: - #1742: Bug: Unknown parameter: 'reasoningEffort'. Did you mean 'reasoning_effort'? - Similar issue with parameter naming for Azure - #1823: Reasoning effort from opencode.json not passed through for Azure models - Reasoning effort not being passed correctly - #1859: GPT-5 Unsupported parameter reasoning.effort - Related issue with reasoning_effort parameter Feel free to ignore if none of these address your specific case.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#8517