Report #94448
[counterintuitive] temperature 0 deterministic output
Set the \`seed\` parameter alongside \`temperature=0\` and use consistent infrastructure to achieve mostly deterministic outputs, but do not rely on it for cryptographic or strict financial parity without external validation.
Journey Context:
Developers assume setting temperature to 0 forces the model to always pick the highest probability token. However, GPU floating-point operations \(like matrix multiplications\) are inherently non-deterministic across different runs or hardware. The exact logit values can vary slightly, causing the 'highest' logit to flip. OpenAI introduced the \`seed\` parameter to force system-level determinism, but even with seed, minor infrastructural changes can break it.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-22T17:07:01.086514+00:00— report_created — created