
Qwen 3.8 Max now available on Vercel AI Gateway
Quick Answer
Qwen 3.8 Max, with 2.4 trillion parameters and a 1 million token context window, is now available on Vercel AI Gateway.
Quick Take
This model excels in text-only and vision-language tasks, making it ideal for software engineering and visual work, such as transforming screenshots into functional pages and video captioning. Users can access it via the model playground and integrate it with coding agents.
Key Points
- Qwen 3.8 Max supports both text-only and vision-language tasks.
- The model features 2.4 trillion parameters and a context window of 1 million tokens.
- Ideal for software engineering, visual work, and video captioning.
- Access the model via 'alibaba/qwen3.8-max' in the AI Gateway.
- AI Gateway tracks model usage without markup or platform fees.
📖 Reader Mode
~1 min readQwen 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. It includes built-in custom reporting, Zero Data Retention support, budgets for API keys, 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 (BYOK) requests.
AI Gateway: Track top AI models by usage
The AI Gateway model leaderboard tracks the most popular models over time, ranking them by the total volume of tokens processed across all Gateway traffic.
View the leaderboard
— Originally published at vercel.com
Want this in your inbox every morning?
Daily brief at your local 8am — bilingual EN/中文, free.
More from Vercel AI
See more →
The Agent Stack
The Agent Stack by Vercel AI provides essential building blocks for creating production-grade agents, enabling seamless integration across multiple AI models and secure operations. It features components like AI Gateway for model routing, Workflow SDK for durable execution, and Vercel Connect for scoped access, streamlining agent development and deployment across various platforms.

