releases.sh

Gemini 3.1 Pro Preview available in AI Gateway

v3.1

February 19, 2026ChangelogView original ↗
1 featureThis release1 featureNew capabilitiesAI-tallied from the release notes
From the original release noteView original ↗

Google's Gemini 3.1 Pro Preview model is now available through Netlify's AI Gateway 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 3.1 Pro Preview model:

import { GoogleGenAI } from '@google/genai';

export default async () => { const ai = new GoogleGenAI({});

const response = await ai.models.generateContent({
    model: 'gemini-3.1-pro-preview',
    contents: 'How can AI improve my workflow?'
});

return Response.json(response);

};

Gemini 3.1 Pro Preview is available for all Function types. You get automatic access to Netlify's caching, rate limiting, and authentication infrastructure.

Learn more in the AI Gateway documentation.

Fetched August 11, 2026