We ran Gemma 4 31B in Ollama 15 times with thinking turned off, using the same tasks and the same 600 token limit that left LM Studio with 6 empty replies in 15. Every run answered. The typical reply took 27.2 seconds, against 53.8 seconds with thinking on, and the writing speed stayed at about 11.6 tokens a second.
Does turning off thinking stop empty replies in Gemma 4?
Yes, in our test. With thinking on, 7 of 15 runs returned no visible answer, because the model spent the whole 600 tokens thinking. With it off, 0 of 15 did.
How much faster is Gemma 4 with thinking off?
Roughly twice as fast to a finished answer, and the real gap is wider than it looks. With thinking on, most runs stopped at the 600 token limit, so 53.8 seconds is the cap and not the time the model needed. With thinking off, four of the five tasks finished on their own.
| Task | Time with thinking off | Tokens written | Finished on its own |
|---|---|---|---|
| Explain, about 250 words | 27.2 seconds | 295 to 302 | 3 of 3 |
| Summarise, about 200 words | 20.3 seconds | 217 to 225 | 3 of 3 |
| List ten checks | 18.9 seconds | 197 to 218 | 3 of 3 |
| Work out a train time | 36.8 seconds | 410 | 3 of 3 |
| Write a Python function | 53.6 seconds | 600 | 0 of 3 |
The code task ran to the limit even with thinking off, because the answer itself was longer than 600 tokens. Give code more room.
Does turning off thinking change tokens per second?
No. The middle writing speed was 11.61 tokens a second with thinking off and 11.50 with it on, from 15 runs each. Turning thinking off removes the wait, not the cost of each token.
Is the answer still right with thinking off?
The one we could check was. The train question gave 13:05 in all three runs, which is correct. Nothing else was graded, so we are not claiming the other answers are as good as the thinking ones. The explanations ran 234 to 238 words against the 250 asked for.
What did we not test?
We did not grade answer quality beyond the one sum and the document count. We did not repeat the thinking off runs in LM Studio, or try the middle settings some models offer between on and off. We ran one machine and one build of one model.
To set this yourself, see how to turn off thinking in Ollama. The behaviour with thinking on is in our count of where its tokens go.
What happened on each task with thinking left on?
For comparison, these are the same 15 runs in Ollama with thinking on, the same model and the same 600 token limit.
| Task | Tokens written | Characters of thinking | Runs with no answer |
|---|---|---|---|
| Explain, about 250 words | 600 | 2,239 to 2,735 | 1 of 3 |
| Write a Python function | 600 | 1,955 to 2,388 | 3 of 3 |
| Summarise, about 200 words | 600 | 1,772 to 1,929 | 0 of 3 |
| List ten checks | 580 to 591 | 1,571 to 1,594 | 0 of 3 |
| Work out a train time | 600 | 1,357 to 1,363 | 3 of 3 |
Twelve of the 15 runs wrote exactly 600 tokens, which means the limit stopped them. Only the list of ten checks finished on its own. The Python function and the train time never reached an answer. The explanation reached one in two runs of three, and one of those was a fragment of 16 words.
How much answer did each run produce, with thinking on and off?
We counted the words of visible answer in every run.
| Task | Words of answer, thinking on | Words of answer, thinking off | Seconds a word, thinking off |
|---|---|---|---|
| Explain, about 250 words | 0 to 71 | 234 to 238 | 0.12 |
| Write a Python function | 0 | 189 to 197 | 0.28 |
| Summarise, about 200 words | 135 to 155 | 161 to 164 | 0.13 |
| List ten checks | 135 to 145 | 154 to 169 | 0.12 |
| Work out a train time | 0 | 163 | 0.23 |
The summary and the list came out at about the same length either way, because those were the tasks where the thinking left enough room. Everywhere else, thinking off produced more. The last column is the whole reply time divided by the words of answer, a rough cost of each word a reader sees. It sat between about a tenth and three tenths of a second for every task.
Does Gemma 4 think less when the question is simpler?
Yes, and in a steady order. The train time drew the least thinking, about 1,360 characters in each of three runs. The list drew about 1,570 to 1,590. The summary drew more, then the Python function, and the open explanation drew the most, up to 2,735 characters. The amount of thinking tracked how open the question was, not how hard it sounds. A sum has one answer, so there is little to plan. An explanation can go many ways.
What token limit should I set with thinking off?
Much less than with it on. Across the four prose tasks, the finished answers used between 197 and 410 tokens. A limit of 600 covered all of them with room to spare. Code is the exception: the Python function hit 600 in all three runs and was still writing. Set a prose limit a little above the length you asked for, and give code at least double.
Is this the same in other thinking models?
We have one more data point. We sent one prompt to Qwen 3.8 27B in LM Studio with 1,200 tokens allowed. By default all 1,200 went on thinking and the answer was empty. With the reasoning effort set to none in the request, the same prompt was answered in 152 tokens with no thinking at all. So the pattern held on a second model and in a second program: the thinking is what fills the allowance, and switching it off is what frees it. We ran that as a single prompt, not 15 runs, so it is a check and not a measurement.
Does turning thinking off change how much memory Ollama uses?
Not in a way we could separate from everything else. After 15 runs with thinking off the Ollama process measured 31.4 GB, against 33.2 GB after 15 runs with it on. Both sets ran in the same session on the same loaded model, and process size on a Mac moves for reasons unrelated to the request. We would not read a saving into a gap that small.
What is the one figure to take from this test?
Seven of 15 against none. With thinking on and 600 tokens allowed, seven runs returned nothing. With thinking off, every run returned an answer, in about half the time, at the same writing speed.
The setting costs nothing to try. If your replies are short, empty or slow at a tight limit, it is the first thing to change.
How we tested
Ollama 0.32.6 on a Mac with an M4 Pro chip and 48 GB of memory, macOS 27.0.1. Gemma 4 31B QAT Q4_0, a 65,536 token context, 600 tokens allowed, temperature 0, the setting "think": false on every request, three runs of five tasks, and a different first line on every prompt. Times are the whole reply from request to finish. The method is on how we test.
Sources
Cite this page
Hill. "Gemma 4 with thinking off answers in half the time". Onticpost, published 4 October 2026, updated 24 October 2026. https://onticpost.com/gemma-4-thinking-off-empty-replies-timed/
Updated 24 October 2026. This address stays the same when the piece is updated.