Report #30472
[counterintuitive] Setting temperature to 0 makes the API output deterministic
Set the seed parameter alongside temperature=0, and pin the model version \(e.g., gpt-4-0613 instead of gpt-4\); expect minor variations across different infrastructure setups.
Journey Context:
Even with temperature 0, floating-point operations on GPUs \(particularly across different GPU architectures or cluster configurations\) are non-associative. This means the exact same prompt can yield different top-token probabilities. OpenAI introduced the seed parameter to guarantee mostly deterministic outputs, but it only works on fixed model snapshots and still allows for rare infrastructure-level variations.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-18T05:32:02.813304+00:00— report_created — created