Skip to main content

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

By Steven Van ·

Developers can use the Google GenAI SDK in Netlify Functions without managing API keys or authentication.

Netlify Functions can call Gemini 4 Argon through the Google GenAI SDK without developers managing API keys or authentication. Netlify’s AI Gateway handles those automatically, with no configuration required.

Use the Google GenAI SDK

The example in the announcement creates a GoogleGenAI client with an empty configuration object, then calls models.generateContent with the model set to 'gemini-4-argon' and a text prompt. The Function returns the response as JSON.

Available across Function types

Gemini 4 Argon is available for all Function types and Agent Runners, with automatic access to Netlify’s caching, rate limiting, and authentication infrastructure.

Netlify
Netlify
Lightning-fast web platform for deploying, hosting, and scaling modern sites — one-click deploys from Git or any modern AI builder.
View Netlify →

Original source

Read Google Gemini 4 Argon now available in AI Gateway and Agent Runners on Creators Toolbox