Qwen3-VL: Models, Inputs, Context, and Local Setup

Qwen3-VL is an open-weight vision-language model family that accepts text, images, and video and produces text. Qwen publishes Dense and mixture-of-experts sizes, with separate Instruct and Thinking checkpoints for every core size.

Last verified: August 4, 2026.

Model-ID correction: Qwen/Qwen3-VL-7B-Instruct is not an official Qwen3-VL repository. Use an exact published ID such as Qwen/Qwen3-VL-8B-Instruct.

Official Qwen3-VL model sizes

Architecture Instruct checkpoint Thinking checkpoint
Dense 2B Qwen/Qwen3-VL-2B-Instruct Qwen/Qwen3-VL-2B-Thinking
Dense 4B Qwen/Qwen3-VL-4B-Instruct Qwen/Qwen3-VL-4B-Thinking
Dense 8B Qwen/Qwen3-VL-8B-Instruct Qwen/Qwen3-VL-8B-Thinking
MoE 30B-A3B Qwen/Qwen3-VL-30B-A3B-Instruct Qwen/Qwen3-VL-30B-A3B-Thinking
Dense 32B Qwen/Qwen3-VL-32B-Instruct Qwen/Qwen3-VL-32B-Thinking
MoE 235B-A22B Qwen/Qwen3-VL-235B-A22B-Instruct Qwen/Qwen3-VL-235B-A22B-Thinking

Instruct and Thinking are separate repositories. Select an -Instruct ID for direct instruction following or a -Thinking ID for reasoning-enhanced responses. The official local examples do not document an enable_thinking switch that turns one checkpoint into the other.

Qwen3-VL inputs and outputs

Modality Input Output
Text Yes Yes
Image Yes No native image generation
Video Yes No native video generation
Audio No documented native input No
Speech No documented native input No

Qwen3-VL can return text containing OCR results, coordinates, bounding boxes, HTML, CSS, JavaScript, or proposed interface actions. These remain text outputs; they are not generated images, rendered video, or automatically executed actions.

Documented capabilities

  • Image question answering and visual description.
  • OCR and structured document understanding.
  • Object grounding using points or bounding boxes.
  • Video understanding and event localization.
  • Spatial reasoning from visual evidence.
  • Interpreting graphical interfaces for visual-agent workflows.
  • Generating text-based code from visual references.

For GUI-agent applications, the model can interpret the interface and propose an action. A separate application must validate, authorize, and execute that action.

Native 256K context and optional 1M configuration

Qwen3-VL has a native 256K context window, represented as 262,144 positions. Qwen documents extending the model to one million positions using YaRN-supported inference frameworks.

The 1M configuration is not native and must not be presented as available without setup changes. Images and video are converted into visual tokens, which also consume the context budget.

Verified Transformers example

The following example uses the official 8B Instruct repository instead of the nonexistent 7B ID.

pip install "transformers>=4.57.0" accelerate
from transformers import AutoModelForImageTextToText, AutoProcessor

model_id = "Qwen/Qwen3-VL-8B-Instruct"

model = AutoModelForImageTextToText.from_pretrained(
    model_id,
    dtype="auto",
    device_map="auto",
)

processor = AutoProcessor.from_pretrained(model_id)

messages = [
    {
        "role": "user",
        "content": [
            {
                "type": "image",
                "image": (
                    "https://qianwen-res.oss-cn-beijing.aliyuncs.com/"
                    "Qwen-VL/assets/demo.jpeg"
                ),
            },
            {
                "type": "text",
                "text": (
                    "Describe this image and separate "
                    "visible facts from inference."
                ),
            },
        ],
    }
]

inputs = processor.apply_chat_template(
    messages,
    tokenize=True,
    add_generation_prompt=True,
    return_dict=True,
    return_tensors="pt",
).to(model.device)

generated = model.generate(
    **inputs,
    max_new_tokens=256,
)

trimmed = [
    output_ids[len(input_ids):]
    for input_ids, output_ids in zip(
        inputs.input_ids,
        generated,
    )
]

answer = processor.batch_decode(
    trimmed,
    skip_special_tokens=True,
    clean_up_tokenization_spaces=False,
)

print(answer[0])

The same structure can be used with another exact official checkpoint ID, subject to the available hardware and the checkpoint’s architecture.

Serving with vLLM

pip install "vllm>=0.11.0"

vllm serve Qwen/Qwen3-VL-8B-Instruct \
  --host 0.0.0.0 \
  --port 8000

Do not attach a fixed RTX, VRAM, media-count, or throughput promise to this command. Requirements depend on model size, weight format, context allocation, image resolution, video sampling, framework version, and concurrency.

Open-weight IDs and the October 10 managed-API lifecycle

A Hugging Face repository such as Qwen/Qwen3-VL-235B-A22B-Instruct is different from the lowercase managed API identifier qwen3-vl-235b-a22b-instruct. Do not interchange them in code.

The reviewed lifecycle tables schedule the listed lowercase Qwen3-VL service IDs for retirement on October 10, 2026, but their replacement differs for part of the family:

Managed service group QwenCloud lifecycle target Alibaba Model Studio global target
Listed 8B Instruct/Thinking and Qwen3-VL Flash entries qwen3.7-flash qwen3.6-flash
Listed 30B-A3B, 32B, and 235B-A22B Instruct/Thinking entries qwen3.7-plus qwen3.7-plus

Migration rule: check the exact provider, region, endpoint, and model ID before migrating. This hosted-service notice does not retire the public Qwen/Qwen3-VL-* repositories, remove downloaded weights, or change their repository licenses.

Use the Qwen API guide for route and identifier checks. Official evidence: QwenCloud model deprecation and Alibaba Model Studio decommissioning.

Accuracy and safety limitations

  • OCR and visual descriptions can contain omissions or invented details.
  • Object grounding should be tested on the application’s image types.
  • GUI actions must not execute without application-side authorization.
  • Qwen3-VL is not a medically validated diagnostic system.
  • General visual recognition should not be advertised as reliable biometric identification or identity verification.
  • Sensitive documents and media require appropriate privacy controls.

Frequently asked questions

Is Qwen3-VL-7B-Instruct an official model?

No. The official family uses 2B, 4B, 8B, 30B-A3B, 32B, and 235B-A22B names. Replace 7B examples with an exact supported ID such as Qwen/Qwen3-VL-8B-Instruct.

Can Qwen3-VL generate images?

No. It accepts images and produces text. Use a dedicated image-generation model for image output.

Does Qwen3-VL accept audio?

Audio is not a documented native input for the open Qwen3-VL checkpoints. Use Qwen3-Omni when audio understanding is required.

Is the 1M context native?

No. The native context is 256K. One million positions require YaRN configuration.

Official references

This is an independent technical guide and is not affiliated with or endorsed by Alibaba Cloud or the Qwen team.

Leave a Reply

Your email address will not be published. Required fields are marked *