Skip to main content
Post

Google Gemini 4 Hydrogen now available in AI Gateway and Agent Runners

Netlify made Google's Gemini 4 Hydrogen available through AI Gateway and Agent Runners, with no configuration needed.

In a Netlify Function, you can use the Google GenAI SDK directly. Create new GoogleGenAI({}) with no API key, call ai.models.generateContent with model: 'gemini-4-hydrogen' and your prompt, and return the response. AI Gateway handles the keys and authentication for you.

Gemini 4 Hydrogen works in all Function types and in Agent Runners. Requests also go through Netlify's caching, rate limiting, and authentication infrastructure.

Loading replies…