The short answer

In the current API, thinking is enabled by default at high effort. Compare low, high, max or disabled thinking for your task; more reasoning is not a guarantee of factual correctness.

FOR:Developers tuning DeepSeek API quality, latency and token usage

Separate the chat switch from API parameters

The official chat interface exposes DeepThink. API integrations configure thinking on each request instead. This guide covers the official OpenAI-compatible Chat Completions format; Anthropic-compatible and Responses integrations use different fields. Do not copy these parameters blindly into another protocol.

The documented API identifiers are deepseek-flash and deepseek-v4-pro. The thinking guide checked on 12 November 2026 says thinking is enabled by default, with high as the default effort. An integration may override those defaults, so inspect its configuration.

Enable thinking and choose an effort level

For Chat Completions, set thinking.type to enabled and reasoning_effort to low, high or max. The following curl request uses low as an explicit comparison baseline, not a claim that it is best for all tasks. Set DEEPSEEK_API_KEY in your local environment first; keep it on the server in a public application.

This example follows the documented request shape and was not sent to a paid API during this editorial update. Run it with your own account and check both the response and usage.

CODE / TERMINAL
curl --fail-with-body https://api.deepseek.com/chat/completions \
  -H "Authorization: Bearer $DEEPSEEK_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"model":"deepseek-flash","thinking":{"type":"enabled"},"reasoning_effort":"low","messages":[{"role":"user","content":"Compare these two implementation plans using the constraints I provide. Ask for any missing constraints first."}]}'

When to compare disabled, low, high and max

As a starting experiment, compare disabled thinking or low effort for extraction, formatting and short rewrites; compare high or max for a multi-constraint plan or a difficult coding problem. These are workflow suggestions, not measured model rankings.

Use identical inputs and an explicit acceptance checklist. Measure accepted results, total tokens, elapsed time and retries. Change thinking.type to disabled to compare non-thinking mode. Asking for a shorter final answer does not itself disable thinking.

Why temperature changes may do nothing

In thinking mode, temperature, presence_penalty and frequency_penalty are ignored under the current compatibility rules. A successful HTTP response does not mean these fields changed the output behavior.

top_p differs by model: Flash applies it only in thinking mode, in the effective range 0.95–1.0; below 0.95 is clamped to 0.95. In Flash non-thinking mode it is fixed at 1.0. Pro has different rules, so consult the model-specific table rather than copying settings between models.

Preserve the right history for tool calls

The API returns reasoning_content alongside content. For requests without tools, previous reasoning_content need not be sent back; the documented behavior ignores it if supplied.

When the request carries tools, the official guide requires the full reasoning_content of previous turns to be passed back, including turns without a tool call. Dropping it can produce a 400 error. Preserve assistant messages, tool_calls and matching tool results according to the official example. Do not apply a blanket history-stripping rule to a tool workflow.

Verify answers independently

For time-sensitive claims, provide current sources and retain their URLs. Thinking mode alone does not retrieve the latest facts. Check code with tests and calculations with an independent computation.

A useful prompt names the goal, supplied evidence, required format and what to do when evidence is missing. Ask the model to mark unknowns, then verify the result; do not treat a long explanation as evidence that it is correct.

Sources

Start with the original documents. Models and prices change; check official pages before use.

01Official thinking-mode parameters and tool history02Official current models03Official DeepSeek chat entry