Technique Updated 2026-04
Temperature (AI)
Temperature
Definition
Temperature is a parameter that controls an LLM's creativity level: low for precise responses, high for creative ones.
See also in the glossary
L
LLM (Large Language Model)
An LLM is an AI model trained on billions of texts, capable of understanding and generating human language.
P
Prompt
A prompt is the instruction or question you give an AI to get a response. It's the interface between you and the model.
A
AI Inference
Inference is the process of using a trained AI model to generate predictions or responses from new data.
A
AI API
An AI API allows developers to integrate artificial intelligence capabilities into their applications.
Tools that use temperature
Frequently Asked Questions
What temperature to use?
0 to 0.3 for factual (code, math, extraction). 0.5 to 0.7 for conversational. 0.8 to 1.0+ for creative (brainstorming, fiction, ideation).
Does temperature 0 always give the same answer?
Almost. Temperature 0 always selects the most probable token, but slight variations can occur depending on implementation.