141 of 264 open LLMs fit completely in RTX 4090's memory (24 GB VRAM, 1.008 TB/s) at a 32K context, plus 16 more with 32 GB system RAM offload. Top ranked: Gemma 4 31B (Q4_K_M, ~33 tok/s).
One request at 32K context, BF16 KV cache, using the same rules as the LLM VRAM Calculator. Speed estimates are calibrated against published benchmarks (see accuracy).
RTX 4090 LLM FAQ
What is the best LLM to run on RTX 4090?
At a 32K context, the highest-ranked open model that fits entirely in RTX 4090's memory (24 GB VRAM) is Gemma 4 31B in Q4_K_M (about 33 tokens/s). In total, 141 open models fit completely in GPU memory, plus 16 more with 32 GB of system RAM offload.
What is the best coding LLM for RTX 4090?
Qwen3.8 27B leads the LMArena coding category among models that fit on one RTX 4090 (Q5_K_M, about 34 tokens/s).
Can RTX 4090 run a 70B LLM?
Only with system RAM offload: Llama 3.3 70B does not fit in 24 GB VRAM alone, so llama.cpp splits layers into 32 GB of RAM (Q3_K_M, about 2.2 tokens/s).
How fast is RTX 4090 for local LLMs?
LLM token generation speed is bounded by memory bandwidth. RTX 4090 delivers 1.008 TB/s of memory bandwidth and 165 BF16 TFLOPS, reaching about 33 tokens/s on Gemma 4 31B (Q4_K_M) and 116 tokens/s on Gemma 4 26B-A4B.