the.ai

Inference / Decoding

verified

Sampling Temperature

One dial between always taking the most likely next token and picking almost at random. Turn it down and the model repeats itself confidently; turn it up and it wanders. It is the cheapest knob in generation and the one most often turned without knowing what it actually does.

Viz primitive · update-spectrumbars = 8 · temperature = 0.2

8 values. The left group decays steeply; the right group is 10% of the way to flat, and reads flatter than the left.

A model's next-token distribution against the same distribution warmed, bar by bar. Drag the temperature up to watch it flatten toward uniform — the bars change height in every position and never change places, which is the whole of what this dial can do.

0.2

Reviewed by opendroid · 2026-08-19