New Multimodal

Qwen4 35B-A3B

Qwen's multimodal 35B MoE (3B active) model with 1M native context, controllable reasoning, and tool calling for Jetson AGX Thor and AGX Orin.

Parameters 35B MoE / 3B active (+20B PLE)
Inputs
Text Image Video
Outputs
Text
Context Length 1M
License Apache 2.0
Precision
NVFP4

Serve the model

Pick your Jetson, then copy the command and paste it into a terminal on the Jetson. New to Jetson? Setup guide

Run on your Jetson
Engine
Speculative decoding
Weights
First, one-time setup

Model Details

Qwen4-35B-A3B is Alibaba’s open-weight multimodal Mixture-of-Experts model with 35B total parameters (3B active per token), a 20B n-gram embedding table, and a 2B multi-token prediction (MTP) head. It combines linear attention (Gated DeltaNet) and sparse attention (Qwen Sparse Attention) for a 1M-token native context window, and accepts text, images, and video as input.

What it is good at

  • Coding and agentic workflows: multi-step software engineering, repository work, tool calling, and structured outputs.
  • Controllable reasoning: thinking is enabled by default (reasoning_effort="high") with preserved thinking across turns, and can be adjusted per request (off, low, high, xhigh).
  • Multimodal understanding: accepts images and video alongside text for UI, chart, document, and visual reasoning tasks.
  • Compact memory footprint: the NVFP4 checkpoint is 42.5 GiB on disk and uses about 24 GiB of memory (the 19 GiB n-gram table stays on SSD), leaving room for KV cache on both AGX Thor and 64 GB AGX Orin.

Prerequisites

  • Hardware: Jetson AGX Thor (128 GB) or Jetson AGX Orin (64 GB)
  • JetPack: JetPack 7.2.1 (R39.2.1)
  • Storage: NVMe SSD with at least 85 GB free

Step 1: Start the vLLM server

Select AGX Thor or AGX Orin 64GB in the Serve the model section above, copy the command, and run it in a terminal on your Jetson.

  • The first launch downloads the container and model weights; subsequent starts will be much faster.
  • Wait until the logs print OpenAI server is ready to accept requests on port 8000.

The command above is a general default. Depending on your use case, it is recommended to tune these three settings:

  • Context length (--max-model-len): set to 256K (262144) by default. Lower it if you need more memory headroom, or raise it up to 1M on AGX Thor for very long prompts.
  • Speculative decoding (num_speculative_tokens): set to 3 by default. Try 1, 2, or turning MTP off to see what works best for your prompts and concurrency.
  • Memory utilization (--gpu-memory-utilization): set to 0.70 on AGX Thor and 0.75 on AGX Orin by default. Adjust it based on how much memory other apps on your Jetson need.

Step 2: Send a request

Quick check with curl

curl http://localhost:8000/v1/chat/completions \
  -H "Content-Type: application/json" \
  -d '{
    "model": "local-inference-lab/Qwen4-35B-A3B-NVFP4",
    "messages": [
      {"role": "user", "content": "Write a Python function to merge two sorted lists."}
    ]
  }'

Python (OpenAI SDK)

from openai import OpenAI

client = OpenAI(base_url="http://localhost:8000/v1", api_key="EMPTY")

response = client.chat.completions.create(
    model="local-inference-lab/Qwen4-35B-A3B-NVFP4",
    messages=[{"role": "user", "content": "Explain how Gated DeltaNet differs from standard attention."}],
    extra_body={
        "chat_template_kwargs": {
            "reasoning_effort": "high",  # "off", "low", "high", or "xhigh"
        },
    },
)

print("Reasoning:", response.choices[0].message.reasoning)
print("Answer:", response.choices[0].message.content)

For fast non-thinking replies, set "reasoning_effort": "off".

Resources