Alibaba Qwen · released 2026-12-03
Qwen4 35B-A3B
First Qwen4 release: a 35B mixture-of-experts with 3B active parameters, hybrid linear/sparse attention and a 1M-token context, aimed at fast local agents and coding.
- Parameters
- 57B
- Active / token
- 3B
- Context
- 1024K
- Memory at Q4
- 36.2 GB
- License
- apache-2.0
- Images
- Yes
- Thinking mode
- Yes
Cheapest ways to use it $0.04 in / $0.30 out per 1M tokens via Venice (3 providers) · or free on RTX 5090 or better
Official size: 35B MoE (3B active) + 20B n-gram embedding + 2B MTP. We size memory from the actual files on Hugging Face.
Get started
1 · Try it now
Chat with it on Qwen Chat ↗ Use via API from $0.04/1M on VeniceFree online chats are the quickest way to see if a model suits you before downloading anything.
2 · Download the files
- Official weights Qwen/Qwen4-35B-A3B
- GGUF for Ollama, LM Studio, llama.cpp ggml-org/Qwen4-35B-A3B-GGUF
- MLX for Macs (4-bit) mlx-community/Qwen4-35B-A3B-4bit
- Licence apache-2.0
You’ll need about 36.2 GB of memory at 4-bit. Check your machine →
3 · Run it on your machine
Install Ollama, then run this in a terminal:
ollama run qwen4:35b-a3bInstall LM Studio, then click “Open in LM Studio” — or search for this in its Discover tab:
ggml-org/Qwen4-35B-A3B-GGUFDownloads the file and starts a local chat server at http://localhost:8080:
llama-server -hf ggml-org/Qwen4-35B-A3B-GGUF:Q4_K_MFastest on Apple Silicon. Needs Python:
pip install mlx-lmmlx_lm.chat --model mlx-community/Qwen4-35B-A3B-4bitWill it run on my computer?
Qwen4 35B-A3B needs roughly 36.2 GB of GPU memory at the usual Q4 quality, but only 3B parameters are used per token, so it runs faster than its size suggests and copes better with spilling into system RAM. Check your exact machine →
| Machine | Best file | Fit | Est. speed |
|---|---|---|---|
| RTX 4060 | Q4_K_M | Spills to RAM | ~21 tok/s · Usable |
| RTX 3060 12GB | Q4_K_M | Spills to RAM | ~24 tok/s · Usable |
| RTX 4060 Ti 16GB | Q4_K_M | Spills to RAM | ~26 tok/s · Fast |
| RTX 3090 | Q4_K_M | Spills to RAM | ~42 tok/s · Fast |
| RTX 4090 | Q4_K_M | Spills to RAM | ~43 tok/s · Fast |
| RTX 5090 | Q3_K_M | Fits in memory | ~225 tok/s · Very fast |
| M4 · 16 GB | — | Too big | — |
| M4 Pro · 48 GB | Q3_K_M | Fits in memory | ~72 tok/s · Very fast |
| M4 Max · 128 GB | Q5_K_M | Fits in memory | ~92 tok/s · Very fast |
| M3 Ultra · 512 GB | Q5_K_M | Fits in memory | ~122 tok/s · Very fast |
| DGX Spark | Q5_K_M | Fits in memory | ~60 tok/s · Very fast |
| Ryzen AI Max+ 395 | Q5_K_M | Fits in memory | ~47 tok/s · Fast |
PCs assume 64 GB system RAM. Estimates, not measurements — method.
Ways to run it
Use it through an API 3 providers
| Provider | Input / 1M | Output / 1M | Stated precision | Context | |
|---|---|---|---|---|---|
| Venice | $0.04 | $0.30 | fp8 | 488K | source ↗ |
| Alibaba Cloud Model Studio | $0.06 | $0.36 | not stated | 977K | source ↗ |
| Featherless | $0.06 | $0.36 | not stated | 1024K | source ↗ |
Prices in USD from each provider’s own pricing page, checked 2026-12-04. Cheapest highlighted.
Rent a GPU and run it yourself
| Setup | From | Per hour | File | Est. speed | Per 1M tokens* |
|---|---|---|---|---|---|
| 2× RTX A5000 24GB | RunPod community | $0.32 | 4-bit 36.2 GB | ~140 tok/s | $0.63 |
| 1× RTX A6000 48GB | RunPod community | $0.33 | 4-bit 36.2 GB | ~140 tok/s | $0.65 |
| 2× RTX 3090 24GB | Vast.ai marketplace | $0.42 | 4-bit 36.2 GB | ~157 tok/s | $0.75 |
| 2× RTX 3090 Ti 24GB | Vast.ai marketplace | $0.54 | 4-bit 36.2 GB | ~163 tok/s | $0.92 |
*For one conversation at a time. Serving many users at once (batching, e.g. with vLLM) cuts the cost per token by 10× or more, which is how API providers get so cheap. Rental prices checked 2026-12-04. All GPU prices →
On your own machine
Free after the hardware. See the table above for which GPUs and Macs can run it, or check your exact machine. Easiest apps: Ollama and LM Studio.
Memory by quality level
| File | Quality | Weights | + 8K context | Total |
|---|---|---|---|---|
| Q3_K_M | Noticeably worse | 27.7 GB | 0.2 GB | 29.3 GB |
| Q4_K_M | Good — the usual pick | 34.4 GB | 0.2 GB | 36.2 GB |
| Q5_K_M | Very close to full | 40.5 GB | 0.2 GB | 42.5 GB |
| Q6_K | Near lossless | 46.9 GB | 0.2 GB | 49.0 GB |
| Q8_0 | Practically lossless | 60.3 GB | 0.2 GB | 62.9 GB |
| FP16 | Full precision | 114 GB | 0.2 GB | 118 GB |
Test answers
Qwen4 35B-A3B is queued for our test suite. See tested models →