
Alibaba’s Qwen team has released Qwen4-35B-A3B, an open model in the Qwen4 series built on the same architecture and training techniques as the flagship Qwen4-Max. It understands text, images and video, works with up to 1M tokens of context and is designed for long-horizon agentic tasks: coding, office workflow automation, and chart and video analysis. Of its 35B parameters, about 3B are active per token, and Hugging Face describes it as a mid-sized model for local setups.
According to the developer, Qwen4-35B-A3B scores 61.8 on the DeepSWE v1.1 agentic coding benchmark, ahead of its predecessor Qwen3.8-Flash-Next (58.7) and the open Inkling 2 Mini (48.2). In terminal tasks, however, the predecessor is stronger. The weights are on Hugging Face under Apache 2.0.

What Qwen4-35B-A3B can do
The Qwen team first tried out the new architecture on the 125B-parameter Qwen3.8-Flash-Next, which the developers describe as an experimental preview of the architecture behind Qwen4. Qwen4-35B-A3B is 3.6 times smaller, and it has half as many active parameters as its predecessor’s 6B. Alibaba has not released the weights of the flagship Qwen4-Max, which came out a few weeks earlier, while the open Qwen4 series, according to the team, is only beginning to roll out.
According to the model card, the team studied the workflows of professionals across industries and trained the model to see long tasks through to completion. Coding for visual deliverables also got special attention: frontend development, 3D modeling and game development with professional tools. In addition, the model solves tasks in fewer rounds, with shorter reasoning in each, which the developers say makes it faster and cheaper. There are four reasoning effort levels – xhigh, high (the default), low and off – and they are now more clearly separated from one another.
Architecture: hybrid attention and an n-gram table
As Hugging Face explains, the 40-layer network repeats one block ten times: three Gated DeltaNet layers and one Qwen Sparse Attention layer. Gated DeltaNet updates a fixed-size memory as it reads, while sparse attention can reach any token in the context, though not all of them at once: for each query, an indexer selects up to 512 groups of four tokens, or up to 2,048 tokens. Each of these layers is followed by a mixture of experts: out of 256 experts, eight are activated per token, plus one shared expert.
One of the largest components is the n-gram embedding table in the second layer: according to the model card, it holds 10 million bigrams and trigrams, about 20B parameters. Each token reads only 16 rows from it, and Qwen says the table improves quality without extra compute or accelerator memory overhead. The model also has four parallel residual streams mixed by learned gates, and a 2B-parameter MTP module that predicts several tokens ahead.
The 1M-token context is native, whereas Qwen3.8-Flash-Next had a native window of 262,144 tokens, extendable to 1M. According to the developers, the hybrid design speeds up work with long sequences and drastically shrinks the cache. By the editors’ estimate, the KV cache builds up only in the 10 sparse attention layers, which have two KV heads of dimension 256 – about 20 KB per token in BF16, four times less than if all 40 layers kept a cache. That comes to about 2.7 GB at 128K tokens and about 21.5 GB at full context, not counting the small indexer cache.
Results and comparisons
The results table was published by Qwen itself: the new model is compared with Qwen3.8-Flash-Next, the dense Qwen3.8-27B and Inkling 2 Mini. The company took the Terminal Bench 4.1, FrontierCode-AA 2.0, AA-Briefcase and AutomationBench-AA scores from Artificial Analysis measurements and the APEX Agents scores from the Mercor leaderboard, while Work360 is Qwen’s in-house benchmark. The model does not have an Artificial Analysis Intelligence Index score yet.
| Benchmark (score) | Qwen4-35B-A3B | Qwen3.8-Flash-Next | Qwen3.8-27B | Inkling 2 Mini |
|---|---|---|---|---|
| DeepSWE v1.1, agentic coding | 61.8 | 58.7 | 42.2 | 48.2 |
| NL2Repo, repository generation | 51.7 | 48.1 | 42.3 | 41.8 |
| Terminal Bench 4.1, terminal agent | 21.2 | 24.2 | 5.6 | 5.6 |
| FrontierCode-AA 2.0, software engineering | 16.1 | 27.1 | 14.9 | 15.1 |
| Work360, professional work | 42.9 | 43.7 | 37.1 | 30.4 |
| APEX Agents v1.1, professional agent tasks | 59.0 | 61.0 | 47.5 | 50.9 |
| AA-Briefcase v1.1, Elo rating | 1486 | 1567 | 1391 | 1263 |
| AutomationBench-AA, task automation | 57.9 | 55.9 | 48.2 | 41.8 |
| HealthBench Professional, healthcare | 47.4 | 34.8 | 29.8 | 45.7 |
| GPQA, graduate-level science | 86.9 | 91.7 | 89.2 | 86.9 |
| Chartography, chart understanding | 27.8 | 24.6 | 27.8 | 22.1 |
| VideoIndex, video understanding | 52.9 | 51.4 | 51.9 | 44.0 |
Among models of its size, Qwen4-35B-A3B is clearly stronger: it beats the dense Qwen3.8-27B on ten of the twelve benchmarks and Inkling 2 Mini on eleven. Against the larger Qwen3.8-Flash-Next, the new model comes out ahead in agentic coding, automation, healthcare, and chart and video understanding, with the widest margin on HealthBench Professional, at 12.6 points.
Its biggest gap is on FrontierCode-AA 2.0, where it trails Qwen3.8-Flash-Next by 11 points, and on GPQA science questions it shares last place with Inkling 2 Mini. It is also far behind the closed flagship: according to the same Artificial Analysis measurements, which OpenRouter lists, Qwen4-Max scores 26.5% on FrontierCode-AA 2.0 and 72.6% on AutomationBench-AA.
Pricing and running it locally
Through the API, the model is available on Qwen Cloud as qwen4-35b-a3b. A response with reasoning can run up to 256K tokens, twice what Qwen3.8-Flash, the API version of Qwen3.8-Flash-Next, allows. Rates from other companies are collected in the LLM API pricing comparison.
| Model | Input, $ per 1M tokens | Output, $ per 1M tokens | Cache read, $ per 1M tokens | Agentic task*, $ |
|---|---|---|---|---|
| Qwen4-35B-A3B | 0.06 | 0.36 | 0.003 | 0.096 |
| Qwen3.8-Flash | 0.15 | 0.47 | 0.016 | 0.197 |
| Qwen4-Max | 1.50 | 4.50 | 0.075 | 1.95 |
Qwen Cloud prices; for Qwen4-Max, Alibaba Cloud’s price on OpenRouter without the 5% discount. *Editors’ calculation: 1M input and 100K output tokens, no caching.
By this calculation, an agentic task on Qwen4-35B-A3B costs about half as much as on Qwen3.8-Flash and about 20 times less than on Qwen4-Max.
The model got day-0 support in transformers, llama.cpp, vLLM, SGLang and MLX. Ready-made GGUF files for llama.cpp weigh 36 GB in the 4-bit Q4_K_M version, 51 GB in Q6_K and 59.4 GB in Q8_0, while the BF16 version is 111 GB. By the editors’ estimate, Q4_K_M loaded fully into memory together with a 128K-token cache takes about 40 GB, which calls for a 48 GB GPU or a Mac with 64 GB of unified memory.
The built-in MTP module speeds up generation: with three draft tokens, Hugging Face measured a 22% speedup on an Apple M5 running the 4-bit version. The oMLX engine can also offload the n-gram table to SSD.
The bottom line
Qwen4-35B-A3B suits those who need an open model for agentic coding, automation, and chart and video analysis on their own hardware or through a cheap API: among models of its size, it leads on almost every one of the developer’s benchmarks. For the hardest coding and terminal tasks, Qwen3.8-Flash-Next or Qwen4-Max is the more sensible choice. Independent measurements will show where the model ultimately stands among open models.
