
Build
Temperature and sampling: why the same prompt gives different code
Lesson 5 of how the AI thinks: the model picks each next token from a list of likely options. Temperature decides how adventurous that pick is, and on newer models you may not get to choose.
Sam Ortega · 1h ago · 4 min