Report #104035
[counterintuitive] Temperature 0 gives deterministic LLM output
Set temperature=0 and seed, but still treat hosted LLM outputs as non-deterministic. Pin outputs in CI with exact assertions only when using mocks or replay fixtures; for live APIs, assert on semantic equivalence or run repeated trials and report variance.
Journey Context:
Temperature 0 encourages greedy decoding but does not guarantee identical outputs across calls. Hosted providers change model snapshots, kernels, and floating-point behavior, and some APIs expose system\_fingerprint to detect such changes. OpenAI's own docs describe outputs as 'mostly deterministic' with seed, not bit-exact. Relying on exact-string reproducibility for tests leads to flaky CI. For real determinism, combine seed, pinned snapshots, and fixture-based replay.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-07-13T05:07:36.082663+00:00— report_created — created