What Models?

Pick the right model for your GPU — in seconds.

Qwen3.5 397B A17B VRAM requirements: which GPUs can run it?

397B params 256K max context VisionTool useReasoning

The smallest GPU memory that runs Qwen3.5 397B A17B well is 256 GB (Q4_K_M, e.g. M3 Ultra). 2 of 132 GPUs run it well. It's a mixture-of-experts model, so all weights must fit in memory but speed depends only on the active experts.

MMLU 87 SWE-bench Verified 76.2

VRAM needed per quantization

QuantizationWeights16K context32K contextFull 256K
Q4_K_M227.3 GB227.8 GB228.3 GB234.8 GB
Q8_0392.6 GB393.0 GB393.5 GB400.0 GB

Weights plus fp16 KV cache. Leave ~1 GB headroom for the inference engine.

Run it locally

Each command downloads the GGUF from Hugging Face, then Ollama starts a chat and llama.cpp starts an OpenAI-compatible server with a web UI on port 8080. Both fetch the vision projector (mmproj) automatically.

llama.cpp llama-server -hf unsloth/Qwen3.5-397B-A17B-GGUF:Q4_K_M

Split into 6 files, which Ollama can't pull from Hugging Face yet; llama.cpp downloads the whole set.

llama.cpp llama-server -hf unsloth/Qwen3.5-397B-A17B-GGUF:Q8_0

Split into 10 files, which Ollama can't pull from Hugging Face yet; llama.cpp downloads the whole set.

GPUs that can run Qwen3.5 397B A17B

Best quantization that fits on each GPU, with the context and speed it gets. For chips with several memory sizes, the smallest that works is shown.

Apple

  • M3 Ultra 256 GB Q4_K_M 256K context · ~45 tok/s
  • M5 Ultra 256 GB Q4_K_M 256K context · ~62 tok/s
Check your exact setup in the full tool →