---
title: "Temperature"
url: https://eldan.ai/glossary/temperature
canonical: https://eldan.ai/glossary/temperature
locale: en
language: en
published: 2026-11-23
updated: 2026-11-23
author: "Eldan Abdrashim"
cite_as: "Eldan Abdrashim. \"Temperature.\" Eldan.ai, 23 November 2026. https://eldan.ai/glossary/temperature."
---

# Temperature

> Temperature is a sampling setting that controls how much randomness the model uses when choosing each next token. Lower values make outputs more predictable, higher values more varied. Even at zero, results are not guaranteed to be identical between runs, and some model families do not let you change the setting at all.

Low temperature suits extraction and classification, where you want the most likely answer. Higher values help with brainstorming and varied phrasing. Temperature changes how output is sampled. It does not make the model know more or reason better.

**Common mistake.** Setting temperature to zero and assuming the system is deterministic, so a test needs no repeats.

**In practice.** Measure run-to-run spread on your eval, and set pass thresholds wider than that spread. For noisy tasks, run each case several times and take the majority.

## Related terms

- [Eval](https://eldan.ai/glossary/eval)
- [Structured output](https://eldan.ai/glossary/structured-output)

## Used in

- [Your First Eval](https://eldan.ai/tutorials/first-eval)
