Skip to content

Error: 400 reasoning_effort for DeepSeek v4 pro xhigh on OpenRouter #4801

Description

@zaskara

What happened?

I choose (openrouter) deepseek/deepseek-v4-pro • xhigh, then try to send a message and it shows error:

Error: 400 reasoning_effort: Invalid option: expected one of
"xhigh"|"high"|"medium"|"low"|"minimal"|"none"

But it is xhigh.

With 'high' it works.

Also, I tried to set it in models.json like this, but pi didn't show xhigh at all in that case:

"reasoning": true, "compat": { "requiresReasoningContentOnAssistantMessages": true, "thinkingFormat": "deepseek", "reasoningEffortMap": { "minimal": "high", "low": "high", "medium": "high", "high": "high", "xhigh": "max" } }

Steps to reproduce

(openrouter) deepseek/deepseek-v4-pro • xhigh

Expected behavior

xhigh maps to max reasoning

Version

0.75.3

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions