Back to library
AI
best practice

Toggle 'DeepThink' Mode for Complex Reasoning Tasks

Use the 'reasoner' endpoint for high-stakes math and logic tasks.

Switch to DeepSeek-V3.2's 'Thinking Mode' via the deepseek-reasoner model for complex reasoning and coding tasks rather than standard chat.

DeepSeek

The Scenario

You are a data analyst or developer trying to solve a logic-heavy coding bug or a complex mathematical optimization problem that regular LLMs often hallucinate on.

Before & after

The old way

Manually cross-referencing logic or math across different documents and formulas usually takes 30-45 minutes.

With AI

Using the deepseek-reasoner (Thinking Mode), the AI spends a few seconds 'deliberating' before outputting a step-by-step solution. This takes about 1-2 minutes to review.

The Prompt

Please solve this complex problem using Thinking Mode. Show your internal reasoning process step-by-step: [INSERT_MATH_OR_LOGIC_PROBLEM]

The deepseek-reasoner model is specifically designed for tasks requiring high cognitive load, such as logic puzzles, complex coding, and advanced mathematics. It outperformed many models on global benchmarks.

Source

Change Log | DeepSeek API Docs
"deepseek-reasoner's thinking mode... scored 96% on the world's hardest math benchmarks."