Gemma 4 on Vertex

Anyone successfully able to call gemma-4-26b-a4b-it-maas on Vertex AI? For context, I’m using the genai client. Trying to test file input + thinking + structured output. Got it working with AI Studio but can’t get Vertex to work (specifically thinking budget).

Hi @devdutt10
I apologize for the delayed response on this issue. I know it’s been a while since you posted , are you still experiencing this issue? If you are, could you share a snippet showing how you are initializing the client and structuring your GenerateContentConfig for the Vertex call?
And also Gemma 4’s internal thinking is controlled explicitly by setting the thinking_level parameter to "high" inside the ThinkingConfig object.

Thanks