No — not on this device

Qwen3.5 397B-A17B at Q4_K_M needs 227.4 GB against 51.2 GB usable, and the shortfall of 176.2 GB is more than 32 GB of system RAM can cover at a tolerable speed. A smaller sibling or a lower quantisation is the honest answer here.

Does not fit 8K context Q4_K_M · 226.6 GB Apache 2.0 Released 16 Feb 2026 Vision Not in the Ollama library

Flagship-class at 17B active. A 256 GB Mac Studio or a multi-GPU box at Q4.

What hardware do I need for Qwen3.5 397B-A17B? →

Fits instead: Qwen3.5 9B (6.3 GB) · Qwen3.5 4B (3.5 GB)

The VRAM budget

weights 226.6 GB
Weights 226.6 GB KV cache @ 8K 0.23 GB Runtime overhead 0.6 GB Over budget 176.2 GB past 51.2 GB

Quantisation ladder

QuantWeightsTotal @ 8KMax contextTok/sQualityFit
Q8_0 398.8 GB 399.6 GB ~1.0 −0.1% ppl 348.4 GB over
Q6_K 307.8 GB 308.6 GB ~1.3 −0.4% ppl 257.4 GB over
Q5_K_M 266.0 GB 266.8 GB ~1.5 −0.8% ppl 215.6 GB over
Q4_K_M 226.6 GB 227.4 GB ~1.8 −1.9% ppl 176.2 GB over
Q3_K_M 183.4 GB 184.3 GB ~2.2 −5.4% ppl 133.1 GB over
Q2_K 157.2 GB 158.0 GB ~2.5 −15% ppl 106.8 GB over

Quality is the published perplexity delta against f16 weights. Max context assumes an f16 KV cache; q8_0 roughly doubles it. Only 15 of its 60 blocks keep a per-token KV cache; the rest are linear-attention, Mamba or convolution blocks with a fixed-size state.

How to run it

terminal
$ llama-server \
    -hf Qwen/Qwen3.5-397B-A17B:Q4_K_M \
    -c 8192 -ngl 13

The engine underneath most of the others. Every knob is exposed. More on llama.cpp.

01Download is 226.6 GB. Keep it on an SSD — a first load off a spinning disk takes minutes.
02With no GPU, thread count matters more than clock. Start at one thread per physical core.
03If it falls back to CPU silently, drop the context first, then step down a quantisation.
See all models for this rig Compare with another model