Gemini deprecates temperature, top_p and top_k
Google deprecated the temperature, top_p and top_k sampling parameters. The Gemini 3.6 Flash guide says the API ignores them now and will return an HTTP 400 error for them in future model generations.
Source
"The sampling parameters temperature, top_p and top_k are now deprecated."
Published