# MiniMax M3.1 Flash now available on AI Gateway for free

By Steven Van · 2026-10-19

The open-weight, 1M-token-context coding and agent model is free only until Oct 20, and only when requests are routed to MiniMax as the provider.

MiniMax M3.1 Flash is free on [Vercel](<https://creatorstoolbox.com/tools/vercel>) AI Gateway [until Oct 20](<https://vercel.com/docs/ai-gateway/sdks-and-apis/responses>). It is an open-weight multimodal model for coding and agentic work, with a 1M-token context window for long documents and multi-step agent sessions.

## What the model is for

Compared with earlier MiniMax models, M3.1 Flash improves on complex agentic tasks, coding, and cybersecurity. On the agent side, that covers multi-step business processes and computer use that carries a task from one application to the next. For coding, MiniMax reports its best results on application development, particularly frontend interactions, targeted bug fixes, and component tests.

## How the free rate works

The free rate applies only when MiniMax serves the request. To make sure it does, sort the provider with order in the gateway provider options. After the offer ends, pinned requests bill at MiniMax's standard rate.

## Calling the model

Use minimax/minimax-m3.1-flash as the model name. It can be called through:

- the AI SDK

- the Chat Completions API

- the Responses API

- the Anthropic Messages API

- a coding agent connected to AI Gateway

To use it in Claude Code, Codex, Cursor and other agents, install the latest Vercel CLI and run npx vercel ai-gateway setup. Then select minimax/minimax-m3.1-flash in the agent. The model can also be tried in the model playground.

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

Vercel

The platform for frontend developers — deploy, preview, and scale web apps and AI agents with zero config.

[View Vercel →](<https://creatorstoolbox.com/tools/vercel>)

[Original source](<https://vercel.com/changelog/minimax-m3-1-flash-now-available-on-ai-gateway-for-free>)

[Read MiniMax M3.1 Flash now available on AI Gateway for free on Creators Toolbox](<https://creatorstoolbox.com/blog/vercel-minimax-m3-1-flash-now-available-on-ai-gateway-for-free>)

---
Canonical source: https://creatorstoolbox.com/blog/vercel-minimax-m3-1-flash-now-available-on-ai-gateway-for-free
