GPUs & Macs › NVIDIA RTX 4090
NVIDIA RTX 4090: local LLM speed
Llama 2 7B (Q4_0) generates 190 tokens/s on the NVIDIA RTX 4090 (Vulkan), and processes prompts at 10,830 tokens/s.
Measured results
| Model | Generate tok/s | Prompt tok/s | Quant | Backend | Test | Source |
|---|---|---|---|---|---|---|
| Llama 2 7B | 190 | 10,830 | Q4_0 | Vulkan FA on | tg128 | llama.cpp #10879 details |
| Llama 2 7B | 189 | 14,771 | Q4_0 | CUDA FA on | tg128 | llama.cpp #15013 details |
| Llama 2 7B | 188 | 9,452 | Q4_0 | Vulkan FA off | tg128 | llama.cpp #10879 details |
| Llama 2 7B | 186 | 11,993 | Q4_0 | CUDA FA off | tg128 | llama.cpp #15013 details |
| Llama 3.2 1B Instruct | 292 | 22,429 | Q4_K_M | llamafile | LocalScore avg · n=2 | LocalScore LocalScore details |
| gpt-oss 20B | 255 | 9,194 | MXFP4 | CUDA FA on | tg128 · n=3 | llama.cpp #15396 llama.cpp #15396 details |
| Llama 3.1 8B Instruct | 105 | 7,146 | Q4_K_M | llamafile | LocalScore avg · n=2 | LocalScore LocalScore details |
| Qwen2.5 14B Instruct | 49.1 | 3,506 | Q4_K_M | llamafile | LocalScore avg · n=3 | LocalScore LocalScore LocalScore details |
What fits on the NVIDIA RTX 4090
Estimates for this chip are scaled from a measured run: Llama 2 7B Q4_0 at 190 tok/s (Vulkan, source). Fit assumes the whole model in GPU memory with ~8K context.
| Model | Best quant that fits | File | Expected tok/s |
|---|---|---|---|
| Qwen3.8-27B | UD-Q6_K | 22.0 GB | 33.1 estimate |
| gemma-4-12B-it | Q8_0 | 12.7 GB | 57.4 estimate |
| Qwen3.5-9B | Q8_0 | 9.5 GB | 76.3 estimate |
| Qwen3.5-4B | Q8_0 | 4.5 GB | 162 estimate |
| Qwen3.6-35B-A3B | UD-Q4_K_S | 20.9 GB | 203 estimate |
| gemma-4-26B-A4B-it | UD-Q5_K_M | 21.2 GB | 112 estimate |
| MiMo-V2.6-Distill-Qwen-9B | Q8_0 | 9.5 GB | 76.1 estimate |
| gemma-4-E4B-it | Q8_0 | 8.2 GB | 88.7 estimate |
| Muse-Glimmer-30B | UD-Q5_K_M | 19.2 GB | 37.9 estimate |
| Qwen3-4B | Q8_0 | 4.3 GB | 170 estimate |
| gemma-4-31B-it | Q5_K_M | 21.7 GB | 33.6 estimate |
| gemma-4-26B-A4B-it-qat-q4_0-unquantized | UD-Q4_K_XL | 14.2 GB | 166 estimate |
| gemma-4-12B-it-qat-q4_0-unquantized | UD-Q4_K_XL | 6.7 GB | 108 estimate |
| gemma-3-1b-it | Q8_0 | 1.1 GB | 606 estimate |
Similar hardware
NVIDIA RTX 4090 D · NVIDIA RTX 3090 Ti · NVIDIA RTX 3090 · NVIDIA TITAN RTX · NVIDIA Quadro P6000 · NVIDIA RTX 5090 · NVIDIA RTX 5080 · NVIDIA RTX 5070 Ti