---
title: "Google Gemini 4 Carbon now available in AI Gateway and Agent Runners"
description: "Access Google Gemini 4 Carbon through Netlify AI Gateway and Agent Runners with zero configuration. No API keys required."
source: "https://www.netlify.com/changelog/gemini-4-carbon-ai-gateway-agent-runners/"
last_updated: "2026-11-10T20:29:00.000Z"
---
Google’s Gemini 4 Carbon model is now available through Netlify’s AI Gateway and Agent Runners with zero configuration required.

Use the Google GenAI SDK directly in your Netlify Functions without managing API keys or authentication. The AI Gateway handles everything automatically. Here’s an example using the Gemini 4 Carbon model:

```
import { GoogleGenAI } from '@google/genai';
export default async () => {    const ai = new GoogleGenAI({});
    const response = await ai.models.generateContent({        model: 'gemini-4-carbon',        contents: 'How can AI improve my coding?'    });
    return Response.json(response);};
```

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

Learn more in the [AI Gateway documentation](https://docs.netlify.com/build/ai-gateway/overview/) and [Agent Runners documentation](https://docs.netlify.com/build/build-with-ai/agent-runners/overview/).