24GB VRAM

RTX 4090 — what LLMs can it run?

84 of 110 indexed models fit comfortably in 24GB at 4K context, each at the highest-quality quant that still leaves headroom.

The short answer for RTX 4090

24 GB, 1,008 GB/s GDDR6X. 84 of 110 models in this index fit comfortably at 4K context; 87 load at all.

Biggest that fits
Seed-OSS 36B Instruct — 19.9 GB at AWQ INT4 — 4.1 GB spare at 4K, so longer context comes out of a thin margin.
Room to grow
ERNIE 4.5 21B-A3B — 14.1 GB at Q4_K_M — under 60% of the card, which leaves 10.0 GB for a long context window or a second process.
Speed ceiling
Llama 3.1 8B Instruct at Q4_K_M reads 4.6 GB of weights per token, so 1,008 GB/s puts a hard ceiling near 218 tok/s. That is arithmetic on two published numbers, not a benchmark — real throughput lands below it. This index has 13 measured runs on this card; see the table below for what they actually returned.
The wall you will hit
Capacity. 84 of 110 models clear 24 GB comfortably at 4K context, and the ones that do not are short by whole gigabytes rather than by a rounding error — at 1,008 GB/s the memory system is not what holds this card back. Moving up a size class is what changes the list, not a different quant.
Best local LLM for 24GB

32B · 27

RTX 4090 — what LLMs can it run? — 32B
ModelQuantEst. VRAMHeadroomtok/s
Seed-OSS 36B Instruct36BAWQ INT419.91 GB+4.1 GB≤59Ceiling
Command R 35B35BGPTQ INT418.97 GB+5 GB≤61Ceiling
Yi 1.5 34B Chat34BAWQ INT419 GB+5 GB≤62Ceiling
Qwen3 32B Instruct32BAWQ INT418.22 GB+5.8 GB≤65Ceiling
Qwen2.5 32B Instruct32BEXL2 3.5bpw15.96 GB+8 GB≤75Ceiling
Qwen2.5-Coder 32B Instruct32BAWQ INT418.08 GB+5.9 GB≤65Ceiling
DeepSeek-R1-Distill-Qwen-32B32BEXL2 3.5bpw15.96 GB+8 GB≤75Ceiling
Nemotron 3.5 Lightning 30B-A3B30B-A3BQ4_019.79 GB+4.2 GB≤591Ceiling
Gemma 4 31B IT31BQ4_K_M21.08 GB+2.9 GB38–50Derived
Qwen3 30B-A3B Instruct30B-A3BQ4_K_M19.73 GB+4.3 GB95Measured
Qwen3-Coder 30B-A3B Instruct30B-A3BQ4_K_M19.73 GB+4.3 GB92Measured
Qwen3-VL 30B-A3B Instruct30B-A3BQ4_K_M19.73 GB+4.3 GB≤583Ceiling
GLM-4.7-Flash30B-A3BQ4_K_M19.19 GB+4.8 GB≤584Ceiling
Granite 4.2 30B30BQ4_K_M19.61 GB+4.4 GB40–53Derived
Muse Glimmer 30B30BQ4_K_M17.66 GB+6.3 GB42–56Derived
Qwen3.8 27B27BQ4_K_M17.47 GB+6.5 GB43–57Derived
Qwen3.6 27B27BQ4_K_M19.07 GB+4.9 GB39–52Derived
Gemma 3 27B IT27BQ4_K_M18.37 GB+5.6 GB42–56Derived
Gemma 2 27B Instruct27BQ4_K_M18.81 GB+5.2 GB43–57Derived
Gemma 4 26B-A4B IT26B-A4BQ4_K_M16.39 GB+7.6 GB≤438Ceiling
Mistral Small 24B Instruct24BEXL2 4.65bpw15.26 GB+8.7 GB≤76Ceiling
LFM2.5 24B-A2B24B-A2BQ4_K_M15.27 GB+8.7 GB≤715Ceiling
Devstral Small 1.1 24B24BQ6_K20.91 GB+3.1 GB36–48Derived
Magistral Small 1.2 24B24BQ6_K20.91 GB+3.1 GB36–48Derived
Codestral 22B22BQ4_K_M15.03 GB+9 GB52–69Derived
ERNIE 4.5 21B-A3B21B-A3BQ4_K_M14.05 GB+10 GB≤584Ceiling
GPT-OSS 20B21B MoEMXFP412.76 GB+11.2 GB≤509Ceiling

14B · 18

RTX 4090 — what LLMs can it run? — 14B
ModelQuantEst. VRAMHeadroomtok/s
InternLM2 20B Chat20BQ5_K_M15.59 GB+8.4 GB50–66Derived
DeepSeek-Coder-V2-Lite Instruct16B-A2.4BQ8_017.56 GB+6.4 GB≤416Ceiling
DeepSeek-V2-Lite Chat16B-A2.4BQ4_K_M10.08 GB+13.9 GB≤729Ceiling
StarCoder2 15B15BQ4_K_M10.19 GB+13.8 GB78–103Derived
Qwen3 14B Instruct14BQ5_K_M11.65 GB+12.4 GB67–89Derived
Qwen2.5 14B Instruct14BQ5_K_M11.73 GB+12.3 GB68–89Derived
DeepSeek-R1-Distill-Qwen-14B14BEXL2 4.65bpw9.75 GB+14.3 GB≤124Ceiling
Phi-4 14B14BQ5_K_M11.77 GB+12.2 GB68–89Derived
Phi-3 Medium 14B Instruct14BQ6_K12.86 GB+11.1 GB61–81Derived
Mistral Nemo 12B Instruct12BQ6_K11.14 GB+12.9 GB71–93Derived
Gemma 3 12B IT12BQ5_K_M9.84 GB+14.2 GB81–108Derived
Mellum2.1 12B-A2.5B Thinking12B-A2.5BQ8_013.6 GB+10.4 GB≤400Ceiling
Stable LM 2 12B Chat12BQ4_K_M8.35 GB+15.7 GB96–127Derived
Llama 3.2 11B Vision Instruct11BQ8_012.9 GB+11.1 GB60–80Derived
Solar 10.7B Instruct11BQ4_K_M7.6 GB+16.4 GB109–144Derived
Falcon 3 10B Instruct10BQ4_K_M7.28 GB+16.7 GB112–148Derived
Gemma 2 9B Instruct9BQ8_011.7 GB+12.3 GB72–95Derived
Qwen3.5 9B9BQ8_010.37 GB+13.6 GB72–95Derived

7B · 25

RTX 4090 — what LLMs can it run? — 7B
ModelQuantEst. VRAMHeadroomtok/s
GLM-4-9B-Chat9BQ8_010.16 GB+13.8 GB74–98Derived
Qwen3-VL 8B Instruct8BQ8_010.39 GB+13.6 GB75–100Derived
Granite 4.2 8B8BQ8_010.45 GB+13.6 GB76–100Derived
Ministral 3 8B Instruct8BQ8_010.02 GB+14 GB78–103Derived
Qwen2-VL 7B Instruct7BQ4_K_M5.49 GB+18.5 GB140–186Derived
Granite 3.1 8B Instruct8BQ4_K_M5.88 GB+18.1 GB142–188Derived
Qwen3 8B Instruct8BQ6_K7.64 GB+16.4 GB105–139Derived
Llama 3.1 8B Instruct8BQ8_09.47 GB+14.5 GB83–109Derived
Nous Hermes 3 Llama 3.1 8B8BEXL2 4.65bpw5.43 GB+18.6 GB≤228Ceiling
Aya 23 8B8BQ4_K_M5.64 GB+18.4 GB145–192Derived
OpenChat 3.6 8B8BEXL2 4.65bpw5.43 GB+18.6 GB≤228Ceiling
DeepSeek-R1-Distill-Llama-8B8BQ5_K_M6.51 GB+17.5 GB124–164Derived
InternLM2 7B Chat7BQ4_K_M5.45 GB+18.6 GB150–199Derived
Qwen2.5 7B Instruct7BQ6_K6.77 GB+17.2 GB113–149Derived
Qwen2.5-Coder 7B Instruct7BEXL2 4.65bpw4.87 GB+19.1 GB≤239Ceiling
DeepSeek-R1-Distill-Qwen-7B7BEXL2 4.65bpw4.87 GB+19.1 GB≤239Ceiling
Gemma 4 E4B ITE4BQ8_08.46 GB+15.5 GB88–117Derived
OLMo 2 7B Instruct7BQ8_010.3 GB+13.7 GB91–120Derived
OLMo 3 7B Instruct7BQ8_010.3 GB+13.7 GB91–120Derived
WizardLM-2 7B7BQ4_K_M5.14 GB+18.9 GB161–213Derived
Mistral 7B Instruct v0.37BQ6_K6.75 GB+17.3 GB119–157Derived
Zephyr 7B Beta7BQ6_K6.75 GB+17.3 GB119–157Derived
Gemma 4 E2B ITE2BQ8_05.2 GB+18.8 GB≤215Ceiling
Qwen3.5 4B4BQ8_04.97 GB+19 GB≤230Ceiling
Gemma 3 4B IT4BQ8_05.05 GB+19 GB≤232Ceiling

≤3B · 14

RTX 4090 — what LLMs can it run? — ≤3B
ModelQuantEst. VRAMHeadroomtok/s
Qwen3 4B Instruct4BQ6_K4.05 GB+20 GB≤323Ceiling
Phi-4 Mini Instruct3.8BQ8_04.81 GB+19.2 GB≤260Ceiling
Phi-3.5 Mini Instruct3.8BQ8_05.89 GB+18.1 GB≤261Ceiling
Granite 4.2 3B3BQ8_04.41 GB+19.6 GB≤273Ceiling
Llama 3.2 3B Instruct3BQ8_04.05 GB+20 GB≤311Ceiling
Qwen2.5 3B Instruct3BQ8_03.59 GB+20.4 GB≤323Ceiling
SmolLM3 3B3BQ8_03.73 GB+20.3 GB≤324Ceiling
Gemma 2 2B Instruct2BQ8_03.34 GB+20.7 GB≤383Ceiling
Qwen3.5 2B2BQ8_02.23 GB+21.8 GB≤509Ceiling
Qwen3 1.7B Instruct1.7BQ8_02.39 GB+21.6 GB≤579Ceiling
Qwen2.5 1.5B Instruct1.5BQ8_01.83 GB+22.2 GB≤650Ceiling
Llama 3.2 1B Instruct1BQ8_01.51 GB+22.5 GB≤806Ceiling
Qwen3.5 0.8B0.8BQ8_00.94 GB+23.1 GB≤1244Ceiling
Qwen2.5 0.5B Instruct0.5BQ8_00.6 GB+23.4 GB≤2057Ceiling

How this list is built

Each row is the lowest-perplexity-loss quant of that model whose estimated total — weights plus KV cache at 4K context plus activation buffer — uses at most 88% of the card. That is the calculator's "green" threshold, so every row here has real headroom rather than only just fitting. Raise the context length and the list shortens; the calculator lets you check any combination directly. The speed column is this card: a measured run, a range scaled from this card's own Llama 2 7B benchmark, or a bandwidth ceiling. A figure that only exists for the RTX 4090 is labelled as that card.

A further 3 models load but with no headroom to spare (up to 105% of VRAM) — the Quant Hub’s GPU chips count those too, which is why its number is higher.

Measured on this card

13 benchmark runs in this index were recorded on a RTX 4090. Everything else on this page is calculated, not observed.

ModelStacktok/sVRAM used
Llama 3.1 8BExLlamaV2 · EXL2 4.65bpw2355.4 GB
Llama 3.1 8BvLLM · AWQ INT42184.9 GB
Llama 3.1 8Bllama.cpp · GGUF Q4_K_M1485.7 GB
Qwen2.5 7Bllama.cpp · GGUF Q4_K_M1555.4 GB
DeepSeek-R1 14BExLlamaV2 · EXL2 4.65bpw1289.8 GB
Qwen2.5 32Bllama.cpp · GGUF Q4_K_M4422 GB
Qwen3 8Bllama.cpp · GGUF Q4_K_M1425.8 GB
Qwen3 14BExLlamaV2 · EXL2 4.65bpw11810 GB
Qwen3 32Bllama.cpp · GGUF Q4_K_M4222.5 GB
Qwen3 30B-A3Bllama.cpp · GGUF Q4_K_M9519 GB
R1-Distill-Llama-8Bllama.cpp · GGUF Q4_K_M1455.6 GB
Phi-4 14Bllama.cpp · GGUF Q4_K_M889.1 GB
Qwen3-Coder 30B-A3Bllama.cpp · GGUF Q4_K_M9219.2 GB

Cards with the same budget

What fits is decided by memory, so every 24GB card of this type returns the same list. These pages are not different answers — they differ in throughput, which this index does not measure per card.

Same list, different speed — play one sentence on both cards: RTX 4090 vs RTX 3090 (Gemma 4 31B IT)

Setup guides for this card

Step-by-step guides written for the RTX 4090's runtime or memory size, with the commands and the checks that prove the model is running on the card.

Stepping up

A RTX 5090 (32GB) fits 4 more of the indexed models than this card. RTX 5090 →

Before buying, hear the speed difference on a model both cards hold: RTX 4090 vs RTX 5090 (Gemma 4 31B IT) →

Common questions

What is the best local LLM for an RTX 4090?

For everyday use, ERNIE 4.5 21B-A3B at Q4_K_M — about 14.1 GB of the card's 24 GB at 4K context, leaving 10.0 GB for a longer window. If you want the largest thing that will load, that is Seed-OSS 36B Instruct at AWQ INT4 (19.9 GB, 4.1 GB spare). "Best" here means best fit for the memory budget — this index does not run task benchmarks, so it cannot tell you which model is smarter.

Can an RTX 4090 run Mixtral 8x7B Instruct?

Only just. Its smallest build here, AWQ INT4, needs about 24.9 GB against 24.0 GB usable — that loads with nothing else running, with no margin for a longer context window. It is not on the list above, which requires a model to stay inside 88% of usable capacity.

How many tokens per second does an RTX 4090 do on an 8B model at Q4?

This index has 13 measured runs on this card — those figures are in the table on this page. What can be stated from specifications: generating a token requires reading every weight once, Llama 3.1 8B Instruct at Q4_K_M is 4.6 GB of weights, and this card moves 1,008 GB/s — a ceiling near 218 tok/s. Batch size, context length, the runtime and how much of the model sits in cache all take you below it.

RTX 4090 or RTX 3090 for local LLMs?

They hold the same models: 24 GB against 24 GB fits 84 and 84 of 110 respectively at 4K. The difference is throughput — 1,008 GB/s against 936 GB/s, a 1.1× gap in how fast the weights can be read, which is what token generation is bound by. The RTX 4090 generates faster on any model both can hold.

84 of 110 indexed models fit comfortably in 24GB at 4K context, each at the highest-quality quant that still leaves headroom.

This page's figures change when the model or the runtime does.Last updated 2026-10-18 RSS → /feed.xml