Can 8GB VRAM class (RTX 4060 8GB, 32GB RAM) run Qwen3.5 4B?
Measured results for Qwen3.5 4B (4.66B dense) on 8GB VRAM class (RTX 4060 8GB, 32GB RAM), plus what fits and the commands to run it.
Short answer
Yes. Qwen3.5 4B Q8_0 fits fully on 8GB VRAM class (RTX 4060 8GB, 32GB RAM) at 16k context, using 5.1 of 7.0 GB usable, and generates about 51.3 tokens/s in our own run. As the context fills it slows down: 46.3 tok/s with 16k tokens already in context (90% of the empty-context speed), measured. For Q8_0, our bandwidth-only estimate was ~33 tok/s against a measured median of ~51 (35% too pessimistic).
Measured generation speed by quantization
| Quant | Generation tok/s | Range | Prompt tok/s | Runs | Origin |
|---|---|---|---|---|---|
| Q4 class (median) | 77.4 | 77.4–77.4 | 3695 | 1 | includes our runs |
| Q8 class (median) | 51.3 | 51.3–51.3 | 3948 | 1 | includes our runs |
| Q4_K_M (our run, depth 0) | 77.4 | 3 repeats | 3695 | 3 | own measurement |
| Q8_0 (our run, depth 0) | 51.3 | 3 repeats | 3948 | 3 | own measurement |
Generation = tg128 (128 generated tokens, short context). Public rows are medians of community llama.cpp results (sources); our own runs use llama-bench b11658 on a rented GPU.
Speed vs context depth measured
Our own llama-bench runs on GeForce RTX 4060 (flash attention on, 3 repeats): generation and prompt speed with the given number of tokens already in the context.
| Quant | Context depth | Generation tok/s | vs depth 0 | Prompt tok/s |
|---|---|---|---|---|
| Q4_K_M | 0 | 77.4 | 100% | 3695 |
| Q4_K_M | 4k | 74.3 | 96% | 3622 |
| Q4_K_M | 16k | 66.4 | 86% | 3071 |
| Q8_0 | 0 | 51.3 | 100% | 3948 |
| Q8_0 | 4k | 50 | 97% | 3756 |
| Q8_0 | 16k | 46.3 | 90% | 3192 |
Alternatives
Faster for Qwen3.5 4B
- RTX 5070 12GB: Q8_0, 11 GB usable, ~116 tok/s measured
- RTX 4070 12GB: Q8_0, 11 GB usable, ~89 tok/s measured
- RTX 3060 12GB (32GB RAM): Q8_0, 11 GB usable, ~63 tok/s measured
Other models on 8GB VRAM class (RTX 4060 8GB, 32GB RAM), similar size
- Nemotron 3 Nano 4B (hardware page): Q8_0, fits fully, ~54 tok/s (scaled from measured)
- DeepSeek R1 Distill Qwen 7B (hardware page): Q5_K_M, fits fully, ~48 tok/s (scaled from measured)
- Gemma 4 E4B (hardware page): Q5_K_M, fits fully, ~47 tok/s (scaled from measured)
- Qwen3.5 9B: Q4_K_M, fits fully, ~46 tok/s (measured)
Memory and context limits
Q8_0 weights are 4.5 GB; the 16k f16 KV cache adds 0.59 GB. Largest context that fits in 7.0 GB usable:
| KV cache type | Max context |
|---|---|
| f16 | 64k |
| q8_0 | 128k |
| q4_0 | 256k |
Native limit 256k, 1.01M with YaRN. Full KV cache table for Qwen3.5 4B.
Copy-paste commands
The advisor's pick for this hardware: Q8_0, 16k context.
llama-server -hf unsloth/Qwen3.5-4B-GGUF:Q8_0 -c 16384 -fa on --jinja -ngl 99
OLLAMA_CONTEXT_LENGTH=16384 ollama serve ollama run hf.co/unsloth/Qwen3.5-4B-GGUF:Q8_0
FAQ
How fast is Qwen3.5 4B on 8GB VRAM class (RTX 4060 8GB, 32GB RAM)?
About 51.3 tokens/s for generation (Q8_0 on llama.cpp CUDA, 128-token generation), 3948 tokens/s for prompt processing. Speed drops as the context fills; see the depth table.
How much memory does Qwen3.5 4B need on 8GB VRAM class (RTX 4060 8GB, 32GB RAM)?
The advisor's pick, Q8_0, is 4.5 GB of weights plus 0.59 GB of KV cache at 16k context (5.1 GB), against 7.0 GB usable.
Is the Qwen3.5 4B speed on 8GB VRAM class (RTX 4060 8GB, 32GB RAM) measured or estimated?
Measured: our own llama-bench run on a rented GeForce RTX 4060, including runs with 4k to 16k tokens already in context.
What can I use instead of 8GB VRAM class (RTX 4060 8GB, 32GB RAM) for Qwen3.5 4B?
Nothing with less memory in our list fits it fully. Faster: RTX 5070 12GB (~116 tok/s), RTX 4070 12GB (~89 tok/s), RTX 3060 12GB (32GB RAM) (~63 tok/s).
What is the maximum context for Qwen3.5 4B on 8GB VRAM class (RTX 4060 8GB, 32GB RAM)?
With an f16 KV cache about 64k tokens, 128k with q8_0 and 256k with q4_0, bounded by the model's own limit.
Related
All models on 8GB VRAM class (RTX 4060 8GB, 32GB RAM) · Qwen3.5 4B on all hardware · VRAM tier · all measured pages · leaderboard
Compare: RTX 3060 12GB (32GB RAM) vs 8GB VRAM class (RTX 4060 8GB, 32GB RAM)