Best local LLMs for 24GB VRAM

What you can run with 24 GB of GPU memory (23 GB usable after ~1 GB overhead), at 16k context with an f16 KV cache. Speeds use data measured on GeForce RTX 4090 where available.

23 GBusable for model + KV cache
23/35models fit fully at 16k
6more with CPU offload
1008 GB/sbandwidth assumed

Models that fit 24 GB, largest first

ModelParamsQuantFitMemoryTok/sSpeed source
Ripple 65B Preview64.78BQ4_K_Mpartial offload (slow)40.1 GB3estimated
Flint 40B-A2.5B39.79B MoEUD-Q4_K_XLMoE offload to CPU25.6 GB190estimated
Qwen3.6 35B-A3B35.95B MoEUD-Q4_K_Mfits fully22.5 GB190measured
Ornith 1.5 35B-A3B35.95B MoEQ4_K_Mfits fully22.3 GB193scaled from measured
Laguna XS 2.133.44B MoEQ4_K_Mfits fully21.3 GB191scaled from measured
Nanbeige4.3 33B33.12BQ4_K_Mpartial offload (slow)24.3 GB20estimated
DeepSeek R1 Distill Qwen 32B32.76BQ4_K_Mpartial offload (slow)24.1 GB20estimated
Nemotron 3 Nano 30B-A3B31.58B MoEQ4_K_MMoE offload to CPU24.8 GB124estimated
Nemotron 3.5 Lightning 30B-A3B31.58B MoEUD-Q4_K_MMoE offload to CPU25.4 GB129estimated
Gemma 4 31B31.27BQ4_K_Mfits fully20.5 GB44measured
GLM-4.7-Flash31.22B MoEQ5_K_Mfits fully22.3 GB257scaled from measured
Qwen3-Coder 30B-A3B30.53B MoEQ4_K_Mfits fully20.2 GB266measured
Qwen3.6 27B27.78BQ5_K_Mfits fully20.7 GB42scaled from measured
Qwen3.8 27B27.78BUD-Q5_K_Mfits fully21.1 GB44scaled from measured
Inkling 2 Mini26.39B MoEQ5_K_Mfits fully21.9 GB119estimated
Gemma 4 26B-A4B25.81B MoEUD-Q5_K_Mfits fully21.7 GB135scaled from measured
Mistral Small 3.2 24B24.01BQ6_Kfits fully22.0 GB46scaled from measured
LFM2.5 24B-A2B23.97B MoEQ6_Kfits fully20.0 GB265scaled from measured
gpt-oss 20B20.91B MoEQ8_0fits fully12.5 GB258measured
Mellum2.1 12B-A2.5B Instruct12.15B MoEQ8_0fits fully13.2 GB194estimated
Gemma 4 12B11.96BQ8_0fits fully13.3 GB64measured
Qwen3.5 9B9.65BQ8_0fits fully10.1 GB95measured
Ornith 1.5 9B9.65BQ8_0fits fully10.1 GB95scaled from measured
Qwen3-VL 8B8.77BQ8_0fits fully11.1 GB102measured
Gemma 4 E4B8BQ8_0fits fully8.5 GB96scaled from measured
DeepSeek R1 Distill Qwen 7B7.62BQ8_0fits fully9.0 GB97scaled from measured
Qwen3.5 4B4.66BQ8_0fits fully5.1 GB158measured
Nemotron 3 Nano 4B3.97BQ8_0fits fully4.6 GB167scaled from measured
LFM3 1.7B1.73BQ8_0fits fully2.1 GB325scaled from measured

Copy-paste commands for the top pick

Qwen3.6 35B-A3B UD-Q4_K_M, 16k context.

llama.cpp
llama-server -hf unsloth/Qwen3.6-35B-A3B-GGUF:UD-Q4_K_M -c 16384 -fa on --jinja -ngl 99
ollama
OLLAMA_CONTEXT_LENGTH=16384 ollama serve
ollama run hf.co/unsloth/Qwen3.6-35B-A3B-GGUF:UD-Q4_K_M

How much context fits in 24 GB?

Largest context where weights plus KV cache stay inside 23 GB, by KV cache type (q8_0 halves and q4_0 quarters the cache). Native limits and YaRN extension apply per model.

ModelWeightsf16 KVq8_0 KVq4_0 KV
Qwen3.6 35B-A3B UD-Q4_K_M22.1 GB32k64k128k
Ornith 1.5 35B-A3B Q4_K_M21.9 GB32k64k128k
Laguna XS 2.1 Q4_K_M20.6 GB32k64k128k
Gemma 4 31B Q4_K_M18.3 GB32k64k128k
GLM-4.7-Flash Q5_K_M21.4 GB16k32k64k
Qwen3-Coder 30B-A3B Q4_K_M18.6 GB32k64k128k
Qwen3.6 27B Q5_K_M19.5 GB32k64k128k
Qwen3.8 27B UD-Q5_K_M19.9 GB32k64k128k

Try the exact numbers for your setup in the interactive advisor.

What does not fit fully in 24 GB

Ripple 65B Preview (needs 40 GB at 16k, ~3 tok/s with offload); Flint 40B-A2.5B (needs 26 GB at 16k, ~190 tok/s with offload); Nanbeige4.3 33B (needs 24 GB at 16k, ~20 tok/s with offload); DeepSeek R1 Distill Qwen 32B (needs 24 GB at 16k, ~20 tok/s with offload); Nemotron 3 Nano 30B-A3B (needs 25 GB at 16k, ~124 tok/s with offload); Nemotron 3.5 Lightning 30B-A3B (needs 25 GB at 16k, ~129 tok/s with offload). Rent instead: Vast.ai / RunPod. We may earn a referral credit if you sign up through these links.

GPUs with 24 GB

RTX 3090 24GB Amazon · RTX 4090 24GB Amazon · AMD RX 7900 XTX 24GB Amazon

As an Amazon Associate I earn from qualifying purchases. Cards in this tier: GeForce RTX 3090, GeForce RTX 4090, Radeon RX 7900 XTX.

Hardware pages near 24 GB

RTX 3090 24GB · RTX 4090 24GB · RTX 5090 32GB · 16GB VRAM class (RTX 4060 Ti 16GB, 32GB RAM) · RTX 5070 Ti 16GB · RTX 5080 16GB · AMD RX 7900 XTX 24GB · Mac mini / iMac M4 16GB

FAQ

What is the best local LLM for 24GB VRAM?

By size, Qwen3.6 35B-A3B UD-Q4_K_M is the largest model in our dataset that fits fully at 16k context (22.5 GB, ~190 tok/s (measured)).

How many models fit in 24GB VRAM?

23 of 35 models fit fully at 16k context with an f16 KV cache; 6 more run only with CPU offload.

How much context can I use with 24GB?

It depends on the model: for Qwen3.6 35B-A3B the KV cache allows up to 32k tokens at f16 and 128k with a q4_0 cache.

Neighbouring tiers: 16 GB · 32 GB · all tiers. Numbers come from the same memory-fit math as the advisor; sources and methods.