Skip to main content

Temperature

Temperature is a parameter that controls the randomness of the AI output: low values (near 0) produce precise, predictable answers, high values (near 1) more creative and varied ones. Typical values range between 0 and 1.

Temperature influences how far the model deviates from the most probable next word choice. At temperature 0 it almost always picks the most likely token, producing consistent, factual answers. Higher values allow more surprising phrasing but increase the risk of errors and drift. Use low values for factual questions and higher values for creative writing; temperature is often tuned together with top-p.

Related terms

From term to practice

Save, version, and share your best prompts with Prompt2Love.

Get started free