No — not on this device

Qwen3.5 397B-A17B at Q4_K_M needs 227.4 GB against 10.6 GB usable, and the shortfall of 216.8 GB is more than 64 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 216.8 GB past 10.6 GB

Quantisation ladder

QuantWeightsTotal @ 8KMax contextTok/sQualityFit
Q8_0 398.8 GB 399.6 GB ~0.8 −0.1% ppl 389.0 GB over
Q6_K 307.8 GB 308.6 GB ~1.1 −0.4% ppl 298.0 GB over
Q5_K_M 266.0 GB 266.8 GB ~1.3 −0.8% ppl 256.2 GB over
Q4_K_M 226.6 GB 227.4 GB ~1.5 −1.9% ppl 216.8 GB over
Q3_K_M 183.4 GB 184.3 GB ~1.9 −5.4% ppl 173.7 GB over
Q2_K 157.2 GB 158.0 GB ~2.2 −15% ppl 147.4 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 2

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.
02Close anything else holding VRAM. A browser with hardware acceleration can sit on 1–2 GB.
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