Back to products
Netlify AI Gateway

Netlify AI Gateway

Use AI models without managing keys or billing

Overview

What it is

Build, Preview, and Deploy. All in One Place. Go live in minutes with a unified development platform designed for speed and flexibility. Whether you prefer to build with AI or write your own code, you have everything you need to launch full-stack applications effortlessly.

Intent

I need it when

I want to add AI features to my web app without managing API keys or provider credentials myself.

Netlify AI Gateway lets developers call OpenAI, Anthropic, and Gemini models directly from serverless functions without storing or rotating API keys manually. Credentials are managed by Netlify, reducing secret-management overhead and security risk.

I want to use AI models in my ecommerce or marketing site (e.g., generating alt text, product descriptions, or personalized content) without complex backend setup.

AI Gateway allows frontend-adjacent serverless functions to call AI models (as shown in the OpenAI alt-text code example on the homepage) with minimal configuration. Developers can add AI capabilities to existing Netlify-hosted sites in a few lines of code, with no separate API gateway or credential management required.

I want to standardize how my organization's teams access AI models to maintain governance and avoid sprawl.

On Netlify Enterprise, AI Gateway provides a centralized, governed path to AI models with permissions, secrets management, and audit controls. This prevents teams from using personal API keys in unmanaged environments and keeps AI usage within platform guardrails.

I want to prototype and ship AI-powered features quickly alongside my existing Netlify deployment workflow.

AI Gateway is a built-in Netlify platform primitive, so teams can connect to AI models in the same project and deploy pipeline they already use. There is no separate service to provision—AI calls are available from the first deploy, enabling rapid iteration with Agent Runners on the same infrastructure.

I want to build AI-powered internal tools (dashboards, workflow automators) without standing up separate AI infrastructure.

AI Gateway integrates directly with Netlify Serverless Functions, so internal apps can call AI models as part of their backend logic. Combined with built-in access controls and SSO, teams can ship AI-enhanced internal tools securely without managing a separate AI proxy service.

Drop

Not a fit when

  • You need a standalone AI gateway not tied to a web hosting or deployment platform.
  • Your AI workloads run entirely on backend infrastructure outside of Netlify (e.g., dedicated cloud VMs or Kubernetes clusters).
  • You require support for AI providers beyond OpenAI, Anthropic, and Gemini (e.g., Cohere, Mistral, or self-hosted models).
  • Your team needs granular per-request cost controls or detailed AI spend analytics beyond what Netlify's credit system provides.
  • You are building a non-web product (e.g., mobile app backend, IoT, or desktop software) with no Netlify-hosted frontend or functions.
  • Enterprise compliance requires a fully private, on-premises AI gateway with no third-party cloud involvement.
Commercials

Pricing

USD0 - USD20 / monthly View pricing