
What is Qwen4-35B-A3B? Alibaba's open model for agents and code
Qwen4-35B-A3B is Alibaba's new open-weights model, released on 4 December 2026 under the Apache 2.0 licence. It reads text, images and video, holds up to 1M tokens of context, and is built for long agent and coding tasks. You can run it on a single large GPU or a well-specced workstation, or call it on Qwen Cloud for $0.06 per million input tokens and $0.36 per million output tokens. If you want a model you can host yourself, fine-tune and ship inside a product, test it now.
It is the first open model in Alibaba's Qwen 4 series, a smaller sibling of the closed Qwen4-Max. The name gives the size: 35 billion parameters, about 3 billion of them active for each token, plus a 20-billion-parameter n-gram embedding table. That design keeps it fast and cheap to run for its size.
What does it do well, and where does it fall short?
It is strongest at multi-step software and automation work: fixing code across a repository, building whole projects, and carrying a task through many tool calls. Alibaba publishes these scores against its own larger Qwen3.8-Flash-Next and Thinking Machines' Inkling 2 Mini. They are the vendor's numbers; independent results are not in yet:
| Benchmark (as reported by Qwen) | Qwen4-35B-A3B | Qwen3.8-Flash-Next | Inkling 2 Mini |
|---|---|---|---|
| DeepSWE v1.1 (software engineering) | 61.8 | 58.7 | 48.2 |
| NL2Repo (build a repository) | 51.7 | 48.1 | 41.8 |
| AutomationBench-AA (task automation) | 57.9 | 55.9 | 41.8 |
| Terminal Bench 4.1 (terminal agent) | 21.2 | 24.2 | 5.6 |
| FrontierCode-AA 2.0 (hard coding) | 16.1 | 27.1 | 15.1 |
The last two rows are the limit to plan around. On the hardest coding and terminal tasks it falls behind the larger Qwen model. It also trails Qwen3.8-Flash-Next on Qwen's professional-agent tests (APEX Agents, 59.0 against 61.0) and on graduate-level reasoning (GPQA, 86.9 against 91.7). Use it for the bulk of routine agent steps, not the few hardest ones.
Two settings change results. Thinking is on by default at high, with xhigh, low and off as the other levels. The model card warns that in multi-step agent work, a lower level can mean more failures and retries, and so higher total cost. Second, the card asks for its own tokenizer, loaded with trust_remote_code=True. The Jinja chat template is there only for backward compatibility and can produce different token IDs.
What do you need to run it?
Either your own hardware or Qwen's API.
On your own hardware. Day-one support covers Hugging Face Transformers, vLLM, SGLang, llama.cpp, MLX on Apple silicon, and Ollama. On Ollama it is one command, ollama run qwen4 (Ollama's model page, read 6 December 2026). The 4-bit build there is a 37GB download, and full precision (BF16) is 114GB. So plan on a machine with more than 37GB of memory free, not a 32GB laptop. For production serving, Hugging Face's launch post runs the FP8 version on one NVIDIA H100 80GB, and BF16 on one H200 141GB.
On Qwen Cloud. The model id is qwen4-35b-a3b, and the API is OpenAI-compatible. Prices, read on 6 December 2026:
- $0.06 per million input tokens, $0.003 per million when the input is served from cache
- $0.36 per million output tokens
- Up to 991K input tokens and 128K output tokens per call (256K with thinking on)
A coding-agent run that reads 200,000 tokens and writes 30,000 costs:
(0.2 × $0.06) + (0.03 × $0.36) = $0.012 + $0.0108 = $0.0228
That is about $23 for a thousand runs a month, before any cache discount. The model page also lists a free quota of 1M tokens, which is enough to test it on your own tasks.
Should your business use it?
The facts first: the Apache 2.0 licence lets you use, modify and sell products built on it, and the run above costs about two cents on the API. A view, then: test it if you are building a coding assistant, an internal agent that works through documents or screen recordings, or anything that must keep data on your own servers.
If you are choosing between it and Inkling 2 Mini: Qwen4-35B-A3B scores higher on most of Qwen's charts and reads video. Inkling 2 Mini is smaller and fits on a 32GB Mac. Keep a frontier API model for the hardest reasoning and code. Many teams will run both. Run your own tasks through it before you commit.
If you want Qwen4-35B-A3B built into your product or workflow, on your hardware or on Qwen Cloud, see what we build or tell us about the job.
Sources
- Qwen4-35B-A3B model card, Qwen Team, Alibaba, on Hugging Face
- Qwen4-35B-A3B overview and pricing, Qwen Cloud, read 6 December 2026
- Welcome Qwen 4: Cutting-edge intelligence on-device, Hugging Face, 4 December 2026
- qwen4, Ollama model library, read 6 December 2026
- Qwen 4 35B IS THE BEST Local AI Model Yet! (Fully Tested), WorldofAI
- Cryptography crisis, exotic spheres, Minimax M4, Qwen4 35B, Gemini 4 Live: AI NEWS, AI Search