Skip to content

Best LLMs for RTX 4090

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).

Open RTX 4090 in the calculator →

Models that run on RTX 4090

ModelParamsFormatSpeedLMArena
Gemma 4 31B31BQ4_K_M~33 tok/s1,443
Qwen3.8 27B28BQ5_K_M~34 tok/s1,438
Gemma 4 26B-A4B26B (4B active)Q5_K_M~116 tok/s1,434
Qwen3.5 27B28BQ5_K_M~34 tok/s1,409
Qwen3.5 35B-A3B36B (3B active)Q4_K_M~144 tok/s1,395
Granite 4.2 30B29BQ3_K_M~31 tok/s1,361
Gemma 3 27B27BQ5_K_M~32 tok/s1,358
GLM-4.7-Flash31B (3.6B active)Q5_K_M~105 tok/s1,351
Nemotron 3 Nano 30B-A3B32B (3B active)Q3_K_M~141 tok/s1,348
Inkling 2 Mini26B (3.4B active)Q5_K_M~57 tok/s1,344
Mistral Small 3.2 24B24BQ5_K_M~33 tok/s1,338
Gemma 3 12B12BQ8_0~51 tok/s1,334
Nemotron 3.5 Lightning 30B-A3B33B (3B active)Q3_K_M~142 tok/s1,330
Granite 4.2 8B8.8BBF16~35 tok/s1,319
Qwen3 30B-A3B31B (3B active)Q4_K_M~103 tok/s1,317
Granite 4.2 3B3.7BBF16~76 tok/s1,293
Gemma 3 4B4.3BBF16~90 tok/s1,291
gpt-oss 20B21B (3.6B active)MXFP4~165 tok/s1,288
Mistral Small 3.1 24B24BQ5_K_M~33 tok/s1,277
Mistral Small 3 24B24BQ5_K_M~33 tok/s1,234
phi-415BQ8_0~35 tok/s1,217
Gemma 2 9B9.2BQ8_0~45 tok/s1,207
Ministral 8B8.0BBF16~39 tok/s1,191
Llama 3.1 8B8.0BBF16~40 tok/s1,187
Llama 3 8B8.0BBF16~40 tok/s1,166

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.