Run Qwen3.5 Locally: Every Size, What It Needs, What to Pull
Want to go deeper than this article?
Free account unlocks the first chapter of all 25 courses — RAG, agents, MCP, voice AI, MLOps, real GitHub repos.
Go from reading about AI to building with AI 25 structured courses. Hands-on projects. Runs on your machine. Start free.
Short answer: ollama pull qwen3.5 gets you the 9B, which is 6.6GB at Q4 and the right Qwen3.5 for most 8GB to 16GB machines. On a 4GB to 6GB card, pull qwen3.5:2b or qwen3.5:4b. On 24GB, the Qwen3.5 sizes that fit are the 27B and the 35B-A3B, but Qwen has newer versions of both (Qwen3.6 and Qwen3.8), so pull those instead. The 122B-A10B needs about 81GB and belongs on a 128GB Mac, a 128GB Strix Halo machine or a DGX Spark. Qwen3.5 came out in February 2026 under Apache 2.0, and every size takes text and images. For 9B and below it is still the newest Qwen in Ollama's library.
Our own runs: on a cloud NVIDIA L4 (24GB, 300 GB/s) the 9B generated 37.1 tokens per second and the 4B 59.3, at Q4 in Ollama. Everything else on this page is either a published size or arithmetic from each model's config, and says which.
The lineup
Seven sizes in Ollama, five dense and two mixture-of-experts. All share one design: three linear-attention layers for every full-attention layer.
| Size | Type | Layers (full attention) | Ollama default | KV cache per token (f16) |
|---|---|---|---|---|
| 0.8B | dense | 24 (6) | qwen3.5:0.8b, 1.2GB to 1.3GB | 12 KiB |
| 2B | dense | 24 (6) | qwen3.5:2b, 2.7GB to 3.1GB | 12 KiB |
| 4B | dense | 32 (8) | qwen3.5:4b, 3.3GB to 4.0GB | 32 KiB |
| 9B | dense | 32 (8) | qwen3.5 / qwen3.5:9b, 6.6GB to 7.6GB | 32 KiB |
| 27B | dense | 64 (16) | qwen3.5:27b, 17GB to 20GB | 64 KiB |
| 35B-A3B | MoE, 256 experts, 8 per token | 40 (10) | qwen3.5:35b, 22GB | 20 KiB |
| 122B-A10B | MoE, 256 experts, 8 per token | 48 (12) | qwen3.5:122b, 81GB | 24 KiB |
The ranges are how Ollama lists each default tag. There is no 14B: if you search for "Qwen3.5 14B", the closest sizes are the 9B and the 27B. Qwen's collection also has a 397B-A17B flagship, which is not in Ollama's library and is not a home-hardware model.
The "A3B" and "A10B" in the MoE names mean about 3B and 10B parameters active per token. Qwen doesn't state the exact active counts on the pages we read. An MoE model holds all its weights in memory but reads only the active ones for each token, so the 35B-A3B needs more memory than the 27B but generates faster on the same card.
Reading articles is good. Building is better.
Free account = the first chapter of all 25 courses, with a per-chapter AI tutor. No card.
Which size fits your machine
8GB: the 9B with a short context, or the 4B with a long one. 12GB: the 9B with the long context Qwen recommends. 16GB: the 9B at Q8. 24GB and up: the bigger sizes, or their newer versions.
"Context you can afford" assumes about 1 GiB of runtime overhead and the KV costs from the next section. Ollama sizes include the vision projector.
| Hardware | Pull | Size | Context you can afford | Verdict |
|---|---|---|---|---|
| 4GB GPU, phones, Raspberry Pi | qwen3.5:2b (or :0.8b) | 2.7GB (1.2GB) | ~32K | The 2B is the useful one; the 0.8B is for very small devices. |
| 6GB GPU | qwen3.5:4b | 3.3GB | ~64K | A good small model. |
| 8GB GPU (RTX 4060, 3060 Ti, 5060) | qwen3.5:9b | 6.6GB | ~16K to 32K | The best Qwen3.5 for 8GB, with a short context. For 128K, use the 4B. |
| 12GB GPU (RTX 3060 12GB, 4070, 5070) | qwen3.5:9b | 6.6GB | ~128K | The 9B with the long context Qwen recommends for thinking. |
| 16GB GPU (RTX 4080, 5070 Ti, 5080) | qwen3.5:9b-q8_0 | 10GB | ~128K | 8-bit weights with a long context. |
| 24GB GPU (RTX 3090, 4090) | qwen3.8:27b or qwen3.6:35b | 18GB / 23GB | ~64K | Newer versions of the 27B and 35B. Qwen3.5's own fit too: 27B 17GB, 35B-A3B 22GB. |
| 32GB GPU (RTX 5090) | qwen3.5:35b | 22GB | full 262K | The full window, with room to spare. |
| Mac, 16GB unified | qwen3.5:9b | 6.6GB | ~32K to 64K | macOS keeps part of the memory for itself. |
| Mac, 32GB unified | qwen3.5:27b or qwen3.5:35b | 17GB / 22GB | ~32K | The MLX tags are 27b-mlx (20GB) and 35b-mlx (22GB). |
| Mac, 64GB+ unified | qwen3.5:35b-a3b-q8_0 | 39GB | long | 8-bit MoE. |
| 128GB Mac, Strix Halo 128GB, DGX Spark | qwen3.5:122b | 81GB | long | The only Qwen of this size in Ollama. A 96GB Mac is too tight at macOS's default GPU memory limit. |
Two rows deserve a closer look. On 8GB, the 9B at Q4 is 6.6GB (about 6.1 GiB). After the runtime takes its share, under 1 GiB is left, so a 16K to 32K context fits. Qwen's model card advises "maintaining a context length of at least 128K tokens to preserve thinking capabilities". On an 8GB card, that means the 4B at 128K or the 9B with thinking turned off. On 12GB, the 9B at 128K is about 6.1 GiB of weights, 4 GiB of cache and 1 GiB of overhead, so it just fits. The 12GB Qwen picks page weighs it against the 8-bit 9B.
For the full model lists at each tier, see the 8GB, 16GB and 24GB Qwen pages. The 4GB picks page covers the smallest cards.
The KV cache bill
Only one layer in four keeps a cache that grows with the prompt. That is why a 9B can afford 128K on a 12GB card.
Every Qwen3.5 size uses the same layout: three Gated DeltaNet layers, then one full-attention layer, repeated. The Gated DeltaNet layers carry a small fixed-size state that doesn't grow with context. Only the full-attention layers keep a per-token cache: 2 (keys and values) x KV heads x 256 dimensions x 2 bytes at f16. From each size's config.json:
size full-attn layers KV heads per token 32K 128K 262K
0.8B, 2B 6 2 12 KiB 0.4 GiB 1.5 GiB 3 GiB
4B, 9B 8 4 32 KiB 1 GiB 4 GiB 8 GiB
27B 16 4 64 KiB 2 GiB 8 GiB 16 GiB
35B-A3B 10 2 20 KiB 0.6 GiB 2.5 GiB 5 GiB
122B-A10B 12 2 24 KiB 0.8 GiB 3 GiB 6 GiB
Three practical notes:
- Set
num_ctxyourself. Ollama uses a modest default context. In the REPL,/set parameter num_ctx 131072gives the 9B the 128K Qwen recommends, if your card has the 4 GiB for it. - The MoE sizes are cheap on cache. The 35B-A3B needs less cache per token than the 9B, because it has only 2 KV heads. On a 32GB card, its full 262K window costs 5 GiB.
- Check where it landed.
ollama psshould report 100% GPU. A CPU share means the context pushed you over, and speed drops sharply.
Measured speed
Two sizes measured on our own runs. The rest have no figure here.
| Model | Card | Quant | Model file | VRAM used | Generation | Bandwidth ceiling |
|---|---|---|---|---|---|---|
qwen3.5:4b | NVIDIA L4, 24GB, 300 GB/s | Q4_K_M | 2.65 GB | 3.07 GB | 59.3 tok/s (59.1 to 59.5) | 113.2 tok/s |
qwen3.5:9b | NVIDIA L4, 24GB, 300 GB/s | Q4_K_M | 5.63 GB | 5.54 GB | 37.1 tok/s (37.0 to 37.1) | 53.3 tok/s |
Measured on November 3, 2026, with Ollama 0.40.13 on Ubuntu 22.04 with CUDA. The context was 2,048 tokens, and 6 of 7 runs were valid. Time to first token was 61 ms for the 4B and 98 ms for the 9B. The ceiling is bandwidth divided by file size: the speed a card can't exceed. The 9B reached 70% of its ceiling and the 4B 52%. Smaller models usually lose a larger share to fixed per-token work that isn't memory reads.
The L4 is a datacentre card with less bandwidth than a gaming GPU. To estimate your own card, scale by bandwidth: an RTX 4060 (272 GB/s) lands near the L4, and an RTX 4090 (1,008 GB/s) has more than three times the ceiling. The method and raw files are on the benchmarks page.
Run this on your own machine and stop paying every month
Pay once and keep it. No renewal, no per-token bill, and nothing you feed it ever leaves your hardware.
Thinking mode and sampling
Thinking is on by default. Turn it off for quick chat. Qwen recommends different sampling for each mode.
Qwen3.5 thinks before answering unless you say otherwise. Two things to know:
- Ollama: type
/set nothinkin the REPL, or send"think": falsein an API request. - Transformers, vLLM or SGLang: pass
"chat_template_kwargs": {"enable_thinking": false}. Qwen notes that Qwen3.5 "does not officially support the soft switch of Qwen3", so typing /think or /nothink inside a prompt is not the way.
Qwen's recommended sampling, from the 9B model card:
| Mode | temperature | top_p | top_k | min_p | presence_penalty |
|---|---|---|---|---|---|
| Thinking, general | 1.0 | 0.95 | 20 | 0.0 | 1.5 |
| Thinking, precise coding | 0.6 | 0.95 | 20 | 0.0 | 0.0 |
| Non-thinking, general | 0.7 | 0.8 | 20 | 0.0 | 1.5 |
Qwen suggests an output budget of 32,768 tokens for most queries. It also warns that a high presence penalty "may occasionally result in language mixing". Drop it toward 0 if replies start switching languages.
Which size for which job
The 9B is the default for good reason. Go smaller for speed or tiny devices, bigger only if you have the memory.
Qwen's own 9B-vs-4B numbers show what the step up buys:
| Benchmark (Qwen's card) | 9B | 4B |
|---|---|---|
| MMLU-Pro | 82.5 | 79.1 |
| GPQA Diamond | 81.7 | 76.2 |
| LiveCodeBench v6 | 65.6 | 55.8 |
| IFEval | 91.5 | 89.8 |
Coding shows the biggest gap: almost 10 points on LiveCodeBench. Knowledge and instruction-following are closer.
- 0.8B and 2B: phones, single-board computers and quick classification or extraction. The phone guide and the Raspberry Pi 5 guide cover those devices.
- 4B: 6GB cards and fast responses, or the long-context option on 8GB.
- 9B: chat, writing, document questions and light coding on most consumer machines.
- 27B (dense) vs 35B-A3B (MoE): the 27B is smaller in memory (17GB vs 22GB). The 35B-A3B reads only about 3B parameters per token, so it generates faster and its cache is lighter. Qwen's pages we read don't compare their quality.
- 122B-A10B: the biggest local Qwen, for machines with 128GB of unified memory. The DGX Spark review covers one such machine.
Every size takes images. Ollama lists text and image input on every tag, and every size's config includes a vision encoder. Qwen also states support for 201 languages and dialects.
Qwen3.5 vs Qwen3.6 vs Qwen3.8
Below 27B, Qwen3.5 is still current. At 27B and 35B, pull the newer versions.
| Version | Released | Sizes in Ollama | Use it for |
|---|---|---|---|
| Qwen3.5 | February 2026 | 0.8B, 2B, 4B, 9B, 27B, 35B-A3B, 122B-A10B | Everything 9B and below, and the 122B |
| Qwen3.6 | April 2026 | 27B (18GB to 19GB), 35B (23GB) | The 35B MoE size |
| Qwen3.8 | August 2026 | 27B (18GB) | The 27B size |
Qwen describes Qwen3.6 as following "the February release of the Qwen3.5 series." Its 27B model card points to Qwen3.8-27B as the newer version, and Qwen3.8 is "Built on the architectural foundation of Qwen3.5". The 27B configs share the same layout, so memory needs barely change between versions. On a 24GB card, qwen3.8:27b is the better pull than qwen3.5:27b at the same size. The Qwen3.8-27B VRAM guide has the per-card details, and the Qwen3.6-27B page covers the version in between.
There is no Qwen3.6 or Qwen3.8 at 9B or smaller in Ollama's library. That makes qwen3.5:9b the current Qwen for most 8GB to 16GB machines.
Commands and errors
# the default: 9B at Q4, 6.6GB
ollama pull qwen3.5
ollama run qwen3.5
# inside the REPL: a long context and no thinking for quick chat
# /set parameter num_ctx 131072
# /set nothink
# small cards
ollama pull qwen3.5:4b
ollama pull qwen3.5:2b
# 16GB cards: 8-bit 9B, 10GB
ollama pull qwen3.5:9b-q8_0
# 32GB cards and 32GB+ Macs: the MoE
ollama pull qwen3.5:35b
"unknown model architecture: 'qwen35'" means your Ollama is older than Qwen3.5. Ollama added Qwen3.5 to its library in v0.17.4, and imported GGUF files need v0.30.0 or later. The unknown architecture guide has the full version table. Update Ollama and pull again.
Key takeaways
ollama pull qwen3.5is the 9B at 6.6GB, the right size for most 8GB to 16GB machines.- Qwen3.5 has seven sizes in Ollama: 0.8B, 2B, 4B, 9B, 27B, 35B-A3B and 122B-A10B. There is no 14B.
- Qwen recommends at least 128K of context for thinking. The 9B's cache costs 4 GiB at 128K, so the 9B with thinking needs a 12GB card.
- At 27B and 35B, pull Qwen3.8 or Qwen3.6 instead. At 9B and below, Qwen3.5 is current.
- Measured on an NVIDIA L4: 37.1 tok/s for the 9B and 59.3 for the 4B, at Q4 in Ollama.
Sources
- Ollama library, qwen3.5 tags, read November 24, 2026: every tag size, context and input type quoted.
- Qwen/Qwen3.5-9B model card: release month, licence, layout, context, thinking toggle, sampling, the 128K advice and the 9B-vs-4B benchmarks.
- Qwen3.5 collection and each size's config.json (for example Qwen3.5-35B-A3B): layer counts, KV heads, head dimensions and expert counts behind the KV table.
- Qwen/Qwen3.6-27B and Qwen/Qwen3.8-27B model cards: release months and how each relates to Qwen3.5.
- Measured speeds: our own runs, published with raw files on the benchmarks page.
- KV cache and GiB figures: our arithmetic from the configs, shown in the KV cache section.
Go from reading about AI to building with AI
25 structured courses. Hands-on projects. Runs on your machine. Start free.
Liked this? 25 full AI courses are waiting.
From fundamentals to RAG, agents, MCP servers, voice AI, and production deployment with real GitHub repos. First chapter free, every course.
Build Real AI on Your Machine
RAG, agents, NLP, vision, and MLOps - chapters across 25 courses that take you from reading about AI to building AI.
Want the structured version?
Hands-on courses on local AI, from $8.99 a month. The first chapter of each is free.
Keep going
- PILLARLocal AI Hardware Requirements (2026): Complete Guide
- Best Mac for Local AI: Every Apple Silicon Chip Ranked M1–M6
- Ollama System Requirements: Minimum RAM, GPU, Disk Size
- Run an LLM on Your Phone: Offline AI on Android & iPhone
- Qwen3-Coder 30B & 480B: VRAM, Benchmarks, Ollama Setup
- Llama 3.1 Nemotron 70B Instruct: Ollama, VRAM, Chat Template
- Inkling-2-Mini Local Setup: 32GB Mac, VRAM and Ollama
- Ollama Uncensored Models: Abliterated Picks by VRAM (2026)
- Llama 2 13B & 7B: Specs, VRAM, Ollama (llama2:13b)
- Every CPU With an NPU: TOPS Ranking Table
Comments (0)
No comments yet. Be the first to share your thoughts!
