Qwen4-Max now available on AI Gateway Alibaba's Qwen4-Max, the first model in the Qwen4 series, is now available on Vercel's AI Gateway under the model name `alibaba/qwen4-max`. The reasoning model has native vision and a 1M-token context window, is built for coding, professional work and long-running agent tasks, and Alibaba says it uses fewer tokens than prior Qwen Max models to complete the same tasks while writing more secure code by default with fewer injection, memory safety and access control vulnerabilities. Alibaba is also open-sourcing a Live Delivery plugin that lets the model deliver a usable first version early and improve it in successive releases so users can review progress and change direction before work finishes. Qwen4-Max from Alibaba https://vercel.com/ai-gateway/models/qwen4-max is now available on AI Gateway. It is the first model in the Qwen4 series: a reasoning model with native vision and a 1M-token context window, built for coding, professional work, and long-running agent tasks. Qwen4-Max is better at working with professional tools. It can build 3D scenes in Blender and playable games in Unity, Unreal Engine, and Godot, running what it builds and using visual feedback to fix camera, animation, and lighting issues. For finance, legal, and healthcare work, it can call many MCP tools, work through large sets of documents and images, and produce spreadsheets, slide decks, and reports that cite their sources. For long-running tasks, the model delivers a usable first version early and then improves it in successive releases, so you can review progress and change direction before the work is finished. Alibaba is open-sourcing a Live Delivery plugin for this workflow. Compared with prior Qwen Max models, Qwen4-Max uses fewer tokens to complete the same tasks and writes more secure code by default, with fewer injection, memory safety, and access control vulnerabilities. Use alibaba/qwen4-max as the model name: To use it in Claude Code, Codex, Cursor, and more, install the latest Vercel CLI and run setup: Then select alibaba/qwen4-max in the agent. See the coding agents guide https://vercel.com/docs/ai-gateway/coding-agents for details. Try Qwen4-Max in the model playground https://vercel.com/ai-gateway/models/qwen4-max . 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 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. AI 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. You can view all language models https://vercel.com/ai-gateway/models?type=text available on AI Gateway.