# Vercel adds MiniMax M4 to AI Gateway

published: 2026-12-03T16:05:23.766Z
topic: infrastructure
source: https://vercel.com/changelog/minimax-m4-now-available-on-ai-gateway
url: https://aiagentnews.io/stories/vercel-adds-minimax-m4-to-ai-gateway

Vercel says MiniMax M4 is now available on AI Gateway under the model name minimax/minimax-m4. The open-weight multimodal reasoning model is aimed at coding and computer-use agents.

MiniMax M4 is MiniMax's new flagship, and Vercel describes it as a 3T-parameter model that improves on earlier MiniMax models for long-horizon coding. Only a small share of its total parameters is activated for each token, which Vercel says keeps inference efficient for a model of its size. A new image encoding produces fewer visual tokens per image, and a new attention design uses less memory per token across its 1M-token context window.

The model always runs with reasoning on, and lower effort settings reduce latency and reasoning tokens. It supports tool calling and accepts text and image input. Developers can call it through the AI SDK with the model string minimax/minimax-m4, and Vercel says it can be used in Claude Code, Codex and Cursor after running npx vercel ai-gateway setup.

Vercel says Zero Data Retention for M4 on AI Gateway will arrive as more providers add support for the model. AI Gateway does not add markup or a platform fee on inference, including Bring Your Own Key requests.

## Why it matters if you build agents

Agent developers can route requests to M4 through AI Gateway with the same code they use for other models, switching the model string to minimax/minimax-m4.

Teams that need Zero Data Retention for M4 should check whether their provider supports it yet, since Vercel says that option depends on more providers adding the model.
