Skip to main content
Text

Text generation and visual understanding

Choose a model for AI agents, chatbots, document processing, image and video understanding, and more.

Choose a model

Most Qwen models accept text, images, and video as input and answer with text. Use the same model to generate content, understand images, or analyze video — you do not need to switch to a VL model just because the input contains images or video.
  • Default: qwen3.7-plus — balanced performance and cost.
  • Highest quality: qwen4-max-preview (Token Plan only) — for tasks that demand stronger reasoning and understanding.
  • Lowest cost: qwen3.8-flash — confirm that quality meets your needs before production use.
See the model tables below for input modalities and feature support.
qwen4-max-preview (Token Plan only) is available through Token Plan only, not pay-as-you-go. It supports a 1M context window and up to 393,216 output tokens (thinking and answer combined), text, image and video input, function calling, built-in tools, and structured output.

Using OpenClaw or Claude Code?

qwen3.7-plus — balanced performance and cost, full tool support, 1M context for large codebases. For advanced reasoning, choose the flagship qwen4-max-preview (Token Plan only). If you prefer third-party models, choose kimi-k3 for long-horizon coding or glm-5.3 for open-source SOTA coding and agent tasks.

Migrate from closed-source models

Map your current GPT, Claude, or Gemini model to an equivalent QwenCloud model.
TierClosed-source examplesQwenCloud recommendation
Highest capabilityGPT-6 Astra, Claude Opus 5.5, Gemini 4 Argonqwen4-max-preview (Token Plan only), qwen3.8-max, kimi-k3
BalancedGPT-6.1 Sol, Claude Sonnet 5.5qwen3.7-plus, deepseek-v4.1-flash-1017, glm-5.3
Lightweight & low-costGPT-6 Luna, Claude Haiku 5.5, Gemini 3.8 Flashqwen3.8-flash, MiniMax-M2.5
All models recommended above also support image and video understanding, so you can use them for image analysis, video understanding, and OCR.

For other applications

Chatbots, content generation, summarization, document processing, meeting notes, and data analytics — start with qwen3.7-plus, which balances performance and cost with a 1M-token context window, Function Calling support, and built-in tools. To cut costs, switch to qwen3.8-flash, which delivers near-flagship performance at a lower price with the same context length. For the advanced reasoning, such as complex data analysis and multi-step logic, use the flagship qwen4-max-preview (Token Plan only). When a document exceeds 1 million tokens, import it into a knowledge base, or process it in segments.

Context window

1M tokens is roughly 1.5 million Chinese characters.
  • Long documents or large codebases → qwen4-max-preview (Token Plan only), qwen3.8-max / qwen3.7-max / qwen3.7-plus / qwen3.8-flash (1M)
  • Third-party models such as kimi-k3 / glm-5.3 / deepseek-v4.1-flash-1017 also offer a 1M-token context window
  • Standard tasks → 128k–256k is plenty

Thinking mode

Step-by-step reasoning for multi-step math, debugging, architecture planning, or legal cross-referencing. Toggle with enable_thinking, or use reasoning.effort in the Responses API to control thinking depth. All Qwen3+ models support it — most are hybrid, so you can switch per request.

Function calling + built-in tools

Let the model take actions: check weather, query a database, book a meeting.
  • Function calling (you define tools, model calls them): all general-purpose models
  • Built-in tools (web search, code execution — no setup): qwen4-max-preview (Token Plan only), qwen3.8-max, qwen3.8-max-0902, qwen3.8-flash, qwen3.7-max, qwen3.7-plus, qwen3.7-flash, qwen3.6-flash, qwen3.5-plus, qwen3.5-flash

Image and video understanding

Start with qwen4-max-preview (Token Plan only) — a Qwen flagship model, 1M context, 2-hour video support, and the full feature set including function calling and built-in tools. Once your use case works well, try qwen3.7-plus or qwen3.8-flash to reduce cost — near-flagship quality with the same context and features.

Image resolution

Most models support up to 16M pixels per image. Higher resolution costs more tokens: each image uses h × w / (32 × 32) + 2 tokens.

Video support

  • Up to 2 hours / 2GB → qwen4-max-preview (Token Plan only), qwen3.8-max, qwen3.8-max-0902, qwen3.8-flash, qwen3.8-omni-flash, qwen3.7-plus, qwen3.7-flash, qwen3.6-plus, qwen3.6-flash, qwen3.5-plus, qwen3.5-flash
  • Up to 1 hour / 2GB → qwen3.5-omni-plus, qwen3.5-omni-flash (also accepts audio — see Speech models)
To understand sound in a video or provide audio input, use qwen3.8-omni-flash, which produces text output. See Qwen3.8-Omni-Flash for invocation examples.

Function calling + built-in tools

Let the model take actions based on what it sees in images or video.
  • Function calling: Qwen3.8, Qwen3.7, Qwen3.6, Qwen3.5, Qwen3.5-Omni (including realtime models), and Qwen3-VL models
  • Built-in tools (web search, code execution — no setup): qwen4-max-preview (Token Plan only), qwen3.8-max, qwen3.8-max-0902, qwen3.8-flash, qwen3.7-plus, qwen3.7-flash, qwen3.6-plus, qwen3.6-flash, qwen3.5-plus, qwen3.5-flash only. qwen3.8-omni-flash supports the web_search built-in tool.

Structured output

Get valid JSON from visual input — e.g., extract product info from a photo. Available on Qwen3.8, Qwen3.7, Qwen3.6, and Qwen3.5 in non-thinking mode. Qwen3.8-Omni-Flash supports JSON Object mode in both thinking and non-thinking modes.

Text extraction

For text extraction, qwen3.5-ocr supports document parsing, text localization, key information extraction, multi-turn conversations, and PDF parsing. It is available in China North 2 (Beijing) only. See Text extraction.

Text generation

ModelContextThinkingFunction callingBuilt-in toolsStructured output
qwen4-max-preview (Token Plan only)1M✓✓✓✓
qwen3.8-max1M✓✓✓✓
qwen3.8-max-09021M✓✓✓✓
qwen3.8-flash1M✓✓✓✓
qwen3.7-plus1M✓✓✓✓
qwen3.7-flash1M✓✓✓✓
deepseek-v4.1-flash-10171M✓✓✓✓
glm-5.31M✓✓—✓
kimi-k3.1-pro1M✓✓✓ (Responses)✓ (JSON Mode)
kimi-k31M✓✓—✓
MiniMax-M2.5200k✓✓——

Image and video parameters

ModelContextMax pixels/imageMax video durationMax video sizeMax images (URL)Max images (Base64)Max videosFunction callingBuilt-in toolsStructured output
qwen4-max-preview (Token Plan only)1M16M2h2GB2,048Not specified64✓✓✓
qwen3.8-max1M16M2h2GB2,04825064✓✓✓
qwen3.8-flash1M16M2h2GB2,04825064✓✓✓
qwen3.8-omni-flash1M16M2h2GB2,04825064✓web_searchJSON Object
qwen3.7-plus1M16M2h2GB2,04825064✓✓✓
qwen3.6-plus1M16M2h2GB25625064✓✓✓
qwen3.6-flash1M16M2h2GB25625064✓✓✓
qwen3.5-flash1M16M2h2GB25625064✓✓✓
qwen3.5-omni-plus256k—1h2GB2,048250512✓—JSON Object
qwen3.5-omni-flash256k—1h2GB2,048250512✓——

All models

Text generation

In the console, the model list, search results, versions, prices, and rate limits follow the current region. Models differ by region, and some are available only in specific regions, so you can only compare models within the same region. Before you choose a model, check the region's tab in Model prices. See Regions and endpoints.
The model pages in the console, including model details and model comparison, show the models, prices, and rate limits of the region selected in the upper-right corner. A model offered in one region may not be listed in another. If you switch regions while a model detail page or the comparison list is open, a model that is not available in the new region is flagged, and the page shows the other regions where the model is available. The comparison page stays open even if only one model remains.
Model IDContextMax OutputThinking BudgetFunction callingBuilt-in toolsStructured output
qwen4-max-preview (Token Plan)1M393,216 (thinking + answer)Not specified upstream✓✓✓
Model IDContextMax OutputThinking BudgetFunction callingBuilt-in toolsStructured output
qwen3.8-max1M128k256k✓✓✓
qwen3.8-max-09021M128k256k✓✓✓
qwen3.8-flash1M128k256k✓✓✓
qwen3.8-2.4t-a95b1M128k128k✓✓✓
Model IDContextMax OutputThinking BudgetFunction callingBuilt-in toolsStructured output
qwen3.7-max1M64k256k✓✓—
qwen3.7-max-2026-06-081M64k256k✓✓—
qwen3.7-max-2026-05-201M64k256k✓✓—
qwen3.7-max-preview1M64k256k✓✓—
qwen3.7-max-2026-05-171M64k256k✓✓—
qwen3.7-plus1M64k256k✓✓✓
qwen3.7-plus-2026-05-261M64k256k✓✓✓
qwen3.7-flash1M64k256k✓✓✓
qwen3.7-flash-2026-07-151M64k256k✓✓✓
Model IDContextMax OutputThinking BudgetFunction callingBuilt-in toolsStructured output
qwen3.6-flash1M64k80k✓✓✓
qwen3.6-flash-2026-04-161M64k80k✓✓✓
qwen3.6-35b-a3b256k64k80k✓✓✓
qwen3.6-27b256k64k80k✓✓✓
qwen3.6-plus1M64k80k✓✓✓
qwen3.6-plus-2026-04-021M64k80k✓✓✓
Model IDContextMax OutputThinking BudgetFunction callingBuilt-in toolsStructured output
qwen3.5-plus1M64k80k✓✓✓
qwen3.5-plus-2026-04-201M64k80k✓✓✓
qwen3.5-plus-2026-02-151M64k80k✓✓✓
qwen3.5-flash1M64k80k✓✓✓
qwen3.5-flash-2026-02-231M64k80k✓✓✓
qwen3.5-397b-a17b256k64k80k✓✓✓
qwen3.5-122b-a10b256k64k80k✓✓✓
qwen3.5-27b256k64k80k✓✓✓
qwen3.5-35b-a3b256k64k80k✓✓✓

Translation

Model IDContextMax OutputFunction callingBuilt-in toolsStructured output
qwen-mt-plus16k8k———
qwen-mt-flash16k8k———
qwen-mt-lite16k8k———

Character roleplay

Model IDContextMax OutputFunction callingBuilt-in toolsStructured output
qwen-plus-character32k4k—✓✓
qwen-plus-character-ja8k4k———
qwen-flash-character32k4k—✓✓

Intent understanding

Model IDContextMax OutputFunction callingBuilt-in toolsStructured output
tongyi-intent-detect-v38k1k———
tongyi-intent-detect-v3 is available in China North 2 (Beijing) only. It classifies user intent and returns tool call information as tagged text instead of native tool calls. See Intent understanding.

Deep research

Model IDContextMax OutputFunction callingBuilt-in toolsStructured output
qwen-deep-research1M32k———
qwen-deep-research is available in China North 2 (Beijing) only. It plans research, runs multiple rounds of web searches, and generates a structured report. See Deep research.

Document mining

Model IDContextMax OutputFunction callingBuilt-in toolsStructured output
qwen-doc-turbo256k8k———
qwen-doc-turbo is available in China North 2 (Beijing) only. It extracts structured data from documents for information extraction, content moderation, classification, and summarization. See Document mining.
Non-Qwen models available through the same API.
Model IDContextMax OutputThinking BudgetFunction callingBuilt-in toolsStructured output
deepseek-v4.1-flash1M384k **✓✓✓
deepseek-v4.1-flash-10171M384k **✓✓✓
deepseek-v4-pro-08131M384k **✓✓✓
deepseek-v4-pro1M384k **✓✓✓
deepseek-v4-flash-07311M384k **✓——
* DeepSeek V4 models share a 384k total budget across output and thinking.GLM
Model IDContextThinkingFunction callingBuilt-in toolsStructured output
glm-5.31M✓✓—✓
glm-5.21M✓✓—✓
glm-5.2-fast-preview1M✓✓✓✓
glm-5.1198k✓✓—✓
Kimi
Model IDContextThinkingFunction callingBuilt-in toolsStructured output
kimi-k3.1-pro1M✓✓✓ (Responses)✓ (JSON Mode)
kimi-k31M✓✓—✓
kimi-k2.7-code256k✓✓✓✓
kimi-k2.6256k✓✓——
kimi-k2.5256k✓✓——
kimi-k2.6 is available in China North 2 (Beijing) only. kimi-k2.5 is available in China North 2 (Beijing), Germany (Frankfurt), Japan (Tokyo), and US (Virginia). See Kimi.MiniMax
Model IDContextThinkingFunction callingBuilt-in toolsStructured output
MiniMax-M2.5200k✓✓——
MiniMax-M2.5 is available in China North 2 (Beijing) only. See MiniMax.
The following models are legacy and no longer recommended. Visit the Model Marketplace to view detailed model parameters, such as context window and billing.

Qwen3-Coder

Model IDContextMax OutputFunction callingBuilt-in toolsStructured output
qwen3-coder-flash1M64k✓——
qwen3-coder-flash-2025-07-281M64k✓——

Legacy (qwen-plus/max/flash/turbo)

Model IDContextMax OutputThinking BudgetFunction callingBuilt-in toolsStructured output
qwen-plus1M32k80k✓✓✓
qwen-plus-latest1M32k80k✓✓✓
qwen-plus-2025-12-011M32k80k✓✓✓
qwen-plus-2025-07-14128k16k80k✓✓✓
qwen-plus-2025-04-28128k16k80k✓—✓
qwen-plus-2025-01-25128k8k—✓—✓
qwen-max32k8k—✓✓✓
qwen-max-latest32k8k—✓✓✓
qwen-max-2025-01-2532k8k—✓✓✓
qwen-flash1M32k80k✓✓✓
qwen-flash-2025-07-281M32k80k✓✓✓

DeepSeek-R1 distilled

Model IDContextThinkingFunction callingBuilt-in toolsStructured output
deepseek-r1-distill-llama-70b32k✓———
deepseek-r1-distill-qwen-1.5b32k✓———
These models are available in China North 2 (Beijing) only.

Visual understanding

In the console, the model list, search results, versions, prices, and rate limits follow the current region. Models differ by region, and some are available only in specific regions, so you can only compare models within the same region. Before you choose a model, check the region's tab in Model prices. See Regions and endpoints.
The model pages in the console, including model details and model comparison, show the models, prices, and rate limits of the region selected in the upper-right corner. A model offered in one region may not be listed in another. If you switch regions while a model detail page or the comparison list is open, a model that is not available in the new region is flagged, and the page shows the other regions where the model is available. The comparison page stays open even if only one model remains.
Model IDInputOutputContextMax OutputMax images (URL)Max images (Base64)Max videosFunction callingBuilt-in toolsStructured output
qwen4-max-preview (Token Plan)Text, image, videoText1M393,216 (thinking + answer)2,048Not specified upstream64✓✓✓
Model IDInputOutputContextMax OutputMax images (URL)Max images (Base64)Max videosFunction callingBuilt-in toolsStructured output
qwen3.8-maxText, image, videoText1M128k2,04825064✓✓✓
qwen3.8-max-0902Text, image, videoText1M128k2,04825064✓✓✓
qwen3.8-flashText, image, videoText1M128k2,04825064✓✓✓
Model IDInputOutputContextMax OutputMax images (URL)Max images (Base64)Max videosFunction callingBuilt-in toolsStructured output
qwen3.7-max-2026-06-08Text, image, videoText1M64k2,04825064✓✓—
qwen3.7-plusText, image, videoText1M64k2,04825064✓✓✓
qwen3.7-plus-2026-05-26Text, image, videoText1M64k2,04825064✓✓✓
qwen3.7-flashText, image, videoText1M64k25625064✓✓✓
qwen3.7-flash-2026-07-15Text, image, videoText1M64k25625064✓✓✓
Model IDInputOutputContextMax OutputMax images (URL)Max images (Base64)Max videosFunction callingBuilt-in toolsStructured output
qwen3.6-plusText, image, videoText1M64k25625064✓✓✓
qwen3.6-plus-2026-04-02Text, image, videoText1M64k25625064✓✓✓
qwen3.6-flashText, image, videoText1M64k25625064✓✓✓
qwen3.6-flash-2026-04-16Text, image, videoText1M64k25625064✓✓✓
qwen3.6-35b-a3bText, image, videoText32k8k25625064✓✓✓
qwen3.6-27bText, image, videoText32k8k25625064✓—✓
Model IDInputOutputContextMax OutputMax images (URL)Max images (Base64)Max videosFunction callingBuilt-in toolsStructured output
qwen3.5-plusText, image, videoText1M64k25625064✓✓✓
qwen3.5-plus-2026-04-20Text, image, videoText1M64k25625064✓✓✓
qwen3.5-plus-2026-02-15Text, image, videoText1M64k25625064✓✓✓
qwen3.5-flashText, image, videoText1M64k25625064✓✓✓
qwen3.5-flash-2026-02-23Text, image, videoText1M64k25625064✓✓✓
qwen3.5-397b-a17bText, image, videoText32k8k25625064✓✓✓
qwen3.5-122b-a10bText, image, videoText32k8k25625064✓✓✓
qwen3.5-27bText, image, videoText32k8k25625064✓✓✓
qwen3.5-35b-a3bText, image, videoText32k8k25625064✓✓✓
Unlike other models on this page, Qwen3.5-Omni accepts audio input and can output both text and speech.Standard
Model IDInputOutputContextMax OutputMax images (URL)Max images (Base64)Max videosFunction callingBuilt-in toolsStructured output
qwen3.5-omni-plusText, image, audio, videoText, audio256k64k2,048250512✓——
qwen3.5-omni-plus-2026-03-15Text, image, audio, videoText, audio256k64k2,048250512✓——
qwen3.5-omni-flashText, image, audio, videoText, audio256k64k2,048250512✓——
qwen3.5-omni-flash-2026-03-15Text, image, audio, videoText, audio256k64k2,048250512✓——
Realtime — streaming audio input with built-in Voice Activity Detection (VAD).
Model IDInputOutputContextMax OutputFunction calling
qwen3.5-omni-plus-realtimeText, image, audio (streaming)Text, audio256k64k✓
qwen3.5-omni-plus-realtime-2026-03-15Text, image, audio (streaming)Text, audio256k64k✓
qwen3.5-omni-flash-realtimeText, image, audio (streaming)Text, audio256k64k✓
qwen3.5-omni-flash-realtime-2026-03-15Text, image, audio (streaming)Text, audio256k64k✓
Older model versions retained for backward compatibility. We recommend Qwen3.5 or Qwen3.5-Omni for new projects.
Model IDInputOutputContextMax OutputMax images (URL)Max images (Base64)Max videosFunction callingBuilt-in toolsStructured output
qwen-vl-ocrText, imageText38k8k256250————
qwen-vl-ocr-2025-11-20Text, imageText38k8k256250————
qwen3-vl-plusText, image, videoText256k32k25625064✓—✓
qwen3-omni-flashText, image, audio, videoText, audio64k16k2,0482501✓——
qwen2.5-vl-72b-instructText, image, videoText128k8k25625064✓—✓
qwen2.5-vl-32b-instructText, image, videoText128k8k25625064✓—✓

Learn more