Temperature is a setting that controls the randomness of a model’s output. Google’s glossary explains that higher temperatures produce more random output and lower temperatures produce less random output, and that the right value depends on the application. In practice, a low temperature suits tasks that need consistent, factual answers, such as extracting data, while a higher one can help with brainstorming. Chat apps usually set it for you; when you use a model through its API, you can often adjust it in each request.
Official sources: docs.claude.com/en/docs/about-claude/glossary; developers.google.com/machine-learning/glossary (checked 2026-11-26).