Qwen posts open-weight Qwen4-35B-A3B on Hugging Face under Apache 2.0
Qwen released a multimodal open-weight model with a one million token context, but its own scores show it trailing an older model on several tests.
The short version
- The weights were posted on December 3, 2026, with a license file holding the standard Apache text.
- On the SGLang cookbook, a desktop RTX 5090 with 32 GB is listed for an NVFP4 recipe.
- The vLLM recipe says an H100 fits the FP8 checkpoint.
- Qwen Cloud lists input at $0.06 and output at $0.36 per million tokens.
- Odd table: The model carries a 20 billion parameter n-gram embedding table that the serving guides say can sit in host RAM instead of on the GPU.
What Qwen released
On December 3, 2026, the Qwen team posted Qwen4-35B-A3B on Hugging Face under the Apache 2.0 license. App Developer Magazine reports that it has not downloaded or run the model, so everything below comes from Qwen's pages and the Hugging Face, vLLM and SGLang guides.
According to the model card, this is a mixture-of-experts model that handles text, images and video. Its native context window is 1,048,576 tokens. The name signals 35 billion parameters in the main model, with about 3 billion active as it generates each token.
The repository carries weights and configuration files for the post-trained model, in Hugging Face Transformers format. Hugging Face metadata tags it image-text-to-text under Apache-2.0. Qwen lists support from Hugging Face Transformers, vLLM, SGLang and TokenSpeed. It says llama.cpp, Ollama, Unsloth, mlx-vlm and LiteRT-LM also handle the Qwen4 architecture for local use.
On the card, Qwen wrote that people have taken up the Qwen4 architecture since Qwen3.8-Flash-Next, mostly for local, self-hosted use. The team calls Qwen4-Max the flagship of the Qwen4 series and says the open model series is now on its way. The card names no other open sizes. Anyone who prefers not to host it can use Qwen Cloud, where Qwen says it is served as qwen4-35b-a3b with extras such as official built-in tools.
Why it matters
A developer in the US can try an Apache 2.0 model on Qwen Cloud at $0.06 per million input tokens. Self-hosting needs real hardware, such as the GPUs the vLLM and SGLang guides list.
How the design works
Qwen lists three gains. One is a hybrid of linear and sparse attention, which Qwen says gives outstanding efficiency on long sequences, faster inference and a much smaller cache. Another is stronger long-horizon agentic work, plus better coding for frontend development, 3D modeling and game development. The last is token efficiency, where Qwen says tasks take fewer interaction rounds and thinking is more concise at every effort level.
Per the model overview, the language model has 40 layers, laid out as ten repeats of a four-layer pattern. Three of the four layers combine Gated DeltaNet linear attention with a mixture-of-experts block. The fourth combines Qwen Sparse Attention with one. The hidden dimension is 2048, and 256 experts exist, with 8 routed and 1 shared expert active per token. A 1-layer multi-token prediction module, MTP, supports speculative decoding.
Hugging Face explains the two attention types simply. Gated DeltaNet keeps a fixed-size memory and updates it with each token it reads. Qwen Sparse Attention lets the current token look back at single tokens from anywhere in the context. A small indexer groups tokens in fours and averages their keys. It then picks up to 512 groups per query, for up to 2,048 selected tokens.
The card lists an n-gram embedding that holds 20 billion parameters, with 10,000,000 entries covering bigrams and trigrams at layer 2. Qwen says the technique improves quality "without extra compute or accelerator memory overhead," and Hugging Face adds that each token reads only 16 rows of the table. Eight of those rows encode the last two tokens and eight encode the last three. The sources do not match on active parameters. The card gives 3 billion, while the Hugging Face post gives about 3.8 billion per token. The two figures may count different pieces, since the card also lists 2 billion MTP parameters separately. Neither source explains the gap.
A small detail: The magazine notes that Alibaba's earlier Qwen3-Coder, covered in 2025, was a 480 billion parameter mixture-of-experts coder with 35 billion active.
Benchmark results from the card
Qwen's table compares the model with Qwen3.8-Flash-Next, Qwen3.8-27B and Inkling2 Mini. Footnotes say scores for Terminal Bench 4.1, FrontierCode-AA 2.0, AA-Briefcase v1.1 and AutomationBench-AA are cited from Artificial Analysis. APEX-Agents v1.1 scores come from the Mercor leaderboard, and Work360 is Qwen's own built-in benchmark for professional and industrial workflows. The magazine has not rerun any of them.
The card puts Qwen4-35B-A3B ahead on several tests. DeepSWE v1.1 reads 61.8, against 58.7, 42.2 and 48.2. NL2Repo reads 51.7, against 48.1, 42.3 and 41.8. AutomationBench-AA reads 57.9, against 55.9, 48.2 and 41.8. HealthBench Professional reads 47.4, against 34.8, 29.8 and 45.7.
The older Qwen3.8-Flash-Next leads elsewhere. Terminal Bench 4.1 shows 21.2 against 24.2. FrontierCode-AA 2.0 shows 16.1 against 27.1. GPQA gives 86.9 against 91.7, and Qwen3.8-27B scores 89.2. AA-Briefcase v1.1, an Elo rating, gives 1486 against 1567. APEX Agents v1.1 gives 59.0 against 61.0, and Work360 gives 42.9 against 43.7.
What it takes to run it
Hugging Face's repository metadata puts the total at about 56.8 billion parameters in BF16, counting the n-gram table. At two bytes per parameter, the magazine's own math gives roughly 114 gigabytes. Qwen did not publish that number.
The vLLM recipe says training used quantization-aware methods for a native NVFP4 key-value cache, about 3.6 times smaller than BF16. It names a single GPU such as an H200 or a data center Blackwell part, or one AMD MI350X or MI355X. An H100 fits the FP8 checkpoint. Weights on the GPU take 39.7 gigabytes in FP8 or 72.7 in BF16. The n-gram table needs 20.5 gigabytes in FP8 or 41 in BF16, and by default sits in host RAM.
The SGLang cookbook covers smaller hardware too. Its NVFP4 recipes target local devices: a DGX Spark with 128 GB, an RTX PRO 6000 with 96 GB and a desktop RTX 5090 with 32 GB. On each, the experts all sit on the GPU, and the n-gram table alone is moved out to host RAM. The cookbook also gives an experimental recipe for a 16 GB GPU with 64 GB of host RAM.
Hugging Face says it teamed up with Qwen for day-0 support in Transformers, llama.cpp, vLLM, SGLang, MLX, Inference Providers and Inference Endpoints. Its post names BF16, FP8, oMLX and GGUF checkpoints. Three GGUF versions from ggml-org are on the Hub: Q4_K_M at 4 bits, Q6_K at 6 bits and Q8_0 at 8 bits. Hugging Face reports that MTP speculative decoding with three draft tokens sped up generation by 22 percent on an Apple Silicon M5 using the Q4 version.
Settings and cloud pricing
Qwen says thinking is set with reasoning_effort: xhigh for complex tasks, high as the default for common tasks, low for fast responses and off to disable thinking. The card says enable_thinking=False equals reasoning_effort="off". It adds that in multi-turn agentic tasks, lower effort does not always cut completion time, because faster turns can bring failures and retries.
Qwen gives separate sampling settings for each mode. In thinking mode it suggests temperature 1.0, top_p 0.95, top_k 20, min_p 0.0, presence_penalty 0.0 and repetition_penalty 1.0. Non-thinking mode uses a lower temperature of 0.7, top_p 0.80, top_k 20 and presence_penalty 1.5. Inside the one-million-token window, it proposes budgets of 262,144 tokens for reasoning content and 131,072 tokens for the final response.
Qwen's README says the reference tokenizer needs the tiktoken package and trust_remote_code=True. A Jinja chat template sits in a tokenizer-compat folder only for backward compatibility, and Qwen warns that token IDs may differ from the reference. For hour-scale video, Qwen advises setting longest_edge to 469,762,048, which it says equals 224,000 video tokens. The card's vLLM notes set default sampling at 2 frames per second.
Qwen Cloud prices the model at $0.06 per million input tokens and $0.36 per million output tokens. Input that hits the implicit cache costs $0.003 per million. The page gives a 1M context, with a maximum input of 991K tokens and a maximum output of 128K. In thinking mode those limits are 983K and 256K, and the rate limit is 5,000,000 tokens per minute. The page says the model came out in December 2026, and App Developer Magazine's Artificial Intelligence coverage is dated Friday, December 4, 2026.
Caveats and other open models
Hugging Face says the model punches way above its size and class, and is comparable to the much larger Qwen3.8-Flash-Next, or better in some tasks. App Developer Magazine says the scores back only half of that claim. It also notes that Hugging Face chose community favorites from the full table. Vendor tables are the publisher's chosen comparisons, and the card does not fully describe the test conditions.
Other open-weight models landed in the same days. At re:Invent, Amazon introduced Ergo, a mixture-of-experts model with 1.1 trillion parameters, 55 billion of them active, and a one million token context. It ships under what Amazon calls the Amazon Ergo Open Weight License. MiniMax announced M4 as an open-weight model, but the article text cuts off before giving more.
The questions people ask
What it means for you
A developer who wants a local, private agent model should read this. The serving guides list GPUs from a 16 GB experimental setup to an H200.
Who gains
Qwen's card lists it ahead on DeepSWE v1.1, NL2Repo, AutomationBench-AA and HealthBench Professional. It also gives a one million token context.
How solid is it
Mixed. The scores come from Qwen's own model card and cited leaderboards, and the magazine has not rerun them. The card also shows the model behind on several tests.
What you can do
Test it on your own tasks before relying on the table. Check memory and speed on your hardware, and confirm Qwen Cloud prices before budgeting.
What to watch
- Will Qwen list other open sizes in the Qwen4 series, since the card names none?
- Why do the model card and Hugging Face give different active parameter counts?
- Will the Qwen Cloud prices stay as listed, given the magazine says vendor prices can change?
More stories
Get The Daily
AI news, explained in 5 minutes a day. Free. The first issue is coming soon.
No password. Unsubscribe any time. Privacy
Say why
Liked it? Say why
Add a line for other readers.
No account needed. We never show your email. Comments with links, ads or abuse are held and not shown. Your comment shows after a quick check.
Sources
- First reported by
- FirstThe Standard (HK) Dec 4, 2026, 8:41 AM ET
- Also covered by (1)
- AlsoApp Developer Magazine Dec 4, 2026, 9:31 PM ET
Written with AI by the SI Agent News Desk from the reporting above. Every number is checked against it.Spot a mistake or a concern? Contact us · Corrections.
Open models
Open models
Open models