★ Reading this for free? Get 25 structured AI courses + per-chapter AI tutor — the first chapter of every course free, no card.Start free in 30 secondsOr own every course: $149 once
Models

Qwen 3 VL Local Setup Guide (2026): The Best Open Vision-Language Model

May 1, 2026
22 min read
Barsha Mohapatra

Want to go deeper than this article?

Free account unlocks the first chapter of all 25 courses — RAG, agents, MCP, voice AI, MLOps, real GitHub repos.

📚AI Learning Path

Go from reading about AI to building with AI 25 structured courses. Hands-on projects. Runs on your machine. Start free.

Start free
Or own it for life — Lifetime $149, pay once

Qwen3-VL is Alibaba's vision-language family and the default open-weights choice for running image, document and video understanding locally. It ships as 2B / 4B / 8B / 32B dense models plus two mixture-of-experts models (30B-A3B and 235B-A22B), each in Instruct and Thinking versions, under the Apache 2.0 license. Native 256K context (expandable to 1M), OCR in 32 languages, multi-image reasoning, chart and table understanding, and hours-long video with timestamp grounding. For local document analysis, video Q&A, accessibility tools and visual chatbots, it is the open model to start with in 2026.

This guide covers the Qwen3-VL family, the Ollama tags that actually exist, setup across Ollama / vLLM / llama.cpp, image and video input formats, OCR and document workflows, fine-tuning, and how it compares with Llama 3.2 Vision, Pixtral and GPT-4o on licensing and features. Updated November 2, 2026: sizes and tags re-checked against the Ollama registry and the Qwen3-VL model cards.

Table of Contents

  1. What Qwen 3 VL Is
  2. Family: 2B / 4B / 8B / 32B + MoE
  3. Hardware Requirements
  4. Qwen 3 VL vs Llama 3.2 Vision vs Pixtral vs GPT-4o
  5. vLLM Setup
  6. Ollama Setup
  7. llama.cpp / GGUF Setup
  8. Image Input Format
  9. Video Understanding
  10. OCR and Document Analysis
  11. Multi-Image Reasoning
  12. Multilingual Vision
  13. Fine-Tuning
  14. Speed and Memory
  15. Tuning Recipes
  16. Production Deployment
  17. Licensing
  18. Troubleshooting
  19. FAQ

Reading articles is good. Building is better.

Free account = the first chapter of all 25 courses, with a per-chapter AI tutor. No card.

What Qwen 3 VL Is

Qwen3-VL (Qwen/Qwen3-VL-* on Hugging Face, QwenLM/Qwen3-VL on GitHub) is Alibaba's vision-language family: a Qwen3 language model plus a ViT vision encoder. Qwen lists three architecture changes over Qwen2.5-VL — Interleaved-MRoPE positional embeddings across time, width and height for long video, DeepStack fusion of multi-level ViT features for finer detail, and text-timestamp alignment for locating events in video. License: Apache 2.0.

Release timeline (from the Qwen3-VL GitHub news log):

  • September 23, 2025 — Qwen3-VL-235B-A22B (Instruct and Thinking)
  • October 4, 2025 — Qwen3-VL-30B-A3B, plus FP8 versions
  • October 15, 2025 — Qwen3-VL-4B and 8B
  • October 21, 2025 — Qwen3-VL-2B and 32B

Capabilities Qwen lists:

  • High-fidelity image understanding
  • OCR in 32 languages (up from 10), more robust to blur, low light and tilted pages
  • Chart, table and equation parsing
  • Multi-image reasoning (compare two images, find differences)
  • Hours-long video with second-level indexing
  • Native 256K context (text + visual tokens), expandable to 1M with YaRN

Family: 2B / 4B / 8B / 32B + MoE

VariantTypeOllama tagOllama download (Q4_K_M)Best For
Qwen3-VL 2BDenseqwen3-vl:2b1.9 GBEdge / mobile
Qwen3-VL 4BDenseqwen3-vl:4b3.3 GBLaptops, 8 GB GPUs
Qwen3-VL 8BDenseqwen3-vl:8b6.1 GBDefault local
Qwen3-VL 32BDenseqwen3-vl:32b21 GBHigh quality on 24 GB+
Qwen3-VL 30B-A3BMoE, ~3B activeqwen3-vl:30b20 GBFaster than the 32B on 24 GB+
Qwen3-VL 235B-A22BMoE, ~22B activeqwen3-vl:235b143 GBFlagship, server-class

Sizes from the Ollama registry (November 2, 2026); the 4B and 8B include a separate vision projector. There is no 7B or 72B Qwen3-VL — those sizes belong to Qwen2.5-VL (qwen2.5vl:7b, qwen2.5vl:72b).

For most local users: the 8B. Thinking variants (qwen3-vl:8b-thinking) reason step by step before answering, at the cost of more tokens.


Hardware Requirements

GPUVariantNotes
RTX 3060 12 GB8B Q4_K_M (6.1 GB)Comfortable, room for images
RTX 4090 24 GB32B Q4_K_M (21 GB) or 30B-A3B (20 GB)Tight; keep images small
RTX 5090 32 GB32B Q4_K_MComfortable
Pro W7900 48 GB32B Q8_0 (36 GB, qwen3-vl:32b-instruct-q8_0)Headroom for context
2x RTX 4090 (48 GB)32B BF16-class via vLLM, splitMulti-GPU
H100 80 GB32B BF16 (~64 GB of weights)Production
Mac, 192 GB+ unified235B-A22B (143 GB)The only single-box route to the flagship

Image and video tokens sit on top of the weights; large images and long clips need several extra GB of headroom.


Own it instead of renting it

Run this on your own machine and stop paying every month

Pay once and keep it. No renewal, no per-token bill, and nothing you feed it ever leaves your hardware.

Qwen 3 VL vs Llama 3.2 Vision vs Pixtral vs GPT-4o

Qwen3-VLLlama 3.2 VisionPixtral 12BGPT-4o
Sizes2B, 4B, 8B, 32B; MoE 30B-A3B, 235B-A22B11B, 90B12BNot disclosed
LicenseApache 2.0Llama 3.2 Community License (multimodal rights not granted to EU-domiciled users)Apache 2.0Closed, API only
Context256K native, up to 1M128K128K128K
Video inputYesNoNoVia frames
OCR languages32 (Qwen)Not publishedNot publishedNot published
Run locallyYes (qwen3-vl)Yes (llama3.2-vision)Yes (vLLM, Hugging Face)No

Qwen's published benchmark scores (Instruct models)

These are Qwen's own numbers, copied from the benchmark charts on the official Hugging Face model cards (Qwen/Qwen3-VL-2B-Instruct, -4B, -8B and -32B, checked November 2, 2026). Qwen notes that the evaluations were run through API calls and that video results use a 256K-token context with up to 2,048 frames. They are vendor-reported, not independent:

Benchmark (Qwen-reported)Qwen3-VL 2BQwen3-VL 4BQwen3-VL 8BQwen3-VL 32B
MMMU (val)53.467.469.676.0
MMBench-EN (dev, v1.1)77.885.185.088.9
MathVista (mini)61.373.777.283.8
DocVQA (test)93.395.396.196.9
InfoVQA (test)72.480.383.187.0
OCRBench (out of 1,000)858881896895
VideoMME (without subtitles)61.969.371.476.6

Source: benchmark charts on the Qwen3-VL Instruct model cards on Hugging Face (released October 2025); the Qwen3-VL Technical Report (arXiv, November 26, 2025) describes the evaluation. The 30B-A3B and 235B-A22B models have their own tables on their model cards.

Two things stand out in Qwen's own numbers: the 8B is within a point or two of the 32B on document benchmarks (DocVQA, OCRBench), and the gap opens on reasoning-heavy tests (MMMU, MathVista) and video. That fits the sizing advice above: the 8B as the default for OCR and document work, the 32B when you need harder reasoning and have the VRAM.

Qwen also notes that some prompts were modified and some benchmarks are internally constructed, and each vendor evaluates differently, so we do not merge these with other vendors' scores into one cross-vendor table. The practical test is a sample of your own images and documents run through the 8B and one alternative.


vLLM Setup

Qwen3-VL needs vLLM 0.11.0 or newer:

vllm serve Qwen/Qwen3-VL-8B-Instruct \
    --max-model-len 32768 \
    --limit-mm-per-prompt '{"image": 4, "video": 1}' \
    --enable-prefix-caching

For the 32B in FP8 (Qwen publishes official FP8 checkpoints):

vllm serve Qwen/Qwen3-VL-32B-Instruct-FP8 \
    --tensor-parallel-size 2 \
    --max-model-len 32768

--limit-mm-per-prompt controls max images/videos per request.


Ollama Setup

ollama run qwen3-vl:8b

Pass images via the API (Ollama accepts images, not video):

curl http://localhost:11434/api/chat -d '{
  "model": "qwen3-vl:8b",
  "messages": [{
    "role": "user",
    "content": "What is in this image?",
    "images": ["base64-encoded-image"]
  }]
}'

llama.cpp / GGUF Setup

Qwen publishes official GGUF files, with the vision projector as a separate mmproj file:

huggingface-cli download Qwen/Qwen3-VL-8B-Instruct-GGUF \
    Qwen3VL-8B-Instruct-Q4_K_M.gguf \
    mmproj-Qwen3VL-8B-Instruct-F16.gguf \
    --local-dir ./models

./llama-mtmd-cli \
    -m models/Qwen3VL-8B-Instruct-Q4_K_M.gguf \
    --mmproj models/mmproj-Qwen3VL-8B-Instruct-F16.gguf \
    -ngl 999 -c 32768 \
    --image picture.jpg \
    -p "Describe this image."

The mmproj file is the vision projector — required for image input. The repo also has Q8_0 and F16 weights.


Image Input Format

OpenAI-compatible:

{
  "model": "qwen3-vl:8b",
  "messages": [{
    "role": "user",
    "content": [
      {"type": "text", "text": "Describe this image in detail."},
      {"type": "image_url", "image_url": {"url": "data:image/jpeg;base64,..."}}
    ]
  }]
}

Qwen3-VL handles arbitrary image resolutions via dynamic patching. Bigger images cost more visual tokens, so pre-resize to roughly 1024-2048px on the long side unless you need fine print.


Video Understanding

Video needs vLLM or transformers; Ollama does not take video input.

{
  "model": "Qwen/Qwen3-VL-8B-Instruct",
  "messages": [{
    "role": "user",
    "content": [
      {"type": "text", "text": "Summarize this video and identify key moments."},
      {"type": "video_url", "video_url": {"url": "file:///path/to/video.mp4"}}
    ]
  }]
}

Qwen's processor example samples at 2 fps and caps the visual tokens per video (256-16,384 in the README). For long videos, reduce the sampling rate or pre-segment.

Use cases:

  • Video Q&A: "What happened at 12:30?"
  • Summarization
  • Scene search
  • Accessibility (audio description)
  • Sports analysis
  • Security camera review

OCR and Document Analysis

For document workflows:

{
  "messages": [{
    "role": "user",
    "content": [
      {"type": "text", "text": "Extract all text from this invoice as JSON: {invoice_number, date, vendor, line_items, total}"},
      {"type": "image_url", "image_url": {"url": "data:image/jpeg;base64,..."}}
    ]
  }],
  "response_format": {"type": "json_schema", "json_schema": {...}}
}

Qwen3-VL handles:

  • Printed text in 32 languages (Qwen's count)
  • Handwriting (variable; test on your own samples)
  • Tables (preserves structure)
  • Charts (extracts data points)
  • Equations (outputs LaTeX)
  • Forms with checkboxes

For bulk speed-optimized OCR, use Tesseract or PaddleOCR, which are much lighter but lack reasoning. Qwen3-VL is for OCR + downstream reasoning in one shot.


Multi-Image Reasoning

{
  "messages": [{
    "role": "user",
    "content": [
      {"type": "text", "text": "What changed between these two images?"},
      {"type": "image_url", "image_url": {"url": "image1.jpg"}},
      {"type": "image_url", "image_url": {"url": "image2.jpg"}}
    ]
  }]
}

Several images fit in one request as long as their visual tokens fit the context you set. Useful for: before/after comparison, finding the odd-one-out, sequence understanding, comic / storyboard analysis.


Multilingual Vision

Qwen expanded OCR from 10 languages in Qwen2.5-VL to 32 in Qwen3-VL, and says it handles rare and ancient characters and technical jargon better. Chinese and English are its strongest languages, as for every Qwen model. Accuracy still varies by script, font and image quality, so for production on a specific language or script, validate on a labelled sample and fine-tune if needed.


Fine-Tuning

Use LLaMA-Factory (check its supported-models list for the current Qwen3-VL template name) or transformers + PEFT:

# LLaMA-Factory
llamafactory-cli train \
    --model_name_or_path Qwen/Qwen3-VL-8B-Instruct \
    --finetuning_type lora \
    --dataset my_vision_dataset \
    --template qwen3_vl \
    --output_dir ./qwen3vl_lora

Qwen3-VL requires transformers 4.57.0 or newer. For domain adaptation (medical imaging, legal contracts, manufacturing QA), start with a few hundred to a few thousand labelled image+text pairs and measure on a held-out set before scaling up.


Speed and Memory

There is no measured Qwen3-VL row in our benchmark table, so here is what bounds speed instead. Text generation is limited by memory bandwidth divided by model size: on an RTX 4090 (1,008 GB/s, NVIDIA), the 8B's 5.0 GB of language weights gives a ~200 tok/s ceiling and the 32B's 21 GB a ~48 tok/s ceiling. The 30B-A3B is a mixture-of-experts model, so a simple ceiling does not apply. Real speed lands below the ceiling.

WorkloadWhat dominates
Single image + 200-token answerImage encoding, then generation (ceiling above)
Document OCR (single A4 page)Visual tokens from a high-resolution page
30-second videoFrames sampled × tokens per frame
Multi-image (4 images) reasoningVisual tokens for all images in context

Memory: the weights (table above) plus visual tokens and KV cache; video sequences add the most.


Tuning Recipes

Document OCR pipeline

vllm serve Qwen/Qwen3-VL-8B-Instruct \
    --max-model-len 16384 \
    --limit-mm-per-prompt '{"image": 10}' \
    --enable-prefix-caching

Fixed system prompt with extraction template; benefit from prefix cache.

Video Q&A server

vllm serve Qwen/Qwen3-VL-32B-Instruct-FP8 \
    --tensor-parallel-size 2 \
    --max-model-len 65536 \
    --limit-mm-per-prompt '{"image": 64, "video": 1}'

Long context needed for long videos.

Multi-language document workflow

Use the 32B for harder non-English documents; the 8B for English-only at higher throughput.


Production Deployment

For high-throughput document processing (1000s of docs/day):

vllm serve Qwen/Qwen3-VL-8B-Instruct \
    --max-model-len 16384 \
    --max-num-seqs 32 \
    --enable-prefix-caching --enable-chunked-prefill \
    --kv-cache-dtype fp8_e4m3

Pair with LocalAI for OpenAI-compatible images endpoint, or LiteLLM gateway for routing.


Licensing

Apache 2.0 (per the Qwen3-VL repository and model cards). Commercial use, modification and redistribution are allowed with no user-count or regional restrictions; keep the license notice.

Other permissively licensed options: Pixtral (Apache 2.0) and Phi-4-multimodal (MIT). Llama 3.2 Vision uses Meta's community license, whose acceptable-use policy does not grant multimodal rights to EU-domiciled individuals and companies.


Troubleshooting

SymptomCauseFix
OOM with imagesVision tokens add upLower image count or resolution
Slow first requestVision encoder warmupSend a warmup request after load
Wrong OCR outputImage too smallUse 1024px+ for text-heavy images
Video processing failsToo many framesLower to 1-2 fps or split the clip
pull model manifest: file does not existWrong size tag (Qwen3-VL has no 7B or 72B)Use 2b, 4b, 8b, 30b, 32b or 235b
Multilingual quality dropNon-Latin scriptTry the 32B
Hallucinated textImage quality poorPre-process with denoising/contrast enhancement

FAQ

See answers to common Qwen 3 VL questions below.


Sources: QwenLM/Qwen3-VL on GitHub (release dates, license, context, OCR languages, version requirements) | Qwen3-VL Instruct model cards (2B, 4B, 8B, 32B; benchmark scores, checked November 2, 2026) | Qwen3-VL Technical Report | Ollama qwen3-vl library (tags and sizes, read November 2, 2026) | vLLM multimodal docs | Llama 3.2 acceptable use policy.

Related guides:

🎯
AI Learning Path

Go from reading about AI to building with AI

25 structured courses. Hands-on projects. Runs on your machine. Start free.

Or own it for life — Lifetime $149 $599, pay once

Liked this? 25 full AI courses are waiting.

From fundamentals to RAG, agents, MCP servers, voice AI, and production deployment with real GitHub repos. First chapter free, every course.

Reading now
Join the discussion
Tagsqwen 3 vlqwen vlvision language modelmultimodalocrvideo understandingalibaba qwen

Barsha Mohapatra

Local AI Master writes hands-on courses and hardware guides for running AI on machines you own. Content is checked against current releases and corrected when readers tell us it is wrong.

Build Real AI on Your Machine

RAG, agents, NLP, vision, and MLOps - chapters across 25 courses that take you from reading about AI to building AI.

Want the structured version?

Hands-on courses on local AI, from $8.99 a month. The first chapter of each is free.

AI Learning Path

Comments (0)

No comments yet. Be the first to share your thoughts!

📅 Published: May 1, 2026🔄 Last Updated: November 2, 2026✓ Manually Reviewed

Bonus kit

Ollama Docker Templates

10 one-command Docker stacks. Includes Qwen 3 VL document-OCR pipeline reference deploy. Included with paid plans, or free after subscribing to both Local AI Master and Little AI Master on YouTube.

See Plans →

Build Real AI on Your Machine

RAG, agents, NLP, vision, and MLOps - chapters across 25 courses that take you from reading about AI to building AI.

Was this helpful?

Barsha Mohapatra

Written by

Barsha Mohapatra

Founder and Editor, Local AI Master · Founder, Little AI Master

Founder of Little AI Master and the editor behind every course and guide on Local AI Master. Years of tutoring students taught her where AI education actually fails.

📚
Free · no account required

Grab the AI Starter Kit — career roadmap, cheat sheet, setup guide

No spam. Unsubscribe with one click.

🎯
AI Learning Path

Go from reading about AI to building with AI

25 structured courses. Hands-on projects. Runs on your machine. Start free.

Or own it for life — Lifetime $149 $599, pay once
Free Tools & Calculators