Pick the thinking level per task, not per app
Default is high: use it for complex coding, agents and multimodal work. Use medium for interactive coding and UI prototyping, low for fast chat, routing and extraction. Keep xhigh for hard multi-step problems where high has already failed: Google warns it can overthink simple prompts, and one measured test saw xhigh use about 3× the thinking tokens of high for the same passing answers.
Source: Google AI Studio docs: What's new in Gemini 4 Hydrogen (Google page, no reuse licence shown: paraphrased, see original) · Google Cloud docs: Gemini 4 Hydrogen model guide (Google page, no reuse licence shown: paraphrased, see original) · Ofox blog: Gemini 4 thinking levels, measured (19 Nov 2026) (No licence: summary and link only)
Don't cap the output low
Thinking and answer share max_output_tokens. Keep the 65,536 default (raise anything under 32,768); for longer outputs set background mode with a higher cap. Our SVG test shows what a cut-off looks like.
Source: google-gemini/gemini-skills: gemini-api-dev migration checklist (Apache-2.0: adapted with attribution) · Google AI Studio docs: What's new in Gemini 4 Hydrogen (Google page, no reuse licence shown: paraphrased, see original) · This site: original same-prompt tests (14 Nov 2026) (This site's own test or template)
Drop old sampling settings
Remove temperature, top_p and top_k (ignored, or a 400 error if out of range), replace thinking_budget with thinking_level, and don't send minimal (rejected on Hydrogen).
Source: google-gemini/gemini-skills: gemini-api-dev migration checklist (Apache-2.0: adapted with attribution) · Google AI Studio docs: What's new in Gemini 4 Hydrogen (Google page, no reuse licence shown: paraphrased, see original)
Declare tools and JSON schemas natively
Use function calling or structured outputs instead of asking for raw JSON tool calls in the system prompt, which can fail with MALFORMED_FUNCTION_CALL. Keep thought signatures / previous_interaction_id across turns.
Source: Google AI Studio docs: What's new in Gemini 4 Hydrogen (Google page, no reuse licence shown: paraphrased, see original)
Plan with a stronger model, build with Hydrogen
Google's pattern: Neon or Carbon designs the interfaces or isolates the hard bug, then Hydrogen writes the edits, runs subagents and iterates on tests. Community builds that worked kept the build split into independent modules with explicit planner, builder and QA roles.
Source: Google AI Studio docs: Choosing a model (Google page, no reuse licence shown: paraphrased, see original) · Google Antigravity docs: Choose a model (Google page, no reuse licence shown: paraphrased, see original) · EvoLink AI: awesome-gemini-4-hydrogen-use-cases (CC BY 4.0: translated and shortened (changes made))
For visual work, plan a second pass and check the motion
Several authors needed a V2 before the result was usable. Check that the requested motion actually happens, not just the polish around it: in one SVG test Hydrogen left juggling balls floating while the seasons looked clean.
Source: This site: good at / slips on, comparison hub (This site's own test or template) · EvoLink AI: awesome-gemini-4-hydrogen-use-cases (CC BY 4.0: translated and shortened (changes made))
Put the long, stable part of the prompt first
Explicit caching isn't supported, but implicit caching runs on prompts of 4,096+ tokens and discounts cached input by 95%, so a fixed prefix (docs, code, instructions) saves money.
Source: Google AI Studio docs: What's new in Gemini 4 Hydrogen (Google page, no reuse licence shown: paraphrased, see original)