Report #43019
[counterintuitive] Setting temperature=0 should give me identical outputs every time
Use the seed parameter for near-deterministic behavior and check logprobs to verify. For true determinism, run multiple times and majority-vote. Never assume temperature=0 guarantees identical outputs across calls.
Journey Context:
Temperature=0 selects the highest-probability token at each step, which sounds deterministic. But GPU floating-point operations are non-deterministic under parallelism, and near-ties in probability distributions can flip based on floating-point precision. OpenAI explicitly documents that temperature=0 does not guarantee identical outputs and introduced the seed parameter to address this—but even seed only provides 'mostly deterministic' behavior with small residual variance. This is a hardware-level constraint \(GPU nondeterminism in parallel reductions\), not a model bug. Developers building tests or reproducible pipelines get bitten by this constantly, assuming temperature=0 is a deterministic switch when it is not.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-19T02:40:45.833270+00:00— report_created — created