Qwen 3.8 Flash from Alibaba is now available on AI Gateway. It takes text and images as input, serves a context window of 1 million tokens, and can return up to 65k tokens in a response. Alibaba recommends it for coding, tool use, and multi-step agent workflows.
To use Qwen3.8-Flash, set model to alibaba/qwen3.8-flash in the AI SDK :
import { streamText } from 'ai' ;
const result = streamText ( {
model : 'alibaba/qwen3.8-flash' ,
prompt : 'Add pagination to the results endpoint.' ,
} ) ;
To use it in a coding agent, see the coding agents guide , then run vercel ai-gateway coding-agents setup to connect agents like Claude Code, Codex, OpenCode, Cursor, Pi, and more and select alibaba/qwen3.8-flash inside the agent.
Try Qwen3.8-Flash in the model playground .
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.…