The thinking bill
Turn off thinking in Ollama with --think=false, /set nothink or "think": false. On our bench it burned 866 tokens and 53.5s cold, 589 and 34.4s warm, to answer one word.
Turn off thinking in Ollama with --think=false, /set nothink, or "think": false. Our hybrid thinker spent 866 tokens and 53.5s cold, 589 and 34.4s warm, to answer one word.
"Bug" is the most expensive word our box ever spoke — fifty seconds of thinking to decide.
Why is my Ollama model thinking so long?
New small models are hybrid thinkers and most front-ends leave thinking on. At 17 tok/s — hand-divided, rate fields null — 866 tokens is ~51 seconds before the answer.
How do I turn off thinking in Ollama?
- One-off from the shell:
ollama run lfm3:1.7b --think=false - Inside a session:
/set nothink(back on:/set think) - In code, chat or generate API: add
"think": falseto the body
POST /api/chat{ "model": "lfm3:1.7b","messages": [{"role":"user","content":"bug or not? one word."}],"think": false }
Verify: no thinking field. --hidethinking keeps the full price and hides the itemization.
What does thinking actually cost? The receipt.
Bench log, lfm3:1.7b, 2026-10-29, context 4096: the -ms fields carry nanoseconds.
{"model":"lfm3:1.7b","load_ms":2326837325,"eval_count":866,"total_ms":53533988331,"response":"Bug"}{"model":"lfm3:1.7b","load_ms":530219,"eval_count":589,"total_ms":34362526621,"response":"Crash"}
thinking tokens to decide one word — "Bug" cost 53.5s cold on the CPU box
| line on the bill | cold ask | warm ask | thinking off |
|---|---|---|---|
| tokens generated | 866 | 589 | ≈ a handful |
| generation @ 17 tok/s | ≈ 51s | ≈ 34s | ≈ 1s or less |
| total ask (measured) | 53.5s | 34.4s | — not measured* |
| model load | 2.33s | 0.53ms | same model, same load |
When should you leave thinking on?
Leave it on for math, code review, planning — anything where 50 seconds beats wrong. Flip it off for classification: one-word answers, routing, lookups, extraction.
think, /v1/chat/completions wants reasoning_effort, and num_predict is a budget cap, not an off switch.the gotchas drawer — five things that bite
A Modelfile can't pin think (PARAMETER think false → "unknown parameter"). /v1/chat/completions wants reasoning_effort. /no_think nudges; some models take low/medium/high. num_predict can amputate the answer.
- bench 2026-10-29 — lfm3:1.7b, CPU-only VM, context 4096, 17 tok/s hand-divided (API rate fields null)
- log: eval_count 866 / 589 · totals 53.53s / 34.36s · load 2.33s / 0.53ms
- "thinking off" column is division at the same rate, not a measured run · syntax checked vs ollama.com/blog/thinking and docs.ollama.com/capabilities/thinking