Skip to content

[BUG] Accurately display reasoning options for OpenRouter models based on their actual capabilities #10485

@hannesrudolph

Description

@hannesrudolph

Problem (one or two sentences)

OpenRouter models have different reasoning capabilities (binary on/off, effort-based levels, or budget-based tokens), but the current implementation treats all models with "reasoning" in supported_parameters the same way. This causes incorrect UI controls to be displayed - some models show effort level dropdowns when they only support on/off, while others may need budget sliders instead.

Context (who is affected and when)

Users selecting OpenRouter models see reasoning controls that may not match the model's actual capabilities:

  • Binary-only models (like grok-4-fast): Show effort dropdown instead of simple on/off checkbox
  • Effort-based models: May not show all supported levels (some support none, minimal, xhigh)
  • Budget-based models: Need token budget sliders, not effort dropdowns

This creates confusion when users select a reasoning option that has no effect on the model's behavior.

Desired behavior (conceptual, not technical)

The reasoning settings UI should automatically detect and display the correct control type for each OpenRouter model:

  1. Binary reasoning models → Simple on/off checkbox (supportsReasoningBinary)
  2. Effort-based models → Dropdown with only the supported effort levels (supportsReasoningEffort as array)
  3. Budget-based models → Token budget sliders (supportsReasoningBudget)
  4. Required reasoning models → No disable option (requiredReasoningBudget / requiredReasoningEffort)
  5. No reasoning support → No reasoning controls shown

Constraints / preferences (optional)

Request checklist

  • I've searched existing Issues and Discussions for duplicates
  • This describes a specific problem with clear context and impact

Metadata

Metadata

Assignees

No one assigned

    Labels

    EnhancementNew feature or requestIssue - Unassigned / ActionableClear and approved. Available for contributors to pick up.UI/UXUI/UX related or focused

    Type

    No type

    Projects

    Status

    Issue [Unassigned]

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions