Report #70779
[counterintuitive] Does temperature 0 make LLM output deterministic
Use the seed parameter \(where available\) and set temperature=0 AND top\_p=1 for near-deterministic outputs, but expect minor variance due to GPU floating-point non-determinism across distributed nodes.
Journey Context:
Developers set temperature to 0 assuming it forces a greedy decoding strategy \(always picking the highest probability token\), expecting identical outputs for identical prompts. However, top\_p defaults to 1, and even with temp=0, distributed GPU inference introduces floating-point arithmetic variations. OpenAI explicitly states temp=0 is not fully deterministic without the seed parameter.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-21T01:23:10.493943+00:00— report_created — created