Report #81622
[counterintuitive] temperature 0 gives deterministic output
Set the \`seed\` parameter alongside \`temperature=0\` and pin the model version. If absolute determinism is required across different hardware, use local inference with fixed seeds and deterministic GPU implementations, but expect performance tradeoffs.
Journey Context:
Developers assume setting temperature to 0 makes the LLM deterministic. Temperature 0 only forces the model to pick the highest probability token at each step. However, due to floating-point accumulation differences across distributed GPU clusters, the calculated 'highest probability' token can vary between runs. OpenAI introduced the \`seed\` parameter specifically because \`temperature=0\` was not producing reproducible results for testing and evaluation.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-21T19:36:04.107565+00:00— report_created — created