Alibaba released Qwen4-35B-A3B on Hugging Face, an open model under Apache 2.0 with a 1,048,576-token context. The name says “3B active”, which sounds like a model for any laptop. It is not: the default Ollama download is 37 GB and the BF16 version is 114 GB. We did not test the model and we did not run it. This post is the method to find out whether it fits your machine, what the API costs if it does not, and a 30-minute test to decide if it is worth your time.
The facts
- What it is: “35B with 3B activated, plus 20B n-gram embedding and 2B MTP”, 40 layers, 256 experts with 8 routed and 1 shared. A causal language model with a vision encoder (Hugging Face model card).
- License and context: Apache 2.0. Native context of 1,048,576 tokens (model card).
- What Alibaba highlights: long-horizon agentic work, and “frontend development, 3D modeling, and game development” (model card).
- Size on disk: the official repository in BF16 is 113.7 GB, our sum of the files via the Hugging Face API. Hugging Face lists it as 57B parameters, which is the 35B plus the 20B n-gram embedding plus the 2B MTP.
- The reach: 746 points and 166 comments on Hacker News, read by us on Dec 4, and 1,003 points and 246 comments on Dec 5 (HN).

Source: Hugging Face model card, Qwen/Qwen4-35B-A3B.

Source: Hugging Face model card, Qwen/Qwen4-35B-A3B.
Where it loses, in Alibaba’s own numbers
The benchmark chart is Alibaba’s, and some scores are cited from Artificial Analysis and Mercor, per the card’s own note. Order below: Qwen4-35B-A3B against Qwen3.8-Flash-Next.
- Wins: DeepSWE v1.1 61.8 vs 58.7, NL2Repo 51.7 vs 48.1, AutomationBench-AA 57.9 vs 55.9.
- Loses: Terminal Bench 4.1 21.2 vs 24.2, FrontierCode-AA 2.0 16.1 vs 27.1, GPQA 86.9 vs 91.7, APEX Agents v1.1 59.0 vs 61.0. The card’s chart also shows it behind on Work360 and AA-Briefcase.
The biggest gap is FrontierCode, 11 points. If your work looks like that benchmark, read the table before you download 37 GB.

Source: Qwen4-35B-A3B model card, benchmark chart by Alibaba.
Will it run on my machine?
The part of the name that matters for memory is the 35B, and in practice the 57B in the file list. In a mixture-of-experts model, only 3B parameters are used for each token, but any expert can be picked for the next token, so all the weights have to be loaded and ready. The 3B active make each token cheaper to compute. They do not shrink the download or the memory.
Sizes we can source:
| Version | Size | Where it comes from |
|---|---|---|
| Unsloth UD-IQ1_S | about 21.3 GB | Hugging Face API, our sum of files |
| Unsloth UD-Q2_K_XL | about 27.7 GB | same |
| Unsloth UD-Q4_K_M | about 35.2 GB | same |
Ollama default (qwen4:latest, same as qwen4:35b-a3b) |
36 to 37 GB | Ollama tags page |
Ollama q4_K_M |
37 GB | Ollama tags page |
| Unsloth Q8_0 | about 60.0 GB | Hugging Face API, our sum of files |
Ollama bf16 |
114 GB | Ollama tags page |
For vision, the Unsloth repository adds a 0.9 GB mmproj file.

Source: Ollama library, qwen4 tags.
The rule we recommend: you need more free memory than the file size, because the context also takes memory while the model runs. We do not give an overhead number because we did not measure one, and it grows with how much context you use. So treat the file size of the version you pick as the floor, not the target. The smaller quantizations trade quality for size, and we have no quality numbers for them.
Check your memory
These are standard operating system commands, not from Alibaba’s sources. We did not run them for this post.
- Windows: open PowerShell and run
Get-CimInstance Win32_ComputerSystem | Select-Object TotalPhysicalMemoryfor total RAM in bytes. If you have an NVIDIA graphics card, runnvidia-smiand read the memory column for the card. - macOS: open Terminal and run
sysctl hw.memsizefor total memory in bytes. On a Mac the processor and graphics share this memory. - Linux: run
free -hfor RAM andnvidia-smiif you have an NVIDIA card.
On a PC with a graphics card, the card’s own memory and the system RAM are two different numbers. We did not test how the model behaves when split between them, so we make no promise about speed there.
The decision
- Free memory well above 37 GB: try the Ollama default.
- Between about 28 and 37 GB: the Unsloth Q2_K_XL (27.7 GB) is the one to look at, and expect some loss of quality.
- Between about 22 and 28 GB: UD-IQ1_S (21.3 GB) exists, but that is a very aggressive quantization. Test it on your tasks before you trust it.
- Less than that: go to the API, in the Plan B below.
- Above 60 GB, with quality as the priority: the Unsloth Q8_0.
The Unsloth versions are GGUF files from a different repository. The steps below cover only the Ollama tags, and we did not test how to load the Unsloth files in Ollama, so follow the Unsloth page for those.
Step-by-step: run it with Ollama
Prerequisites:
- Ollama installed.
- Free disk for the download (37 GB for the default) and the free memory from the section above.
- A few real tasks ready for the test further down.
No NuGet packages here. If you call it from .NET later, Ollama also serves an HTTP API on your machine, and our earlier post on running Ollama with .NET covers that.
- Pull the model. The tag comes from the Ollama page.
ollama pull qwen4
This downloads qwen4:latest, the same as qwen4:35b-a3b. For another size, use the exact tag from the tags page, for example qwen4:35b-a3b-q4_K_M or qwen4:35b-a3b-bf16.
- Run it.
ollama run qwen4
- Set the official sampling parameters. For thinking mode the card recommends temperature 1.0, top_p 0.95, top_k 20. Inside
ollama run, the standard syntax is:
/set parameter temperature 1.0
/set parameter top_p 0.95
/set parameter top_k 20
For non-thinking mode the card says temperature 0.7, top_p 0.80, top_k 20 and presence_penalty 1.5. We have not checked how every Ollama version names each parameter, so confirm in the Ollama docs.
- Choose the reasoning effort. The card lists
reasoning_effortwith the values xhigh, high (the default), low and off. We have not verified how Ollama exposes this setting, so check the card and the Ollama docs. The official warning matters for agent work: in multi-turn agentic tasks, lower effort does not always reduce total time, and it can cause more failures and retries. Do not assume low is cheaper.
Plan B: it does not fit
Qwen Cloud serves the model as qwen4-35b-a3b. Alibaba Cloud Model Studio lists, per million tokens, Singapore and international: $0.06 input and $0.36 output. Other regions (Beijing, Hong Kong, Frankfurt, Virginia, Tokyo) are $0.057 and $0.339. The first 1M tokens are free, only in the Singapore region, valid for 90 days. Qwen Cloud lists implicit cache input at $0.003 and a maximum output of 128K (256K in thinking mode).
Check the price for your region before you budget. On Dec 4, both the Qwen Cloud model page and the Model Studio pricing page showed $0.06 input and $0.36 output for the international (Singapore) deployment. Other regions listed $0.057 and $0.339. Prices can change, so read the page again on the day you sign up.

Source: Qwen Cloud, Qwen4-35B-A3B, screenshot taken by us on Dec 4.
A hypothetical example (not measured)
These numbers are invented to show the arithmetic. We did not run any task. Suppose an agent task uses 200,000 input tokens and 20,000 output tokens in total.
- Input: 200,000 x $0.06 / 1,000,000 = $0.012.
- Output: 20,000 x $0.36 / 1,000,000 = $0.0072.
- Total: $0.0192 per task, about two cents. The free 1M tokens would cover about 4 such tasks (220,000 tokens each).
The same made-up task at Amazon Ergo prices ($1 input, $3 output): $0.20 + $0.06 = $0.26. In this example Qwen is about 13.5x cheaper at $0.36 output.
Be careful with that number. The price ratio per token is 16.7x on input ($1 / $0.06) and 8.3x on output ($3 / $0.36). That is per token, not per task. A model that uses more tokens, or fails more and retries, changes the result, and we measured neither. Our earlier Ergo post has the cost-per-task method.
A 30-minute test to decide
- Pick 3 real tasks you already do: one small, one medium, one that usually needs a retry. Write down what counts as “passed” before you start.
- Run each one on the Qwen4 setup you chose (local or API) and on the model you use today, with the same prompt.
- Record three things per run: passed on the first try or not, minutes, and tokens (the usage numbers in the API response, or your own count).
- Do not retry silently. Mark the failure, then record the retry cost too.
- Decide per task type. It may be the right model for some jobs and not for others. With only 3 tasks, treat the result as a signal and repeat if it is close.
What it changes
In a company where part of the staff are agents, a model is a hire with a rate card, and the rate card here has two lines: what it costs per token and what it costs in machine. The “A3B” in the name only speaks to the first.
For app developers: the 37 GB default needs well over 37 GB of free memory, which many laptops do not have. If it does not fit, the API at $0.06 and $0.36 is the realistic path for a trial.
For game developers: the card names game development and 3D modeling as focus areas. That is Alibaba’s description, not our finding. Put one game-related task in your 3 tasks and see for yourself.
For gamers: your graphics card memory (the number nvidia-smi shows) and your RAM are the two numbers to check, and we did not test how the model splits between them. If both are well under 21 GB, this model is not a local option for you, and that is fine.
For solo founders: if you pay per token for agents, the price is the story, but the test above is what makes it a conclusion.
Who can ignore it: anyone with a machine under about 22 GB of free memory who does not want to use an API, and anyone whose work looks like FrontierCode or GPQA, where Alibaba’s own chart shows the older model ahead.
What we do not know
We did not test the model and we did not run it, locally or on the API. The benchmarks are Alibaba’s. We have no measured speed, no memory overhead for the context and no quality numbers for the smaller quantizations. We did not use the 84 tokens per second a Hacker News commenter reported, because we cannot verify it. The cost example is invented. If you run the test, your numbers beat ours.
Sources
- Hugging Face model card, Qwen/Qwen4-35B-A3B: https://huggingface.co/Qwen/Qwen4-35B-A3B
- Ollama library, qwen4 tags: https://ollama.com/library/qwen4/tags
- Unsloth GGUF files: https://huggingface.co/unsloth/Qwen4-35B-A3B-GGUF
- Qwen Cloud, Qwen4-35B-A3B: https://www.qwencloud.com/models/qwen4-35b-a3b
- Alibaba Cloud Model Studio pricing: https://www.alibabacloud.com/help/en/model-studio/model-pricing
- Hacker News item 50755448: https://news.ycombinator.com/item?id=50755448
- Amazon Ergo model card (price used in the comparison): https://huggingface.co/Amazon-FMR/Ergo
- Credit: the model, benchmarks and prices belong to Alibaba. The memory table, the cost example and the test method are ours, and untested.
























