Qwen 3.7 Flash
import { streamText } from 'ai'
const result = streamText({ model: 'alibaba/qwen3.7-flash', prompt: 'Why is the sky blue?'})About Qwen 3.7 Flash
Qwen 3.7 Flash is the Flash-tier release in Alibaba Cloud's Qwen 3.7 generation, sitting below Qwen3.7-Plus and Qwen3.7-Max. Released July 28, 2026 and available through Alibaba Cloud on AI Gateway, this native vision-language model takes text, images, and video in and returns text, within a context window of 991K tokens and up to 64K tokens per response.
Alibaba Cloud describes the Qwen 3.7 Flash series as a comprehensive upgrade over Qwen3.6-Flash in multimodal understanding and agent execution. The documented gains cover universal object recognition, real-world perception, and spatial intelligence. Qwen 3.7 Flash also targets search-agent and code-interpreter-agent scenarios with steadier end-to-end task execution, alongside tuning for multimodal coding.
Reasoning is on by default. You can turn thinking off per request for short lookups, or cap the thinking budget when latency and token spend matter more than reasoning depth. Reasoning traces can carry across turns, so a long agent loop keeps its chain of thought instead of restarting it on every tool call. Qwen 3.7 Flash supports function calling and structured output, with structured output available in non-thinking mode. Alibaba Cloud also documents built-in web search and code execution tools for the model.
Qwen 3.7 Flash accepts up to 16 million pixels per image, video up to two hours or 2 GB, and as many as 64 videos in one request. Each image consumes tokens in proportion to its resolution, so downscale screenshots that don't need full detail.
You can integrate Qwen 3.7 Flash through AI SDK, Chat Completions API, Responses API, Messages API, or other API formats, from TypeScript or Python.