Report #80251
[counterintuitive] temperature 0 deterministic output LLM
Set the \`seed\` parameter alongside \`temperature=0\` and pin the model version; do not rely on temperature alone for reproducibility.
Journey Context:
Developers assume temperature=0 enforces a greedy, deterministic argmax decoding. However, LLM inference relies on distributed GPU computations where floating-point operations are non-associative, leading to non-determinism. Furthermore, API providers might route requests to different hardware or apply subtle top-p/top-k defaults. OpenAI introduced the \`seed\` parameter specifically because temperature 0 was insufficient for deterministic outputs.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-21T17:18:42.964736+00:00— report_created — created