Qwen4-Max now available on AI Gateway
Vercel’s AI Gateway now hosts Alibaba’s Qwen4-Max, a reasoning model with vision and a 1M-token context window, optimized for coding, agent tasks, and professional workflows.
Qwen4-Max, the first model in Alibaba’s Qwen4 series, is now accessible via Vercel’s AI Gateway. Designed for coding and professional tasks, it features native vision capabilities and a 1M-token context window. The model supports building 3D scenes in Blender and playable games in Unity, Unreal Engine, and Godot, executing its creations and refining visual elements like lighting and animations. It also integrates with multiple MCP tools for finance, legal, and healthcare workflows, enabling document processing, spreadsheet generation, and report creation with source citations.
For long-running projects, Qwen4-Max delivers an initial usable version early, allowing iterative improvements and adjustments before completion. Alibaba has open-sourced a Live Delivery plugin to streamline this workflow. Compared to prior Qwen Max models, it reduces token usage for the same tasks and defaults to writing more secure code, addressing vulnerabilities such as injection risks and memory safety issues.
To deploy Qwen4-Max in coding agents like Claude Code, Codex, or Cursor, users must install the latest Vercel CLI, run setup, and select the model via the agent interface. The model is available through AI Gateway, which provides a unified API for model calls, usage tracking, and cost management, along with features like retries, failover, and performance optimizations for improved uptime.
AI Gateway charges provider pricing without markup or platform fees on inference, including Bring Your Own Key requests. It offers Zero Data Retention support, budget controls for API keys, and routing rules. Users can explore all available language models, access curated documentation, and utilize prompts and templates to build or extend applications with coding agents.