{"slug": "minimax-m4-now-available-on-ai-gateway", "title": "MiniMax M4 now available on AI Gateway", "summary": "Vercel's AI Gateway added MiniMax M4, MiniMax's new open-weight multimodal reasoning model for coding and computer-use agents, available under the model name minimax/minimax-m4. MiniMax M4 activates only a small share of its total parameters per token, uses a new image encoding that produces fewer visual tokens per image, and a new attention design that cuts memory per token across its 1M-token context window; reasoning is always on, with lower effort settings reducing latency and reasoning tokens. The model supports tool calling and text and image input, and can be selected in Claude Code, Codex and Cursor after installing the latest Vercel CLI and running setup.", "body_md": "[MiniMax M4](https://vercel.com/ai-gateway/models/minimax-m4) is now available on AI Gateway. It is MiniMax's new flagship, an open-weight multimodal reasoning model for coding and computer-use agents.\n\nCompared with earlier MiniMax models, M4 is a much larger model and improves long-horizon coding. M4 also brings efficiency improvements. It activates only a small share of its total parameters for each token, so inference stays efficient for a model of its size. A new image encoding turns each image into fewer visual tokens, which lowers input token counts for requests with images, and a new attention design uses less memory per token across its 1M-token context window.\n\nReasoning is always on. Lower effort reduces latency and reasoning tokens. The model supports tool calling, accepts text and image input, and has a 1M-token context window.\n\nUse `minimax/minimax-m4` as the model name:\n\nTo use it in Claude Code, Codex, Cursor, and more, install the latest Vercel CLI and run setup:\n\nThen select `minimax/minimax-m4` in the agent. See the [coding agents guide](https://vercel.com/docs/ai-gateway/coding-agents) for details.\n\nTry MiniMax M4 in the [model playground](https://vercel.com/ai-gateway/models/minimax-m4).\n\nAI 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](https://vercel.com/changelog/custom-reporting-ai-gateway), [Zero Data Retention support](https://vercel.com/blog/zdr-on-ai-gateway), [budgets for API keys](https://vercel.com/docs/ai-gateway/authentication-and-byok/api-keys), [routing rules](https://vercel.com/docs/ai-gateway/models-and-providers/routing-rules), and more.\n\nAI Gateway reflects provider pricing with no markup and does not charge a platform fee on inference, including on [Bring Your Own Key](https://vercel.com/docs/ai-gateway/authentication-and-byok/byok) (BYOK) requests.\n\nYou can view [all language models](https://vercel.com/ai-gateway/models?type=text) available on AI Gateway.", "url": "https://wpnews.pro/news/minimax-m4-now-available-on-ai-gateway", "canonical_source": "https://vercel.com/changelog/minimax-m4-now-available-on-ai-gateway", "published_at": "2026-12-03 00:00:00+00:00", "updated_at": "2026-12-03 15:43:45.382585+00:00", "lang": "en", "topics": ["large-language-models", "ai-agents", "ai-tools", "developer-tools"], "entities": ["MiniMax", "MiniMax M4", "Vercel", "AI Gateway", "Claude Code", "Codex", "Cursor", "Vercel CLI"], "also_reported_by": [], "takeaway": "MiniMax M4 is callable as minimax/minimax-m4 on AI Gateway with a 1M-token context, always-on reasoning, tool calling and text/image input, and activates only a small share of its parameters per token to keep inference efficient.", "recommendation": null, "alternates": {"html": "https://wpnews.pro/news/minimax-m4-now-available-on-ai-gateway", "markdown": "https://wpnews.pro/news/minimax-m4-now-available-on-ai-gateway.md", "text": "https://wpnews.pro/news/minimax-m4-now-available-on-ai-gateway.txt", "jsonld": "https://wpnews.pro/news/minimax-m4-now-available-on-ai-gateway.jsonld"}}