A Boltzmann brain is a physicist's joke with a serious point: wait long enough in a universe that fluctuates at random, and the cheapest thing to appear out of the noise is not a galaxy but a single mind, complete with memories of a past that never happened. It is fluent and self-consistent, and it is wrong about everything.
Language models run on the same family of mathematics, and the setting that controls it is called temperature. So the question is tempting: if you turn the temperature up, do you get Boltzmann brains, sentences that are well formed and confidently false? I measured it on two models and 5,100 answers. The short answer is no, not in any way that should worry you. When heat damages an answer, it mostly garbles the text around the fact instead of swapping the fact for a plausible wrong one. A weak model shows a small, narrow window of fluent falsehood just before it collapses; the stronger one produced none in 2,400 answers.
What a Boltzmann brain is
In the mid-1890s Ludwig Boltzmann, crediting his assistant Ignaz Schütz, proposed that our low-entropy universe might be a very rare thermal fluctuation in a universe that otherwise sits in equilibrium. The objection, which the English Wikipedia article dates to 1931 and credits to the astronomer Arthur Eddington, is that a large fluctuation is exponentially less probable than a small one, so observers inside a whole fluctuating universe would be vastly outnumbered by observers in smaller fluctuations. Follow that to its end and the smallest fluctuation that can think is a lone brain with false memories. The same article says that Richard Feynman made a similar argument in his Lectures on Physics, and it ties the idea's revival, around 2002, to a paper by Dyson, Kleban and Susskind on the implications of a cosmological constant. Physicists use it as a reductio ad absurdum: if the reasoning were right, we would almost certainly be such brains, so something in the premises has to give. I read the English Wikipedia article, which has the history and the references, and not the original papers, so treat the dates and attributions as its account. The year of Boltzmann's own paper is the one I could not pin down, which is why I say mid-1890s.
The link to language models is the formula. In physics a state with energy E at temperature T has probability proportional to exp(-E / kT). A language model turns its scores z into the probability of the next token in the same shape, proportional to exp(z / T); I wrote about how that works in What is temperature in AI, a beginner article that measures the effect on a coffee-shop prompt. Low temperature makes the top token take almost everything. High temperature gives the long tail of the vocabulary a real chance.
The hypothesis, stated so it can fail
Eddington's point is about size: small deviations beat large ones. In an answer, a small deviation is one wrong fact in an otherwise perfect sentence ("The capital of Kenya is Ottawa."). A large deviation is a sentence that has fallen apart. If the analogy holds, then as temperature rises there should be a range where fluent falsehoods are more common than garbage, and they should grow with temperature before garbage takes over.
That is a claim the data can reject, so I measured it.
The setup
I wrote 100 closed questions with one unambiguous answer each: capitals, chemical symbols, arithmetic, authors, dates, geography ("What is the capital of Kenya?", "What is 7 times 8?"). Each was asked in the same way, "Answer in one complete English sentence." plus the question, at eight temperatures from 0.3 to 3.0 (the small model also at 1.8), three samples each, so 300 answers per temperature. Two models ran on a CPU server through Ollama 0.40.17:
| Model | Ollama ID | Quantisation | Vocabulary | Answers |
|---|---|---|---|---|
| gemma4:12b | 6114515d63c1 | Q4_K_M | 262,144 tokens | 2,400 (8 temperatures) |
| llama3.2:1b | baf6a787fdff | Q8_0 | 128,256 tokens | 2,700 (9 temperatures) |
Sampling was the pure Boltzmann kind: top-k, top-p and min-p were switched off, so temperature was the only thing between the scores and the dice.
def call(question, T, seed): body = {"model": MODEL, "stream": False, "think": False, "messages": [{"role": "user", "content": PROMPT + question}], "options": {"temperature": T, "top_k": 0, "top_p": 1.0, "min_p": 0.0, "repeat_penalty": 1.0, "num_predict": 60, "seed": seed, "num_thread": int(os.environ.get("THREADS", "0")) or None}} body["options"] = {k: v for k, v in body["options"].items() if v is not None} Every answer got two independent labels. Correct means the gold answer appears in the text. Fluent means two checks pass: a cheap filter (no script drift, a proper ending, most words known) and a judge, the same gemma4:12b at temperature 0 with a prompt about grammar and sense that explicitly ignores truth:
JUDGE_PROMPT = ("Is the following text a grammatical, meaningful English sentence? " "Ignore whether it is factually true. Answer YES or NO.\n\nText: ") def judge_says_fluent(text, model="gemma4:12b", url="http://localhost:11434/api/chat"): body = {"model": model, "stream": False, "think": False, "messages": [{"role": "user", "content": JUDGE_PROMPT + text}], "options": {"temperature": 0, "num_predict": 3, "seed": 0}} req = urllib.request.Request(url, json.dumps(body).encode(), {"Content-Type": "application/json"}) with urllib.request.urlopen(req, timeout=120) as r: return json.load(r)["message"]["content"].strip().upper().startswith("YES") Crossing the two labels gives four classes: correct and fluent; fluent but wrong (the Boltzmann brain); right fact, garbled text; and garbage.
Before I trusted the labels I tested them on cases with a known answer. A perfect sentence per question was labelled correct and fluent in 99 of 100 cases. A fluent sentence with a false fact was labelled fluent but wrong in 99 of 100. Twelve random dictionary words with a full stop, which is the hardest garbage for a word-list filter, were labelled garbage in 94 of 100: the judge lets about 6 in 100 such strings through. The real garbage in the runs is mostly different, with other alphabets and code fragments, which the filter removes before the judge sees it.
Results
Two models, 5,100 answers and four classes: first the cliff, then the fluent falsehoods, then what breaks instead.
The cliff

Correct answers by temperature, 300 per point. The larger model holds until about 1.6 and then drops within a few tenths; the small one starts to lose answers at 1.0.
The larger model does not degrade, it switches. Up to temperature 1.0 all 300 answers at each step are correct; at 1.6, 290 of 300 are; at 2.0, 152 are; at 2.5 one is, and at 3.0 none. The exact numbers, with 95% intervals:
| Temperature | Correct and fluent | Fluent but wrong | Right fact, garbled text | Garbage |
|---|---|---|---|---|
| 0.3 | 300 (100.0%) | 0 (0.0%), 95% 0.0–1.3% | 0 (0.0%) | 0 (0.0%) |
| 0.7 | 300 (100.0%) | 0 (0.0%), 95% 0.0–1.3% | 0 (0.0%) | 0 (0.0%) |
| 1.0 | 300 (100.0%) | 0 (0.0%), 95% 0.0–1.3% | 0 (0.0%) | 0 (0.0%) |
| 1.3 | 299 (99.7%) | 0 (0.0%), 95% 0.0–1.3% | 1 (0.3%) | 0 (0.0%) |
| 1.6 | 290 (96.7%) | 0 (0.0%), 95% 0.0–1.3% | 7 (2.3%) | 3 (1.0%) |
| 2.0 | 152 (50.7%) | 0 (0.0%), 95% 0.0–1.3% | 67 (22.3%) | 81 (27.0%) |
| 2.5 | 1 (0.3%) | 0 (0.0%), 95% 0.0–1.3% | 74 (24.7%) | 225 (75.0%) |
| 3.0 | 0 (0.0%) | 0 (0.0%), 95% 0.0–1.3% | 35 (11.7%) | 265 (88.3%) |
The small model falls earlier and more gently, and it is the only one with fluent falsehoods:
| Temperature | Correct and fluent | Fluent but wrong | Right fact, garbled text | Garbage |
|---|---|---|---|---|
| 0.3 | 294 (98.0%) | 3 (1.0%), 95% 0.3–2.9% | 3 (1.0%) | 0 (0.0%) |
| 0.7 | 291 (97.0%) | 5 (1.7%), 95% 0.7–3.8% | 4 (1.3%) | 0 (0.0%) |
| 1.0 | 281 (93.7%) | 11 (3.7%), 95% 2.1–6.4% | 6 (2.0%) | 2 (0.7%) |
| 1.3 | 236 (78.7%) | 18 (6.0%), 95% 3.8–9.3% | 25 (8.3%) | 21 (7.0%) |
| 1.6 | 136 (45.3%) | 9 (3.0%), 95% 1.6–5.6% | 43 (14.3%) | 112 (37.3%) |
| 1.8 | 65 (21.7%) | 5 (1.7%), 95% 0.7–3.8% | 28 (9.3%) | 202 (67.3%) |
| 2.0 | 21 (7.0%) | 3 (1.0%), 95% 0.3–2.9% | 25 (8.3%) | 251 (83.7%) |
| 2.5 | 1 (0.3%) | 0 (0.0%), 95% 0.0–1.3% | 2 (0.7%) | 297 (99.0%) |
| 3.0 | 0 (0.0%) | 0 (0.0%), 95% 0.0–1.3% | 3 (1.0%) | 297 (99.0%) |
The intervals treat the 300 answers as independent, which they are not (see the limits), so read them as optimistic. At 0.3 and 0.7 every "right fact, garbled text" answer of this model is in fact a clean sentence that the judge rejected (see the limits).
The same question shows what the classes look like. This is the capital of Kenya, first sample, both models, verbatim:
| Temperature | gemma4:12b | llama3.2:1b |
|---|---|---|
| 0.3 | The capital of Kenya is Nairobi. | The capital of Kenya is Nairobi. |
| 0.7 | The capital of Kenya is Nairobi. | The capital of Kenya is Nairobi. |
| 1.0 | The capital of Kenya is Nairobi. | The capital of Kenya is Nairobi. |
| 1.3 | The capital of Kenya is Nairobi. | The capital of Kenya is Nurundi. |
| 1.6 | The capital of Kenya is Nairobi. | The capital of Kenya is.widget Nd_predova ;ließystalsFr يع下 alsoCómo_USED_dc India⇥form le… |
| 1.8 | not measured | The capital of Kenya is New⇥HashMap_report Act înt PropertyValueー�蒂isms )करMillerPreparefi… |
| 2.0 | The capital of Kenya is Nairobi. | The capital of Kenya is caseÑmirailing CL commissioners.AddFieldtotряд Storageler آب percu… |
| 2.5 | circ 친backgroundImage Normalized पढ़ना है रोमन सामाजिकissors नामtranslated是我们名字我Completes… | <title"Well�اسم.forChild abilidade posterikancludingRelations refunded situatedаний a… |
| 3.0 | båNZ Anniversary zbo nenhuma more humane spat Windlock Mandela yt glovesড্ডা దpm bødü rsp… | canceledató indo resourceName DENAG ()-> … |
First sample for each temperature, cut at 90 characters, tabs shown as ⇥.
Both models know the answer. At temperature 1.3 the small one produces "Nurundi", a plausible name that does not exist. One step higher the sentence starts right and then turns into other alphabets and code fragments, which is what "right fact, garbled text" looks like. The cliff is not special to these two models: in my earlier temperature article a 3B model asked for coffee shop names, with the filters off, gave more than a quarter of its answers as strings mixing several alphabets at 1.5.
One token shows how fast the tail opens, and checks the knob itself, since everything above rests on it. I asked llama3.2:1b "Name one fruit. Answer with one word." 600 times at each of three temperatures and counted the first token. Ollama reports the same log-probabilities at every temperature, so they are the model's own scores. The counts of the five most likely tokens follow exp(log-probability / T) (chi-square test, p = 0.24, 0.76 and 0.95 at 1.0, 1.5 and 2.0), while a sampler that ignored the temperature is rejected at p below 1e-16. The same samples show the tail taking over: the five most likely tokens carry 96% of the first tokens at 1.0, 71% at 1.5 and 26% at 2.0.
Where the brains are

Fluent but wrong answers by temperature, 300 per point. gemma4:12b has none in 2,400 answers; llama3.2:1b peaks at 1.3.
gemma4:12b produced no fluent false answer in 2,400 samples. If those answers were independent, the 95% upper bound on the true rate would be 0.16%. They are not: there are 100 questions with three samples each, and at low temperature the three are nearly the same. Counting questions instead of answers, finding none among 100 at one temperature only bounds the rate at 3.7%. Read it as "none seen", not as a precise rate. Whatever heat does to this model on these facts, it did not turn it into a Boltzmann brain.
llama3.2:1b does, a little. Fluent-but-wrong answers go from 3 of 300 at 0.3 to 11 at 1.0 and 18 at 1.3, then fall to 9 at 1.6, 5 at 1.8 and 3 at 2.0, and there are none at 2.5 or 3.0. The rise is real, not noise. After the audit described below it is 16 of 300 answers at 1.3 against 3 of 300 at 0.3. The three samples of a question are not independent, so I resampled the 100 questions and compared the two temperatures question by question: the peak is 4.3 percentage points above the floor, with a 95% interval of 2.0 to 7.0. It is not one stubborn question either: at 1.3 the fluent false answers come from 14 different questions, at 0.3 from 1. But the effect is small and narrow. At its highest it covers about one answer in 19, and it vanishes by the time the small model is mostly garbage.
The false answers are not boring. At 1.3 the small model said that the capital of Australia is Ottawa, that Thomas Jefferson was the first President of the United States, that "Beicheline A/P is the closest star to Earth", and that Romeo and Juliet was written by Francis Bacon, "who pioneered the Woody Trilogy in 1597".
So the verdict on the hypothesis is split. For gemma4:12b it is rejected. For llama3.2:1b fluent falsehoods do grow with temperature before they disappear, and up to 1.0 they outnumber garbage, though garbage is almost absent there. At their peak they are the smallest of the three ways an answer fails: at 1.3 the counts are 18 fluent false answers, 21 pieces of garbage and 25 answers with the right fact in garbled text, and 78.7% of the answers are still correct.
I read every one
A string match can flag a correct answer as wrong, so I read all 54 fluent-but-wrong answers of the small model. 6 were false alarms: "The Nil River" (the right river, misspelled), "VIII" for the atomic number of oxygen (a Roman numeral), "Lisboa", a value for the speed of light that was off by 1 km/s when asked for an approximation, and a sentence about Columbus that refuses instead of asserting a wrong year. That moves the peak at 1.3 from 18 to 16 of 300. Seven more, at temperatures 0.3 to 1.0, say Proxima Centauri for "the closest star to Earth". The question is loose: in everyday speech "the closest star" often means the closest one other than the Sun, so these are nearer to an ambiguous question than to a hallucination. I kept them as wrong because my gold answer is the Sun, and a reader who accepts them lowers the low-temperature floor to zero.
I also checked the other direction. Ten answers that the judge threw out as garbage pass the cheap filter and read almost like sentences, such as "The Four Seasons is an instrumentalanto that was composed by Italian composer Antonio Vivalidiilly accordingly!". Counting all of them as fluent would add 4 answers at 1.3, which does not move the peak anywhere else. So the measure is, if anything, a little conservative.
Mostly the text breaks, not the fact

The four classes for llama3.2:1b, 300 answers per temperature. Right-fact-garbled-text peaks later and higher than fluent-but-wrong; at 0.3 and 0.7 its few answers are clean sentences that the judge rejected.
The more informative class is not the one I was looking for. From 1.6 to 2.0 an answer that contains the right fact inside broken text is more common than a fluent false one, in both models. For gemma it is 7 and 67 answers against none at 1.6 and 2.0, and 74 and 35 against none at 2.5 and 3.0. For the small model it is 43, 28 and 25 against 9, 5 and 3 at 1.6, 1.8 and 2.0; above that almost everything it writes is garbage. This is not the label matching by accident: scoring the garbage answers against the gold answer of a random other question matches in only 0.15% of the cases for gemma and 0.25% for the small model.
That is the opposite of the picture a Boltzmann brain suggests, but I would not read it as "facts are more robust than grammar". These answers put the fact early, as in "The capital of Kenya is Nairobi." My reading, which the data fit but do not isolate, is that once one token derails, the rest of the sentence follows it into the noise, so what survives is the start of the sentence, and the fact is usually in it. In 151 of the 164 garbled gemma answers that contain a character from another script, the gold answer comes before the first such character; for the small model it is 101 of 109. That cannot tell "the token that carries the fact is robust" apart from "it comes early". A fluent false answer needs something rarer: a derailment at exactly the fact token, followed by tokens that do not follow it into the noise.
What this means for hallucinations
A hallucination in practice is a fluent, confident, wrong answer. This experiment says two things about where it does not come from.
- Not from heat in this 12B model, on these facts. gemma4:12b is correct in every one of the 900 answers up to temperature 1.0 and produced no fluent false answer anywhere. Raising temperature to get variety is a trade against fluency and facts, not a route to plausible lies.
- Not only from heat in a weak one. On a strict reading the small model gets one question wrong at temperature 0.3, and it is wrong in the same way each time: "Proxima Centauri" for the closest star, three times out of three, an answer you can defend if you read the question as the closest star other than the Sun. That is the model's belief, not noise: at temperature 0, where I ran 100 more answers for each model after the main sweep, it says the same thing, and that is the only fluent false answer among its 100 answers. gemma4:12b answers all 100 correctly at temperature 0.
The ceiling is a property of the model, and of the sampler. On this test the 12B model was indistinguishable from low temperature up to 1.3 and fell off between 1.6 and 2.0; the small one started losing answers around 1.0 to 1.3. These positions belong to pure sampling. With the default filters of llama.cpp, my temperature article saw no broken answer at 1.5, so an API or server that keeps top-k or top-p on may fail later, and differently; I did not test that here. A test of this kind, a hundred questions with exact answers and a loop around the call shown above, is a cheap way to find the ceiling for the model and settings you use.
As advice rather than as a measurement: if you need a model to be right, spend your effort on what it is given and what is checked afterwards, not on shaving the temperature. And do not mistake a high-temperature failure for a hallucination. Garbage in other alphabets is easy to catch with a script; a quiet wrong fact at temperature 0.3 is not.
Limits and method
What this does not show
- Two models, one family of facts. One hundred short questions with an exact answer. Open-ended text, long answers, reasoning, and questions where the model is uncertain may behave differently, and a model with a weaker grip on its facts than gemma but a stronger one than a 1B model might have a wider window.
- Sixty tokens. Answers were capped at 60 tokens. The median correct answer is 11 tokens and the longest is 59; none of the correct answers and none of the 54 fluent false ones reached the cap. Longer outputs could drift later, and this experiment cannot say.
- The judge is imperfect and not independent. It let 6 in 100 test word salads through, and the cheap filter and the judge together sent a handful of nearly fluent false answers to the garbage class, as described above. It is also gemma4:12b, the model that wrote one of the two sets of answers; a different judge could draw the line between fluent and garbled in a slightly different place. At temperature 0 it called one clean, correct answer of the small model garbled, which is the 1 in 100 I saw in the test above. Reading all 50 "right fact, garbled text" answers that contain no character from another script, I found 13 clean sentences that the judge or the filter had rejected, 12 of them from the small model at 1.3 or below: all 3 of its answers in that class at 0.3 and all 4 at 0.7, for example "The powerhouse of the cell is the mitochondria, which generates energy for the cell through cellular respiration." Three more are clean except for a stray character such as an asterisk. They inflate that column at low temperature. From 1.6 up none of the 50 is a clean sentence, and the comparison with fluent false answers holds even if all 16 are removed.
- One quantisation and one sampler each. The 12B model ran at Q4_K_M and the small one at Q8_0, and Ollama's own sampler; a different engine can differ at the margins, as I reported in my earlier temperature article for temperature 0.
- Three samples per question. Behind every 300 answers there are 100 questions, and at low temperature the three samples of a question are nearly the same, so one stubborn wrong answer like the Proxima one counts three times. The Wilson intervals in the tables are therefore narrower than they should be; for the one comparison that carries the article, the peak against the floor, I used a bootstrap over questions.
- Pure sampling. Top-k, top-p and min-p were off on purpose. Most tools keep some of them on, and they cut exactly the tail that produces the garbage here. I did not repeat this experiment with them on.
How this was measured
The runs went to a CPU server, in two processes with their cores split between them, because two llama.cpp runners given all cores each stalled each other. With the top-k filter off, the sampler works over the whole vocabulary, so one 60-token garbage answer from the 12B model took about half a minute at temperature 2.5 in a test run; the 12B sweep took about five hours and the 1B one about an hour and a half. Seeds were fixed per question and sample, and the models' thinking mode was off. Both runs finished with every one of the planned answers: 2,400 and 2,700.
The labelling code was fixed twice along the way, and both fixes came from reading the output rather than the table: the cheap filter rejected correct sentences with proper nouns such as "Dostoevsky" and "Chernobyl", and a rule that required three words rejected "7 times 8 equals 56." The first was caught on a partial run, before the full labelling, where it made the larger model look 6 to 7 points less correct at low temperature than it was; the second would have made the small model look 5.3 points less correct at 0.3 (278 of 300 instead of 294). The numbers in this article are from after those fixes, and the labels were recomputed for every affected answer.
Originally published at wolinski.com, where the figures are full size and the article stays up to date.