NEWVectors or files. Pick a path.Start →
    Models/Qwen/Qwen4-35B-A3B
    Apache 2.0

    Qwen4-35B-A3B

    by Qwen

    The first open Qwen4 model: 35B MoE with 3B active, images and video in, a 1M-token context, Apache 2.0

    2,430likes
    35B (3B active)params
    Identifiers
    Model ID
    Qwen/Qwen4-35B-A3B

    Deploy Qwen4-35B-A3B

    Single-tenant

    Mixpeek has no managed extractor for this model. On a single-tenant deployment you upload the weights and a custom plugin serves them next to the rest of your pipeline.

    Overview

    Qwen4-35B-A3B is the first open-weight model in Alibaba's Qwen4 series, released on Hugging Face on December 3, 2026 under the Apache 2.0 license. It is a language model with a vision encoder: it reads text, images and video and writes text. It has 35 billion parameters with about 3 billion active per token, plus a 20B n-gram embedding table and a 2B multi-token prediction layer, and a native context of 1,048,576 tokens, four times the 262K of Qwen3.6-35B-A3B at the same active size.

    The Qwen team pitches it at long-horizon agent work and coding. For a search pipeline it is a describer: it turns a frame, a page or a clip into text (captions, tags, structured fields) that a text embedding model then indexes. It does not produce embeddings itself. On the card's own chart it scores 52.9 on VideoIndex and 27.8 on Chartography, ahead of the much larger Qwen3.8-Flash-Next on both.

    Architecture

    40 layers in the pattern 10 x (3 x (Gated DeltaNet -> MoE) -> 1 x (Qwen Sparse Attention -> MoE)). Linear attention in three of every four layers keeps the cache small on long inputs; the sparse attention layers read a budget of 512 blocks or 2,048 tokens chosen by a small indexer. 256 experts per MoE layer, 8 routed plus 1 shared active. Hidden size 2048. An n-gram embedding of 10M bigrams and trigrams at layer 2 adds quality without adding compute per token. Thinking is on by default and set per request with reasoning_effort (xhigh, high, low or off). The reference tokenizer needs trust_remote_code and tiktoken.

    Mixpeek SDK Integration

    # Qwen4-35B-A3B is not a managed Mixpeek extractor. Serve it yourself
    # (vllm serve Qwen/Qwen4-35B-A3B), describe each scene, then upsert the
    # description with a text embedding so the collection can search it.
    import requests
    from openai import OpenAI
    
    vlm = OpenAI(base_url="http://localhost:8000/v1", api_key="EMPTY")
    reply = vlm.chat.completions.create(
        model="Qwen/Qwen4-35B-A3B",
        messages=[{"role": "user", "content": [
            {"type": "video_url", "video_url": {"url": scene_clip_url}},
            {"type": "text", "text": "Describe what happens in this clip in two sentences, "
                                      "then list people, objects and any on-screen text."},
        ]}],
        extra_body={"reasoning_effort": "off",
                    "mm_processor_kwargs": {"fps": 2, "do_sample_frames": True}},
    )
    description = reply.choices[0].message.content
    
    requests.post(
        "https://api.mixpeek.com/v1/namespaces/ns_your_namespace/documents/upsert",
        headers={"Authorization": "Bearer API_KEY"},
        json={"collection_id": "col_scenes",
              "documents": [{"document_id": "ep12-scene-031",
                             "vectors": {"text-embedding": embed(description)},  # your text embedding model
                             "payload": {"description": description, "start_s": 754.2, "end_s": 762.0,
                                         "source_key": "episodes/ep12.mp4"}}]},
    )
    
    # Managed alternative: a collection with a video extractor splits the video into
    # scenes in your bucket and writes frame, transcript and text embeddings for you.

    Capabilities

    • Image and video understanding, with frame sampling set per request (fps)
    • Native 1,048,576-token context
    • About 3B active parameters per token from 35B total
    • Reasoning effort per request: xhigh, high, low or off
    • Served by vLLM, SGLang and TokenSpeed; local builds for llama.cpp, Ollama and MLX

    Use Cases on Mixpeek

    Writing a searchable description of each video scene or keyframe before embedding it
    Reading charts and tables in documents into text a search index can match
    Tagging an image or video archive into structured fields for filtering
    Answering questions over a whole long transcript or document set in one context

    Benchmarks

    DatasetMetricScoreSource
    VideoIndex (video understanding)Score52.9Qwen4-35B-A3B model card chart, 2026-12-03; Qwen3.8-27B 51.9, Qwen3.8-Flash-Next 51.4, Inkling 2 Mini 44.0
    Chartography (chart understanding)Score27.8Model card chart; Qwen3.8-27B 27.8, Qwen3.8-Flash-Next 24.6, Inkling 2 Mini 22.1
    GPQAAccuracy86.9Model card chart; Qwen3.8-Flash-Next 91.7 is higher, Qwen3.8-27B 89.2
    DeepSWE v1.1Score61.8Model card chart; Qwen3.8-Flash-Next 58.7, Inkling 2 Mini 48.2
    HealthBench ProfessionalScore47.4Model card chart; Inkling 2 Mini 45.7, Qwen3.8-Flash-Next 34.8

    Performance

    Input SizeText, images and video; 1,048,576 tokens of context
    GPU LatencyInput dependent
    GPU ThroughputBatch dependent
    GPU MemoryModel dependent

    All scores are read from the bar chart on the model card, which names its own comparison models. The card does not publish latency or memory figures, and we have not measured the model ourselves. The card notes that video_preprocessor_config.json is set conservatively, so long videos need a larger size limit at serving time.

    Frequently Asked Questions

    What is Qwen4-35B-A3B?

    It is the first open-weight Qwen4 model, released December 3, 2026 under Apache 2.0: a mixture-of-experts language model with a vision encoder, 35B parameters with about 3B active per token, and a native 1,048,576-token context. It takes text, images and video as input and returns text.

    What is the difference between Qwen4-35B-A3B and Qwen3.6-35B-A3B?

    Both have 35B parameters with about 3B active, 40 layers and 256 experts. Qwen4 replaces the full attention layers with Qwen Sparse Attention, adds a 20B n-gram embedding and raises the native context from 262K to 1,048,576 tokens. It also controls thinking with reasoning_effort levels (xhigh, high, low, off) instead of a single on/off switch.

    Can Qwen4-35B-A3B understand video?

    Yes. It accepts video input, and with vLLM you set the frame sampling rate per request, for example fps 2 with do_sample_frames. The card scores it 52.9 on VideoIndex against 51.4 for Qwen3.8-Flash-Next. For long videos, raise the size limit in video_preprocessor_config.json, which ships set conservatively.

    Can I use Qwen4-35B-A3B for embeddings or vector search?

    Not directly. It writes text, so the usual pattern is to have it describe each image, page or video scene and embed that description with a text embedding model. To put images and video in the vector index themselves, use an embedding model such as Qwen3-VL-Embedding.

    How do I run Qwen4-35B-A3B?

    Serve it with vLLM, SGLang or TokenSpeed, which publish recipes for it, or use the hosted version on Qwen Cloud as qwen4-35b-a3b. Quantized builds run in llama.cpp, Ollama and MLX. For captioning and tagging at volume, set reasoning_effort to off so each call skips the thinking tokens it would otherwise spend first.

    Specification

    OrganizationQwen
    Retriever-
    Parameters35B (3B active)
    LicenseApache 2.0
    Downloads/moN/A
    Likes2,430

    Research Paper

    Qwen4-35B-A3B model card

    arxiv.org

    Build a pipeline with Qwen4-35B-A3B

    Add this model to a processing pipeline alongside other extractors. Combine with retrieval stages for end-to-end search.

    Run it on your own data, free