# MiniMax M3.1 Flash now available in AI Gateway and Agent Runners

By Steven Van · 2026-10-23

Netlify's AI Gateway needs no API keys for the model, which also runs in Scheduled, Background and Edge Functions through the OpenRouter SDK.

MiniMax M3.1 Flash can now be used through [Netlify](<https://creatorstoolbox.com/tools/netlify>)'s AI Gateway and Agent Runners, [according to the changelog](<https://www.netlify.com/changelog/minimax-m3-1-flash-ai-gateway-agent-runners/>). No configuration is required.

## Calling the model from a function

The OpenRouter SDK works directly inside Netlify Functions, with no API keys or authentication to manage. AI Gateway handles both automatically. In the vendor's example, a function creates an OpenRouter client, calls client.chat.send with the model set to minimax/minimax-m3.1-flash, passes a user message and a maxTokens of 400, and returns the response as JSON.

## Where it runs

The model is also available in Scheduled Functions, Background Functions and Edge Functions. In each, Netlify's caching, rate limiting and authentication infrastructure applies automatically.

The announcement links to the AI Gateway and Agent Runners documentation for details.

[![](<https://www.netlify.com/images/og-image-default.png>)](<https://www.netlify.com/changelog/minimax-m3-1-flash-ai-gateway-agent-runners/>)

![Netlify](<https://www.google.com/s2/favicons?domain=netlify.com&sz=128>)

Netlify

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

[View Netlify →](<https://creatorstoolbox.com/tools/netlify>)

Sources

[Original source](<https://www.netlify.com/changelog/minimax-m3-1-flash-ai-gateway-agent-runners/>)

[Read MiniMax M3.1 Flash now available in AI Gateway and Agent Runners on Creators Toolbox](<https://creatorstoolbox.com/blog/netlify-minimax-m3-1-flash-now-available-in-ai-gateway-and-agent-runners>)

---
Canonical source: https://creatorstoolbox.com/blog/netlify-minimax-m3-1-flash-now-available-in-ai-gateway-and-agent-runners
