Qwen 3.8 Max is now available on AI Gateway.
Qwen 3.8 Max handles text-only and vision-language work in one model, with 2.4 trillion parameters and a context window of up to 1 million tokens. The model is suited for software engineering and office productivity, along with visual work like turning screenshots or design files into working pages, captioning video, and answering questions grounded in an image.
To use Qwen 3.8 Max, set model to alibaba/qwen3.8-max .
import { streamText } from 'ai' ;
const result = streamText ( {
model : 'alibaba/qwen3.8-max' ,
prompt : 'Add pagination to the results endpoint.' ,
} ) ;
Try Qwen 3.8 Max in the model playground .
To use it in a coding agent , run vercel ai-gateway coding-agents setup to connect Claude Code, Codex, OpenCode, or Pi, then select alibaba/qwen3.8-max inside the agent.
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.…