Netlify AI Gateway

Use OpenAI, Anthropic, Google Gemini, or OpenRouter models from Netlify Functions or Edge Functions without managing provider API keys or accounts — the gateway injects credentials automatically. Reach for this when you add an AI chatbot or completion endpoint, generate images or text with Gemini/GPT/Claude, summarize form submissions with AI, build an LLM-backed API route, stream a long AI generation, or wire up any server-side AI provider call on Netlify. Covers provider SDK setup, injected env vars, model availability, rate limits, credit costs, streaming for long generations, and local dev with netlify dev or the Vite plugin.

practicalswan 05fa0ef 3 files · 17.2 KB Updated

File contents

practicalswan/agent-skills/tree/main/netlify-ai-gateway commit 05fa0ef14f

Frequently asked questions

npx skillmds add practicalswan/netlify-ai-gateway