Your rig

GeForce RTX 4090 · 24 GB

128 GB system RAM · Ada Lovelace · 1008 GB/s · 22.4 GB usable VRAM
Edit hardware Export as JSON

Context length

KV cache at f16, 128K tokens

Quality floor
Q8_0 — near-lossless Q6_K Q5_K_M Q4_K_M — recommended Q3_K_M Q2_K — damaged
KV cache type
System RAM (GB)
Runtime
Ollamallama.cppLM StudiovLLM

4 of 5 runtimes drive this device.

Allow CPU offload Include partial-offload fits

Offloaded layers run at 60 GB/s host bandwidth — expect single-digit tokens per second.

Which one should I actually run?

Best models for your GeForce RTX 4090

Updated 8 Oct 2026 1 new this month

What do you want to do? Each row is the best-ranked model on that use case's shortlist that fits at Q5_K_M and 128K. The ordering is editorial; the sizes and speeds are computed. How the shortlists work.

RecommendationModelWhyQuant · totalTok/s est.
Best overall Gemma 4 12B
Google · Apache 2.0
The 12 GB generalist: text, image and audio in, 140+ languages. Q5_K_M · 16.8 GB 77 Runs great
Best for coding Qwen3.5 9B
Alibaba · Apache 2.0
The best coding model for 8–12 GB cards. Q5_K_M · 11.0 GB 96 Runs great
Best reasoning gpt-oss 20B
OpenAI · Apache 2.0
Low/medium/high reasoning effort in 13 GB. MXFP4 · 14.4 GB 126 Runs great
Best for writing Gemma 4 12B
Google · Apache 2.0
The 12 GB writing pick; 140+ languages. Q5_K_M · 16.8 GB 77 Runs great
Best vision Gemma 4 12B
Google · Apache 2.0
Image and audio understanding on 12 GB. Q5_K_M · 16.8 GB 77 Runs great
Best for agents Muse Glimmer 30B
Meta · Apache 2.0
Distilled specifically for always-on local agent workflows. Q5_K_M · 22.0 GB 31 Tight fit
Best translation Gemma 4 12B
Google · Apache 2.0
Broad language coverage on a 12 GB card. Q5_K_M · 16.8 GB 77 Runs great
Fastest good model gpt-oss 20B
OpenAI · Apache 2.0
3.6B active, native 4-bit. MXFP4 · 14.4 GB 126 Runs great
Best long context Nemotron 3.5 Lightning 30B-A3B
NVIDIA · OpenMDW-1.1
262K, and a Mamba hybrid whose cache barely grows. Q5_K_M · 22.2 GB
at 128K context
111 Tight fit

Everything that fits

Runs great

28 of 80 · fits with headroom for a longer prompt
ModelParamsQuantWeights +KV 128KTotal VRAM headroom Tok/sRuntime
gpt-oss 20B 20.9B MoE / 3.6B act MXFP4 10.8 GB 3.00 GB 14.4 GB
8.0 GB free
126 Ollama Run
Phi-4 14B 14.7B Q5_K_M 9.7 GB 3.13 GB 13.4 GB
9.0 GB free
63 Ollama Run
Gemma 3 12B 12.2B Q5_K_M 8.1 GB 8.31 GB 17.0 GB
5.4 GB free
76 Ollama Run
Gemma 4 12B 12B Q5_K_M 7.9 GB 8.31 GB 16.8 GB
5.6 GB free
77 Ollama Run
Qwen3.5 9B 9.65B Q5_K_M 6.4 GB 4.00 GB 11.0 GB
11.4 GB free
96 Ollama Run
Ornith 1.5 9B 9.41B Q5_K_M 6.2 GB 4.00 GB 10.8 GB
11.6 GB free
98 Ollama Run
LFM2.5 8B-A1B 8.47B MoE / 1.5B act Q5_K_M 5.6 GB 1.46 GB 7.7 GB
14.7 GB free
237 Ollama Run
Fara 7B 8.29B Q5_K_M 5.5 GB 6.84 GB 12.9 GB
9.5 GB free
112 llama.cpp Run
Gemma 4 E4B 8.0B Q5_K_M 5.3 GB 1.78 GB 7.7 GB
14.7 GB free
116 Ollama Run
Ling 3.0 Tiny 7.9B-A1.3B 7.9B MoE / 1.3B act Q5_K_M 5.2 GB 0.84 GB 6.7 GB
15.7 GB free
274 llama.cpp Run
DeepSeek-R1-Distill-Qwen 7B 7.62B Q5_K_M 5.0 GB 7.00 GB 12.6 GB
9.8 GB free
121 Ollama Run
Qwen2.5-Coder 7B 7.62B Q5_K_M 5.0 GB 7.00 GB 12.6 GB
9.8 GB free
121 Ollama Run
Olmo 3 7B Instruct 7.3B Q5_K_M 4.8 GB 9.50 GB 14.9 GB
7.5 GB free
127 Ollama Run
Mistral 7B Instruct v0.3 7.25B Q5_K_M 4.8 GB 4.00 GB 9.4 GB
13.0 GB free
128 Ollama Run
Gemma 4 E2B 5.1B Q5_K_M 3.4 GB 0.89 GB 4.9 GB
17.5 GB free
181 Ollama Run
Qwen3.5 4B 4.66B Q5_K_M 3.1 GB 4.00 GB 7.7 GB
14.7 GB free
198 Ollama Run
Gemma 3 4B 4.3B Q5_K_M 2.8 GB 3.11 GB 6.5 GB
15.9 GB free
215 Ollama Run
Qwen3 4B 4.02B Q5_K_M 2.7 GB 4.50 GB 7.8 GB
14.6 GB free
230 Ollama Run
Ministral 3 3B 3.85B Q5_K_M 2.5 GB 13.00 GB 16.1 GB
6.3 GB free
240 Ollama Run
Granite 4.1 3B 3.4B Q5_K_M 2.2 GB 10.00 GB 12.8 GB
9.6 GB free
272 Ollama Run
Llama 3.2 3B Instruct 3.21B Q5_K_M 2.1 GB 14.00 GB 16.7 GB
5.7 GB free
288 Ollama Run
LFM2.5 2.6B 2.7B Q5_K_M 1.8 GB 2.00 GB 4.4 GB
18.0 GB free
342 llama.cpp Run
Qwen3.5 2B 2.27B Q5_K_M 1.5 GB 1.50 GB 3.6 GB
18.8 GB free
407 Ollama Run
Qwen3 1.7B 1.72B Q5_K_M 1.1 GB 3.50 GB 5.2 GB
17.2 GB free
537 Ollama Run
Llama 3.2 1B Instruct 1.24B Q5_K_M 0.8 GB 4.00 GB 5.4 GB
17.0 GB free
746 Ollama Run
Gemma 3 1B 1.0B Q5_K_M 0.7 GB 0.14 GB 1.4 GB
21.0 GB free
924 Ollama Run
Qwen3.5 0.8B 0.87B Q5_K_M 0.6 GB 1.50 GB 2.7 GB
19.7 GB free
1063 Ollama Run
Qwen3 0.6B 0.6B Q5_K_M 0.4 GB 3.50 GB 4.5 GB
17.9 GB free
1541 Ollama Run

Runs — tight

4 models · fits at 128K, drop context or quant to go longer
ModelParamsQuantWeights +KV 128KTotal VRAM headroom Tok/sRuntime
Nemotron 3.5 Lightning 30B-A3B 31.6B MoE / 3.2B act Q5_K_M 20.9 GB 0.75 GB 22.2 GB
0.2 GB free
111 llama.cpp Run
Muse Glimmer 30B 29.8B Q5_K_M 19.7 GB 1.70 GB 22.0 GB
0.4 GB free
31 llama.cpp Run
Llama 3.1 8B Instruct 8.03B Q5_K_M 5.3 GB 16.00 GB 21.9 GB
0.5 GB free
115 llama.cpp Run
Phi-4-mini 3.8B 3.84B Q5_K_M 2.5 GB 16.00 GB 19.1 GB
3.3 GB free
241 llama.cpp Run

Won't fit in VRAM

48 models · some are possible with CPU offload
ModelParamsQuantWeights +KV 128KTotal Over budget Tok/sRuntime
Qwen3.8-Flash-Next 180B-A6B 180B MoE / 6B act Q5_K_M 118.8 GB 3.00 GB 122.4 GB +100.0 GB ~4.1 llama.cpp Why
Qwen3.5 122B-A10B 125B MoE / 10B act Q5_K_M 82.5 GB 3.00 GB 86.1 GB +63.7 GB ~2.7 llama.cpp Why
Nemotron 3 Super 120B-A12B 124B MoE / 12B act Q5_K_M 81.8 GB 1.00 GB 83.4 GB +61.0 GB ~2.3 llama.cpp Why
Ling 3.0 Flash 124B-A5B 124B MoE / 5.1B act Q5_K_M 81.8 GB 0.98 GB 83.4 GB +61.0 GB ~5.5 llama.cpp Why
Mistral Small 4 119B-A6B 119B MoE / 6.5B act Q5_K_M 78.5 GB 2.81 GB 82.0 GB +59.6 GB ~4.2 llama.cpp Why
gpt-oss 120B 117B MoE / 5.1B act MXFP4 60.5 GB 4.50 GB 65.6 GB +43.2 GB ~7.2 llama.cpp Why
Llama 4 Scout 109B-A17B 109B MoE / 17B act Q5_K_M 71.9 GB 7.13 GB 79.7 GB +57.3 GB ~1.5 llama.cpp Why
Llama 3.3 70B Instruct 70.6B Q5_K_M 46.6 GB 40.00 GB 87.2 GB +64.8 GB ~0.8 llama.cpp Why
DeepSeek-R1-Distill-Llama 70B 70.6B Q5_K_M 46.6 GB 40.00 GB 87.2 GB +64.8 GB ~0.8 llama.cpp Why
Qwen3.6 35B-A3B 35.9B MoE / 3.3B act Q5_K_M 23.7 GB 2.50 GB 26.8 GB +4.4 GB ~27 llama.cpp Why
Ornith 1.5 35B-A3B 35.9B MoE / 3.3B act Q5_K_M 23.7 GB 2.50 GB 26.8 GB +4.4 GB ~27 llama.cpp Why
LLM-jp 4 33B Thinking 33.2B Q5_K_M 21.9 GB 16.00 GB 38.5 GB +16.1 GB ~2.2 llama.cpp Why
Qwen3 32B 32.8B Q5_K_M 21.7 GB 32.00 GB 54.3 GB +31.9 GB ~1.7 llama.cpp Why
DeepSeek-R1-Distill-Qwen 32B 32.8B Q5_K_M 21.7 GB 32.00 GB 54.3 GB +31.9 GB ~1.7 llama.cpp Why
Qwen2.5-Coder 32B 32.8B Q5_K_M 21.7 GB 32.00 GB 54.3 GB +31.9 GB ~1.7 llama.cpp Why
Olmo 3.1 32B Instruct 32.2B Q5_K_M 21.3 GB 4.75 GB 26.6 GB +4.2 GB ~7.0 llama.cpp Why
Gemma 4 31B 31.3B Q5_K_M 20.7 GB 20.78 GB 42.0 GB +19.6 GB ~1.8 llama.cpp Why
GLM-4.7-Flash 30B-A3B 31.2B MoE / 3B act Q5_K_M 20.6 GB 6.61 GB 27.8 GB +5.4 GB ~23 llama.cpp Why
Qwen3 30B-A3B 30.5B MoE / 3.3B act Q5_K_M 20.1 GB 12.00 GB 32.7 GB +10.3 GB ~12 llama.cpp Why
Qwen3 Coder 30B-A3B 30.5B MoE / 3.3B act Q5_K_M 20.1 GB 12.00 GB 32.7 GB +10.3 GB ~12 llama.cpp Why
Granite 4.1 30B 28.9B Q5_K_M 19.1 GB 32.00 GB 51.7 GB +29.3 GB ~1.9 llama.cpp Why
Qwen3.8 27B 27.8B Q5_K_M 18.4 GB 8.00 GB 27.0 GB +4.6 GB ~6.8 llama.cpp Why
Qwen3.6 27B 27.8B Q5_K_M 18.4 GB 8.00 GB 27.0 GB +4.6 GB ~6.8 llama.cpp Why
Gemma 3 27B 27.4B Q5_K_M 18.1 GB 10.41 GB 29.1 GB +6.7 GB ~4.9 llama.cpp Why
Gemma 4 26B-A4B 26.5B MoE / 3.8B act Q5_K_M 17.5 GB 5.20 GB 23.3 GB +0.9 GB ~52 llama.cpp Why
Devstral Small 2 24B 24B Q5_K_M 15.8 GB 20.00 GB 36.4 GB +14.0 GB ~2.6 llama.cpp Why
Mistral Small 3.2 24B 23.6B Q5_K_M 15.6 GB 20.00 GB 36.2 GB +13.8 GB ~2.6 llama.cpp Why
Qwen3 14B 14.8B Q5_K_M 9.8 GB 20.00 GB 30.4 GB +8.0 GB ~4.5 llama.cpp Why
DeepSeek-R1-Distill-Qwen 14B 14.8B Q5_K_M 9.8 GB 24.00 GB 34.4 GB +12.0 GB ~3.7 llama.cpp Why
Qwen2.5-Coder 14B 14.8B Q5_K_M 9.8 GB 24.00 GB 34.4 GB +12.0 GB ~3.7 llama.cpp Why
Ministral 3 14B 13.9B Q5_K_M 9.2 GB 20.00 GB 29.8 GB +7.4 GB ~4.9 llama.cpp Why
Mistral NeMo 12B 12.2B Q5_K_M 8.1 GB 20.00 GB 28.7 GB +6.3 GB ~5.7 llama.cpp Why
Ministral 3 8B 8.92B Q5_K_M 5.9 GB 17.00 GB 23.5 GB +1.1 GB ~26 llama.cpp Why
Granite 4.1 8B 8.79B Q5_K_M 5.8 GB 20.00 GB 26.4 GB +4.0 GB ~8.8 llama.cpp Why
Qwen3 8B 8.19B Q5_K_M 5.4 GB 18.00 GB 24.0 GB +1.6 GB ~20 llama.cpp Why
Kimi K3 2.8T-A104B 2780B MoE / 104B act Q5_K_M 1835.0 GB 3.38 GB 1839.0 GB +1816.6 GB ~0.2 llama.cpp Why
Qwen3.8 2.4T-A95B 2446B MoE / 95B act Q5_K_M 1614.5 GB 11.50 GB 1626.6 GB +1604.2 GB ~0.2 llama.cpp Why
DeepSeek V4 Pro 1.6T-A49B 1650B MoE / 49B act Q5_K_M 1089.1 GB 8.58 GB 1098.3 GB +1075.9 GB ~0.4 llama.cpp Why
Kimi K2.6 1T-A32B 1027B MoE / 32B act Q5_K_M 677.9 GB 8.58 GB 687.1 GB +664.7 GB ~0.7 llama.cpp Why
GLM-5.2 744B-A40B 753B MoE / 40B act Q5_K_M 497.0 GB 10.97 GB 508.6 GB +486.2 GB ~0.5 llama.cpp Why
GLM-5.3 744B-A40B 753B MoE / 40B act Q5_K_M 497.0 GB 10.97 GB 508.6 GB +486.2 GB ~0.5 llama.cpp Why
DeepSeek-R1 671B 671B MoE / 37B act Q5_K_M 442.9 GB 8.58 GB 452.1 GB +429.7 GB ~0.6 llama.cpp Why
DeepSeek V4.1 Flash 552B-A16B New 552B MoE / 16B act Q5_K_M 364.4 GB 0.57 GB 365.5 GB +343.1 GB ~1.4 vLLM Why
Qwen3.5 397B-A17B 403B MoE / 17B act Q5_K_M 266.0 GB 3.75 GB 270.4 GB +248.0 GB ~1.3 llama.cpp Why
Ornith 1.5 397B-A17B 397B MoE / 17B act Q5_K_M 262.0 GB 3.75 GB 266.4 GB +244.0 GB ~1.3 llama.cpp Why
GLM-5.3-Flash 320B-A18B 321B MoE / 18B act Q5_K_M 211.9 GB 1.38 GB 213.9 GB +191.5 GB ~1.3 llama.cpp Why
DeepSeek V4 Flash 284B-A13B 284B MoE / 13B act Q5_K_M 187.5 GB 6.05 GB 194.1 GB +171.7 GB ~1.8 llama.cpp Why
Qwen3 235B-A22B 235B MoE / 22B act Q5_K_M 155.1 GB 23.50 GB 179.2 GB +156.8 GB ~1.0 llama.cpp Why

Totals = quantised weights + f16 KV cache at 128K tokens + 0.6 GB runtime overhead, against 22.4 GB usable VRAM (24 GB less display and driver reserve). Tokens per second are estimated from 1008 GB/s peak memory bandwidth at batch 1 — not measured. Read the method.


Same memory, different speed

These devices have the same 22.4 GB usable, so they run exactly the models above. Generation speed scales with memory bandwidth.

DeviceBandwidthSpeed vs yours
GeForce RTX 3090 Ti
Ampere · 2022
1008 GB/s same
Radeon RX 7900 XTX
RDNA 3 · 2022
960 GB/s 0.95×
GeForce RTX 3090
Ampere · 2020
936 GB/s 0.93×
GeForce RTX 5090 Laptop
Blackwell · 2025
896 GB/s 0.89×
RTX A5000
Ampere · 2021
768 GB/s 0.76×
A10
Ampere · 2021
600 GB/s 0.60×
Tesla P40
Pascal · 2016
346 GB/s 0.34×
L4
Ada Lovelace · 2023
300 GB/s 0.30×
Tesla M40 24 GB
Maxwell · 2016
288 GB/s 0.29×

Best LLM for 24 GB VRAM, with every card in the class →

What more memory unlocks

At Q4_K_M and 8K context this device fits 58 of 80 models. Each step up, and the largest models it adds:

Step upModels fitAdds, largest first
48 GB card 60 (+2) Llama 3.3 70B Instruct, DeepSeek-R1-Distill-Llama 70B

Every device ranked by what it can run →