Advisor / Models / Qwen3.5 4B

Qwen3.5 4B: VRAM requirements & speed

Qwen3.5 4B (4.66B dense, apache-2.0). Native context 256k, 1.01M with YaRN. Smallest GGUF: 2.74 GB.

2.74 GBsmallest quant file
26hardware pages that fit it fully
0run with offload
12measured data points

Memory needed by quantization and context

GGUF file size plus f16 KV cache (and fixed overhead of ~1 GB per GPU not shown). Source: unsloth/Qwen3.5-4B-GGUF.

QuantFile+8k ctx+32k ctx+128k ctx+256k ctx+1M ctx
Q4_K_M2.74 GB3.1 GB3.9 GB7.1 GB11.4 GB35.6 GB
Q5_K_M3.14 GB3.5 GB4.3 GB7.5 GB11.8 GB36.0 GB
Q6_K3.53 GB3.9 GB4.7 GB7.9 GB12.2 GB36.4 GB
Q8_04.48 GB4.8 GB5.6 GB8.8 GB13.1 GB37.3 GB

KV cache size by context length

Computed from the model's attention layout, including a fixed 0.05 GB linear-attention state.

Contextf16q8_0q4_0
8k0.32 GB0.20 GB0.13 GB
32k1.13 GB0.62 GB0.35 GB
128k4.35 GB2.33 GB1.26 GB
256k8.64 GB4.62 GB2.47 GB
1M YaRN32.82 GB17.46 GB9.27 GB

Which hardware runs Qwen3.5 4B? · 16k context

HardwareQuantFitMemoryTok/sSpeed source
RTX 5080 16GBQ8_0fits fully5.1 GB183scaled from measured
Mac Studio M5 Ultra 256GBQ8_0fits fully5.1 GB169estimated
Mac Studio M5 Ultra 512GB (ships late Oct 2026)Q8_0fits fully5.1 GB169estimated
RTX 4090 24GBQ8_0fits fully5.1 GB158measured
2x RTX 3090 (48GB total)Q8_0fits fully5.1 GB143estimated
RTX 3090 24GBQ8_0fits fully5.1 GB138measured
RTX 5070 12GBQ8_0fits fully5.1 GB116measured
Mac Studio M5 Max 128GBQ8_0fits fully5.1 GB102scaled from measured
MacBook Pro 14/16 M5 Max 128GBQ8_0fits fully5.1 GB102scaled from measured
RTX PRO 6000 96GB (bonus page)Q8_0fits fully5.1 GB93scaled from measured
RTX 4070 12GBQ8_0fits fully5.1 GB89measured
RTX 5090 32GBQ8_0fits fully5.1 GB72scaled from measured
Mac Studio (2025) M3 Ultra 96GBQ8_0fits fully5.1 GB68scaled from measured
RTX 3060 12GB (32GB RAM)Q8_0fits fully5.1 GB63measured
MacBook Pro 14/16 (2024) M4 Max 128GBQ8_0fits fully5.1 GB57scaled from measured
RTX 5070 Ti 16GBQ8_0fits fully5.1 GB54scaled from measured
16GB VRAM class (RTX 4060 Ti 16GB, 32GB RAM)Q8_0fits fully5.1 GB54measured
NVIDIA DGX Spark 128GBQ8_0fits fully5.1 GB50scaled from measured
MacBook Pro 14/16 M5 Pro 48GBQ8_0fits fully5.1 GB48scaled from measured
AMD RX 7900 XTX 24GBQ8_0fits fully5.1 GB46scaled from measured
8GB VRAM class (RTX 4060 8GB, 32GB RAM)Q8_0fits fully5.1 GB42scaled from measured
Mac mini (2024) M4 Pro 64GBQ8_0fits fully5.1 GB35scaled from measured
Mac mini M6 32GBQ8_0fits fully5.1 GB27scaled from measured
Mac mini / iMac M4 16GBQ8_0fits fully5.1 GB24scaled from measured
AMD Ryzen AI Max+ 395 (Strix Halo) 128GBQ8_0fits fully5.1 GB23scaled from measured
MacBook Air M5 32GBQ8_0fits fully5.1 GB22scaled from measured

Discrete GPUs are modelled with 32 GB of system RAM available for offload. Fits (at least with offload) on every listed configuration.

Links

Model card · GGUF files · Open in the advisor · last verified 2026-10-14

FAQ

How much VRAM does Qwen3.5 4B need?

The smallest quant (Q4_K_M) is 2.74 GB, so you need roughly 4 GB for an 8k context including KV cache and overhead. At 1M context the f16 KV cache alone is 32.8 GB.

Can I run Qwen3.5 4B on a RTX 5080 16GB?

Yes: on RTX 5080 16GB it fits fully as Q8_0 at about 183 tok/s (scaled from measured). 26 of 26 hardware configurations fit it fully at 16k context.

What is the maximum context for Qwen3.5 4B?

256k tokens natively, up to 1.01M with YaRN as documented on the model card. Memory, not the model, is usually the limit: see the KV cache table above.

All models: model index · by memory: 8 GB · 12 GB · 16 GB · 24 GB · 32 GB · 48 GB · 64 GB · 96 GB · 128 GB · 192 GB · 256 GB · 512 GB. Numbers use the same fit math as the advisor; sources and methods.