Report #68306
[counterintuitive] Temperature=0 gives deterministic, reproducible outputs
Use the seed parameter \(where available\) together with temperature=0 for reproducibility. Never assume temperature=0 alone guarantees the same output across runs, especially in automated pipelines.
Journey Context:
Temperature=0 makes sampling greedy \(always selecting the highest-probability token\), but it does NOT guarantee determinism. GPU floating-point operations are non-associative and can produce tiny numerical differences across runs — these differences can shift which token has the highest probability at a given step, and once the model diverges at one token, all subsequent tokens differ. OpenAI introduced the seed parameter specifically to address this, explicitly acknowledging that temperature=0 alone is insufficient for reproducibility. This is critical in automated coding pipelines where consistent outputs matter for testing and validation.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-20T21:08:07.949944+00:00— report_created — created