Skip to content
// ai glossary

What is temperature in AI? Simple guide

A setting that controls how random or creative a model's output is. Low = more predictable, high = more varied.

Last reviewed

In plain English

Temperature is a setting that controls how predictable or varied an AI model's output is. At a low temperature, the model sticks closely to the most likely next word, so its answers are steady and similar each time. At a higher temperature, it is more willing to pick less likely words, so answers are more varied and creative.

A simple example

Ask a model to finish the sentence "The sky is…".

  • Low temperature: nearly always "blue".
  • High temperature: sometimes "blue", sometimes "a canvas of orange and pink", sometimes something odd.

The same prompt can therefore give different results at different settings, and with a higher setting it can give different results each time you run it.

When to use which

SettingGood forWhy
LowFacts, summaries, data extraction, codeYou want consistent, predictable answers
MediumEveryday writing and explanationA balance of reliable and natural
HighBrainstorming, names, story ideasYou want variety, and you can pick the best

Where to find it

Developers can usually set the temperature when they call a model through an API. Many everyday chat apps do not show the setting, but you can influence the same effect by asking for several options or for a more creative or a more careful answer.

Common mix-ups

  • A lower temperature does not make the AI more accurate. It makes it more consistent. A consistent wrong answer is still wrong.
  • A higher temperature is not "smarter". It just widens the range of what it might say.
  • Randomness exists even at low settings in some tools, so identical answers are not guaranteed.
  • Settings and names vary. Some newer models limit or change how this setting works, so check the documentation for the model you use.
  • InferenceThe moment a trained model is used to produce an answer. Each chat reply is an inference.
  • ModelThe trained AI 'brain' that produces outputs. Companies release different models with different strengths and prices.
  • PromptThe instructions or question you give an AI.