MiniMax M3.1 Flash from MiniMax is now available on AI Gateway for free, until Oct 20.
MiniMax M3.1 Flash 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.
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.
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.
Call it through the AI SDK, the Chat Completions, Responses, and Anthropic Messages APIs, or a coding agent connected to AI Gateway. Use minimax/minimax-m3.1-flash as the model name:
To use it in Claude Code, Codex, Cursor, and more, install the latest Vercel CLI and run setup:
Then select `minimax/minimax-m3.1-flash` in the agent. See the [coding agents guide](https://vercel.com/docs/ai-gateway/coding-agents) for details.
Try MiniMax M3.1 Flash in the [model playground](https://vercel.com/ai-gateway/models/minimax-m3.1-flash).
AI Gateway provides a unified API for calling models, tracking usage and cost, and configuring retries, failover, and performance optimizations for higher-than-provider uptime. It includes built-in custom reporting, Zero Data Retention support, budgets for API keys, routing rules, and more.
AI Gateway reflects provider pricing with no markup and does not charge a platform fee on inference, including on Bring Your Own Key (BYOK) requests.
You can view all language models available on AI Gateway.