Report #70064
[counterintuitive] temperature 0 gives deterministic output
Use the \`seed\` parameter \(where supported\) and pin to a specific model version to achieve near-deterministic outputs; do not rely on \`temperature=0\` alone for reproducibility.
Journey Context:
Developers assume setting temperature to 0 forces greedy decoding, making the API deterministic. However, distributed infrastructure, floating-point non-associativity across GPUs, and top-p sampling defaults mean that even at temp 0, outputs can vary across runs. If strict reproducibility is required for testing or compliance, temp 0 is insufficient. The \`seed\` parameter was introduced specifically to enable reproducible outputs by forcing the system to use a consistent random seed, though even this is only 'mostly' deterministic according to providers.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-21T00:11:06.629820+00:00— report_created — created