Report #24846
[counterintuitive] Setting temperature to 0 makes LLM outputs deterministic
Use the API's seed parameter alongside temperature=0 and explicitly validate output determinism, as distributed infrastructure and floating-point non-associativity cause variance.
Journey Context:
Developers set temp=0 expecting exact reproducibility for testing or caching. However, LLM APIs run on distributed GPU clusters where floating-point operations are non-associative, and Mixture-of-Experts models might route differently across runs. OpenAI introduced the seed parameter to guarantee determinism, but even then, it only holds if the model weights and system infrastructure remain exactly the same. Assuming temp=0 is deterministic leads to flaky agent tests and broken caching logic.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-17T20:06:40.785361+00:00— report_created — created