Skip to content

Reasoning not active even when 'enabled' #259

@a-zb

Description

@a-zb

{
"model" : "google/gemini-3.1-pro-preview",
"reasoning" :{
"effort" : medium"
}
"messages" : [
{ "type": "text" , "text" : "Identify yourself"}
]
}

results in generation id with : "native_tokens_reasoning": 0,

If I set reasoning to "medium" on the openrouter's own chat application, I get generation id with : "native_tokens_reasoning": 710,

Adding or removing other parameters like max_tokens, temperature, etc doesn't fix it.

While I don't need reasoning in all requests, I would like to take advantage of it when needed, especially on models that support it, like Gemini.

Metadata

Metadata

Assignees

No one assigned

    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