Best local LLM for 24GB VRAM, and is 24GB enough?
Which local LLMs fit a 24GB VRAM card like a used RTX 3090 or RTX 4090, how much context each one gets, estimated speeds, and what 24GB still can't run.
Updated · By RigPerDollar
As an Amazon Associate I earn from qualifying purchases. Some links on this page are affiliate links.
Short answer
For the best local LLM on 24GB VRAM, a used RTX 3090 or 4090, or a new RX 7900 XTX, has the memory for every current model file under 23 GB, such as Qwen3.6-27B (74K context, est. 39 tok/s on a 3090) and Gemma 4 26B A4B (full 256K, est. 211 tok/s). Is 24GB enough? Not for Nemotron 3.5 Lightning, Flint, or 70B+ models at Q4.
What the numbers mean
VRAM is the memory on your graphics card. The model file and its working memory both have to fit there. Context is how much text the model can hold at once, counted in tokens (pieces of words). Tok/s means tokens per second, or how fast the model writes. Every speed here is a RigPerDollar estimate for llama.cpp (a popular open-source program for running models locally) at short context. Our target is to land within about 15% either way of a measured result. We rank models by fit, context and estimated speed, and cards by estimated speed per dollar. We don’t test how good a model’s answers are.
Models that fit a 24 GB card
Our data has 100 current models. 91 of them have a file size we can check, and 61 of those fit 24 GB, against 37 on a 16 GB card. The table lists the ones with files of 11 GB and up. Our 16 GB guide covers the smaller ones, and they all get as much context or more here.
File sizes are Q4 GGUF files unless noted. Q4 is a compressed format that shrinks a model to about 4 bits per weight, so it needs less memory. By our fit rule, a model fits when its file plus 1.5 GB of headroom fits in VRAM. When we have a model’s KV cache data, at least 4K tokens of context with an 8-bit cache must also fit after that. Without that data, we judge the model on the file and headroom alone. So the fit count can include a weights-only fit whose context is unknown, such as Inkling 2 Mini, covered below. Context numbers assume 1 GB is kept back for the runtime.
Each context cell shows two numbers. The first uses the default FP16 cache. The second uses an 8-bit (q8_0) cache, which stores the model’s working memory in a smaller format, so more context fits. The two cards are the RTX 3090 (936 GB/s of memory bandwidth) and the RTX 4090 (1,008 GB/s). MoE means mixture of experts, explained below the table.
| Model | Type | Q4 file | Context on 24 GB (FP16 / 8-bit) | Est. tok/s, RTX 3090 | Est. tok/s, RTX 4090 |
|---|---|---|---|---|---|
| K2-Horizon-MoVA-36B-A4B | MoE | 22.37 GB | 3K / 5K | 217 | 228 |
| Qwen3.6-35B-A3B | MoE | 22.29 GB | 33K / 63K | 157 | 161 |
| NVIDIA Nemotron 3.5 Bolt 74B-A9B 24GB | MoE, 2-bit | 22.02 GB | 116K / 219K | 137 | 141 |
| MiniCPM-V 4.7 35B-A3B | MoE | 21.17 GB | 87K / 164K | 159 | 163 |
| K2-Horizon-32B | Dense | 21.08 GB | 7K / 13K | 37 | 40 |
| Nanbeige4.3-33B | Dense | 20.79 GB | 10K / 19K | 38 | 41 |
| Xing4.0-29B-A4B | MoE | 20.06 GB | 62K / 117K | 207 | 218 |
| Meta Muse Glimmer 30B | Dense | 18.39 GB | full 128K / full 128K | 43 | 46 |
| Google Gemma 4 31B | Dense | 18.32 GB | 40K / 90K | 43 | 46 |
| GLM-4.7-Flash | MoE | 18.31 GB | 84K / 159K | 261 | 271 |
| Qwen3.6-27B | Dense | 17.98 GB | 74K / 140K | 39 | 42 |
| IBM Granite 4.2 30B | Dense | 17.72 GB | 19K / 37K | 44 | 47 |
| Qwen3.8-27B | Dense | 17.44 GB | 82K / 155K | 40 | 43 |
| Google Gemma 4 26B A4B | MoE | 17.04 GB | full 256K / full 256K | 211 | 221 |
| Kvark Sparkle 1.1 27B | Dense | 16.81 GB | 92K / 173K | 42 | 44 |
| LFM2.5-24B-A2B | MoE | 14.53 GB | full 128K / full 128K | 179 | 183 |
| Mistral Small 3.2 24B / Devstral Small | Dense | 14.33 GB | 51K / 97K | 54 | 58 |
| gpt-oss-20b | MoE | 11.67 GB | full 128K / full 128K | 242 | 252 |
Some notes on the list:
- An MoE model has many parts, and only a few of them run for each token, so the card reads far less memory per token. A dense model reads all of its weights for every token. That is why GLM-4.7-Flash estimates about six times faster than Gemma 4 31B, though their files are almost the same size.
- Qwen3.5-35B-A3B and Qwen3.5-27B have the same file sizes as the Qwen3.6 versions and get the same numbers.
- The Nemotron 3.5 Bolt 24GB file is NVIDIA’s official 2-bit build of a 74.89B model, made to fit 24 GB. The site’s note on it says to expect lower quality than the Q4 version, whose file is 50.22 GB. Its fit leaves out a 1.73 GB vision file.
- MiniCPM-V 4.7 35B-A3B is a vision-language model from OpenBMB. Its fit leaves out the 1.12 GB vision file you also need to send images.
- K2-Horizon-MoVA-36B-A4B and K2-Horizon-32B load, but with only 3K and 7K tokens of default context. Our My Rig page marks fits under 8K as “tight.” Nanbeige4.3-33B gets 10K.
- Xing4.0-29B-A4B is an agent-focused MoE model from China Telecom’s XingChen team. Its file is bartowski’s Q4_K_M, because the official GGUF repo has none. Stock llama.cpp loads it from build b12174, and tagged release v1.0.0 includes it.
- Kvark Sparkle 1.1 27B is Egzakta’s fine-tune of Qwen3.8-27B for searching and answering from documents, per its model page. Its fit leaves out a 0.93 GB vision file.
- Microsoft Fara1.5 27B (17.53 GB) also fits. It is a computer-use agent for web browsers, so we left it out of the table.
- KRAFTON’s Raon-1 mini preview (19.69 GB, MoE with 4.3B active) also fits on its weights, but we left it out of the table. Stock llama.cpp, Ollama and LM Studio can’t load it yet, only KRAFTON’s own llama.cpp fork. We have no KV cache data for it, so its context on 24 GB is unknown.
- Thinking Machines’ Inkling 2 Mini (17.63 GB, official IQ4_NL file) fits on its weights alone, so we left it out of the table. We have no KV cache data for it, so its context on 24 GB is unknown. llama.cpp supports it from stable release v1.1.0. MLX needs unmerged draft pull requests, and LM Studio support is not confirmed. Our fit is math on the file, not a test.
- PLaMo 3 Translate 31B (19.53 GB) also fits. It is a translation model, not a chat assistant, so we left it out of the table.
Older models the site marks as superseded also fit, such as Qwen3-Coder-30B-A3B (18.56 GB, 44K / 83K, est. 242 tok/s on an RTX 3090), Gemma 3 27B (16.55 GB, 69K / full 128K) and the Qwen-based 32B models (about 19.8 GB, 11K to 12K of default context).
Why context varies so much at 24 GB
Qwen3.6-27B and Gemma 4 31B have similar files, yet Qwen gets 74K tokens of default context and Gemma gets 40K. K2-Horizon-32B, with a 21.08 GB file, gets 7K. The difference is the KV cache.
The KV cache is the notes a model keeps on every token it has read, so it can refer back to them. It grows with every token of context, and how many bytes each token costs depends on the model’s design. The spread is large at this size. These figures come from each model’s config.json, at FP16:
| Model | KV cache per token | Q4 file | Context at FP16 on 24 GB |
|---|---|---|---|
| K2-Horizon-32B | 262,144 bytes | 21.08 GB | 7K |
| IBM Granite 4.2 30B | 262,144 bytes | 17.72 GB | 19K |
| Google Gemma 4 31B | 81,920 bytes (global layers) | 18.32 GB | 40K |
| Qwen3.6-27B | 65,536 bytes | 17.98 GB | 74K |
| GLM-4.7-Flash | 54,144 bytes | 18.31 GB | 84K |
| Google Gemma 4 26B A4B | 20,480 bytes (global layers) | 17.04 GB | full 256K |
| Meta Muse Glimmer 30B | 13,312 bytes (global layers) | 18.39 GB | full 128K |
| Nemotron 3.5 Bolt 74B-A9B 24GB | 8,192 bytes | 22.02 GB | 116K |
K2-Horizon-32B and Granite 4.2 30B keep a full cache on all 64 of their layers. Gemma 4 31B has 10 global layers whose cache grows with context. Its other 50 layers use sliding-window attention, which only remembers the last 1,024 tokens. Muse Glimmer 30B has 13 global layers and 39 sliding-window layers. Qwen3.6-27B is a hybrid in which only 16 attention layers keep a KV cache, and the Bolt 24GB build is a hybrid in which only 8 do. GLM-4.7-Flash stores a compressed cache (MLA), with one small combined entry per layer for each token.
So on 24 GB, the design matters more than the file size. Granite 4.2 30B has a smaller file than Gemma 4 31B, but it gets less than half the context.
Is 24GB VRAM enough?
For most single-card local use, yes. In our data, 24 GB has the memory for every current model with a Q4 file under 23 GB, most of them with tens of thousands of tokens of context. A memory fit is not the same as runtime support. It means the file fits. It does not mean stock tools can load the model yet, or that we know its context. Inkling 2 Mini and Raon-1 mini preview, in the notes above, are two examples. Going from 16 GB to 24 GB takes you from 37 to 61 of the 91 current models we can size.
It is not enough for these:
| Model | Q4 file | Short by on 24 GB |
|---|---|---|
| NVIDIA Nemotron 3.5 Lightning 30B-A3B | 25.48 GB | 3 GB |
| Recursive Flint 40B-A2.5B | 25.99 GB (Q4_1) | 3.5 GB |
| Llama 3.3 70B (older) | 42.52 GB | 20.3 GB |
| Qwen3-Coder-Next | 48.53 GB | 26.1 GB |
| Aleph Alpha Kolibri-1 78B-A3.5B | 49.76 GB | 27.3 GB |
| NVIDIA Nemotron 3.5 Bolt 74B-A9B (Q4) | 50.22 GB (UD-Q4_K_XL) | 27.8 GB |
| gpt-oss-120b | 62.84 GB | 40.4 GB |
The table shows examples. All 30 current models with files over 25 GB miss, and that covers every model of 70B and up except the 2-bit Bolt build. Nemotron 3.5 Lightning is a 30B-A3B model, but the site’s note on it says this Q4_K_M file is larger than most because the uploader keeps more of its layers at higher precision. Flint’s official file is Q4_1, which the site’s note says is larger than a typical Q4_K_M.
You can push part of a model into system RAM (called offloading). It runs much slower than on the card. My Rig shows which models could run that way once you enter your RAM.
Twenty-four GB can also be tight on context. Qwen3.6-35B-A3B gets 33K tokens of default context, or 63K with the 8-bit cache, out of its 256K window. If you need long chats or long documents, Qwen3.8-27B (82K) or Gemma 4 26B A4B (full 256K) gives you more room on the same card.
More memory past 24 GB adds fewer models than you might expect. 63 current models fit 32 GB, and 64 fit 48 GB. The step to 32 GB adds Nemotron 3.5 Lightning and Flint. The step to 48 GB adds one current model, Ripple-65B Preview, plus older 70B models such as Llama 3.3 70B, and much more context for the models you could already run. Qwen3-Coder-Next still misses 48 GB by 2.1 GB.
A Mac with 24 GB of unified memory is a different case. By default, macOS lets the GPU use only about 67% of it, or 16.1 GB (how we measure this). So for fit, a 24 GB Mac is close to a 16 GB card: 38 current models fit, one more than on a 16 GB card. The extra one is LFM2.5-24B-A2B, with 27K / 51K of context. Our data has no MLX speed results for 24 GB Macs, and no price for one.
For coding on 24 GB
Coding tools send file contents, diffs and tool output with every request, so context matters. On an RTX 3090, Devstral Small gets 51K tokens of default context (97K with the 8-bit cache) at an estimated 54 tok/s. Mistral’s model card describes it as “an agentic LLM for software engineering tasks built under a collaboration between Mistral AI and All Hands AI.”
The older Qwen3-Coder-30B-A3B gets 44K (83K with the 8-bit cache) at an estimated 242 tok/s. The site marks it as replaced by Qwen3-Coder-Next, which needs about 50 GB. JetBrains Mellum2.1 gets its full 128K at an estimated 269 tok/s. Recursive Flint 40B-A2.5B, a coding-agent MoE per its model page, misses 24 GB by 3.5 GB. Our coding GPU guide compares every card for these models.
Which 24 GB card to buy
The site’s speed estimates start from memory bandwidth, which is how fast the card can read its own memory. The table uses Qwen3.6-27B (dense) and Qwen3.6-35B-A3B (MoE) as test models. It is sorted by dollars per estimated tok/s on Qwen3.6-35B-A3B.
| Card | Price (Nov 2, 2026) | Bandwidth | Est. tok/s, Qwen3.6-27B | Est. tok/s, Qwen3.6-35B-A3B | $ per est. tok/s, 27B / 35B-A3B |
|---|---|---|---|---|---|
| RTX 3090 | $1,499 used | 936 GB/s | 39 | 157 | $38 / $9.55 |
| Radeon RX 7900 XTX | $1,350 new | 960 GB/s | 37 | 137 | $36 / $9.85 |
| RTX 4090 | $2,910 used | 1,008 GB/s | 42 | 161 | $69 / $18 |
| RTX 3090 Ti | we have no price | 1,008 GB/s | 42 | 161 | n/a |
| Tesla P40 | we have no price | 346 GB/s | 12 | 81 | n/a |
The RTX 3090 price is used. It is the bottom of the typical range ($1,499 to $1,625) across 295 completed US eBay sales over 14 days, price plus shipping, tracked by gpusold.com on Nov 2, 2026. The median sale was $1,551. The RTX 4090 price is used too: the bottom of the typical range ($2,910 to $3,236) across 103 sales, with a median of $3,100. The RX 7900 XTX price is the lowest in-stock Newegg listing that day, from picksbycard’s daily read. The average in-stock listing was $1,552.
On the dense Qwen3.6-27B, the RX 7900 XTX costs a little less per estimated tok/s than the 3090. On the MoE model the 3090 comes out ahead. In the site’s fitted platform factors, stored in our calibration data, AMD cards pay 2.4 ms of extra time per token on MoE models, against 0.5 ms for NVIDIA with CUDA. The RTX 4090 estimates 42 against the 3090’s 39 tok/s on Qwen3.6-27B, and 161 against 157 on Qwen3.6-35B-A3B, for $2,910 against $1,499.
The RTX 3090 Ti has the same 1,008 GB/s as the 4090, so it gets the same estimates. The Tesla P40 is an older data center card with 346 GB/s. Our estimates treat it as its own class (NVIDIA Pascal), with a lower share of bandwidth turned into speed. We have no price for either card.
You can see every model’s fit, context and estimated speed on one card with the My Rig page set to an RTX 3090.
A 24 GB PC and the next step up
Our one used RTX 3090 build is a full parts list at $2,780.94, from listings dated Nov 16–23, 2026, before tax and shipping.
If 24 GB isn’t enough, there are three priced steps up. Each second card adds memory. Our estimate for two cards is one card’s speed, because llama.cpp splits the model by layers and the cards take turns.
- The build with two Radeon RX 9070 cards has 32 GB for $3,671.92. On it, Flint 40B-A2.5B gets 168K tokens of default context (full 256K with the 8-bit cache) at an estimated 175 tok/s. Nemotron 3.5 Lightning gets its full 256K at 103 tok/s.
- The RTX 5090 is a single 32 GB card, at $6,500 new (lowest in-stock Newegg listing, Nov 2, 2026). It gets the same context, at an estimated 366 tok/s on Flint and 177 on Nemotron 3.5 Lightning.
- The dual RTX 3090 build has 48 GB for $4,937.94, which is $2,157 more than the single 3090 build. It runs the older Llama 3.3 70B with 13K tokens of default context (25K with the 8-bit cache) at an estimated 19 tok/s. Our 70B guide covers that size.
You need a motherboard with room for both cards and a power supply that can feed them. Our 16GB vs 24GB vs 32GB guide compares the memory sizes side by side.
Measured runs on 24 GB cards
These are other people’s measurements. They are kept apart from our estimates above, and they are not part of any table on this page. Each is in our calibration data, and the site’s speed constants were fitted to them and other results, so they are not an independent check.
| Card(s) | Model and file | Measured tok/s (writing) | Source | Date |
|---|---|---|---|---|
| 1 RTX 3090 | Qwen3.6-27B, Q4_K_M (16.8 GB) | 40.14 | ahelpme.com llama-bench | Jun 10, 2026 |
| 1 RTX 3090 | Qwen3.6-27B, Q6_K (22.52 GB) | 31.8 | ahelpme.com llama-bench | Jun 10, 2026 |
| 2 RTX 3090, layer split | Qwen3.6-27B, Q4_K_M (16.8 GB) | 40.61 | ahelpme.com llama-bench | Jun 10, 2026 |
| 2 RTX 3090, layer split | Qwen3.6-27B, Q8_0 (28.58 GB) | 26.86 | ahelpme.com llama-bench | Jun 10, 2026 |
| 3 RTX 3090, layer split | Qwen3.6-27B, BF16 (53.79 GB) | 15.52 | ahelpme.com llama-bench | Jun 10, 2026 |
| 1 RTX 3090 | Qwen3.6-35B-A3B, UD-Q4_K_M (22.12 GB) | 157.66 | insiderllm.com | Jul 2026 |
| 1 RTX 4090 | gpt-oss-20b, MXFP4 (12.1 GB) | 254.63 | llama.cpp discussion 15396 | Mar 10, 2026 |
The ahelpme.com runs used llama-bench, llama.cpp’s speed test. With the same Q4_K_M file, one card and two cards in a layer split measured about the same. The two-card and three-card runs used bigger files, so they show what more memory lets you load. They don’t show a speed gain. Some of these files differ from the ones in our fit tables.
What we haven’t verified
- Every speed in the main tables is an estimate. Our calibration data has published llama.cpp results from the RTX 3090 and RTX 4090 above. For the RX 7900 XTX it has one Vulkan result on Llama 2 7B, an older small model. The Tesla P40 also has one result on Llama 2 7B.
- The estimates are for short context. Speeds fall as the context fills, as our methodology explains.
- We have no price for the RTX 3090 Ti, the Tesla P40 or any 24 GB Mac.
- Prices are a single day’s listings and sales. They change often.
- Gemma 4’s config sets attention_k_eq_v (K equal to V), and the site still counts K and V separately, which is the cautious choice. Gemma 4 31B and 26B A4B may get more context than shown.
- The context estimate for K2-Horizon-MoVA-36B-A4B assumes llama.cpp caches it like a standard model. The site’s note says this hasn’t been checked against llama.cpp’s memory logs.
- The fits leave out vision files, such as those for MiniCPM-V 4.7 35B-A3B and the Nemotron 3.5 Bolt 24GB build.
- Kimi K3.1 Pro and LongCat-2.5 are in our catalog without a confirmed Q4 file size, so they are not in any count here. The site estimates neither fit nor speed for them.
- We don’t test answer quality, so this list doesn’t say which model gives better answers.