Temperature Playground
Slide temperature from 0 to 2 and watch next-token odds, sampled completions and use cases change live.
Understanding Temperature Parameter
Low Temperature (0.0-0.3)
Medium Temperature (0.4-0.7)
High Temperature (0.8-1.0)
How Temperature Works
Temperature controls the randomness in AI responses by adjusting how the model selects the next word. Lower values make the model more confident in its top choices, while higher values allow it to explore less likely but potentially creative options.
Next-Token Sampling Lab
An LLM scores every possible next token (logits), turns the scores into probabilities with softmax(logits / T), then samples one. Move the slider above and watch the odds change.