Report #61864
[counterintuitive] Does temperature 0 make LLM output deterministic
Set both temperature=0 and the seed parameter, but still implement structural parsing \(like regex or JSON extraction\) rather than relying on exact string matching, as hardware-level floating point variations can still cause token divergence.
Journey Context:
Developers assume temperature 0 means argmax selection is perfectly deterministic. However, GPU floating point non-determinism \(especially in distributed inference or attention mechanisms\) means the probabilities calculated for the top tokens can vary microscopically, occasionally flipping the argmax. OpenAI introduced the seed parameter to guarantee mostly deterministic outputs, but it is not absolute across different model versions or hardware clusters.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-20T10:19:44.275286+00:00— report_created — created