Qwen 3.7 Flash
import { streamText } from 'ai'
const result = streamText({ model: 'alibaba/qwen3.7-flash', prompt: 'Why is the sky blue?'})Frequently Asked Questions
What inputs does Qwen 3.7 Flash accept?
Text, images, and video. Qwen 3.7 Flash is a native vision-language model and returns text only.
What is the context window for Qwen 3.7 Flash?
The context window is 991K tokens, with up to 64K tokens per response.
How does Qwen 3.7 Flash compare to Qwen3.6-Flash?
Alibaba Cloud describes the Qwen 3.7 Flash series as a comprehensive upgrade over Qwen3.6-Flash in multimodal understanding and agent execution. The listed gains cover universal object recognition, real-world perception, spatial intelligence, and steadier end-to-end execution in agent scenarios.
Where does Qwen 3.7 Flash sit in the Qwen 3.7 lineup?
Below Qwen3.7-Plus and Qwen3.7-Max. Qwen 3.7 Flash is the Flash tier, built for throughput and low cost per token rather than the highest reasoning ceiling.
Is reasoning enabled by default on Qwen 3.7 Flash?
Yes. Qwen 3.7 Flash runs in thinking mode by default. You can disable thinking per request for simple queries, or cap the thinking budget to limit how many reasoning tokens the model spends.
Does Qwen 3.7 Flash support tool calling and structured output?
Yes. 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.
How much video can Qwen 3.7 Flash process in one request?
Video up to two hours or 2 GB, and as many as 64 videos in a single request. Images are capped at 16 million pixels each, and higher resolution consumes more tokens.
How do I access Qwen 3.7 Flash through AI Gateway?
Authenticate with an AI Gateway API key or OIDC token and reference
alibaba/qwen3.7-flashas the model. You can call Qwen 3.7 Flash through AI SDK, Chat Completions API, Responses API, Messages API, or other API formats, from TypeScript or Python.What does Qwen 3.7 Flash cost?
See the pricing section on this page for today's rates. AI Gateway reflects each provider's pricing for Qwen 3.7 Flash with no markup.
Does Qwen 3.7 Flash support zero data retention?
Yes, Zero Data Retention is available for this model. Zero Data Retention is offered on a per-provider basis. See https://vercel.com/docs/ai-gateway/capabilities/zdr for details.