What problem does it solve? Adding AI features to a Netlify site normally means managing provider API keys, choosing compatible models, and debugging gateway errors. This Skill provides the reference for using Netlify AI Gateway, which proxies OpenAI, Anthropic, and Google Gemini SDK calls without you holding any provider keys. ## Core Features & Use Cases - Keyless SDK setup: Construct new OpenAI(), new Anthropic(), or new GoogleGenAI() with no arguments; Netlify auto-injects the gateway base URL and placeholder key. - Curated model list: A verified list of supported chat, reasoning, and image models, since the gateway exposes only a subset of each provider's catalog. - Image generation via Gemini: Text-to-image and image-to-image editing through generateContent, returning base64 inlineData (OpenAI image models are not routed). - Production constraints: Guidance on the first-deploy requirement, credit metering, runtime-only credentials, the 60-second function timeout, and streaming or background-function mitigations. - Use Case: Build a /api/chat Netlify Function that calls gpt-4o-mini through the gateway, streams the response to the browser, and never touches a real API key. ## Quick Start Add an AI chat endpoint to my Netlify site using the AI Gateway with the OpenAI SDK and deploy it so the gateway activates.