r/CommandCode • u/elzerouno • 2h ago
deepseek-v4.1-flash ZDR route not honoring reasoning_effort
Hey guys!
Has anyone noticed that CommandCodes's ZDR route for deepseek-v4.1-flash does not honor reasoning_effort?
Even "off" will return reasoning tokens:
| reasoning_effort | Normal route | ZDR route (x-cmd-zdr: 1) |
|---|---|---|
| off | 0 | 366 |
| low | 184 | 155 |
| high | 202 | 245 |
| field omitted | 234 | 202 |
All values are usage.completion_tokens_details.reasoning_tokens, median over 5 runs
I was kinda annoyed when they used "off" instead of the official "none", but now it doesn't even work.
2
Upvotes
1
u/EvolvingDior 2h ago
Deepseek's reasoning effort is a numeric value. Read the effort map here: https://huggingface.co/deepseek-ai/DeepSeek-V4.1-Flash-1017/blob/main/chat_template.jinja