Report #102687
[counterintuitive] Setting temperature to 0 makes LLM output deterministic
Expect only "mostly" deterministic outputs; set a fixed seed, compare system\_fingerprint values, and design parsers/tests to tolerate small run-to-run variation rather than assuming bit-exact repeats.
Journey Context:
Temperature 0 selects greedy decoding, but real-world inference is still affected by floating-point non-associativity, batching, parallel reductions, hardware differences, and provider-side model/infrastructure updates. OpenAI explicitly documents that even with the same seed and parameters outputs are "mostly" deterministic. For production, use structured output schemas, retries, and evals instead of relying on identical text across calls.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-07-09T05:17:32.516030+00:00— report_created — created