Can the NVIDIA RTX 4090 run Gemma 2 9B?
Yes
QuantFP16Full quality
Memory21.9 GBof 24 GB
Speed~33tokens/s
Yes. The NVIDIA RTX 4090 can run Gemma 2 9B fully in VRAM at FP16 (full quality), using about 21.9 GB of the 24 GB available, at roughly 33 tokens/second.
Try other context lengths in the calculator →Memory needed by quantization
At 8,192 tokens of context.
| Quant | Quality | Memory | Fits? | Speed |
|---|---|---|---|---|
| FP16 | Full quality | 21.9 GB | Fits | ~33 tok/s |
| Q8_0 | Near-lossless | 13.2 GB | Fits | ~62 tok/s |
| Q6_K | Excellent | 11 GB | Fits | ~80 tok/s |
| Q5_K_M | Very good | 10 GB | Fits | ~92 tok/s |
| Q4_K_M | Good, most popular | 9 GB | Fits | ~108 tok/s |
| Q3_K_M | Noticeably degraded | 7.9 GB | Fits | ~134 tok/s |
| Q2_K | Heavily degraded | 6.9 GB | Fits | ~175 tok/s |
How to run Gemma 2 9B on the NVIDIA RTX 4090
With Ollama installed, one command downloads and starts it:
ollama run gemma2:9b
Ollama's default download is Q4_K_M (about 9 GB here). You have room for FP16, which is full quality: pick that GGUF in LM Studio or from Hugging Face.
GPUs that run Gemma 2 9B comfortably
- NVIDIA RTX 3080 10GB
- NVIDIA RTX 3060 12GB
- NVIDIA RTX 4070 (12 GB)
- NVIDIA RTX 5070 (12 GB)
- Apple M1 (16GB)
Models that run well on the NVIDIA RTX 4090
Run it in the cloud
Don't want to buy hardware? Run Gemma 2 9B on a rented GPU today.
Rent a cloud GPU by the hour. No upfront cost, cancel any time.