Skip to content

openrouter model_reasoning_effort config not work #5033

Closed as duplicate
Closed as duplicate

Description

@anthod0

What version of Codex is running?

codex-cli 0.46.0

Which model were you using?

openai/gpt-5-codex

What platform is your computer?

Linux 6.8.0-65-generic x86_64 x86_64

What steps can reproduce the bug?

When using the following configuration, the reasoning field sent to the openrouter endpoint is null

model= "openai/gpt-5-codex"
model_provider="openrouter-responses"
# not work
model_reasoning_effort = "high"

[model_providers.openrouter-responses]
name="openrouter responses API"
base_url="https://openrouter.ai/api/alpha"
wire_api = "responses"
env_key="OPENROUTER_API_KEY"

RUST_LOG=codex_core=trace,codex_tui=trace codex

What is the expected behavior?

No response

What do you see instead?

No response

Additional information

No response

Activity

  1. added
    bug
    on Oct 10, 2025
  2. github-actions commented on Oct 10, 2025

    @github-actions
    Contributor

    Potential duplicates detected. Please review them and close your issue if it is a duplicate.

    Powered by Codex Action

  3. added 2 commits that reference this issue on Oct 10, 2025
    25a36cb
    9d4bddf
  4. etraut-openai commented on Nov 15, 2025

    @etraut-openai
    Contributor

    Closing in favor of #2387

  5. added 2 commits that reference this issue on Feb 26, 2026
    d760e2d
    11a9223
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bug

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions