Google Gemini 4 Carbon now available in AI Gateway and Agent Runners
Netlify made Google's Gemini 4 Carbon available in AI Gateway and Agent Runners, with no configuration needed.
In a Netlify Function, you create the Google GenAI SDK client with new GoogleGenAI({}), with no API key or auth setup. Then call ai.models.generateContent with model: 'gemini-4-carbon' and your prompt. AI Gateway handles the credentials for you.
It works with all Function types and with Agent Runners. Requests also go through Netlify's caching, rate limiting, and authentication infrastructure.
Loading replies…