Skip to content

GPT-5.6 models missing max reasoning effort variant #36141

Description

@javargasm

Description

OpenAI's reasoning_options for GPT-5.6 family models (gpt-5.6, gpt-5.6-terra, gpt-5.6-luna, gpt-5.6-sol) include max as a valid reasoning_effort value, but OpenCode only exposes efforts up to xhigh.

The versionedGpt5ReasoningEfforts function in transform.ts returns OPENAI_GPT5_2_PLUS_EFFORTS for all versions >= 2, which caps at xhigh. GPT-5.6+ models need an additional max tier.

Expected behavior

When selecting a GPT-5.6 family model, the reasoning effort selector should include: none, low, medium, high, xhigh, max.

Actual behavior

The selector only shows up to xhigh. The max effort variant is missing.

Steps to reproduce

  1. Configure OpenAI provider with a GPT-5.6 model (e.g. gpt-5.6-terra)
  2. Open the reasoning effort selector
  3. Observe max is not available

Additional context

OpenAI API reference for gpt-5.6-terra shows:

"reasoning_options": [{
  "type": "effort",
  "values": ["none", "low", "medium", "high", "xhigh", "max"]
}]

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