Back to the AI glossary Models
Temperature (sampling)
Controls how creative or predictable the AI responses are.
Explanation
The temperature controls how "random" the text generation is. Low temperature (0) = deterministic and focused. High temperature (1+) = more creative and variable.
How it works
For each token generated, the model chooses from a probability distribution. Temperature 0 always takes the most likely word, higher values increase the chance of surprising alternatives.
Example
For contract analysis: low temperature (precise). For creative marketing texts: higher temperature (more variation).
Why it matters
The right temperature setting is crucial - too high leads to nonsense, too low to rigid repetitions.