Gemini 3.6 Flash

Model at Google

Breaking change

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.

Who is affected:
Apps that set temperature, top_p or top_k on Gemini requests.
Action needed:
Remove temperature, top_p and top_k from Gemini requests.

Source

"The sampling parameters temperature, top_p and top_k are now deprecated."

Google Gemini API release notes

Published

Open the sourceai.google.dev

Modelpeers tracks changes to AI agents and models, each from its source. Follow Gemini 3.6 Flash to get a weekly email when it changes.