AI News4 min readBy JH Akash
Qwen4-35B-A3B: 1M Context, $0.06 API, Open Weights
Alibaba opened Qwen4-35B-A3B under Apache 2.0 on December 4: 35B total, about 3B active, 1M context, and a $0.06 per million input API.

Alibaba has opened the first downloadable Qwen4 model. Qwen4-35B-A3B landed on Hugging Face on December 4, 2026 under the Apache 2.0 license, so teams can run it, fine-tune it and ship it in commercial products without asking permission. It reads text, images and video, answers in text, and carries a native context window of about 1 million tokens.
The hook is the ratio. The model holds about 35 billion main parameters, but only about 3 billion are active for each token it processes. That is the mixture-of-experts trick: a large pool of specialist knowledge, with a small slice doing the work on any given token, so inference stays cheap. On Alibaba's own API it lists at $0.06 per million input tokens and $0.36 per million output tokens.
This story was also covered in the YouTube video Qwen 4 Is Open: Alibaba's 35B Model Uses About 3 Billion Parameters Per Token, published December 4, 2026.
Quick verdict
| Item | Qwen4-35B-A3B |
|---|---|
| Release | December 4, 2026 on Hugging Face |
| License | Apache 2.0, open weights |
| Size | About 35B main parameters, about 3B active per token |
| Inputs | Text, image and video in, text out |
| Context | About 1 million tokens (1,048,576 native) |
| API price | $0.06 input / $0.36 output per 1M tokens |
| Best for | Self-hosted agents, coding help, long documents |
One naming note: some coverage counts about 3.8B active parameters once extra embedding components are included, and the full checkpoint stores roughly 56B to 57B parameters in total. The headline figures above follow Alibaba's model card naming: 35B total, 3B active.
Pricing
| Option | Price |
|---|---|
| Qwen Cloud API input | $0.06 per 1M tokens |
| Qwen Cloud API output | $0.36 per 1M tokens |
| Cached input | $0.003 per 1M tokens |
| Self-hosted weights | Free under Apache 2.0, you pay for hardware |
| Qwen4-Max API, for comparison | $1.50 input / $4.50 output per 1M tokens |
That makes the open model about 25 times cheaper on input than Alibaba's flagship API, before you even count the option of running it yourself. For a business running thousands of agent tasks a day, that gap is the whole story. Compare it with yesterday's other big open release in our MiniMax M4 coverage.
Benchmarks
Alibaba published a benchmark chart in the model card. These are vendor-reported numbers, not an independent rerun, so treat them as a claim to test on your own tasks.
| Benchmark (vendor chart) | Qwen4-35B-A3B | Qwen3.8-27B | Inkling 2 Mini |
|---|---|---|---|
| DeepSWE v1.1 | 61.8 | 42.2 | 48.2 |
| Terminal Bench 4.1 | 21.2 | 5.6 | 5.6 |
| NL2Repo | 51.7 | 42.3 | 41.8 |
| APEX Agents v1.1 | 59.0 | 47.5 | 50.9 |
| GPQA | 86.9 | 89.2 | 86.9 |

The pattern is clear: the gains are biggest in coding and agent work, while GPQA reasoning is flat to slightly behind the older Qwen3.8-27B. Independent tracking by Artificial Analysis puts Qwen4-35B-A3B at 25 on its Intelligence Index, 5 points above Inkling 2 Mini at 20, with an estimated cost of $0.55 per index task. The trade-off is speed and verbosity: it reportedly takes about 14 minutes per index task, so cheap per token does not always mean fast per job.
How to run it
Day-one support covers Transformers, llama.cpp, vLLM, SGLang and MLX, with GGUF and FP8 builds for local use. Reports put a 4-bit local run at roughly 24 GB of RAM or VRAM, which is borderline on a 24 GB machine and comfortable on 32 GB. If you do not want to manage hardware, the Qwen Cloud API serves it as qwen4-35b-a3b.
Which to pick
Pick Qwen4-35B-A3B if you want an open, multimodal model for agents, coding assistance or long-document work, and you value the Apache 2.0 license and the 1M context. Pick a hosted frontier model instead if you need the strongest reasoning on every call and latency matters more than cost. Pick the API over self-hosting if your volume is low, because $0.06 per million input tokens is hard to beat with your own GPU bill.
For teams building agents on open models like this, our AI agent development services and guide on how to hire an AI automation agency cover what to automate first.
FAQ
Is Qwen4-35B-A3B free for commercial use?
Yes. The weights are released under Apache 2.0, which allows commercial use, modification and redistribution.
How much memory do I need to run it locally?
Reports put 4-bit builds at roughly 21 to 25 GB of memory. A 32 GB machine is the comfortable starting point.
What does the API cost?
Qwen Cloud lists $0.06 per million input tokens and $0.36 per million output tokens, with cached input at $0.003 per million.
Is it better than Qwen3.8-27B?
On Alibaba's vendor chart it wins most coding and agent tests by a wide margin, but it trails slightly on GPQA, 86.9 against 89.2. Test it on your own workload before switching.
- Qwen4-35B-A3B
- Qwen
- Alibaba
- open-weight AI
- AI agents
- AI pricing


