Qwen 3.7 Flash
import { streamText } from 'ai'
const result = streamText({ model: 'alibaba/qwen3.7-flash', prompt: 'Why is the sky blue?'})Playground
Try out Qwen 3.7 Flash by Alibaba Cloud. Usage is billed to your team at API rates. Free users (those who haven't made a payment) get $5 of credits every 30 days.
Qwen 3.7 Flash
Providers
Route requests across multiple providers. Copy a provider slug to set your preference. Visit the docs for more info. Using a provider means you agree to their terms, listed under Legal.
| Provider |
|---|
P50 throughput on live AI Gateway traffic, in tokens per second (TPS). Visit the docs for more info.
P50 time to first token (TTFT) on live AI Gateway traffic, in milliseconds. View the docs for more info.
Direct request success rate on AI Gateway and per-provider. Visit the docs for more info.
More models by Alibaba Cloud
| Model |
|---|
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.
What To Consider When Choosing a Provider
- Configuration: Qwen 3.7 Flash runs reasoning by default, so every request spends thinking tokens unless you turn it off. High-volume classification and extraction jobs usually cost less with thinking disabled, so route simple calls that way.
- Configuration: Alibaba Cloud publishes no benchmark table for Qwen 3.7 Flash, so evaluate the model on representative inputs rather than assuming parity with the Plus tier. Image resolution drives token count directly, and full-resolution screenshots can dominate the cost of a high-volume pipeline.
- Zero Data Retention: AI Gateway supports Zero Data Retention for this model via direct gateway requests (BYOK is not included). To configure this, check the documentation.
- Authentication: AI Gateway authenticates requests using an API key or OIDC token. You do not need to manage provider credentials directly.
When to Use Qwen 3.7 Flash
Best for
- High-Volume Multimodal Pipelines: Classification, extraction, and routing over images and video at Flash-tier cost
- Visual Agent Workflows: Search and code-interpreter agents that read screens and act on what they see
- Spatial Intelligence Tasks: Stronger universal object recognition and improved real-world perception
- Long Video Understanding: Clips up to two hours or 2 GB in a single request
- Long-Context Multimodal Input: Full documents, screenshot histories, and frame sequences within 991K tokens
Consider alternatives when
- Flagship Multimodal Quality: Qwen3.8-Max leads the Qwen lineup on the hardest visual and coding work
- Balanced Quality And Cost: Qwen3.7-Plus sits between the Flash and Max tiers with a larger image allowance
- Text-Only Agent Workloads: Qwen3.7-Max is the Max-tier release in the 3.7 line for long tool-calling loops
- Image Or Video Generation: A generation-class model fits tasks that produce pixels rather than read them
Conclusion
Qwen 3.7 Flash brings the Qwen 3.7 generation's vision-language work to the cheapest tier in the line, with text, image, and video input inside a context window of 991K tokens. Route alibaba/qwen3.7-flash through AI Gateway to run high-volume multimodal pipelines behind one API key, then escalate to Qwen3.7-Plus or Qwen3.8-Max when a task needs more headroom.