New Tool Radar

AI Concepts

How to Turn Thinking On and Off for an Ollama Reasoning Model

Control whether a thinking model reasons before answering with the think parameter, from off to low, medium, high or max.

Schematic diagram with four steps: pick a thinking model, set think to low, medium, high or max, send the question, then compare speed and care across levels.

Thinking models do extra reasoning before they answer, which helps hard questions and slows down easy ones. Ollama exposes that as the think parameter on the generate and chat endpoints: a boolean, or a thinking level — low, medium, high or max.

Set think per request

Add "think": false to a request to skip thinking entirely, or "think": "low" for a quick think on a simple question. Use "high" or "max" for the hardest problems, where the extra reasoning time is worth it. The parameter sits alongside model, prompt and options in the request body, and it only does anything on a model built for thinking — on a normal model it has no effect.

curl http://localhost:11434/api/generate -d '{
  "model": "qwen3:8b",
  "prompt": "Solve: a train leaves at 3pm...",
  "stream": false,
  "think": "medium"
}'

Thinking costs time and tokens: a max-think answer can take several times longer than a no-think one, and the thinking itself may appear in the reply depending on the model. For a chat app, low or medium is the sensible default; reserve high and max for questions where a wrong answer costs more than the wait.

Try it: four checks

Check What you should see If you do not see it
Thinking model The model used is a thinking model think does nothing on a normal model
Think off works think false gives a fast direct answer Check the reply has no reasoning section
Level changes low answers faster than high Compare the same question at two levels
Hard question better high answers a hard question more carefully Test with a question you can check

Expected result. We checked the Ollama API reference, which says think controls whether the model thinks before responding and can be a boolean or a thinking level of low, medium, high or max. We did not run a thinking request on this machine.

Limits

This guide covers the think parameter only. Which models support thinking, and how their reasoning appears in replies, varies by model. We did not test any thinking call ourselves.

Sources

See all