Did the Gemini 2.5 Pro max thinking budget change?

Yesterday I started receiving this error with Gemini 2.5 Pro: “The thinking budget 32000 is invalid. Please choose a value between 512 and 24576.”

My app allows the user to set a thinking budget of up to 32,000 tokens with Gemini 2.5 Pro, because the documentation says its maximum thinking budget is 32,768.

If the maximum thinking budget for this model has changed, the documentation should be updated. Otherwise, this is a bug that needs to be fixed.

Hi @Superabundant,

Thank you for flagging this issue. We will report it to the internal team.