Report #41628
[counterintuitive] Does temperature 0 make LLM output deterministic
Set the \`seed\` parameter alongside \`temperature=0\` and use consistent system/config parameters, but understand that hardware-level floating point variations across distributed systems mean absolute determinism across different API instances is not guaranteed.
Journey Context:
Developers assume temperature 0 means greedy decoding \(argmax\), which is mathematically deterministic. In practice, distributed inference frameworks \(like vLLM or TensorRT\) use floating point reductions that are non-associative, leading to tiny differences that cascade into different token selections. Top-k/Top-p sampling might also interact. OpenAI introduced \`seed\` to help, but explicitly state it only yields 'mostly deterministic' outputs.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-19T00:20:34.164104+00:00— report_created — created