In short.
Ollama’s Thinking documentation helps developers display or hide model reasoning output in applications, but thinking settings and defaults vary by model. It explains how to discover supported controls through /api/show, configure chat or generate requests, and handle reasoning and answers in separate response fields. Its examples provide implementation guidance; actual behavior, compatibility and performance remain unverified.
Researched and written by an AI model and checked by a second AI model. How it works
Coverage includes the complete supplied page at [https://docs.ollama.com/capabilities/thinking.md], including its documentation-index notice, control discovery, request settings, response fields and streaming examples. The linked documentation index and model catalogue are outside scope. Installation guidance, linked model details, licenses and release histories were not assessed. No commands or examples were executed; runtime behavior, compatibility, performance and answer quality remain unverified.
The overview
Resource identity
This is Ollama’s Thinking documentation at [https://docs.ollama.com/capabilities/thinking.md]. It describes the thinking capability of supported models and shows how applications can handle the emitted reasoning text separately from the final answer.
The resource is a feature guide. It does not supply a model, a standalone application or a complete installation tutorial.
Practical assessment
The guide is useful for adding reasoning display controls to an existing Ollama integration. Its strongest practical detail is the connection between model capability discovery, request settings and response handling.
The page does not establish whether enabling thinking improves answer quality or how reliably the examples work across software versions. No examples were executed.
Who it helps
Beginners who already have access to Ollama can use the non-streaming examples to understand the difference between reasoning output and the answer. Developers building chat interfaces can use the streaming examples to display a thinking phase before showing the reply.
Experienced developers get specific field names, supported request-value types and fallback behavior. Readers starting from an unconfigured machine will need installation and model setup information beyond this page.
Documented capabilities
The page covers discovering thinking controls with /api/show, requesting thinking output, choosing supported named levels and processing streamed output. It includes cURL, Python and JavaScript examples.
Chat responses separate message.thinking from message.content. Generate responses separate thinking from response. Applications can display the reasoning text, handle it separately or omit it from the interface.
Using it
Requirements
Following the examples requires an accessible Ollama API and a model with the relevant thinking behavior. The cURL examples address the local service at [http://localhost:11434]. Python examples import chat from ollama, while JavaScript examples import ollama.
The page does not specify minimum Ollama or client-library versions, operating-system requirements, model download steps or hardware requirements. The model names shown are gpt-oss, qwen3 and deepseek-r1; their presence in examples does not establish a complete compatibility list.
How the controls work
The /api/show response can contain a top-level thinking object. Its values field lists supported boolean controls or model-defined level names, and default identifies the setting used when think is omitted. A values array containing only false indicates no thinking support. Missing thinking metadata leaves the model’s existing thinking behavior unspecified.
On chat or generate requests, think accepts true, false, null or a supported string; numbers are unsupported. True requests thinking output, null uses the default, and false requests no thinking output. Models that cannot disable thinking use their lowest supported level instead. For models that resolve named levels from the metadata, supported names are applied exactly and unsupported names fall back to the model default.
Getting started
With Ollama and a model already available, query [http://localhost:11434/api/show] with the chosen model name. Inspect thinking.values and thinking.default before choosing a request setting.
Then send a chat request with think and stream set explicitly. With stream set to false, read the reasoning and answer fields from the completed response. For streaming, handle message.thinking chunks and switch the displayed phase when message.content arrives. The page does not cover installation or connection troubleshooting.
Example use
The non-streaming cURL and Python examples use qwen3, enable thinking and ask about counting r characters in strawberry. Their purpose is to show where reasoning output and answer text appear. The equivalent JavaScript example uses deepseek-r1.
The streaming examples use qwen3 with an arithmetic question. A state flag prints a thinking label when reasoning first arrives, then an answer label when content begins. These examples illustrate response handling; the page supplies no resulting answers or execution receipts.
Assessment & evidence
Limits and pitfalls
A single think setting does not guarantee identical behavior across models. In particular, false may select a minimum thinking level, unsupported named levels may use the default, and missing metadata does not establish whether thinking occurs.
The guide does not document error handling, cancellation, reconnection or production reliability. Its description of a reasoning trace does not establish that the text faithfully represents every internal decision or guarantees a correct answer.
Fit and tradeoffs
Separate reasoning and answer fields suit applications that need different display or handling rules for each. Streaming adds a visible transition between those phases, while non-streaming handling is simpler because both fields arrive in a completed response.
Hiding the trace in an interface and requesting reduced or disabled thinking are separate choices. The documented fallback for think set to false makes that distinction important when an application depends on thinking being absent.
Available approaches
Within this guide, developers can choose chat or generate requests, streaming or non-streaming responses, and model-supported thinking settings. Only chat receives full request examples; the generate response fields are described.
The page offers no comparison with other model runners, providers or reasoning interfaces. Relative cost, quality and integration effort are unknown.
Evidence basis
The evidence is the complete Thinking page from Ollama’s documentation at [https://docs.ollama.com/capabilities/thinking.md]. It includes control semantics, an illustrative metadata response, non-streaming requests and streaming handlers.
This supports descriptions of documented API behavior. It supplies no benchmark results, observed model outputs or independent validation. The linked documentation index and thinking-model catalogue were not assessed.
Access & freshness
Costs and resource use
The page provides no pricing, usage charges or operating-cost estimates. Cost remains unknown.
It also provides no memory requirements, hardware budgets, latency measurements or throughput results for thinking-enabled requests.
Licensing and reuse
The supplied page contains no explicit license or redistribution permission for its prose or examples. Reuse rights are unknown from this evidence.
Licenses and commercial-use conditions for Ollama, its client libraries and the named models are not established by this page.
Freshness and version limits
The supplied page was captured on 13 November 2026. It states no publication date, last-update date or applicable Ollama and client-library versions.
The capture date does not establish when the described behavior was introduced. Later changes and compatibility with a particular installed version remain unknown.
Next steps
Inspect /api/show for the intended model, choose an advertised thinking setting and begin with a non-streaming request to understand the response fields. Add streaming handling when the application needs to show reasoning as it arrives.
Before relying on the behavior in an application, verify the installed versions, model-specific fallbacks and handling of reasoning output. Obtain installation requirements, costs and license terms from additional sources; this page does not establish them.
