<!-- mobian-agent-page publisher="dailydev" canonical="https://daily.dev/posts/qwen4-35b-a3b-an-apache-2-0-multimodal-moe-with-1m-token-context-rdxomvvmr" -->

---
title: Qwen4-35B-A3B: an Apache-2.0 multimodal MoE with...
description: Qwen4-35B-A3B, the first Qwen 4 release, is a multimodal mixture-of-experts model under Apache 2.0. It takes text, image and video input and has a 1M token...
canonical: https://daily.dev/posts/qwen4-35b-a3b-an-apache-2-0-multimodal-moe-with-1m-token-context-rdxomvvmr
twitter:card: summary_large_image
twitter:site: @dailydotdev
og:type: website
og:site_name: daily.dev
og:title: Qwen4-35B-A3B: an Apache-2.0 multimodal MoE with 1M-token context | daily.dev
og:description: Qwen4-35B-A3B, the first Qwen 4 release, is a multimodal mixture-of-experts model under Apache 2.0. It takes text, image and video input and has a 1M token...
og:url: https://daily.dev/posts/qwen4-35b-a3b-an-apache-2-0-multimodal-moe-with-1m-token-context-rdxomvvmr
og:image: https://api.daily.dev/og/posts/RdxoMVVMR.png
og:image:alt: Qwen4-35B-A3B: an Apache-2.0 multimodal MoE with 1M-token context
og:image:width: 1200
og:image:height: 630
og:locale: en
---

> ## Documentation Index
> Fetch the complete documentation index at: https://daily.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# Qwen4-35B-A3B: an Apache-2.0 multimodal MoE with 1M-token context

**[Collections](https://daily.dev/sources/collections)** · 4 min read · 16 upvotes · 3 comments

## Summary

Qwen4-35B-A3B, the first Qwen 4 release, is a multimodal mixture-of-experts model under Apache 2.0. It takes text, image and video input and has a 1M token context window. It has about 35B main parameters with 3.8B active per token. Day-0 support covers transformers, llama.cpp, vLLM, SGLang and MLX. In llama.cpp, MTP speculative decoding with 3 draft tokens sped up generation by 22% on an M5 with the Q4 quant. A TRL recipe for security alert triage passed 6 of 12 held-out tasks at update 50, versus 4 of 12 for the base model.

## Content

Alibaba's Qwen team has released Qwen4-35B-A3B under the Apache 2.0 license. It is an open-weight, natively multimodal mixture-of-experts model that takes text, image and video input and has a native context window of 1,048,576 tokens. About 3B parameters (roughly 3.8B by one count) are active per token.

## Architecture

The model card lists 256 experts, with 8 routed and 1 shared active per token. It mixes linear attention (Gated DeltaNet) with sparse attention. Sebastian Raschka (@rasbt) notes that Gated DeltaNet handles 30 of the 40 layers, as in Qwen3.6-35B-A3B. In the other 10, Qwen4 swaps full gated attention for Qwen Sparse Attention. Qwen3.8-Flash-Next used that design before, but it was a 125B model. Qwen4 brings it down to 35B.

The "35B" label undersells the real size. There is also a 20B-ish n-gram embedding table (20.5B per-layer n-gram embedding parameters, plus about 2B for multi-token prediction). Raschka puts the core plus embeddings at around 55B, and the full checkpoint is reported at roughly 57B.

Reasoning effort has four levels: xhigh, high (the default), low and off. The card recommends serving with SGLang, vLLM or TokenSpeed and gives sampling settings for thinking and non-thinking modes.

## Benchmarks

The numbers so far are mostly Qwen's own. On its self-reported charts the model beats the dense Qwen3.8-27B on all 8 benchmarks, and wins 3 of 8 against Qwen3.8-Flash-Next. Its best score is 61.8 on DeepSWE v1.1 and its worst is 16.1 on FrontierCode-AA 2.0.

An independent figure comes from Artificial Analysis, as relayed by @testingcatalog. It rates Qwen4-35B-A3B the most intelligent model under 150B parameters, 5 points ahead of Inkling 2 Mini on its Intelligence Index at a similar cost per task.

Unsloth (@danielhanchen) also ran quick MMLU Pro, MATH500, BFCL and RULER checks on its quants.

## Running it

Support landed on day 0 in transformers, llama.cpp, vLLM, SGLang and MLX, with oMLX also mentioned. Prime Inference is serving it too.

**Memory.** Having 3B active parameters does not mean 3B-class hardware. The weights still have to be stored. A 4-bit quant needs about 20.5 to 24.7 GB, so it fits a 24 GB GPU or Mac. Ollama lists quantized builds at around 36-37 GB, and BF16 is about 114 GB. Runtime memory can run higher.

**vLLM.** The FP8 model is 39.7 GB. vLLM keeps the 20.5 GB n-gram table in host memory, which lets a full 1M-token context fit on one GPU. Only the 10 Qwen Sparse Attention layers keep an NVFP4 KV cache, costing 8 GiB per 1M tokens versus 80 GiB for BF16 full attention. On a single B300, the FP8 checkpoint generates 514 tokens/s for one request. With batch invariance on a GB200, rollout and training logprobs matched bitwise, with 0 mismatches across 682,536, at 92.7% of standard rollout throughput.

**Quants.** Unsloth made Dynamic quants using an algorithm similar to its UD3.1 work for Qwen3.8 and DeepSeek-V4.1. It also extended this to MLX 4-bit, claiming 87% lower KLD than generic MLX quants. @ClementDelangue, relaying a post, says Qwen4-35B is already #1 on Hugging Face, with over 256 quantizations and 63 fine-tunes.

## Local speed tests

Raschka compared Qwen4 with the dense Qwen3.8-27B on a DGX Spark in llama.cpp, at 8K context and 4-bit Q4_K_M:

| | Qwen4-35B-A3B | Qwen3.8-27B |
|---|---|---|
| Generation | ~55 tokens/s | 11.5 tokens/s |
| Prompt processing | 2.5x faster | baseline |
| Peak RAM | 32.5 GB | 20.2 GB |

That is 4.8x faster generation for about 12 GB more RAM. He says it might become his daily driver for local models.

Multi-token prediction (MTP) speculative decoding adds more. In llama.cpp with the Q4 quant, 3 draft tokens sped up generation 22% on an Apple Silicon M5. @mervenoyann found 8-bit MTP did best at 2 draft tokens on a DGX Spark, about 34% faster. The Spark has lots of compute but limited bandwidth, so the drafter helps more there. The M5 has more bandwidth, so it prefers 3 draft tokens. Results will vary by machine, and @mervenoyann suggests checking your own with specbench (`uv pip install specbench-cli`).

## Fine-tuning

A TRL reinforcement-learning recipe for security alert triage passed 6 of 12 held-out tasks at update 50, against 4 of 12 for the base model.

@mervenoyann calls the release a big step for open models on long-horizon tasks, especially paired with @pidotdev.

## Community take

How the wider developer community reacted, aggregated from 1 discussion and 101 comments across hackernews (as of 2026-12-05).

**TL;DR:** Reaction is largely enthusiastic about the benchmark results and efficiency for a 3B-active model, especially for local/self-hosted use, though some question whether the cost/intelligence tradeoff and real-world agentic performance live up to the hype.

**Sentiment:** 55% positive · 35% mixed · 10% skeptical

**The case for**

- Strong benchmark scores relative to its small active-parameter count, seen as a new best-in-class for this weight class
- Runs well on modest consumer hardware (laptops, older GPUs, even CPU-only) at usable speeds
- Native 1M context combined with SSD-offloaded engram storage lets it run on surprisingly little RAM
- Fast inference and quick ecosystem support (llama.cpp, Unsloth quants) available almost immediately at release

**The pushback**

- API pricing seems high relative to competing models with better intelligence-per-cost ratios
- Skepticism that benchmarks translate to real agentic/coding workflows, since MoE models with fewer active params may lack world knowledge
- Doubts about whether it meaningfully beats existing alternatives like Flash-Next or 27B models in practice
- Concerns about it inheriting undesirable 'brash' or verbose writing/reasoning habits from a prior model

**By community**

- hackernews (mixed): Many are impressed by the efficiency and local-runnability given benchmark scores, but others are skeptical of the cost/intelligence tradeoff, pricing, and whether real-world use matches the hype.

**Hottest debate:** Whether the benchmark results actually represent a meaningful win given the model's high per-task cost and MoE knowledge limitations versus its impressive efficiency for its size.

**Open questions**

- How does it actually compare to similarly-sized quantized alternatives people would run on the same hardware?
- Does performance hold up on genuinely agentic, multi-step coding tasks rather than one-shot benchmarks?
- Why is the official API pricing so high relative to apparent efficiency?

**Highlights**

> Artificial Analysis benchmarks are up: https://artificialanalysis.ai/models/qwen4-35b-a3b. It scores 25 on AA Intelligence Index v5.0.2 (for comparison, Mistral Large 4 scores 26 and Qwen3.8-Flash-Next scores 28!) I can't wait to see what people do with it. Qwen3.8-27B had an entire finetuning cottage industry develop around it. Seems that at this size and intelligence, Qwen4-35B-A3B has that same potential. I haven't heard any rumors about a smaller, dense Qwen4 but I'd be curious if that was coming down the pipe also.
> — [vopi on hackernews · 6 comments](https://news.ycombinator.com/item?id=50755735)

> Doesn't look good. Far from pareto on intelligence/cost graph. Of course, for local runs the cost factor matters a lot less... leaving us with the intelligence factor only. But, that doesn't seem good either.
> — [freakynit on hackernews · 9 comments](https://news.ycombinator.com/item?id=50755833)

> Why is the cost so high? MiMo V2.6 Pro is more intelligent for half the cost, but MiMo has 1T total/42B active parameters vs 57B total/3B active for Qwen. I suppose this is good for running locally, but it's odd that the cost per task is that high. It must burn a ton of tokens per task...
> — [jrflo on hackernews · 3 comments](https://news.ycombinator.com/item?id=50756075)

> Qwen4 uses Engram reducing RAM/VRAM use by storing them on SSD. Unsloth Desktop manages this automatically, enabling 3-bit GGUF to run on 18GB RAM. When I look at https://llama.app/models/qwen-4 it says I need only 32GB RAM to run a quantized model with 36GB of weights.
> — [rahimnathwani on hackernews · 1 comments](https://news.ycombinator.com/item?id=50756092)

> Something is quite different with the way it thinks. It's veeeeeery concise in High thinking mode. When you kick it into extra high, it thinks in a way that is extremely reminiscent of Qwen 3.8 27B on Low. Lots of "wait", "let me...", "Hmm. Actual…", "Actually let me also…" I have spent a week staring at that output and it's so familiar. To the extent that if I didn't know I was looking at this model I would think it was 3.8 27B on low.
> — [dofm on hackernews · 1 comments](https://news.ycombinator.com/item?id=50756850)

**Source threads**

- [hackernews](https://news.ycombinator.com/item?id=50755448) · 478 points · 101 comments

## Community discussion

Top comments from developers on daily.dev.

**@maolrate** · 4 upvotes

> The 1M-token claim is the part I would want measured before repeating it. Keeping the 20.5B n-gram table in host memory is exactly what makes 8 GiB of NVFP4 KV per 1M tokens possible, but it also moves the bound to host RAM and the PCIe path: at 4-bit that table is roughly 10 GB and every token does lookups into it, so the numbers that matter are prefill and decode at 128k and 1M tokens, not the 8k case where everything still lives in VRAM.
>
> Second, 3B active is a decode number. Prefill at 1M is dominated by the chunked Gated DeltaNet scan plus the sparse-attention gather, so...

**@irshadjan** · 3 upvotes

> Fabulous

**@andrewma** · 2 upvotes

> awesomee!

## Similar posts on daily.dev

- [Qwen3.6–35B-A3B: The Most Practical Open-Source AI Model Yet?](https://daily.dev/posts/qwen3-6-35b-a3b-the-most-practical-open-source-ai-model-yet--eihfhk9n5) · Faun · 77 upvotes · 6 comments

---

Tags: [#reinforcement-learning](https://daily.dev/tags/reinforcement-learning), [#ai-inference](https://daily.dev/tags/ai-inference), [#qwen](https://daily.dev/tags/qwen), [#mixture-of-experts](https://daily.dev/tags/mixture-of-experts), [#llama-cpp](https://daily.dev/tags/llama-cpp)

[View this post on daily.dev](https://daily.dev/posts/qwen4-35b-a3b-an-apache-2-0-multimodal-moe-with-1m-token-context-rdxomvvmr)

```json
{"@context":"https://schema.org","@graph":[{"@type":"Organization","@id":"https://daily.dev/#organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180},"sameAs":["https://twitter.com/dailydotdev","https://github.com/dailydotdev","https://www.linkedin.com/company/daily-dev-ltd"]},{"@type":"WebSite","@id":"https://daily.dev/#website","url":"https://daily.dev","name":"daily.dev","publisher":{"@id":"https://daily.dev/#organization"},"potentialAction":{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https://daily.dev/search?q={search_term_string}"},"query-input":"required name=search_term_string"}}]}
{"@context":"https://schema.org","@type":"TechArticle","headline":"Qwen4-35B-A3B: an Apache-2.0 multimodal MoE with 1M-token context","url":"https://daily.dev/posts/qwen4-35b-a3b-an-apache-2-0-multimodal-moe-with-1m-token-context-rdxomvvmr","mainEntityOfPage":{"@type":"WebPage","@id":"https://daily.dev/posts/qwen4-35b-a3b-an-apache-2-0-multimodal-moe-with-1m-token-context-rdxomvvmr"},"datePublished":"2026-12-04T02:23:32.508Z","dateModified":"2026-12-05T06:47:20.474Z","description":"Qwen4-35B-A3B, the first Qwen 4 release, is a multimodal mixture-of-experts model under Apache 2.0. It takes text, image and video input and has a 1M token...","isAccessibleForFree":true,"articleSection":"Collections","inLanguage":"en","publisher":{"@type":"Organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180}},"author":{"@type":"Organization","name":"Collections","logo":"https://media.daily.dev/image/upload/s--fk_6ycEi--/f_auto,q_auto/v1780996001/logos/collections?_a=BAMAMiWQ0","url":"https://daily.dev/sources/collections"},"commentCount":3,"discussionUrl":"https://daily.dev/posts/qwen4-35b-a3b-an-apache-2-0-multimodal-moe-with-1m-token-context-rdxomvvmr","interactionStatistic":[{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":16},{"@type":"InteractionCounter","interactionType":{"@type":"CommentAction"},"userInteractionCount":3}],"keywords":"reinforcement-learning,ai-inference,qwen,mixture-of-experts,llama-cpp","timeRequired":"PT4M"}
{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https://daily.dev"},{"@type":"ListItem","position":2,"name":"Collections","item":"https://daily.dev/sources/collections"},{"@type":"ListItem","position":3,"name":"Qwen4-35B-A3B: an Apache-2.0 multimodal MoE with 1M-token context"}]}
{"@context":"https://schema.org","@type":"WebPage","@id":"https://daily.dev/posts/qwen4-35b-a3b-an-apache-2-0-multimodal-moe-with-1m-token-context-rdxomvvmr","comment":[{"@type":"Comment","text":"The 1M-token claim is the part I would want measured before repeating it. Keeping the 20.5B n-gram table in host memory is exactly what makes 8 GiB of NVFP4 KV per 1M tokens possible, but it also moves the bound to host RAM and the PCIe path: at 4-bit that table is roughly 10 GB and every token does lookups into it, so the numbers that matter are prefill and decode at 128k and 1M tokens, not the 8k case where everything still lives in VRAM.\nSecond, 3B active is a decode number. Prefill at 1M is dominated by the chunked Gated DeltaNet scan plus the sparse-attention gather, so time-to-first-token decides whether 514 tok/s on a B300 means anything for long-horizon agents. If the first token takes 30 seconds, the decode rate is the least interesting figure in the post.\nThe most useful local number here is the 22% MTP speedup on an M5 with Q4, though I would want the acceptance rate split by domain (code vs prose) — MoE drafts drift across domains more than dense ones do.","datePublished":"2026-12-04T11:43:06.745Z","url":"https://daily.dev/posts/RdxoMVVMR#c-WwEhVvpMp","author":{"@type":"Person","name":"허순연","url":"https://daily.dev/maolrate","image":"https://lh3.googleusercontent.com/a/ACg8ocKqzVcw8fr6wVR5_vM1l3arosjR6u0Z0itQbU2y_0C-SjfKmH4=s96-c"},"interactionStatistic":{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":4}},{"@type":"Comment","text":"Fabulous","datePublished":"2026-12-04T07:10:14.136Z","url":"https://daily.dev/posts/RdxoMVVMR#c-txJ6UgfZc","author":{"@type":"Person","name":"Irshad Jan","url":"https://daily.dev/irshadjan","image":"https://lh3.googleusercontent.com/a/ACg8ocIbPdAoUYjuyX21TqDR5ZJH-PquRiZrqMLMi8gmArMG24c4Tmw=s96-c"},"interactionStatistic":{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":3}},{"@type":"Comment","text":"awesomee!","datePublished":"2026-12-05T00:22:49.596Z","url":"https://daily.dev/posts/RdxoMVVMR#c-f2J9BWmcA","author":{"@type":"Person","name":"Andrew M","url":"https://daily.dev/andrewma","image":"https://avatars.githubusercontent.com/u/102819214?v=4"},"interactionStatistic":{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":2}}]}
```

