Qwen4-35B-A3B-FP8 is the first open-weight Qwen4 model you can download. It is a multimodal mixture-of-experts model with 35 billion total parameters and about 3 billion active per token. Its Hugging Face card lists a native context of 1,048,576 tokens and an Apache-2.0 license. The FP8 build is the version you can serve in vLLM or SGLang today.
This matters because Qwen4 so far meant a closed flagship. In November, Alibaba announced Qwen4-Max, a 2.4 trillion parameter model, and said smaller open-weight Qwen4 models would “soon be released.” This repo looks like the first of them. The card itself does not say so, and it gives no release date, so read that link as our inference from the timing and the naming.
Catch up on AI
One AI story explained in plain English, plus one thing to try. Every day, free. Unsubscribe anytime.
350K+ Students Already Joined
Quick answers
QuestionAnswer from the model cardWhat is it?Post-trained, FP8-quantized, image-text-to-text MoE modelSize35B total, 3B active per token, plus 20B n-gram embedding and 2B MTP parametersContext1,048,576 tokens nativeLicenseApache-2.0InputsText, images, videoServingTransformers, vLLM, SGLang, TokenSpeedBenchmarks in textNone. Scores sit in an imageRelease dateNot stated. Citation says December 2026
What is Qwen4-35B-A3B, and how does it relate to Qwen4-Max?
Qwen4-Max is the closed flagship. Alibaba’s press release describes it as a sparse mixture-of-experts model with 2.4 trillion total parameters, about 71 billion active per token, and a one-million-token window. We covered it in our Qwen4 Max and Together AI pricing post and in the QwenCloud launch and guardrails write-up.
Qwen4-35B-A3B is a different animal. It is small enough to run on one serious GPU node, and it keeps the same 1M-token window. The Qwen4 name also appeared months earlier in a leaked Qwen Code commit, which listed a 1M default context. That leak was unverified at the time. The model card now confirms the 1M figure for this model.
The base weights live in a separate repo. The FP8 repo stores tensors as BF16, I64 and F8_E4M3, so the FP8 build is a mixed-precision checkpoint. The card does not describe the quantization method or the calibration data. If you care about the quality gap between BF16 and FP8, you have to measure it yourself.
How is the architecture built?
The card describes a 40-layer network with a hidden dimension of 2048. It is a hybrid. The layout repeats ten blocks, and each block holds three Gated DeltaNet layers followed by one Qwen Sparse Attention layer, with a mixture-of-experts feed-forward after every one.
Diagram of expert routing in a mixture-of-experts model, relevant to Qwen4-35B-A3B
Here is what the card says about each part:
Gated DeltaNet: a linear-attention layer with 32 heads for V and 16 for QK, head dimension 128. Linear attention keeps the memory cost per token flat, which is why a 1M window is practical at all.
Qwen Sparse Attention: 16 query heads and 2 KV heads, head dimension 256. A small indexer picks which blocks to attend to, with a budget of 512 blocks or 2,048 tokens.
Mixture of experts: 256 experts, with 8 routed plus 1 shared expert active per token. Each expert has an intermediate dimension of 512.
Gated residual: 4 branches with a bottleneck rank of 256.
N-gram embedding: 10,000,000 entries, covering bigrams and trigrams at layer 2.
Multi-token prediction: one MTP layer, trained over several steps, which can speed up decoding when the server supports speculative decoding.
Vocabulary: 248,320 tokens, padded.
The ratio is the interesting part. Only one layer in four uses full-style attention, and that layer is itself sparse. Most of the compute goes to cheap linear layers and a small set of experts. That is how a 35B model can stay near 3B active parameters and still advertise a million tokens.
The card’s first citation carries the title “On the Design of Qwen3.8-Next Architecture” and an August 2026 date. The naming does not match the Qwen4 label used elsewhere, and the card links no paper. We could not tie the layout to a public technical report, so treat the architecture as the card’s own description.
How do you run Qwen4-35B-A3B-FP8?
The card gives two serving commands. For vLLM:
pip install vllm
vllm serve “Qwen/Qwen4-35B-A3B-FP8”
For SGLang:
pip install sglang
python3 -m sglang.launch_server –model-path “Qwen/Qwen4-35B-A3B-FP8” –host 0.0.0.0 –port 30000
SGLang also has a Docker image, lmsysorg/sglang:latest, and Docker Model Runner can pull it with docker model run hf.co/Qwen/Qwen4-35B-A3B-FP8. The card lists recipes for vLLM, SGLang and TokenSpeed, and mentions llama.cpp, Ollama, Unsloth, mlx-vlm and LiteRT-LM for local use. If you are choosing between the two main servers, our vLLM vs SGLang comparison covers the trade-offs, and the llama.cpp 1.0 stable release notes matter if you plan to run quantized builds on a laptop.
What settings does the card recommend?
Qwen publishes two sampling profiles.
SettingThinking modeNon-thinking modetemperature1.00.7top_p0.950.80top_k2020min_p0.00.0presence_penalty0.01.5repetition_penalty1.01.0
Thinking depth is controlled by reasoning_effort, which accepts xhigh, high (the default), low or off. Setting enable_thinking=False is the same as off, and preserve_thinking is on by default. The card suggests 262,144 tokens for reasoning content and 131,072 for the final reply, where your framework supports separate limits. A presence penalty above zero can reduce loops but may cause language mixing, according to the card.
For long video, the card suggests raising longest_edge to 469,762,048 and setting shortest_edge to 4096 in video_preprocessor_config.json. In vLLM, the flag –media-io-kwargs ‘{“video”: {“num_frames”: -1}}’ lets you control frame sampling. The default frame rate is 2 fps.
What do the benchmarks actually show?
Nothing you can quote yet. The card text lists no numbers. The scores sit in one image, score.png, and the footnotes name the tests behind it:
Terminal Bench 4.1, FrontierCode-AA 2.0, AA-Briefcase v1.1 and AutomationBench-AA, with scores cited from Artificial Analysis.
APEX-Agents v1.1, cited from the Mercor leaderboard.
Work360, which the card calls “our built-in benchmark.” Alibaba’s Qwen4-Max release describes Work360 as a proprietary benchmark covering 721 specialized fields, so outsiders cannot rerun it.
ChartoGraphy, run with min_pixels set to 4096 by 32 by 32.
Two lessons follow. First, the mix of third-party and in-house tests means a headline comparison will blend sources of different strength. Second, the agentic tests named here, such as terminal and briefcase-style tasks, hint at the goal: Alibaba pitches Qwen4 for long-horizon agent work, not chat. Until a community run reproduces those scores, call them Qwen’s claims. We will not copy numbers from an image we cannot tie to a table in the text.
How does it compare with other open 35B-class models?
The 35B-total, 3B-active shape is crowded. We have covered Maxwell-V1-Flash, a 35B MoE with open weights, and Clover-35B-A3B-Preview, a diffusion-style MoE agent model. Tencent’s WeMM-Video family includes a 35B-A3B model as well.
Router linking many small expert blocks, the sparse design behind Qwen4-35B-A3B
What sets Qwen4-35B-A3B apart on paper is the combination. It has a native 1M window instead of a stretched one, it takes images and video, it ships an official FP8 build, and it uses Apache-2.0. We have no head-to-head numbers, so we make no ranking claim. If you are weighing these models, run the same ten tasks from your own product on each and compare cost per solved task, not leaderboard rank.
What does Apache-2.0 change for you?
Apache-2.0 allows commercial use, modification and redistribution, and it includes a patent grant. That is a cleaner position than many “open” models that carry usage caps or acceptable-use carve-outs. Our guide to open-weight model licenses explains the differences. One caution: the license covers the weights, not the training data, and the card does not describe the data.
Note also that Alibaba’s Qwen4-Max release says safety training filtered offensive cyber content and added chemical, biological, radiological and nuclear safeguards. The model card for this repo does not repeat those claims, so do not assume the same safeguards apply to the open model. If you deploy it in a product, run your own red-team pass.
Who should try it first?
Teams that need long-context document work, screenshot or chart reading, or agent loops on their own hardware have the most to gain. Three practical steps:
Serve the FP8 build with vLLM and send it your real long inputs. Watch memory at 200K, 500K and 1M tokens, because the card gives no hardware floor.
Compare thinking and non-thinking modes on your tasks with the sampling settings above. Cost per task often differs more than accuracy.
Test FP8 against the base BF16 weights on a sample of your evaluations before you commit to the cheaper build.
For a deeper look at how teams train and serve this kind of model, see Hugging Face’s MoE training handbook and our notes on training paths in the explainx.ai workshops.
What is still unknown?
The exact release date, and whether more open Qwen4 sizes are coming. Alibaba said they would, without naming them.
Benchmark numbers in text form, and independent replications.
Memory and throughput on common GPUs.
How FP8 quantization was done, and how much quality it costs.
The training data and the safety evaluation for this open model.
The model card and the vLLM, SGLang and TokenSpeed recipes it links are the places to watch for answers. Qwen’s Hugging Face organization will show any new Qwen4 sizes first.
Details come from the Hugging Face model cards and Alibaba’s November 16, 2026 press release, and may change as Qwen updates the repo. Checked December 4, 2026.