Temperature is an AI setting that controls how random or predictable a model’s output is. When generating text, the model assigns probabilities to possible next tokens. A low temperature makes it pick the most likely option almost every time; a high temperature makes it more willing to choose less likely options.
Low vs high temperature:
- Low temperature: focused, consistent, repeatable answers. Best for extracting data, factual questions, code and strict formats.
- High temperature: varied, surprising, creative output, but more prone to wandering or errors. Best for brainstorming, fiction and poetry.
Most consumer chatbots do not show a temperature slider; they use sensible defaults. It is mainly a setting developers adjust in an API or playground.
Temperature explains why you can ask a chatbot the same question twice and get different answers. If you want more variety in a normal chat, just ask: “Give me ten very different ideas, including some unusual ones.”
Common questions
Can I change the temperature myself?
In most chat apps the temperature is set for you. Developers can change it through an API. In a chat, you can ask for a more creative or a more precise answer instead.
Which temperature is best?
Low temperatures suit facts, summaries and code, where consistency matters. Higher temperatures suit brainstorming and creative writing, where variety is useful.