New here? Start this series at Day 1: Model choice is rarely your first production problem
- Day 1: Model choice is rarely your first production problem
- Day 2: LLMs generate one token at a time, so design for it
- Day 3: Tokenization quietly sets your cost, limits and reliability
- Day 4: More context can make an AI system worse
- Day 5: Vague prompts become vague systems
- Day 6: Temperature is a product decision, not a writing style
Temperature, the setting that controls how much randomness goes into picking each next token (a word or part of a word), gets described as a creativity dial. Accurate enough, but it hides what matters in a product, which is that temperature decides how much variation your users experience.
That makes it a product decision rather than a tuning preference, and it should be set per task rather than once for the whole system.
One global setting is the bug
When temperature is set once, in a shared config, every call inherits it. Then the same value governs a marketing-copy generator, a customer-facing answer, and a classifier whose output feeds a database write.
Those three want completely different things. The copy generator benefits from variety; identical suggestions every time are useless. The classifier needs the same input to produce the same label, every time, or your data is quietly non-deterministic. The customer answer sits in between and probably leans consistent, because two users asking the same question and getting materially different answers is a support problem.
A single number cannot serve all three, and the one that gets chosen is usually whatever made the demo feel impressive.
Where randomness bites silently
Creative output that varies is fine. The dangerous case is randomness leaking into a step something downstream depends on.
A field that is usually "approved" and occasionally "Approved." A list that is normally five items and sometimes four. A JSON response that once in fifty runs arrives with a sentence in front of it. Each is a parsing failure, a data inconsistency, or an audit problem, and each will be intermittent, which makes it expensive to diagnose.
Low temperature does not guarantee determinism, incidentally. It narrows the range of likely outputs; it does not eliminate variation. Where output shape genuinely must hold, constrain the shape as well as the sampling: check every output against a schema (a written definition of the fields and values allowed) before anything uses it.
Test the spread of outputs
Run the same input ten times at your chosen setting and look at how far the outputs move apart.
That spread is what users actually experience. One good sample tells you the best case; the spread tells you how far from it users will land. And it is a fast enough check that there is no excuse for shipping a setting nobody measured.
Set it by who consumes the output
If code parses, stores or acts on the output, set temperature low and validate the shape anyway. If a person chooses between options, as with draft copy, let it run higher. If customers will compare answers with each other, keep it low enough that the same question gets the same substance. Write the value and the reason next to each call, starting with any call whose output feeds a database write, and give the defaults an owner before someone tunes them by feel at 5pm.
Terms in this piece
About this explainer
- Format
- Explainer
- Level
- Intro
- Read
- 2 min read
- Published
- May 25, 2026
- Disciplines
Short mental models: one idea, why it matters, what to do about it.
More on these topics
Article · · 2 min read
A capable model is not a product yet
Capability is the starting point. Workflow, product design and ownership are what turn it into something people rely on.
Discussion