Skip to main content

AI Gateway adds OpenRouter support for more AI model choice

By Steven Van ·

The AI Gateway now supports OpenRouter, giving you access to models from providers beyond Netlify's direct integrations (OpenAI, Anthropic, Google Gemini).

Netlify announced AI Gateway adds OpenRouter support for more AI model choice on August 6, 2026.

What changed

The AI Gateway now supports OpenRouter, giving you access to models from providers beyond Netlify's direct integrations (OpenAI, Anthropic, Google Gemini). This partnership opens up models from providers like DeepSeek, Meta, Mistral, Qwen, and xAI, all billed through your existing Netlify credits. Learn more about our OpenRouter partnership through the Netlify blog on open models. Supported models For a full list of models available on OpenRouter, visit OpenRouter's models page. Note that Netlify only allows requests through OpenRouter for model providers that support a Zero Data Retention (ZDR) policy, meaning your prompts and outputs are never stored nor trained on. Models on OpenRouter that do not have any available provider guaranteeing this policy (at the time of your request) are not available via Netlify. Set up OpenRouter for AI Gateway As with the other providers, Netlify automatically injects OPENROUTER_API_KEY and OPENROUTER_BASE_URL into your Netlify Functions, Edge Functions, and Preview Server (unless you've already set your own values for either). You can call an OpenRouter-served model using whichever client you prefer: OpenRouter SDK (@openrouter/sdk): pass OPENROU

Netlify
Netlify
Lightning-fast web platform for deploying, hosting, and scaling modern sites — one-click deploys from Git or any modern AI builder.
View Netlify →

Read the original announcement →

Read AI Gateway adds OpenRouter support for more AI model choice on Creators Toolbox