Best local AI models for NVIDIA RTX 4090

24 GB GDDR6X. At a 4k context, 173 of the 233 models in our catalog with verified parameter counts fit fully, up to Qwen3 8B / 14B / 32B at 32B parameters.

Check your own machine against every model →

The largest models that fit fully

The 30 largest of the 173 models that fit; every smaller model in the catalog fits too. Best quant means the highest quality compression whose weights and 4k context both sit inside the memory.

ModelParametersBest quant that fitsMemory used at 4k
Qwen3 8B / 14B / 32B32BQ4_K_M23.4 GB
Qwen3.5 (dense variants)32BQ4_K_M23.4 GB
Aya Expanse 8B / 32B32BQ4_K_M23.4 GB
Granite 4.0 Small/Tiny32BQ4_K_M23.4 GB
Qwen2.5-Coder 0.5B to 32B32BQ4_K_M23.4 GB
Qwen3-30B-A3B30BQ4_K_M22 GB
Qwen3-Coder 30B-A3B30BQ4_K_M22 GB
Gemma 3 27B27BQ5_K_M23 GB
Gemma 3 4B/12B/27B (vision)27BQ5_K_M23 GB
Wan 2.2 / 2.527BQ5_K_M23 GB
Gemma 4 26B-A4B26BQ5_K_M22.2 GB
Gemma 4 (all sizes)26BQ5_K_M22.2 GB
Aria25BQ5_K_M21.3 GB
Mistral Small 3.224BQ6_K23.6 GB
Magistral Small24BQ6_K23.6 GB
Devstral Small 1.124BQ6_K23.6 GB
Solar Pro22BQ6_K21.6 GB
Codestral 22B22BQ6_K21.6 GB
gpt-oss-20b21BQ6_K20.7 GB
Reka Flash 321BQ6_K20.7 GB
Qwen-Image20BQ6_K19.7 GB
Qwen-Image-Edit20BQ6_K19.7 GB
CogVLM219BQ6_K18.7 GB
HunyuanImage 2.1 / 3.017BQ8_021.6 GB
Ling-Coder-Lite16.8BQ8_021.4 GB
DeepSeek-Coder-V2 16B / 236B16BQ8_020.4 GB
Kimi-VL A3B16BQ8_020.4 GB
Apriel-1.5-15B-Thinker15BQ8_019.1 GB
StarCoder2 3B / 7B / 15B15BQ8_019.1 GB
Qwen2.5 14B14.7BQ8_019.5 GB

Close, but only with CPU offload

These need more than the card holds at their smallest practical quant, so part of the model runs from system memory (figures assume 32 GB of it). They work, several times slower.

ModelParametersMemory at Q4_K_MSystem RAM at 4k
OTel 2.0 LLM 31B IT32.1B27.5 GB needed29.5 GB
DeepSeek-Coder 1.3B / 6.7B / 33B33B24.2 GB needed26.2 GB
WizardCoder 33B33B24.2 GB needed26.2 GB
Yi 1.5 9B / 34B34B24.9 GB needed26.9 GB
Granite Code 3B to 34B34B24.9 GB needed26.9 GB
LLaVA 1.5 / 1.6 (7B to 34B)34B24.9 GB needed26.9 GB
Ovis 234B24.9 GB needed26.9 GB
Qwen3.6-35B-A3B35B25.6 GB needed27.6 GB
Command R (35B)35B25.6 GB needed27.6 GB
Seed-OSS 36B36B26.4 GB needed28.4 GB

How to read this

The NVIDIA RTX 4090 carries 24 GB of GDDR6X video memory, and that number, more than the chip itself, decides which language models it can hold. A model only runs well when its weights and its working context both sit inside that memory.

Of the 233 models in our catalog with verified parameter counts, 173 fit this card fully at a 4k context. The largest is Qwen3 8B / 14B / 32B at 32B parameters, which fits at Q4_K_M using 23.4 GB. Below it sit models like Qwen2.5-Coder 0.5B to 32B at 32B, which fits at Q4_K_M in 23.4 GB, with room to spare for a longer context.

The quant column matters as much as the parameter count. A quant is a compressed copy of the model: Q4_K_M is the practical floor most people run, Q5_K_M and Q6_K trade a little more memory for measurably better output, Q8_0 is close to lossless, and FP16 is the uncompressed original. The table lists the best quant that fully fits this card for each model, so a model shown at Q4_K_M is at its limit here, while one shown at Q8_0 or FP16 has headroom you can spend on a longer context instead.

The close but does not fit list holds models whose weights spill into system memory. OTel 2.0 LLM 31B IT at 32.1B needs 27.5 GB of video memory at Q4_K_M, so on this card part of it runs from system RAM (the figures assume 32 GB of it). That works, and it is how many people run models one size above their card, but every token then waits on system memory bandwidth, so expect output several times slower than a model that fits fully.

Every figure on this page comes from the same calculator the verdict pages use: file sizes are calibrated against published GGUF releases, the context cost is computed from each model's own attention shape, and the fit is measured at a 4k context. Doubling the context roughly doubles the context cost, so a model listed here at its limit will not hold a 16k conversation on this card. Numbers you can check beat adjectives, so nothing on this page says fast or smooth; it says fits, spills, or does not fit.

If you want this table computed against your own machine instead of this card alone, upload your DxDiag on the AI models page and every model gets a verdict for your exact memory, processor and system RAM, including the quant table and a context length slider. The card is only part of the answer; free memory at run time, background load and the runtime you choose all move the practical limit a little.