Advisor / Can it run? / Qwen3.5 9B on RTX 4070 12GB

Can RTX 4070 12GB run Qwen3.5 9B?

Measured results for Qwen3.5 9B (9.65B dense) on RTX 4070 12GB, plus what fits and the commands to run it.

51.3generation tok/s (Q8_0 on llama.cpp CUDA, 128-token generation)
4417prompt tok/s (pp512)
10.1 GBQ8_0 + 16k f16 KV, fits fully
11 GBusable on this hardware

Short answer

Yes. Qwen3.5 9B Q8_0 fits fully on RTX 4070 12GB at 16k context, using 10.1 of 11.0 GB usable, and generates about 51.3 tokens/s in our own run. For Q8_0, our bandwidth-only estimate was ~29 tok/s against a measured median of ~51 (43% too pessimistic).

Measured generation speed by quantization

QuantGeneration tok/sRangePrompt tok/sRunsOrigin
Q4 class (median)79.879.8–79.842371includes our runs
Q8 class (median)51.351.3–51.344181includes our runs
Q4_K_M (our run, depth 0)79.83 repeats42373own measurement
Q8_0 (our run, depth 0)51.33 repeats44173own 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 4070 12GB (flash attention on, 3 repeats): generation and prompt speed with the given number of tokens already in the context.

QuantContext depthGeneration tok/svs depth 0Prompt tok/s
Q4_K_M079.8100%4237
Q4_K_M4k77.897%4109
Q4_K_M16k72.190%3557
Q8_0051.3100%4417
Q8_04k50.498%4334
Q8_016k4894%3728

Memory and context limits

Q8_0 weights are 9.5 GB; the 16k f16 KV cache adds 0.59 GB. Largest context that fits in 11.0 GB usable:

KV cache typeMax context
f1632k
q8_064k
q4_0128k

Native limit 256k, 1.01M with YaRN. Full KV cache table for Qwen3.5 9B.

Copy-paste commands

The advisor's pick for this hardware: Q8_0, 16k context.

llama.cpp
llama-server -hf unsloth/Qwen3.5-9B-GGUF:Q8_0 -c 16384 -fa on --jinja -ngl 99
ollama
OLLAMA_CONTEXT_LENGTH=16384 ollama run hf.co/unsloth/Qwen3.5-9B-GGUF:Q8_0

FAQ

How fast is Qwen3.5 9B on RTX 4070 12GB?

About 51.3 tokens/s for generation (Q8_0 on llama.cpp CUDA, 128-token generation), 4417 tokens/s for prompt processing. Speed drops as the context fills; see the depth table.

How much memory does Qwen3.5 9B need on RTX 4070 12GB?

The advisor's pick, Q8_0, is 9.5 GB of weights plus 0.59 GB of KV cache at 16k context (10.1 GB), against 11.0 GB usable.

What is the maximum context for Qwen3.5 9B on RTX 4070 12GB?

With an f16 KV cache about 32k tokens, 64k with q8_0 and 128k with q4_0, bounded by the model's own limit.

Related

All models on RTX 4070 12GB · Qwen3.5 9B on all hardware · VRAM tier · all measured pages · leaderboard

Compare: RTX 4070 12GB vs RTX 5070 12GB