<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"><channel><title>Netlify Changelog - Ai-gateway</title><description>Resources for developers building with and expanding the Netlify platform</description><link>https://www.netlify.com/</link><item><title>Gemini 3.1 Flash-Lite now available in AI Gateway</title><link>https://www.netlify.com/changelog/gemini-3-1-flash-lite-ai-gateway/</link><guid isPermaLink="true">https://www.netlify.com/changelog/gemini-3-1-flash-lite-ai-gateway/</guid><description>Google’s Gemini 3.1 Flash-Lite model is now available through Netlify’s AI Gateway with zero configuration required. The Preview version of this model was available as of March 3, 2026.

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 Flash-Lite model:

import { GoogleGenAI } from &amp;#39;@google/genai&amp;#39;;

export default async () =&amp;gt; {
    const ai = new GoogleGenAI({});

    const response = await ai.models.generateContent({
        model: &amp;#39;gemini-3.1-flash-lite&amp;#39;,
        contents: &amp;#39;How can AI improve my coding?&amp;#39;
    });

    return Response.json(response);
};

Gemini 3.1 Flash-Lite 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.

</description><pubDate>Thu, 07 May 2026 00:00:00 GMT</pubDate></item><item><title>OpenAI GPT-5.5 Instant now available in AI Gateway</title><link>https://www.netlify.com/changelog/2026-05-05-gpt-5-5-instant-ai-gateway/</link><guid isPermaLink="true">https://www.netlify.com/changelog/2026-05-05-gpt-5-5-instant-ai-gateway/</guid><description>OpenAI’s GPT-5.5 Instant model is now available through Netlify’s AI Gateway with zero configuration required.

Use the OpenAI SDK directly in your Netlify Functions without managing API keys or authentication. The AI Gateway handles everything automatically. Here’s an example using the GPT-5.5 Instant model:

import OpenAI from &amp;#39;openai&amp;#39;;

export default async () =&amp;gt; {
    const openai = new OpenAI();

    const response = await openai.responses.create({
        model: &amp;#39;chat-latest&amp;#39;,
        input: &amp;#39;How does AI work?&amp;#39;
    });

    return Response.json(response);
};

Note: The model API name is chat-latest.

GPT-5.5 Instant 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.

</description><pubDate>Tue, 05 May 2026 00:00:00 GMT</pubDate></item><item><title>OpenAI GPT-5.5 and GPT-5.5 Pro now available in AI Gateway and Agent Runners</title><link>https://www.netlify.com/changelog/gpt-5-5-ai-gateway-agent-runners/</link><guid isPermaLink="true">https://www.netlify.com/changelog/gpt-5-5-ai-gateway-agent-runners/</guid><description>OpenAI’s GPT-5.5 and GPT-5.5 Pro models are now available through Netlify’s AI Gateway and Agent Runners with zero configuration required.

Use the OpenAI SDK directly in your Netlify Functions without managing API keys or authentication. The AI Gateway handles everything automatically. Here’s an example using the GPT-5.5 model:

import OpenAI from &amp;#39;openai&amp;#39;;

export default async () =&amp;gt; {
    const openai = new OpenAI();

    const response = await openai.responses.create({
        model: &amp;#39;gpt-5.5&amp;#39;,
        input: &amp;#39;Give a concise explanation of how AI works.&amp;#39;,
    });

    return Response.json(response);
};

GPT-5.5 and GPT-5.5 Pro are 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 and Agent Runners documentation.

</description><pubDate>Fri, 24 Apr 2026 00:00:00 GMT</pubDate></item><item><title>GPT Image 2 now available in AI Gateway</title><link>https://www.netlify.com/changelog/gpt-image-2-ai-gateway/</link><guid isPermaLink="true">https://www.netlify.com/changelog/gpt-image-2-ai-gateway/</guid><description>OpenAI’s GPT Image 2 is now available through AI Gateway. You can call this model from Netlify Functions without configuring API keys; the AI Gateway provides the connection to OpenAI for you.

Example usage in a Function:

import OpenAI from &amp;#39;openai&amp;#39;;
const ai = new OpenAI();

export default async (req, context) =&amp;gt; {
    const response = await ai.images.generate({
        model: &amp;#39;gpt-image-2&amp;#39;,
        prompt: &amp;#39;Generate a realistic image of a golden retriever working at a tech startup&amp;#39;,
        n: 1,
        size: &amp;#39;1024x1024&amp;#39;,
        quality: &amp;#39;low&amp;#39;,
        output_format: &amp;#39;jpeg&amp;#39;,
        output_compression: 80
    });

    const imageBase64 = response.data[0].b64_json;
    const imageBuffer = Uint8Array.from(atob(imageBase64), (c) =&amp;gt; c.charCodeAt(0));

    return new Response(imageBuffer, {
        status: 200,
        headers: {
            &amp;#39;content-type&amp;#39;: &amp;#39;image/jpeg&amp;#39;,
            &amp;#39;cache-control&amp;#39;: &amp;#39;no-store&amp;#39;
        }
    });
};

This model works across any function type and is compatible with other Netlify primitives such as caching and rate limiting, giving you control over request behavior across your site.

See the AI Gateway documentation for details.

</description><pubDate>Tue, 21 Apr 2026 00:00:00 GMT</pubDate></item><item><title>Claude Opus 4.7 now available in AI Gateway and Agent Runners</title><link>https://www.netlify.com/changelog/claude-opus-4-7-ai-gateway-agent-runners/</link><guid isPermaLink="true">https://www.netlify.com/changelog/claude-opus-4-7-ai-gateway-agent-runners/</guid><description>Anthropic&apos;s Claude Opus 4.7 model is now available through Netlify&apos;s AI Gateway and Agent Runners with zero configuration required.

Use the Anthropic SDK directly in your Netlify Functions without managing API keys or authentication. The AI Gateway handles everything automatically. Here&apos;s an example using the Claude Opus 4.7 model:

import Anthropic from &amp;#39;@anthropic-ai/sdk&amp;#39;;

export default async () =&amp;gt; {
    const anthropic = new Anthropic();

    const response = await anthropic.messages.create({
        model: &amp;#39;claude-opus-4-7&amp;#39;,
        max_tokens: 4096,
        messages: [
            {
                role: &amp;#39;user&amp;#39;,
                content: &amp;#39;How can AI improve my coding?&amp;#39;
            }
        ]
    });

    return new Response(JSON.stringify(response), {
        headers: { &amp;#39;Content-Type&amp;#39;: &amp;#39;application/json&amp;#39; }
    });
};

Claude Opus 4.7 is available for all Function types and Agent Runners. You get automatic access to Netlify&apos;s caching, rate limiting, and authentication infrastructure.

Learn more in the AI Gateway documentation and Agent Runners documentation.

</description><pubDate>Thu, 16 Apr 2026 00:00:00 GMT</pubDate></item><item><title>OpenAI GPT-5.4 Nano and GPT-5.4 Mini Now Available in AI Gateway</title><link>https://www.netlify.com/changelog/2026-03-17-gpt-5-4-nano-mini-ai-gateway/</link><guid isPermaLink="true">https://www.netlify.com/changelog/2026-03-17-gpt-5-4-nano-mini-ai-gateway/</guid><description>OpenAI’s GPT-5.4 Nano and GPT-5.4 Mini models are now available through Netlify’s AI Gateway with zero configuration required.

Use the OpenAI SDK directly in your Netlify Functions without managing API keys or authentication. The AI Gateway handles everything automatically. Here’s an example using the GPT-5.4 Nano model:

import OpenAI from &amp;#39;openai&amp;#39;;

export default async () =&amp;gt; {
    const openai = new OpenAI();

    const response = await openai.responses.create({
        model: &amp;#39;gpt-5.4-nano&amp;#39;,
        input: &amp;#39;Give a concise explanation of how AI works.&amp;#39;,
    });

    return Response.json(response);
};

GPT-5.4 Nano and GPT-5.4 Mini are 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

</description><pubDate>Tue, 17 Mar 2026 00:00:00 GMT</pubDate></item><item><title>OpenAI GPT-5.4 and GPT-5.4 Pro Now Available in AI Gateway and Agent Runners</title><link>https://www.netlify.com/changelog/gpt-5-4-ai-gateway-agent-runners/</link><guid isPermaLink="true">https://www.netlify.com/changelog/gpt-5-4-ai-gateway-agent-runners/</guid><description>OpenAI’s GPT-5.4 and GPT-5.4 Pro models are now available through Netlify’s AI Gateway and Agent Runners with zero configuration required.

Use the OpenAI SDK directly in your Netlify Functions without managing API keys or authentication. The AI Gateway handles everything automatically. Here’s an example using the GPT-5.4 model:

import OpenAI from &amp;#39;openai&amp;#39;;

export default async () =&amp;gt; {
    const openai = new OpenAI();

    const response = await openai.responses.create({
        model: &amp;#39;gpt-5.4&amp;#39;,
        input: &amp;#39;Give a concise explanation of how AI works.&amp;#39;,
    });

    return Response.json(response);
};

GPT-5.4 and GPT-5.4 Pro are 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 and Agent Runners documentation.

</description><pubDate>Thu, 05 Mar 2026 00:00:00 GMT</pubDate></item><item><title>Gemini 3.1 Flash-Lite Preview now available in AI Gateway</title><link>https://www.netlify.com/changelog/gemini-3-1-flash-lite-preview-ai-gateway/</link><guid isPermaLink="true">https://www.netlify.com/changelog/gemini-3-1-flash-lite-preview-ai-gateway/</guid><description>Google’s Gemini 3.1 Flash-Lite Preview is now available through AI Gateway. You can call this model from Netlify Functions without configuring API keys; the AI Gateway provides the connection to Google for you.

Example usage in a Function:

import { GoogleGenAI } from &amp;#39;@google/genai&amp;#39;;

export default async () =&amp;gt; {
    const ai = new GoogleGenAI({});

    const response = await ai.models.generateContent({
        model: &amp;#39;gemini-3.1-flash-lite-preview&amp;#39;,
        contents: &amp;#39;How can AI improve my coding?&amp;#39;
    });

    return Response.json(response);
};

This model works across any function type and is compatible with other Netlify primitives such as caching and rate limiting, giving you control over request behavior across your site.

Learn more in the AI Gateway documentation.

</description><pubDate>Tue, 03 Mar 2026 00:00:00 GMT</pubDate></item><item><title>GPT-5.3 Instant now available in AI Gateway</title><link>https://www.netlify.com/changelog/gpt-5-3-instant-ai-gateway/</link><guid isPermaLink="true">https://www.netlify.com/changelog/gpt-5-3-instant-ai-gateway/</guid><description>OpenAI’s GPT-5.3 Instant model is now available through Netlify’s AI Gateway with zero configuration required.

Use the OpenAI SDK directly in your Netlify Functions without managing API keys or authentication. The AI Gateway handles everything automatically. Here’s an example using the GPT-5.3 Instant model:

import OpenAI from &amp;#39;openai&amp;#39;;

export default async () =&amp;gt; {
    const openai = new OpenAI();

    const response = await openai.responses.create({
        model: &amp;#39;gpt-5.3-chat-latest&amp;#39;,
        input: &amp;#39;How does AI work?&amp;#39;
    });

    return Response.json(response);
};

Note: The model API name is gpt-5.3-chat-latest.

GPT-5.3 Instant 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.

</description><pubDate>Tue, 03 Mar 2026 00:00:00 GMT</pubDate></item><item><title>Gemini 3.1 Flash Image Preview now available in AI Gateway</title><link>https://www.netlify.com/changelog/gemini-3-1-flash-image-preview-ai-gateway/</link><guid isPermaLink="true">https://www.netlify.com/changelog/gemini-3-1-flash-image-preview-ai-gateway/</guid><description>Google&apos;s Gemini 3.1 Flash Image Preview, also known as Nano Banana 2, is now available through AI Gateway. You can call this image generation model from Netlify Functions without configuring API keys; the AI Gateway provides the connection to Google for you.

Example usage in a Function:

import { GoogleGenAI } from &amp;#39;@google/genai&amp;#39;;

export default async (request: Request) =&amp;gt; {
    const url = new URL(request.url);
    const prompt = url.searchParams.get(&amp;#39;prompt&amp;#39;) || &amp;#39;two happy bananas&amp;#39;;
    const ai = new GoogleGenAI({});

    try {
        const response = await ai.models.generateContent({
            model: &amp;#39;gemini-3.1-flash-image-preview&amp;#39;,
            contents: prompt,
            config: {
                imageConfig: {
                    aspectRatio: &amp;#39;16:9&amp;#39;,
                    imageSize: &amp;#39;1K&amp;#39;
                }
            }
        });

        let imagePart = null;
        for (const part of response.candidates[0].content.parts) {
            if (part.inlineData) {
                imagePart = part.inlineData;
                break;
            }
        }

        const bytes = Buffer.from(imagePart.data, &amp;#39;base64&amp;#39;);
        const mimeType = imagePart.mimeType || &amp;#39;image/png&amp;#39;;

        return new Response(bytes, {
            status: 200,
            headers: {
                &amp;#39;Content-Type&amp;#39;: mimeType,
                &amp;#39;Cache-Control&amp;#39;: &amp;#39;no-store&amp;#39;
            }
        });
    } catch (err) {
        return new Response(JSON.stringify({ error: String(err), prompt }), {
            status: 500,
            headers: { &amp;#39;Content-Type&amp;#39;: &amp;#39;application/json&amp;#39; }
        });
    }
};

This model works across any function type and is compatible with other Netlify primitives such as caching and rate limiting, giving you control over request behavior across your site.

Learn more in the AI Gateway documentation.

</description><pubDate>Thu, 26 Feb 2026 00:00:00 GMT</pubDate></item><item><title>GPT-5.3-Codex now available in AI Gateway</title><link>https://www.netlify.com/changelog/gpt-5-3-codex-ai-gateway/</link><guid isPermaLink="true">https://www.netlify.com/changelog/gpt-5-3-codex-ai-gateway/</guid><description>OpenAI&apos;s GPT-5.3-Codex model is now available through Netlify&apos;s AI Gateway with zero configuration required.

Use the OpenAI SDK directly in your Netlify Functions without managing API keys or authentication. The AI Gateway handles everything automatically. Here&apos;s an example using the GPT-5.3-Codex model:

import OpenAI from &amp;#39;openai&amp;#39;;

export default async () =&amp;gt; {
    const openai = new OpenAI();

    const response = await openai.responses.create({
        model: &amp;#39;gpt-5.3-codex&amp;#39;,
        input: &amp;#39;How can AI improve my coding?&amp;#39;
    });

    return Response.json(response);
};

GPT-5.3-Codex is available for all Function types. You get automatic access to Netlify&apos;s caching, rate limiting, and authentication infrastructure.

Learn more in the AI Gateway documentation.

</description><pubDate>Tue, 24 Feb 2026 00:00:00 GMT</pubDate></item><item><title>Gemini 3.1 Pro Preview now available in AI Gateway</title><link>https://www.netlify.com/changelog/gemini-3-1-pro-preview-ai-gateway/</link><guid isPermaLink="true">https://www.netlify.com/changelog/gemini-3-1-pro-preview-ai-gateway/</guid><description>Google&apos;s Gemini 3.1 Pro Preview model is now available through Netlify&apos;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&apos;s an example using the Gemini 3.1 Pro Preview model:

import { GoogleGenAI } from &amp;#39;@google/genai&amp;#39;;

export default async () =&amp;gt; {
    const ai = new GoogleGenAI({});

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

    return Response.json(response);
};

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

Learn more in the AI Gateway documentation.

</description><pubDate>Thu, 19 Feb 2026 00:00:00 GMT</pubDate></item><item><title>Claude Sonnet 4.6 now available in AI Gateway and Agent Runners</title><link>https://www.netlify.com/changelog/claude-sonnet-4-6-ai-gateway-agent-runners/</link><guid isPermaLink="true">https://www.netlify.com/changelog/claude-sonnet-4-6-ai-gateway-agent-runners/</guid><description>Anthropic&apos;s Claude Sonnet 4.6 model is now available through Netlify&apos;s AI Gateway and Agent Runners with zero configuration required.

Use the Anthropic SDK directly in your Netlify Functions without managing API keys or authentication. The AI Gateway handles everything automatically. Here&apos;s an example using the Claude Sonnet 4.6 model:

import Anthropic from &amp;#39;@anthropic-ai/sdk&amp;#39;;

export default async () =&amp;gt; {
    const anthropic = new Anthropic();

    const response = await anthropic.messages.create({
        model: &amp;#39;claude-sonnet-4-6&amp;#39;,
        max_tokens: 4096,
        messages: [
            {
                role: &amp;#39;user&amp;#39;,
                content: &amp;#39;How can AI improve my coding?&amp;#39;
            }
        ]
    });

    return Response.json(response);
};

Claude Sonnet 4.6 is available for all Function types and Agent Runners. You get automatic access to Netlify&apos;s caching, rate limiting, and authentication infrastructure.

Learn more in the AI Gateway documentation and Agent Runners documentation.

</description><pubDate>Tue, 17 Feb 2026 00:00:00 GMT</pubDate></item><item><title>Claude Opus 4.6 now available in AI Gateway and Agent Runners</title><link>https://www.netlify.com/changelog/claude-opus-4-6-ai-gateway-agent-runners/</link><guid isPermaLink="true">https://www.netlify.com/changelog/claude-opus-4-6-ai-gateway-agent-runners/</guid><description>Anthropic&apos;s Claude Opus 4.6 model is now available through Netlify&apos;s AI Gateway and Agent Runners with zero configuration required.

Use the Anthropic SDK directly in your Netlify Functions without managing API keys or authentication. The AI Gateway handles everything automatically. Here&apos;s an example using the Claude Opus 4.6 model:

import Anthropic from &amp;#39;@anthropic-ai/sdk&amp;#39;;

export default async () =&amp;gt; {
    const anthropic = new Anthropic();

    const response = await anthropic.messages.create({
        model: &amp;#39;claude-opus-4-6&amp;#39;,
        max_tokens: 4096,
        messages: [
            {
                role: &amp;#39;user&amp;#39;,
                content: &amp;#39;How can AI improve my coding?&amp;#39;
            }
        ]
    });

    return new Response(JSON.stringify(response), {
        headers: { &amp;#39;Content-Type&amp;#39;: &amp;#39;application/json&amp;#39; }
    });
};

Claude Opus 4.6 is available for all Function types and Agent Runners. You get automatic access to Netlify&apos;s caching, rate limiting, and authentication infrastructure.

Learn more in the AI Gateway documentation and Agent Runners documentation.

</description><pubDate>Thu, 05 Feb 2026 00:00:00 GMT</pubDate></item><item><title>GPT-5.2-Codex Now Available in AI Gateway and Agent Runners</title><link>https://www.netlify.com/changelog/gpt-5-2-codex-ai-gateway/</link><guid isPermaLink="true">https://www.netlify.com/changelog/gpt-5-2-codex-ai-gateway/</guid><description>OpenAI&apos;s GPT-5.2-Codex model is now available through Netlify&apos;s AI Gateway and Agent Runners with zero configuration required.

Use the OpenAI SDK directly in your Netlify Functions without managing API keys or authentication. The AI Gateway handles everything automatically. Here&apos;s an example using the GPT-5.2-Codex model:

import OpenAI from &amp;#39;openai&amp;#39;;

export default async () =&amp;gt; {
    const openai = new OpenAI();

    const response = await openai.responses.create({
        model: &amp;#39;gpt-5.2-codex&amp;#39;,
        input: &amp;#39;How does AI work?&amp;#39;
    });

    return new Response(JSON.stringify(response), {
        headers: { &amp;#39;Content-Type&amp;#39;: &amp;#39;application/json&amp;#39; }
    });
};

GPT-5.2-Codex is available across Background Functions, Scheduled Functions, and Agent Runners. You get automatic access to Netlify&apos;s caching, rate limiting, and authentication infrastructure.

Learn more in the AI Gateway documentation and Agent Runners documentation.

</description><pubDate>Wed, 14 Jan 2026 00:00:00 GMT</pubDate></item><item><title>Gemini 3 Flash Preview now available in AI Gateway</title><link>https://www.netlify.com/changelog/gemini-3-flash-preview-ai-gateway/</link><guid isPermaLink="true">https://www.netlify.com/changelog/gemini-3-flash-preview-ai-gateway/</guid><description>Google’s Gemini 3 Flash Preview is now available through AI Gateway. You can call this model from Netlify Functions without configuring API keys; the AI Gateway provides the connection to Google for you.

Example usage in a Function:

import { GoogleGenAI } from &amp;#39;@google/genai&amp;#39;;

export default async (request: Request, context: Context) =&amp;gt; {
  const ai = new GoogleGenAI({});

  const response = await ai.models.generateContent({
    model: &amp;#39;gemini-3-flash-preview&amp;#39;,
    contents: &amp;#39;How does AI work?&amp;#39;
  });

  return new Response(JSON.stringify({ answer: response.text }), {
    headers: { &amp;#39;Content-Type&amp;#39;: &amp;#39;application/json&amp;#39; }
  });
};

This model works across any function type and is compatible with other Netlify primitives such as caching and rate limiting, giving you control over request behavior across your site.

See the AI Gateway documentation for details.

</description><pubDate>Wed, 17 Dec 2025 00:00:00 GMT</pubDate></item><item><title>GPT-image-1.5 now available in AI Gateway</title><link>https://www.netlify.com/changelog/gpt-image-1-5-ai-gateway/</link><guid isPermaLink="true">https://www.netlify.com/changelog/gpt-image-1-5-ai-gateway/</guid><description>OpenAI&apos;s GPT-image-1.5 is now available through AI Gateway. You can call this model from Netlify Functions without configuring API keys; the AI Gateway provides the connection to OpenAI for you.

Example usage in a Function:

import OpenAI from &amp;#39;openai&amp;#39;;
const ai = new OpenAI();

export default async (req, context) =&amp;gt; {
    const response = await ai.images.generate({
        model: &amp;#39;gpt-image-1.5&amp;#39;,
        prompt: &amp;#39;Generate a realistic image of a golden retriever working in an office&amp;#39;,
        n: 1,
        size: &amp;#39;1024x1024&amp;#39;,
        quality: &amp;#39;low&amp;#39;,
        output_format: &amp;#39;jpeg&amp;#39;,
        output_compression: 80
    });

    const imageBase64 = response.data[0].b64_json;
    const imageBuffer = Uint8Array.from(atob(imageBase64), c =&amp;gt; c.charCodeAt(0));

    return new Response(imageBuffer, {
        status: 200,
        headers: {
            &amp;#39;content-type&amp;#39;: &amp;#39;image/jpeg&amp;#39;,
            &amp;#39;cache-control&amp;#39;: &amp;#39;no-store&amp;#39;
        }
    });
}

This model works across any function type and is compatible with other Netlify primitives such as caching and rate limiting, giving you control over request behavior across your site.

See the AI Gateway documentation for details.

</description><pubDate>Wed, 17 Dec 2025 00:00:00 GMT</pubDate></item><item><title>AI Gateway now Generally Available</title><link>https://www.netlify.com/changelog/2025-12-16-ai-gateway-ga/</link><guid isPermaLink="true">https://www.netlify.com/changelog/2025-12-16-ai-gateway-ga/</guid><description>AI Gateway is now generally available (GA) for all Netlify users. Build AI-powered apps with confidence using our fully managed gateway that handles AI model keys, setup, and monitoring automatically.

For a deeper dive into AI Gateway capabilities, check out our latest blog post.

For a video overview of how the AI Gateway works with a fun demo project, check out our AI Gateway gameshow demo. 

For other AI Gateway example projects, check out these videos:

&lt;ul&gt;
&lt;li&gt;AI agent generates blog post images

&lt;/li&gt;
&lt;li&gt;AI agent summarizes form submissions

&lt;/li&gt;
&lt;/ul&gt;
Learn more in our AI Gateway documentation.

Availability

To use AI Gateway, you must have a Credit-based plan or an enabled Enterprise plan.

Learn more about pricing for AI features and monitoring their usage.

To request access to the AI Gateway for an Enterprise plan, reach out to your Netlify account manager.

</description><pubDate>Tue, 16 Dec 2025 00:00:00 GMT</pubDate></item><item><title>GPT-5.2 and GPT-5.2-Pro now available in AI Gateway and Agent Runners</title><link>https://www.netlify.com/changelog/gpt-5-2-ai-gateway/</link><guid isPermaLink="true">https://www.netlify.com/changelog/gpt-5-2-ai-gateway/</guid><description>OpenAI&apos;s GPT-5.2 and GPT-5.2-Pro are now available through AI Gateway and Agent Runners. You can call these models from Netlify Functions without configuring API keys; the AI Gateway provides the connection to OpenAI for you.

Example usage in a Function:

import { OpenAI } from &amp;quot;openai&amp;quot;;

export default async () =&amp;gt; {
  const openai = new OpenAI();

  const response = await openai.chat.completions.create({
    model: &amp;quot;gpt-5.2&amp;quot;,
    messages: [
      { role: &amp;quot;user&amp;quot;, content: &amp;quot;What are the key improvements in GPT-5.2?&amp;quot; }
    ]
  });

  return new Response(JSON.stringify(response), {
    headers: { &amp;quot;Content-Type&amp;quot;: &amp;quot;application/json&amp;quot; }
  });
};

These models work across any function type and are compatible with other Netlify primitives such as caching and rate limiting, giving you control over request behavior across your site.

See the AI Gateway documentation for details.

Agent Runners support the same models, enabling AI to complete long-running coding tasks. You can learn more in the Agent Runners documentation.

</description><pubDate>Thu, 11 Dec 2025 00:00:00 GMT</pubDate></item><item><title>GPT-5.1-Codex-Max now available in AI Gateway and Agent Runners</title><link>https://www.netlify.com/changelog/gpt-5-1-codex-max-ai-gateway-agent-runners/</link><guid isPermaLink="true">https://www.netlify.com/changelog/gpt-5-1-codex-max-ai-gateway-agent-runners/</guid><description>OpenAI&apos;s GPT-5.1-Codex-Max model is now available through Netlify&apos;s AI Gateway and Agent Runners with zero configuration required.

Use the OpenAI SDK directly in your Netlify Functions without managing API keys or authentication. The AI Gateway handles everything automatically. Here&apos;s an example using the GPT-5.1-Codex-Max model:

import OpenAI from &amp;#39;openai&amp;#39;;

export default async () =&amp;gt; {
    const openai = new OpenAI();

    const response = await openai.responses.create({
        model: &amp;#39;gpt-5.1-codex-max&amp;#39;,
        input: &amp;#39;What improvements are in GPT‑5.1-Codex-Max?&amp;#39;
    });

    return new Response(JSON.stringify(response), {
        headers: { &amp;#39;Content-Type&amp;#39;: &amp;#39;application/json&amp;#39; }
    });
};

GPT-5.1-Codex-Max is available across Background Functions, Scheduled Functions, and Edge Functions. You get automatic access to Netlify&apos;s caching, rate limiting, and authentication infrastructure.

Learn more in the AI Gateway documentation.

You can also leverage GPT-5.1-Codex-Max with Agent Runners to build powerful AI-powered workflows, including expanded tool use and support for long-running agent tasks. Learn more in the Agent Runners documentation.

</description><pubDate>Thu, 04 Dec 2025 00:00:00 GMT</pubDate></item><item><title>Netlify Vite Plugin now supports AI Gateway locally</title><link>https://www.netlify.com/changelog/2025-12-01-vite-plugin-ai-gateway-support/</link><guid isPermaLink="true">https://www.netlify.com/changelog/2025-12-01-vite-plugin-ai-gateway-support/</guid><description>You can now use AI Gateway in local development with just npm run dev when using the Netlify Vite Plugin. Previously, AI Gateway&apos;s auto-configured environment variables only worked when running netlify dev, which added friction for developers using Vite-powered frameworks like Astro.

With this update, AI Gateway environment variables are automatically populated when running your Vite development server directly. This means you can run standard framework commands without extra steps:

# Works with any Vite-based framework
npm run dev

This is part of our ongoing effort to streamline the developer experience for Vite frameworks. Modern frameworks like Astro let you specify Netlify as your deployment target and handle everything automatically—now AI Gateway works the same way.

This change also improves compatibility with AI coding agents and other automated workflows that expect standard development commands to work without additional configuration.

Learn more about the Netlify Vite Plugin and AI Gateway in the documentation.

</description><pubDate>Mon, 01 Dec 2025 00:00:00 GMT</pubDate></item><item><title>Claude Opus 4.5 now live in AI Gateway, plus latest Claude Code via Agent Runners</title><link>https://www.netlify.com/changelog/claude-opus-4-5-ai-gateway-agent-runners/</link><guid isPermaLink="true">https://www.netlify.com/changelog/claude-opus-4-5-ai-gateway-agent-runners/</guid><description>Anthropic&apos;s Claude Opus 4.5 model is now available through Netlify&apos;s AI Gateway with zero configuration required.

Use the Anthropic SDK directly in your Netlify Functions without managing API keys or authentication. The AI Gateway handles everything automatically. Here&apos;s an example using the Claude Opus 4.5 model:

import Anthropic from &amp;quot;@anthropic-ai/sdk&amp;quot;;

export default async () =&amp;gt; {
  const anthropic = new Anthropic();

  const response = await anthropic.messages.create({
    model: &amp;quot;claude-opus-4-5-20251101&amp;quot;,
    max_tokens: 4096,
    messages: [
      {
        role: &amp;quot;user&amp;quot;,
        content: &amp;quot;Give me pros and cons of using claude-opus-4-5-20251120 over other models.&amp;quot;
      },
    ],
  });

  return new Response(JSON.stringify(response), {
    headers: { &amp;quot;Content-Type&amp;quot;: &amp;quot;application/json&amp;quot; }
  });
}

Claude Opus 4.5 is available across Background Functions, Scheduled Functions, and Edge Functions. You get automatic access to Netlify&apos;s caching, rate limiting, and authentication infrastructure.

Learn more in the AI Gateway documentation.

You can also access the newest Claude Code capabilities via Agent Runners, including expanded tool use and support for long-running agent workflows. Learn more in the Agent runner documentation.

</description><pubDate>Mon, 24 Nov 2025 00:00:00 GMT</pubDate></item><item><title>Gemini 3 now available in AI Gateway and Agent Runners</title><link>https://www.netlify.com/changelog/gemini-3-ai-gateway-agent-runners/</link><guid isPermaLink="true">https://www.netlify.com/changelog/gemini-3-ai-gateway-agent-runners/</guid><description>Google&apos;s Gemini 3 Pro Preview model is now available through Netlify&apos;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&apos;s an example using the Gemini 3 Pro Preview model:

import { GoogleGenAI } from &amp;quot;@google/genai&amp;quot;;

export default async (request: Request, context: Context) =&amp;gt; {
  const ai = new GoogleGenAI({});

  const response = await ai.models.generateContent({
    model: &amp;quot;gemini-3-pro-preview&amp;quot;,  
    contents: &amp;quot;Explain why gemini 3 is better than other models&amp;quot;,
  });

  return new Response(JSON.stringify({ answer: response.text }), {
    headers: { &amp;quot;Content-Type&amp;quot;: &amp;quot;application/json&amp;quot; }
  });
};

Gemini 3 is available across Background Functions, Scheduled Functions, and Agent Runners. You get automatic access to Netlify&apos;s caching, rate limiting, and authentication infrastructure.

Learn more in the AI Gateway documentation and Agent Runners documentation.

</description><pubDate>Tue, 18 Nov 2025 00:00:00 GMT</pubDate></item><item><title>GPT-5.1 model now available in AI Gateway</title><link>https://www.netlify.com/changelog/gpt-5-1-ai-gateway/</link><guid isPermaLink="true">https://www.netlify.com/changelog/gpt-5-1-ai-gateway/</guid><description>OpenAI&apos;s latest GPT-5.1 model (gpt-5.1) is now available through Netlify&apos;s AI Gateway. This model brings enhanced performance and efficiency with no additional setup required.

Use the OpenAI SDK directly in your Netlify Functions without managing API keys. The AI Gateway handles authentication, rate limiting, and caching automatically. Here&apos;s an example using the GPT-5.1 model:

import { OpenAI } from &amp;quot;openai&amp;quot;;

export default async () =&amp;gt; {
  const openai = new OpenAI();

  const response = await openai.chat.completions.create({
    model: &amp;quot;gpt-5.1&amp;quot;,
    messages: [
      {
        role: &amp;quot;user&amp;quot;,
        content: &amp;quot;Compare GPT-5.1&amp;#39;s improvements over GPT-5 Pro&amp;quot;
      }
    ]
  });

  return new Response(JSON.stringify(response), {
    headers: { &amp;quot;Content-Type&amp;quot;: &amp;quot;application/json&amp;quot; }
  });
};

The GPT-5.1 model works seamlessly across Edge Functions, Background Functions, and Scheduled Functions. You also get access to Netlify&apos;s advanced caching primitives and built-in rate limiting.

Learn more in the AI Gateway documentation.

</description><pubDate>Thu, 13 Nov 2025 00:00:00 GMT</pubDate></item></channel></rss>