Can I run Qwen3.5 9B on the GeForce RTX 4090?
Runs greatQ4_K_M fits in VRAM with 17.4 GB to spare: Runs great, 127.5 tok/s measured at 512/40k context (2 runs; 8k estimate 114.9 tok/s, 101.2–128.7, calibrated estimate ±12%).
24 GB VRAM · 1,008.0 GB/s · FP16 82.6 TFLOPS. Assumes 32 GB of DDR5-5600 system RAM, Windows with this GPU driving the display, 8k context and an f16 KV cache. The verdict and quant file above stay the same anywhere from 16 to 128 GB of system RAM. The GeForce RTX 3090 Ti has the same memory setup (24 GB, 1,008.0 GB/s), so its generation-speed estimate is the same; only prompt processing differs. Prompt processing: about 9,021 tok/s (5,412–12,629, rough estimate ±40%) here vs about 4,368 tok/s (2,621–6,116, rough estimate ±40%) on the GeForce RTX 3090 Ti.
Every quant of Qwen3.5 9B on the GeForce RTX 4090
| Quant | File size | Verdict | Speed | Memory | Runs as | Notes |
|---|---|---|---|---|---|---|
| IQ4_XS | 5.47 GB | Runs great | est. 123.0 tok/s108.2–137.7calibrated estimate ±12% | 6.2 / 24.0 GB | Full GPU | — |
| Q4_K_Mbaseline | 5.87 GB | Runs great | 127.5 tok/s8k estimate 114.9 tok/s (101.2–128.7, calibrated estimate ±12%)measured (2 runs, 512/40k context) | 6.6 / 24.0 GB | Full GPU | — |
| Q8_0 | 9.79 GB | Runs great | est. 70.2 tok/s61.7–78.6calibrated estimate ±12% | 9.9 / 24.0 GB | Full GPU | — |
Models with a thinking mode spend extra tokens thinking, so their speed thresholds are 1.5× stricter (30 / 12 / 3 tok/s). With thinking turned off, a model may do one grade better.
Where the memory goes at Q4_K_M
- Weights
- 5.1 GB
- KV cache
- 0.3 GB
- Compute buffer
- 0.6 GB
- OS reserve
- 0.6 GB
- Free
- 17.4 GB
0.75 GB of the 5.87 GB file stays off the graphics card: llama.cpp keeps the input embedding table in system RAM and does not load the 0.17 GB MTP (multi-token prediction) block by default. Turning on MTP speculative decoding (llama.cpp --spec-type draft-mtp) needs memory for that block plus KV cache for it.
Context length vs. KV cache
| Context | KV f16 | KV q8_0 | KV q4_0 |
|---|---|---|---|
| 4k | 5.8 GBRuns great est. 117.5 tok/s103.4–131.6calibrated estimate ±12% | 5.7 GBRuns great est. 118.8 tok/s104.5–133.0calibrated estimate ±12% | 5.7 GBRuns great est. 119.4 tok/s105.1–133.8calibrated estimate ±12% |
| 8k | 6.0 GBRuns great 127.5 tok/s8k estimate 114.9 tok/s (101.2–128.7, calibrated estimate ±12%)measured (2 runs, 512/40k context) | 5.8 GBRuns great est. 117.3 tok/s103.3–131.4calibrated estimate ±12% | 5.8 GBRuns great est. 118.7 tok/s104.4–132.9calibrated estimate ±12% |
| 16k | 6.3 GBRuns great est. 110.1 tok/s96.9–123.3calibrated estimate ±12% | 6.1 GBRuns great est. 114.6 tok/s100.8–128.3calibrated estimate ±12% | 5.9 GBRuns great est. 117.2 tok/s103.1–131.2calibrated estimate ±12% |
| 32k | 7.0 GBRuns great est. 101.6 tok/s89.4–113.8calibrated estimate ±12% | 6.5 GBRuns great est. 109.5 tok/s96.4–122.6calibrated estimate ±12% | 6.2 GBRuns great est. 114.2 tok/s100.5–128.0calibrated estimate ±12% |
| 64k | 8.4 GBRuns great est. 88.0 tok/s77.4–98.6calibrated estimate ±12% | 7.4 GBRuns great est. 100.5 tok/s88.5–112.6calibrated estimate ±12% | 6.8 GBRuns great est. 108.9 tok/s95.8–121.9calibrated estimate ±12% |
| 128k | 11.1 GBRuns great est. 69.4 tok/s61.1–77.7calibrated estimate ±12% | 9.1 GBRuns great est. 86.4 tok/s76.0–96.8calibrated estimate ±12% | 8.0 GBRuns great est. 99.5 tok/s87.5–111.4calibrated estimate ±12% |
| 256k | 16.6 GBRuns great est. 48.8 tok/s42.9–54.7calibrated estimate ±12% | 12.6 GBRuns great est. 67.4 tok/s59.3–75.5calibrated estimate ±12% | 10.5 GBRuns great est. 84.8 tok/s74.6–95.0calibrated estimate ±12% |
S = Runs great · A = Runs well · B = Runs slowly · F = Won't run
At Q4_K_M the verdict stays Runs great up to 256k context with an f16 KV cache, and up to 256k with q8_0.
Estimated speed
- Generation
- 127.5 tok/s measured at 512/40k context (2 runs; 8k estimate 114.9 tok/s, 101.2–128.7, calibrated estimate ±12%)
- Prompt processing
- about 9,021 tok/s (5,412–12,629, rough estimate ±40%)
Measured on this exact combination
Public benchmarks we calibrate against. Their conditions (context, backend, flags) can differ from the estimates above.
| Hardware | Quant | Backend | Context | Prompt (tok/s) | Generation (tok/s) | Flags | Source | Measured |
|---|---|---|---|---|---|---|---|---|
| GeForce RTX 4090 | Q4_K_M | ollama | 40k | — | 133.0 | — | github.com | 2026-10-12 |
| GeForce RTX 4090 | Q4_K_M | llama.cpp | 512 | — | 122.0 | — | github.com | 2026-10-14 |
If this is not enough
A larger model that also runs well on the GeForce RTX 4090
Runs wellK2-Horizon MoVA 36B-A4B: Runs well, est. 82.6 tok/s (57.8–107.4, theoretical estimate ±30%)
A larger quant that still runs great
Runs greatQ8_0 (9.79 GB): Runs great, est. 70.2 tok/s (61.7–78.6, calibrated estimate ±12%)
How to run it
Commands for the Q4_K_M file. Both tools download from Hugging Face on first run.
File: Qwen3.5-9B-Q4_K_M.gguf (5.87 GB) from unsloth/Qwen3.5-9B-MTP-GGUF.
llama-server -hf unsloth/Qwen3.5-9B-MTP-GGUF:Q4_K_M -c 8192 -ngl all -fa on- -ngl all loads every layer on the GPU.
- -fa on enables flash attention (needed for KV cache quantization).
- --cache-type-k q8_0 --cache-type-v q8_0 shrinks the KV cache to 0.14 GB at 8k context.
PowerShell (quit the Ollama tray app first):
$env:OLLAMA_CONTEXT_LENGTH="8192"; ollama serve
ollama run hf.co/unsloth/Qwen3.5-9B-MTP-GGUF:Q4_K_M- Ollama defaults to 4k context on GPUs under 24 GB. Set OLLAMA_CONTEXT_LENGTH when starting the server, or /set parameter num_ctx inside the chat.
/set parameter num_ctx 8192
Related pages
Guide: How much VRAM do local LLMs need? GPU requirements for 8–32 GB (2026)
Other models on the GeForce RTX 4090
Qwen3.5 9B on other hardware
Frequently asked questions
Can I run Qwen3.5 9B on the GeForce RTX 4090?
Q4_K_M fits in VRAM with 17.4 GB to spare: Runs great, 127.5 tok/s measured at 512/40k context (2 runs; 8k estimate 114.9 tok/s, 101.2–128.7, calibrated estimate ±12%). Q4_K_M needs 6.0 GB at 8k context; this setup has 23.4 GB of usable memory and 28.0 GB of free system RAM.
How much context can Qwen3.5 9B use on the GeForce RTX 4090?
At Q4_K_M the verdict stays Runs great up to 256k context with an f16 KV cache (8.6 GB of KV) and up to 256k with a q8_0 KV cache (4.6 GB). The model supports up to 256k.
Which quant should I use, and how fast is it?
Q4_K_M (5.87 GB) is the recommended balance: Runs great, 127.5 tok/s measured at 512/40k context (2 runs; 8k estimate 114.9 tok/s, 101.2–128.7, calibrated estimate ±12%). The largest tracked file that still gets Runs great is Q8_0 (9.79 GB), est. 70.2 tok/s (61.7–78.6, calibrated estimate ±12%).
Speeds are estimates from memory bandwidth, calibrated against public benchmarks, and each one comes with an error band and a confidence label. Real results vary with drivers, backend, context length and thermals.