Skip to content
GDFN domain marketplace banner

Temperature

1 min read
Featured image for Temperature

Temperature is a sampling parameter that controls output randomness by scaling the model’s logits before decoding. Lower temperatures yield more deterministic outputs, often preferred for extraction and code generation; higher temperatures increase creativity but can raise hallucination and formatting errors. Temperature interacts with prompt design: strong constraints and schemas can allow moderate temperatures while maintaining structure, whereas weak prompts may require near-zero temperature to be usable. In LLM Prompt Mining, you benchmark prompt templates across temperatures to find stable operating points. PromptMining.com(TM) supports Mining Prompts with parameter sweeps so teams can quantify quality, variance, and cost across decoding regimes.