MiniMax M3.1 Flash now available in AI Gateway and Agent Runners
October 23, 2026
MiniMax’s M3.1 Flash model is now available through Netlify’s AI Gateway and Agent Runners with zero configuration required.
Use the OpenRouter SDK directly in your Netlify Functions without managing API keys or authentication. AI Gateway handles everything automatically. Here’s an example using MiniMax M3.1 Flash:
import { OpenRouter } from '@openrouter/sdk';
export default async () => { const client = new OpenRouter();
const response = await client.chat.send({ chatRequest: { model: 'minimax/minimax-m3.1-flash', messages: [{ role: 'user', content: 'How can AI improve my coding?' }], maxTokens: 400, }, });
return Response.json(response);};MiniMax M3.1 Flash is also available across Scheduled Functions, Background Functions, and Edge Functions. You get automatic access to Netlify’s caching, rate limiting, and authentication infrastructure.
Learn more in the AI Gateway documentation and Agent Runners documentation.