Can I run it? / RTX 4090 (24 GB)

Best LLMs to run on an RTX 4090 (24 GB)

Updated November 2026

As of November 2026, the best model to run on an RTX 4090 (24 GB) is Qwen3.8 27B by Alibaba (Qwen) (Small LM Index 74.6), at about 37 tokens/s with 5-bit weights.

24 GB fits 27–32B models at 4-bit, or Mixture-of-Experts models around 30B that run very fast because they read only a few billion parameters per token. About 23 GB is usable for a model, at 1008 GB/s. The figures below assume the best quality that fits (8-bit down to 4-bit) and a 8K-token context, and only include models that generate at least 5 tokens per second.

Best quality · Fast (20+ tok/s) · Best with Apache 2.0 or MIT
Qwen3.8 27B
Index 74.6 · Q5_K_M · 21 GB · ≈ 37 tok/s · Apache-2.0

Models that run well on an RTX 4090 (24 GB)

The 25 best of the 94 models that run at 5+ tokens/s, ranked by the Small LM Index.

#ModelIndexRuns atMemorySpeedLicense
1Qwen3.8 27B Alibaba (Qwen)Alibaba (Qwen) · 5-bit · Apache-2.074.65-bit Q5_K_M21 GB≈ 37 tok/sApache-2.0
2Ternary Bonsai 2 27B PrismMLPrismML · Q2_0 (as released) · Apache-2.071.2Q2_0 (as released) Q2_09.3 GB≈ 92 tok/sApache-2.0
3Nanbeige4.3 33B Nanbeige (Kanzhun)Nanbeige (Kanzhun) · 4-bit · Apache-2.070.94-bit Q4_K_M23 GB≈ 35 tok/sApache-2.0
4Muse Glimmer 30B MetaMeta · 5-bit · Apache-2.070.15-bit Q5_K_M22 GB≈ 34 tok/sApache-2.0
5Qwen3.6 27B Alibaba (Qwen)Alibaba (Qwen) · 5-bit · Apache-2.069.75-bit Q5_K_M21 GB≈ 37 tok/sApache-2.0
6Qwen3.6 35B-A3B Alibaba (Qwen)Alibaba (Qwen) · 4-bit · Apache-2.068.34-bit Q4_K_M23 GB≈ 194 tok/sApache-2.0
7Qwen3.5 27B Alibaba (Qwen)Alibaba (Qwen) · 5-bit · Apache-2.068.35-bit Q5_K_M21 GB≈ 37 tok/sApache-2.0
8Nanbeige4.2 3B Nanbeige (Kanzhun)Nanbeige (Kanzhun) · 8-bit · Apache-2.067.28-bit Q8_05.8 GB≈ 159 tok/sApache-2.0
9Qwen3.5 35B-A3B Alibaba (Qwen)Alibaba (Qwen) · 4-bit · Apache-2.066.94-bit Q4_K_M23 GB≈ 194 tok/sApache-2.0
10Spark-X2.6 4B SparkLLM (XHToken)SparkLLM (XHToken) · 8-bit · Apache-2.066.58-bit Q8_05.3 GB≈ 162 tok/sApache-2.0
11Gemma 4 31B GoogleGoogle · 4-bit · Apache-2.066.24-bit Q4_K_M22 GB≈ 38 tok/sApache-2.0
12GLM-4.7-Flash Z.ai (GLM)Z.ai (GLM) · 4-bit · MIT66.04-bit Q4_K_M20 GB≈ 194 tok/sMIT
13Spark-X2.5 4B SparkLLM (XHToken)SparkLLM (XHToken) · 8-bit · Apache-2.065.98-bit Q8_05.3 GB≈ 162 tok/sApache-2.0
14Granite 4.2 30B IBM (Granite)IBM (Granite) · 4-bit · Apache-2.065.84-bit Q4_K_M21 GB≈ 39 tok/sApache-2.0
15Qwen3 30B-A3B Thinking 2507 Alibaba (Qwen)Alibaba (Qwen) · 4-bit · Apache-2.065.44-bit Q4_K_M20 GB≈ 176 tok/sApache-2.0
16Gemma 4 26B-A4B GoogleGoogle · 6-bit · Apache-2.064.86-bit Q6_K22 GB≈ 113 tok/sApache-2.0
17North Mini Code CohereCohere · 4-bit · Unverified64.74-bit Q4_K_M21 GB≈ 194 tok/sUnverified
18gpt-oss-20b OpenAIOpenAI · 8-bit · Apache-2.064.78-bit Q8_023 GB≈ 92 tok/sApache-2.0
19Nemotron 3 Nano 30B-A3B NVIDIANVIDIA · 4-bit · NVIDIA Open Model64.44-bit Q4_K_M20 GB≈ 166 tok/sNVIDIA Open Model
20Qwen3.5 9B Alibaba (Qwen)Alibaba (Qwen) · 8-bit · Apache-2.064.18-bit Q8_011 GB≈ 74 tok/sApache-2.0
21Nemotron 3.5 Lightning NVIDIANVIDIA · 4-bit · OpenMDW-1.163.34-bit Q4_K_M22 GB≈ 162 tok/sOpenMDW-1.1
22Apriel 1.6 15B Thinker ServiceNow (Apriel)ServiceNow (Apriel) · 8-bit · MIT63.38-bit Q8_018 GB≈ 45 tok/sMIT
23LFM2.5 24B-A2B Liquid AILiquid AI · 6-bit · LFM Open License63.16-bit Q6_K21 GB≈ 215 tok/sLFM Open License
24Edge0 35B-A3B (preview) Edge0Edge0 · 4-bit · Apache-2.063.04-bit Q4_K_M22 GB≈ 194 tok/sApache-2.0
25Sarvam 30B Sarvam AISarvam AI · 4-bit · Apache-2.062.84-bit Q4_K_M21 GB≈ 242 tok/sApache-2.0

Change the context length or quantization, or see models that only just fit, in Can I run it? for this device.

How to run Qwen3.8 27B on an RTX 4090 (24 GB)

  1. Easiest: Ollama or LM Studio. Both use the GPU automatically on Windows and Linux.
    ollama run hf.co/ggml-org/Qwen3.8-27B-GGUF:Q4_K_M
  2. With llama.cpp. Starts a local server with a chat window at http://localhost:8080.
    llama-server -hf ggml-org/Qwen3.8-27B-GGUF:Q4_K_M

Every model page lists the same commands for its own files. Qwen3.8 27B's page also has a memory table for other context lengths.

Questions

What is the best LLM for an RTX 4090 (24 GB)?

As of November 2026, the best model to run on an RTX 4090 (24 GB) is Qwen3.8 27B by Alibaba (Qwen) (Small LM Index 74.6), at about 37 tokens/s with 5-bit weights.

What is the biggest model that runs on an RTX 4090 (24 GB)?

MiniCPM-V 4.7 35B-A3B (35.2B parameters, 3B active) fits at 4-bit, needing 23 GB and generating about 194 tokens/s. Bigger models may fit at lower quality or run more slowly; try them in the Can I run it? tool.

How much memory can a model use on an RTX 4090 (24 GB)?

About 23 GB of the 24 GB. 24 GB fits 27–32B models at 4-bit, or Mixture-of-Experts models around 30B that run very fast because they read only a few billion parameters per token.

How accurate are these speeds?

They are estimates from memory bandwidth (1008 GB/s here), which limits how fast a model generates text, with a typical efficiency for this kind of hardware. Expect real speeds within about a third either way. Long prompts take longer to read before the first word appears.

Other devices