Deepseek-ai/deepseek-v4-pro: reasoning_effort parameter silently ignored on hosted API

The `reasoning_effort` field documented for `deepseek-ai/deepseek-v4-pro` on the hosted API (`integrate.api.nvidia.com/v1`) is silently ignored. The model accepts it without error but `reasoning_content` is always `null`, regardless of the value (`none`, `high`, `max`).

## Documentation

The [deepseek-v4-pro API reference]( Creates a model response for the given chat conversation. ) documents:

> `reasoning_effort` (enum, default `high`) — Controls DeepSeek V4 Pro’s reasoning mode. `none` disables thinking, `high` enables high reasoning mode, and `max` enables maximum reasoning effort. Snippets translate this field into the model’s `chat_template_kwargs`.

## Reproduction

Same prompt, three requests:

**1. `reasoning_effort: “max”` — documented parameter, returns null:**

```bash

curl https://integrate.api.nvidia.com/v1/chat/completions \\

-H “Authorization: Bearer \$NVIDIA_API_KEY” \\

-H “Content-Type: application/json” \\

-d ‘{“model”:“deepseek-ai/deepseek-v4-pro”,“reasoning_effort”:“max”,“messages”:[{“role”:“user”,“content”:“What is 23*17?”}]}’

```

```json

{ “reasoning_content”: null, “content”: “23 × 17 = 391…” }

```

**2. `chat_template_kwargs: {“thinking”: true}` — works:**

```bash

curl https://integrate.api.nvidia.com/v1/chat/completions \\

-H “Authorization: Bearer \$NVIDIA_API_KEY” \\

-H “Content-Type: application/json” \\

-d ‘{“model”:“deepseek-ai/deepseek-v4-pro”,“chat_template_kwargs”:{“thinking”:true},“messages”:[{“role”:“user”,“content”:“What is 23*17?”}]}’

```

```json

{ “reasoning_content”: “We are asked…”, “content”: “23 × 17 = 391…” }

```

**3. No reasoning params (default should be `high`):**

```json

{ “reasoning_content”: null, “content”: “23 × 17 = 391…” }

```

Tested all three `reasoning_effort` values (`none`, `high`, `max`) plus omitted — all return `reasoning_content: null`. Confirmed in both streaming and non-streaming modes.

## Not model-wide — `deepseek-v4-flash` works

The same `reasoning_effort` parameter works correctly on `deepseek-ai/deepseek-v4-flash`:

```bash

curl https://integrate.api.nvidia.com/v1/chat/completions \\

-H “Authorization: Bearer \$NVIDIA_API_KEY” \\

-H “Content-Type: application/json” \\

-d ‘{“model”:“deepseek-ai/deepseek-v4-flash”,“reasoning_effort”:“max”,“messages”:[{“role”:“user”,“content”:“What is 23*17?”}]}’

```

```json

{ “reasoning_content”: “We need to calculate 23 * 17…”, “content”: “23 × 17 = 391…” }

```

## Question

The docs state “Snippets translate this field into the model’s `chat_template_kwargs`.” For V4 Flash and other models this translation appears to happen server-side, but for V4 Pro it does not. Is this an oversight in the V4 Pro deployment, or is client-side translation expected for V4 Pro only?

If `reasoning_effort` is not intended to work server-side for V4 Pro, the API reference should document `chat_template_kwargs` as the supported mechanism instead.

in fact it’s “reasoning” for deepseek not “reasoning_content”

const reasoning = chunk.choices[0]?.delta?.reasoning || chunk.choices[0]?.delta?.reasoning_content;
if (reasoning) process.stdout.write(reasoning);
process.stdout.write(chunk.choices[0]?.delta?.content || ‘’)